The objective of this tutorial is to learn how to use the DHT22 sensor with Arduino uno. The room temperature and humidity will be printed to serial monitor and also will be displayed to the LCD 4×20 in Proteus ISIS.
The DHT22 sensor :
DHT22 is simple basic, cheap digital temperature and humidity sensor. It uses a capacitive humidity sensor and a thermistor to measure the surrounding air, and spits out a digital signal on the data pin. Connections are simple, the first pin on the left to 3-5V power, the second pin to your data input pin and the right most pin to ground. You can download DHT22 specification file from this link
Power: 3.3-6V DC
Output signal:digital signal via single-bus
Max Current: 2.5mA
Humidity: 0-100%, 2-5% accuracy
Temperature: -40 to 80°C, ±0.5°C accuracy.
1x Arduino UNO R3
1x LCD 4×20
1x DHT22 Sensor
2x Resistors 4.7K
1x Button for RESET
14x Jumper Wires.
Software Developmen :
The code developed for the ARDUINO UNO R3 is written in the C language. The compiler used to write the C code is Arduino IDE (1.8.0). After the c code is successfully compiled, a HEX file is generated.
Compile the PIC code and get the hex file from it. For simulating with PROTEUS ISIS hit run button and then you will get above output.
You can download the MikroC Source Code and Proteus files etc from here :arduino tem hum
Proteus Professional v8.5 SP0. Download link : http://adf.ly/1ebKJB
This Our Group (thanks to join and participate) : https://www.facebook.com/groups/816450708460518/
Facebook page : https://www.facebook.com/Lets-Think-Binary-1728910547340654/
Youtube Channel (thanks to subscribe) :