Chat freely about anything...

User avatar
By GeorgeIoak
#19610 You should not be trying to run this module at 4.76V. I think you read the Sparkfun schematic wrong. The cap you see off of the reset line is part of a RC circuit on the reset line to delay the release of the rest signal. There isn't a cap between reset and CH_PD.
User avatar
By tytower
#19614 You might look a bit closer Mate
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
User avatar
By GeorgeIoak
#19615 The DTR pin is connected to reset so that the software can use the DTR pin to reset the chip. The cap is inserted to :

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.
User avatar
By tytower
#19618 OK then the 3 I have made up and working ,mustn't really be working George . Come on . Have you tried it yet or only read about it?

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