I was trying to get deep sleep working on an esp01. Soldered the wire, checked for shorts but as long as it’s connected to RST, it never boots.
I flashed with wire o/c, verified that it boots and went into sleep mode(log says its about to sleep etc), but if I close the wire, it no longer wakes/boots?
ESP01 doesn’t have connected GPIO16 to RST. You’d have to solder it, but it’s a bit tricky job (microscope is highly reccomended, since GPIO16 pin is not used and very small).
My ESP01 works after i connected GPIO16 to RST.
Also notice that there are two models: ESP01 and ESP01S. First one doesn’t have pullups on GPIO0 and GPIO2, you you must add those two manually. Also you must connect ENABLE pin to 3.3V via 10k resistor. ESP01S has all these resistors already soldered. But neither of two have GPIO16 connected to RST.
Thanks, yes I did the solder job, however I’ve only just realized what is going on !
So, first off, deep sleep works just fine. The issue was a combination of using the TX pin to drive my IR led and the order it wires were attached when powering up. When I started messing with sleep I changed from plugging in VCC/GND then the TX wire, no reason, not even aware I’d did that but turns out if I power up the ESP01 with TX connected to circuit it just does not power up, however if I power up THEN connect it, works just fine!
Guess TX/GPIO1 being held LOW? caused issue.
Live and learn eh!
EDIT: I think that may also be issue when waking, ie same thing prevents waking. I’ll try GPIO2, just awkward to get at on the breakout.