![]() So I tried holding down the flash button and then pressing trhe reset button on the LoLin ESP-12E and then retried flashing but kept getting the could not connect error. I tried reflashing back to the original "DHTPIN 2" but it would not longer flash!! I was starting to get a bit worried at this point. Then I set "DHTPIN 7" and got a "WDT Reset" (had to change serial monitor to 115200 baud). Then I set "DHTPIN 6" and the LoLin kept rebooting or something. Then I set "DHTPIN 5" and got D1 on the LoLin board. Next, I set "DHTPIN 3" and did not immediately find that one but when I set "DHTPIN 4", I found it went to D2 on both boards. I also got the LoLin ESP-12E boards that are not exactly the same pinout as the MakerFocus board and thus the motivation for mapping out the pins on both boards with the DHTtester code.īoth boards used D4 for "DHTPIN 2". I found that by trial and error on the ESP8266 ESP-12E MakerFocus boards found on AMazon. ![]() But, to my surprise, I had to send the DHT data to D4 instead of D2 as on the Arduino Uno R3. ![]() The example code File->Examples->DHT sensor library->DHTtester.ino 1.3.4, and the ESP8266 stable package 2.4.1 running on Windows 7. I am using the Arduino IDE with the "Adafruit Unified Sensor" library v. I am learning how to get the ESP8266 to talk to the DHT22.
0 Comments
Leave a Reply. |