top of page

Temperature and humidity sensor with RPi

  • Writer: Quan Sheng
    Quan Sheng
  • Oct 28, 2019
  • 1 min read

ree
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

ree


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.


ree

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


This is the final outcome to the DHT sensor!!


 
 
 

Comments


bottom of page