Skip to content
This repository has been archived by the owner. It is now read-only.
Python library to read the DHT series of humidity and temperature sensors on a Raspberry Pi or Beaglebone Black.
C Python C++
Branch: master
Clone or download
Pull request Compare This branch is 5 commits ahead, 23 commits behind adafruit:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
Adafruit_DHT
examples
source
.gitignore
LICENSE
README.md
ez_setup.py
setup.py

README.md

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

Currently the library is only tested with Python 2.6/2.7.

For all platforms (Raspberry Pi and Beaglebone Black) make sure your system is able to compile Python extensions. On Raspbian or Beaglebone Black's Debian/Ubuntu image you can ensure your system is ready by executing:

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

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

sudo python setup.py install

You can ommit the sudo if you use raspberry pi.

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

You can’t perform that action at this time.