Sparkfun don't bring out the reset pin its held high with a resistor . Connected to that is the DTR pin through a 1 uF cap. When they want to use deepSleep() they connect GPIO16 (XPD) to the DTR line . Effectively putting a cap on the line .
I have not been able to get deepSleep() to work with a direct connection. It keeps resetting for me maybe you can get it going
My powering it at 4.76 was because I erroneously thought I had a 3.3V FTDI cable but it wasn't. Hope that helps
It converts the level-triggered signal DTR into an edge-triggered signal and has the effect of level shifting it to within the operating voltage range of the MCU (+/- a forward diode drop).
DTR (Data Terminal Ready) is a signal line used for hardware flow-control in various EIA serial protocols (such as EIA-232). In your case, it is being "hacked" to serve as a host-initiated reset of your microcontroller.
Deep Sleep ONLY works if GPIO16 is connected to the reset pin which is independent of this cap on the DTR line.
Deep Sleep ONLY works if GPIO16 is connected to the reset pin which is independent of this cap on the DTR line.
Thats just not right .
Like I said before -Give it a go .I know you think you are right but I guess there is something not understood by one of us . If you can explain how the hook up guide/sleepmode differs from what I have said I will be happy to listen.
Have a look at the schematichttps://www.sparkfun.com/products/13231
And on the same page see the hookup guide then sleeping
https://learn.sparkfun.com/tutorials/esp8266-thing-hookup-guide/example-sketch-goodnight-thing-sleep-mode
You will also see a warning on that page
Watch out! The ESP8266 can't be programmed while the XPD pin is connected to DTR. Make sure you disconnect the two pins before trying to upload a sketch.
The cap makes it an ideal way to save connecting and disconnecting the pin