I'm using this library: https://github.com/javieryanez/nodemcu- ... ster/dht22 , but all I get is "Error reading from DHT22" when I try to run the sample.
I noticed that when the sensor is not connected at all, the ESP8266 will reboot, so apparently there's some communication going on when I do connect it.
I've tried it both with a DHT11 and a DHT21 that do work fine when connected to a arduino.
I've also tried it with both a ESP-01 and e ESP-12 (on a nodemcu board), but both give me exactly the same result.
I've also tried this version, but got the same result: https://github.com/nodemcu/nodemcu-firm ... es/dht_lib
I'm using firmware nodemcu_float_0.9.6-dev_20150704.bin and use ESPlorer to upload
any idea where I'm going wrong?