/Adafruit_Python_DHT

Python library to read the DHT series of humidity and temperature sensors on a Raspberry Pi or Beaglebone Black.

Primary LanguageCMIT LicenseMIT

Adafruit Python DHT Sensor Library

Python library to read the DHT series of humidity and temperature sensors on a Raspberry Pi or Beaglebone Black.

Designed specifically to work with the Adafruit DHT series sensors ----> https://www.adafruit.com/products/385

apt-get update sudo apt-get install build-essential python3-dev

Install the library by downloading with the download link on the right, unzipping the archive, and executing:

sudo python3 setup.py install

See example of usage in the examples folder.

Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!

Written by Tony DiCola for Adafruit Industries.

MIT license, all text above must be included in any redistribution

Updated for Python 3

Tested on a Raspberry Pi 2.