The control of environmental conditions is crucial in many experimental work across scientific domains. In this technical note, we present how to realize a cheap humidity regulator based on a PID controller driven by an Arduino microcontroller. We argue our choices on the components and we show that the presented designs can serve as a basis to the reader for the realization of humidity regulators with specific requirements and experimental constraints.