DHT22 DIGITAL TEMPERATURE AND HUMIDITY SENSOR

The DHT22 is a fundamental, minimal effort computerized temperature and mugginess sensor. It utilizes a capacitive stickiness sensor and a thermistor to gauge the encompassing air and releases an advanced signal on the input pin (no simple information pins required). Its genuinely easy to utilize, however, requires cautious planning to get information. The main genuine drawback of this sensor is you can just get new information from it once like clockwork, so when utilizing our library, sensor readings can be up to 2 seconds old. 

Just interface the primary stick on the left to 3-5V control, the second stick to your information input stick and the privilege most stick to ground. In spite of the fact that it utilizes a solitary wire to send information, it isn't Dallas One Wire perfect! On the off chance that you need various sensors, every one must have its own information stick! Arduino library with precedent code 

 

Contrasted with the DHT11, this sensor is more exact, more precise and works in a greater scope of temperature/moistness, yet its bigger and more costly 

 

Accompanies a 4.7K - 10K resistor, which you will need to use as a pull-up from the information stick to VCC.