Library to get readings from the DHT11, DHT22, and AM2302 humidity and temperature sensors on a Raspberry Pi or Beaglebone Black.
Project description
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 tested with Python 2.6, 2.7, 3.3 and 3.4. It should work with Python greater than 3.4, too.
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
==================================
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 tested with Python 2.6, 2.7, 3.3 and 3.4. It should work with Python greater than 3.4, too.
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Adafruit_Python_DHT-1.3.3.tar.gz
(14.4 kB
view hashes)
Built Distribution
Close
Hashes for Adafruit_Python_DHT-1.3.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01b725b0e8e8a4acb6924500aab81ae4e4f3683056ef601497b50afc56f72e18 |
|
MD5 | 1aa690c296d6bbc106662ff47bf0f917 |
|
BLAKE2b-256 | aa9d21e7f902e693c65a2a6c46ca327b8a15751fc04c3cf0ecb5e692540f6ab8 |
Close
Hashes for Adafruit_Python_DHT-1.3.3-py3.5-linux-x86_64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67d54a1a728da8e63eb261d08f86b1fb163a777f8ff715614c52dc315b0f12fb |
|
MD5 | 3be174cc6ffad71cc6cf70afb0cc071b |
|
BLAKE2b-256 | b076bdce34fd6e58cd91a6e4fc39a06a6fd362fd0cdec71fb77ad1c6a9f0c545 |