-->
Page 2 of 2

Re: XPD pin ?

PostPosted: Sun May 24, 2015 5:56 pm
by tytower
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 .

Re: Deepsleep XPD pin ?

PostPosted: Tue Sep 08, 2015 3:40 pm
by BroHogan
Good tip about the cap.
However I found that a 100uF cap will prevent you from entering program mode.
A .01uF cap worked fine.