Adding DHT22/AM2302 sensor libraries (Arduino and PietteTech) but using Arduino for...
[iotcloud.git] / version2 / src / others / PietteTech_DHT / README.md
1 # Photon-DHT22
2 Configures a DHT22 humidity/temp sensor to work with a Particle Photon and publish readings to the Particle Dashboard.
3
4 I've included a copy of the PietteTech_DHT library, feel free to grab a more recent copy and replace what is bundled in if it's outdated.
5
6 The connection setup for the DHT22 is as follows...
7
8 * PIN 1 = 3.3V or 5V
9 * PIN 2 = Data (D1 is default for this project)
10 * PIN 3 = Unused
11 * PIN 4 = Ground
12
13 Between PIN 1 and PIN 2 I'm running a 10K pulldown resistor
14
15 Note: I did run into issues when trying to use D0 to connect to the DHT22 even though the library says it's supported.