Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nethoncho/Arduino-DHT22
Arduino library for the DHT22 humidity and temperature sensor
https://github.com/nethoncho/Arduino-DHT22
Last synced: about 2 months ago
JSON representation
Arduino library for the DHT22 humidity and temperature sensor
- Host: GitHub
- URL: https://github.com/nethoncho/Arduino-DHT22
- Owner: nethoncho
- Archived: true
- Created: 2011-01-19T07:17:03.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2023-04-27T06:23:55.000Z (over 1 year ago)
- Last Synced: 2024-08-03T18:14:38.850Z (5 months ago)
- Language: C++
- Homepage: http://goo.gl/uy1fV
- Size: 10.7 KB
- Stars: 120
- Watchers: 21
- Forks: 123
- Open Issues: 9
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
- Awesome-arduino - Arduino-DHT22 - Arduino library for the DHT22 humidity and temperature sensor (Libraries)
- awesome-arduino - Arduino-DHT22 - Arduino library for the DHT22 humidity and temperature sensor (Libraries)
README
This repo has been archived.
Checkout https://github.com/adafruit/DHT-sensor-library for a maintained code base.DHT22 sensor library
Developed by Ben Adams - 2011Humidity and Temperature Sensor DHT22 info found at
http://www.sparkfun.com/products/10167
The same sensor has also been spotted going by the names RHT22, AM2302
and RHT03 from a variety of vendors. It uses a non-standard 1-wire digital
signalling protocol.To install this library for use with the Arduino IDE, copy it
to the `libraries' folder and restart the IDE. For an example of
how to use it, see File->Examples->DHT22->Serial .Version 0.5: 15-Jan-2012 by Craig Ringer
Update to support Arduino 1.0
Make accessors inlineable so they can be optimised away
Preserve original integer values from sensor and offer access to them
Permit floating point support to be disalbed by defining DHT22_NO_FLOAT before including DHT22.hVersion 0.4: 24-Jan-2011 by Ben Adams
Added return code constants to keywords.txt
Returns DHT_ERROR_CHECKSUM on check sum mismatchVersion 0.3: 17-Jan-2011 by Ben Adams
This version reads data
Needs check sum code added at the end of readDataVersion 0.2: 16-Jan-2011 by Ben Adams
Changed coding style to match other Arduino libraries.
This version will not read data either!Version 0.1: 10-Jan-2011 by Ben Adams nethoncho AT gmail.com
First Version is a skeleton. This version will not read data!
Code adapted from the following sources:
The Arduino OneWire lib
http://sheepdogguides.com/arduino/ar3ne1humDHT11.htm