garthoff / Photon-DHT22

Configure a DHT22 sensor to work with a Particle Photon and publish readings to the Particle Dashboard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Photon-DHT22

Configures a DHT22 humidity/temp sensor to work with a Particle Photon and publish readings to the Particle Dashboard.

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.

The connection setup for the DHT22 is as follows...

  • PIN 1 = 3.3V or 5V
  • PIN 2 = Data (D1 is default for this project)
  • PIN 3 = Unused
  • PIN 4 = Ground

Between PIN 1 and PIN 2 I'm running a 10K pulldown resistor

Note: I did run into issues when trying to use D0 to connect to the DHT22 even though the library says it's supported.

About

Configure a DHT22 sensor to work with a Particle Photon and publish readings to the Particle Dashboard


Languages

Language:C++ 85.5%Language:Arduino 14.5%