Skip to content

Files

Latest commit

570cd63 · Jun 10, 2024

History

History

P5_DHT_11_DHT_22

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jun 10, 2024
May 29, 2024
May 29, 2024

DHT11 and DHT22 Temperature and Humidity Sensor

The code prints temperature in Celsius and humidity in percentage from DHT11 and DHT22. Depending on what DHT11 you hold you must choose one of the following connections. If your DHT11 is mounted on a PCB you just connect it to the RPi if it comes with four pins then you need to use a 4.7K ohm resistor for stable reading.