Humidity Controller

A simple device that makes controlling humidity and saving energy a snap. Operates as easily as a thermostat.

Aug 8, 2019

22169 views

13 respects

Components and supplies

1

resistor 2k ohm

1

5V 2.5A Switching Power Supply

1

grounded power cable

2

Resistor 10k ohm

1

yellow wire nuts

1

Alphanumeric LCD, 16 x 2

1

Arduino Nano R3

1

Decora 2-Gang Midway Nylon Wall Plate - White

1

decora duplex outlet, white

1

Jumper wires (generic)

1

2-Gang 47 cu. in. PVC New/Old Work Electrical Box (B249B)

1

Grove - 2-Channel SPDT Relay

1

DHT11 Temperature & Humidity Sensor (3 pins)

Tools and machines

1

Soldering iron (generic)

Project description

Code

Humidity controller code

c_cpp

code for operating the humidity controller

Humidity controller code

c_cpp

code for operating the humidity controller

Downloadable files

wiring diagram

wiring diagram

Immagine

Comments

Only logged in users can leave comments

Immagine
Immagine

auro_auro

3 months ago

Thanks for sharing this project. I'm a student of electronic engineering. I'm really interested in learning more from it. I was wondering if it would be possible for me to take a look at your PCB schematic diagram? It would be of great help for my studies.

Immagine
Immagine

Anonymous user

2 years ago

Hey , i install dht.h library but i see always dht.h: No such file or directory

Immagine
Immagine

Anonymous user

2 years ago

Will try this fall. Im in engineering school and not only have music instruments to take care of, i think this is brilliant! Please share other ideas ....

Immagine
Immagine

basssman72

4 years ago

Will try this fall. Im in engineering school and not only have music instruments to take care of, i think this is brilliant! Please share other ideas ....

Immagine
Immagine

radiogareth

5 years ago

Thanks for sharing this project - just what I need to look after my mushroom growing cabinet :-) It won't compile in 1.81, I'm getting three errors....first error in the listing seems to be lower case on line 18 #include <dht.h> then on compiling it stops here on line 23 with 'dht does not name a type' (fair enough maybe, so changed for DHT DHT_sens(10, DHT11); from a listing that DOES work. Its a type DHT11 and its on digital pin 10. Then it stops on line 270 } else if(DHT.humidity >= setpoint + 3 and syson == true){ //if humidity is 3% above setpoint Serial.println("humidifier OFF, fan ON"); digitalWrite(humidifier, HIGH); //turn on fan digitalWrite(fan, LOW); } else{ Serial.println("all off"); //if humidity is within 3% of setpoint digitalWrite(humidifier, HIGH); //turn both off digitalWrite(fan, HIGH); } //delay(700); //un-comment for serial debugging Serial.print("setpoint = "); Serial.println(setpoint); //delay(700); //un-comment for serial debugging } UNQUOTE with the message "expected primary-expression before '.' token". Not sure why really. I'm sure I've downloaded and checked the various libraries as both my LCD and DH11 work with separate test programs. Any ideas?

Immagine
Immagine

radiogareth

2 years ago

I've tried the listing in the on-line compiler and it fails in the same manner and same messages as above. How did you get it to work?

Immagine
Immagine

Anonymous user

6 years ago

Hey , i install dht.h library but i see always dht.h: No such file or directory