Page 1 of 1

Esp32 on 18650 board

Posted: 10 Nov 2020, 15:57
by nikos1671
Hi recently bought an esp32 on 18650 Board.
I am trying to put it in permanently deep sleep but I can't. If I put it for a specific time its working. I read in the wiki somewhere that if you put sleep time 0 then it must go for sleep for ever, or I understand something wrong.

Thanks
Nikos

Re: Esp32 on 18650 board

Posted: 11 Nov 2020, 21:33
by Grumpf
I remembered something about putting in for the max time allowed but somehow never found a "permanent" state. Max is a bit less than 4 hours. Unless you plan to send it to the oort cloud is that too low ?

Tell us what you want to achieve, then we may help you better (well for the others, I'm not that bright).
Cheers !

Re: Esp32 on 18650 board

Posted: 11 Nov 2020, 21:48
by TD-er
Grumpf wrote: 11 Nov 2020, 21:33 [...] Unless you plan to send it to the oort cloud is that too low ? [...]
Gives a whole new meaning to the term "bricking" a device :)
Not sure about the WiFi reception there though. At least ping times will be so long the wrong side of the planet is facing to receive the reply.

Re: Esp32 on 18650 board

Posted: 12 Nov 2020, 07:59
by Grumpf
You know, there's only one way to be sure. I got a friend in Australia if we ever want to try, and I made black powder rockets in my youth but somehow I'm not sure that qualifies enough.

Re: Esp32 on 18650 board

Posted: 13 Nov 2020, 19:03
by nikos1671
Grumpf wrote: 11 Nov 2020, 21:33 I remembered something about putting in for the max time allowed but somehow never found a "permanent" state. Max is a bit less than 4 hours. Unless you plan to send it to the oort cloud is that too low ?

Tell us what you want to achieve, then we may help you better (well for the others, I'm not that bright).
Cheers !
I want to make a mailbox notifier. I want to put the esp permanently on sleep and wake it up with a reed sensor. I have try with a clone wemos d1 mini and its working with sleep time 0 but not with this board.

Re: Esp32 on 18650 board

Posted: 13 Nov 2020, 19:10
by Grumpf
Ok. Can you share your settings so I can check and try it from here ?

Re: Esp32 on 18650 board

Posted: 14 Nov 2020, 22:11
by nikos1671
First image is from the wemos d1 clone and second is the esp32with 18650 board. With these settings the wemos sleeping for ever but the esp32 dont want to sleep.

Re: Esp32 on 18650 board

Posted: 15 Nov 2020, 07:46
by Grumpf
The board with the ESP32 has the RST connected to D0 right ?

Re: Esp32 on 18650 board

Posted: 15 Nov 2020, 09:06
by nikos1671
No because it not needs. The esp32 goes to sleep if I choose sleep time some seconds. Its not behave the same like the wemos with sleep time 0.

Re: Esp32 on 18650 board

Posted: 15 Nov 2020, 10:12
by Grumpf
Ah ok, didn't know that.
If when you use your own code, the esp32 goes to sleep but not when you flash Espeasy it's safe to assume something in the Espeasy code prevent it. I hope some dev here can help you.