Arduino Library – DHT sensors (ESP8266)
Installatie van Arduino IDE libraries: Arduino info
Dit is een DHT11/22 bibliotheek voor de ESP te gebruiken met ArduinoIDE, de DHT sensoren hebben een zeer nauwkeurige timing, daarvoor is deze bibliotheek speciaal gemaakt voor de ESP platform.
Informatie (ENG)
Interrupt driven DHT 11/21/22 sensor library for esp8266
If you get too many checksum or timing out err, set cpu frequency to 160MHz
tests:
160MHz/5sec report: 13.13H, 9400, err : 20(large sketch, too many err with 80MHz)
80MHz/5sec report: 8.1H, 5816, err : 0(simple sketch)
Interrupt driven DHT 11/21/22 sensor library for Spark
Supports reading DHT22/DHT21/DHT11 sensors without disabling interrupts
Scott Piette, Piette Technologies
Jan 18, 2014 – Initial port to Spark Core
Oct 1, 2014 – Added DHT11/21 support, fixed timing issues, enhanced examples
BASED ON:
DHT11 interrupt library https://github.com/niesteszeck
DHT11 library http://playground.arduino.cc/Main/DHT11Lib
1 2 3 4 5 6 7 8 9 10 11 12 |
0.3.3 wait 2 sec after power on, check acquireresult remove / in name 0.3.2 DHT.reset 0.3.1 simplify esp8266 example 0.3 Merge pull request #25 from chaeplin/timing_test to prevent Soft WDT reset when dht is not connected with DHT.acquireAndWait(0) |
Dowload PietteTech_DHT-8266 library @ Github
[#/arduino/libraries/dht_esp8266″ ]