Using the DHT11 humidity/temperature sensor with the Raspberry Pi

The DHT11 temperature and humidity sensor is an inexpensive sensor. It has a +/- 2 degree variance, so it’s not suitable for high-precision use-cases (for that you need the DHT22). Over at Circuit Basics, they’ve written a tutorial which will get you started with the sensor. They’ve included code for both C and Python (using an Adafruit library) and also highlighted how to display it to a small LCD screen (as pictured). Read how to do it here.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.