-->
Page 2 of 2

Re: Turn on then off after delay - circuit help

PostPosted: Wed Sep 16, 2015 11:22 am
by eriksl
Deep sleep mode is actually almost the same. Only the RTC is running which powers on the rest of the chip.

Re: Turn on then off after delay - circuit help

PostPosted: Fri Oct 02, 2015 4:55 am
by entozoon
Update for future reference:
I tried a dead simple version of circuit mentioned, setting up my ESP-01 with a teeny tiny 3.7v lipo (about as big as the ESP itself).
It has a PTM connecting +v to the ch_pd enable pin, which starts the ESP's program.
The program immediately sets pin gpio02 to HIGH, which is also connected to ch_pd via a 1K resistor - so at this point the PTM is unnecessary, as this being HIGH will keep the ESP enabled and running.
When it's finished it's program, it sets gpio02 to LOW, thus disabling the chip.

In my case the program connects to WIFI and curls a page which, from button press to disabling, takes maybe 2 seconds.

Even though the chip is never fully powered down, it lasts for absolutely ages!
The whole thing fits in a jewellery ring box and the battery lasts around a week.

Thank you all for your help, I've attached a couple of pics and I'll be posting the project on my site (when I've finished developing it) at http://m.ichael.co.uk
(It's called Tuck Tuck Txt) for future reference.