Skip to content

rgiese/PietteTech_DHT

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Interrupt driven DHT 11/21/22 sensor library for Particle

Supports reading DHT22/DHT21/DHT11 sensors without disabling interrupts

Scott Piette, Piette Technologies - scott.piette@gmail.com
Jan 18, 2014  - Initial port to Spark Core
Oct 01, 2014  - Added DHT11/21 support, fixed timing issues, enhanced examples
Sep 23, 2016  - Updated for Particle and moved isrCallback
Feb 12, 2017  - Transferred responsibility for Particle compatibility to EliteIO
Jan 26, 2019  - Updated timing for Particle Mesh devices

VERSION: 0.4
PURPOSE: Interrupt driven non-blocking library for DHT sensors
LICENSE: GPL v3 (http://www.gnu.org/licenses/gpl.html)

BASED ON:

DHT11 interrupt library https://github.com/niesteszeck
DHT11 library http://playground.arduino.cc/Main/DHT11Lib
Original PietteTech_DHT library https://github.com/piettetech/PietteTech_DHT

Wiring diagram for Spark Core with DHT22 Sensor

DATASHEETS:

DHT11
http://akizukidenshi.com/download/ds/aosong/dht11.pdf
DHT22
https://www.sparkfun.com/datasheets/Sensors/Temperature/DHT22.pdf


About

DHT Sensor Library for Spark Core

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 99.8%
  • C 0.2%