Re: Going nutty trying to get a DHT11 to work
Posted: Mon Dec 07, 2015 6:28 pm
Hi there, I have had "issues" with erratic DHT readings, the worst of all being NAN as this "Corrupts" data tables with "String" instead of "Float", the problem for the DHT11 was solved by using the RDHT library.
https://github.com/rDuinoStar/rDHT11--DHT11-Arduino-Lib
This is used on "home made boards", but it is very stable and I have been logging with these since about February this year.
The Code on the github....(old version with DHT library)....
https://github.com/EnvironmentMonitor/ESP8266-DHT11-WiFi_Sensor
The devices are online here are a couple....
Remember these have limited bandwidth.........
ESP8266-12, 2 * DHT22 with 5 * DS18B20's, the page you will land on is a Graph of the data log stored in SPI Flash on the ESP (3MB), served via Google Charts and Gauges with the internals on a Diag page......100KB plus.......emptied to Email every 24Hours....
http://82.5.78.180:87/graphic
This is another with ESP8266-07, 2 * DHT11's and a BMP180.......(1MB)
http://82.5.78.180:93/graphic
https://github.com/rDuinoStar/rDHT11--DHT11-Arduino-Lib
This is used on "home made boards", but it is very stable and I have been logging with these since about February this year.
The Code on the github....(old version with DHT library)....
https://github.com/EnvironmentMonitor/ESP8266-DHT11-WiFi_Sensor
The devices are online here are a couple....
Remember these have limited bandwidth.........
ESP8266-12, 2 * DHT22 with 5 * DS18B20's, the page you will land on is a Graph of the data log stored in SPI Flash on the ESP (3MB), served via Google Charts and Gauges with the internals on a Diag page......100KB plus.......emptied to Email every 24Hours....
http://82.5.78.180:87/graphic
This is another with ESP8266-07, 2 * DHT11's and a BMP180.......(1MB)
http://82.5.78.180:93/graphic