Wakeup From Sleep With a Timer (ESP32 + Arduino series)

  Рет қаралды 24,521

Simply Explained

Simply Explained

Күн бұрын

Пікірлер: 21
@demiurgiac
@demiurgiac 6 ай бұрын
Never used "sleep" before. A little intimidated. You just saved me a lot of fooling around. Didn't realize how simple it would be. Thank you!. Also, like your style. No long intro with graphics, no personal story, no music...
@bgable7707
@bgable7707 7 ай бұрын
@3 mins, Great job explaining what code will run and what code will NEVER run, ie, void loop doesn't need to have code for the program to work correctly.
@EasyOne
@EasyOne 10 ай бұрын
Can I add deep sleep a Timer to esp32 Internet Clock oled ?
@thomasleftwite
@thomasleftwite Жыл бұрын
The video helps me much, thank you!
@Chamuga9563
@Chamuga9563 Жыл бұрын
Very nice video! you helped me alot
@BlueyMcPhluey
@BlueyMcPhluey 3 жыл бұрын
wow this is so much easier than I thought it would be, and funnily enough the project I'm working on is to take temperature data and send it to a cloud server 😅
@gutny
@gutny Жыл бұрын
This mode has ULP still working?
@mrbumcraic5046
@mrbumcraic5046 2 жыл бұрын
running from usb power, I have a sim 7600 connected to the 5v on the ESP32. The power to SIM7600 dies not turn off when in deep sleep resulting i major power drain. Can this be overcome
@bubi146
@bubi146 4 жыл бұрын
Hi It's a very nice instructional video you have made, and it takes place quietly, so everyone can follow - nicely made! I have a sketch that shows the time (clock), with an update every minute. It appears on the E-Paper display and it is ESP32 board that controls it. It is powered by a battery. I want to hear if you could make a small modification, so that it is not updated 24 hours a day, but only at certain time of the day, to save battery. It could e.g. Go in Deep sleep at 2300 and then wake up again at 0700, thereby saving power on the night, when I am not looking at the clock. Is it possible? Yours sincerely Georg
@ianmather7109
@ianmather7109 3 жыл бұрын
Hi I followed your video to the letter but when the sleep code is in my Arduino IOT code the esp32 will not go online, I take the deep sleep code out and it does. I tried deep sleep code with my ESP12E and that did the same. Thoughts anyone
@duff8402
@duff8402 3 жыл бұрын
Any thoughts why one would get "esp_deep_sleep.h no such file or directory" error? I'm running IDE on a Raspberry Pi with all libraries updaed, but I cant seem to kick this error or find any fixes on google
@tritile
@tritile 2 жыл бұрын
2:36 that was sad :/
@worldexplorerPL
@worldexplorerPL 2 жыл бұрын
Hello, thanks for a very thorough tutorial. However, I have a question for the DEEP SLEEP state. If I have any digital outputs and one of them is set to HIGH when entering deep sleep, how does this output react after sleep? Are the outputs still latched or are they all LOW?
@juncusbufonius
@juncusbufonius 2 жыл бұрын
They would return to their startup state but you've probably worked this out with a print statement telling you their state. I believe he says you can store persistent variables and that would be the way to reinitialise them to their pre sleep state in setup.
@Dralsoft
@Dralsoft 3 жыл бұрын
I'm doing this, setting the variable to 60minutes but it wakeups instantly. The maximum seems to be 35 minutes. Any ideas?
@mrbumcraic5046
@mrbumcraic5046 2 жыл бұрын
use esp_sleep_enable_timer_wakeup(8ULL*60*60*1000*1000); for example if you want 8 hours
@claytonnlambert
@claytonnlambert 2 жыл бұрын
Did you sort this out? It seems no matter what value I set it instantly restarts.
@claytonnlambert
@claytonnlambert 2 жыл бұрын
Fixed by delaying a bit between enabling deep sleep and starting deep sleep. Not sure why, but I must be doing something wrong.
@igorbisori5117
@igorbisori5117 4 жыл бұрын
I would like to put my esp32 into deep sleep with a timer. Currently esp 32 exposes an api which is called every 20 minutes. I would like to put him to sleep for 19 minutes, allow the bee to respond and then put him back to sleep. I've seen your example but it doesn't use the loop method. In my loop method there is the server.handleClient () statement; and with the sleep timer it is never called. how can i solve? Thanks to those who will answer
@mrbumcraic5046
@mrbumcraic5046 2 жыл бұрын
put all of your code in setup (still keep the loop function , just leave it empty)
Touch Pins as Wake-up Source (ESP32 + Arduino series)
5:21
Simply Explained
Рет қаралды 12 М.
Getting started with ESP32 Deep Sleep
13:36
Programming Electronics Academy
Рет қаралды 11 М.
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
Best power saving mode - Much Deeper Deep Sleep ESP8266
10:30
DIY TECH BROS
Рет қаралды 100 М.
I Remade Star Wars VFX in 1 Week
10:39
ErikDoesVFX
Рет қаралды 2 МЛН
How to Multitask with FreeRTOS (ESP32 + Arduino series)
6:25
Simply Explained
Рет қаралды 92 М.
#229 ESP32 - Saving Variables Across Deep Sleep
24:26
Ralph S Bacon
Рет қаралды 10 М.
Devin just came to take your software job… will code for $8/hr
5:13
#328 ESP32 Secrets: Interrupts, and Deep-Sleep under the Hood
18:57
Andreas Spiess
Рет қаралды 180 М.
Beyond the Zzz's: ESP32's External Wake-Up in Deep Sleep Explored
14:05
Programming Electronics Academy
Рет қаралды 9 М.
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН