Esp32 on 18650 board

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
nikos1671
New user
Posts: 6
Joined: 22 May 2020, 17:23

Esp32 on 18650 board

#1 Post by nikos1671 » 10 Nov 2020, 15:57

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

User avatar
Grumpf
Normal user
Posts: 124
Joined: 05 May 2017, 23:45
Location: Namur

Re: Esp32 on 18650 board

#2 Post by Grumpf » 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 !

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Esp32 on 18650 board

#3 Post by TD-er » 11 Nov 2020, 21:48

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.

User avatar
Grumpf
Normal user
Posts: 124
Joined: 05 May 2017, 23:45
Location: Namur

Re: Esp32 on 18650 board

#4 Post by Grumpf » 12 Nov 2020, 07:59

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.

nikos1671
New user
Posts: 6
Joined: 22 May 2020, 17:23

Re: Esp32 on 18650 board

#5 Post by nikos1671 » 13 Nov 2020, 19:03

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.

User avatar
Grumpf
Normal user
Posts: 124
Joined: 05 May 2017, 23:45
Location: Namur

Re: Esp32 on 18650 board

#6 Post by Grumpf » 13 Nov 2020, 19:10

Ok. Can you share your settings so I can check and try it from here ?

nikos1671
New user
Posts: 6
Joined: 22 May 2020, 17:23

Re: Esp32 on 18650 board

#7 Post by nikos1671 » 14 Nov 2020, 22:11

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.
Attachments
Esp d1 mini
Esp d1 mini
Screenshot_20201114-220633_Chrome.jpg (317.58 KiB) Viewed 11062 times
Esp32
Esp32
Screenshot_20201114-213927_Chrome.jpg (315.75 KiB) Viewed 11062 times

User avatar
Grumpf
Normal user
Posts: 124
Joined: 05 May 2017, 23:45
Location: Namur

Re: Esp32 on 18650 board

#8 Post by Grumpf » 15 Nov 2020, 07:46

The board with the ESP32 has the RST connected to D0 right ?

nikos1671
New user
Posts: 6
Joined: 22 May 2020, 17:23

Re: Esp32 on 18650 board

#9 Post by nikos1671 » 15 Nov 2020, 09:06

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.

User avatar
Grumpf
Normal user
Posts: 124
Joined: 05 May 2017, 23:45
Location: Namur

Re: Esp32 on 18650 board

#10 Post by Grumpf » 15 Nov 2020, 10:12

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 33 guests