Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By tytower
#18354 OK big secret is you connect up the XPD pin through a 100 uF capacitor . So XPDPin----||----RST
Works fine then. I just picked a small cap from bench
Code: Select allconst int sleepTimeS = 30;
ESP.deepSleep(sleepTimeS * 1000000);


When it hits it will reset and start the sketch again
The auto reset feature of arduino boards also use this technique on the DTR line and Sparkfun's "Thing" board uses it also .