top of page
  • Writer's pictureQuan Sheng

Temperature and humidity sensor with RPi


DHT11 sensor

At the start, i was confused by the pin-out as there isn't any label. I went up to search to first understand the sensor pinout.


Pinout of the DHT11 Sensor

The second pin from the right is not used



The DHT11 sensor is used to measure the temperature and humidity.


The specifications of the temperature and humidity sensor:

  • Temperature range is from -40 to 125 degree Centigrade with accuracy of ±0.5 ͦ C.

  • Humidity range is from 0 to 100% with accuracy of ± 2-5%.


The VCC will be connected to the power source, signal one of the GPIO and ground to the ground.


The signal is digital signal, so there will not a need to convert the signal.


In order to run, there will be a need to install the adafruit DHT package.


This is the final outcome to the DHT sensor!!


4 views

Comments


bottom of page