Preloader image

Arduino Tutorial – How to use DHT11 and DHT22 sensors

In this tutorial we will learn how to use the DHT11 or the DHT22 sensor for measuring temperature and humidity. And we will see the value output of the DHT sensors on both the serial monitor and the LCD screen.The LCD screen component is optional. With this tutorial you can also print on a serial monitor. Code and circuit diagram are compatible within both sensors.


The DHT sensors have four pins, VCC, GND, data pin and a not connected pin which has no usage.


From left to right:
1 – VCC (5V)
2 – Signal
3 – NC Not connected
4 – GND


Share this post on the following platforms easily:

No Comments

Post A Comment

error: Context Menu disabled!