The ESP32 Wake-Up Call: Exploring External Triggers in Deep Sleep Mode (ext1)

  Рет қаралды 8,931

Programming Electronics Academy

Programming Electronics Academy

Күн бұрын

Пікірлер: 30
@wrekced
@wrekced Жыл бұрын
I think that one reason to use hex to represent a bitmask is that each hex digit is four bits. That makes it easy to translate it to binary when you are troubleshooting later.
@programmingelectronics
@programmingelectronics Жыл бұрын
Thanks for adding this!
@nischal_poudel
@nischal_poudel Жыл бұрын
Thank you soo soo much for this video. maybe the most detailed video on this topic on the whole KZbin. please also make a video on wakeup reason and identify the pin that woke up esp from the deep sleep.
@programmingelectronics
@programmingelectronics Жыл бұрын
Thanks! And thanks for the video recommendation!
@Marc_Wolfe
@Marc_Wolfe 10 ай бұрын
"Even after you putt it into deep sleep" ... didn't realize I needed golf gear.
@patsava
@patsava 8 ай бұрын
One easy way to convert binary to hexadecimal inside your head, without using a calculator, is to group the binary into 4 bits groups, each of the groups can be represented by a hex 0-F. For example: 0b1000=0x8, 0b0000=0x0, 0b0001=0x1, 0b0100=0x4, putting them all together and you get 0x8014
@programmingelectronics
@programmingelectronics 8 ай бұрын
Thanks for adding this!!!!
@johntoe6127
@johntoe6127 Жыл бұрын
When I want to save data between sleep cycles, I use a struct saved with SPIFFS. You can use this method to save 'current state' data, and setup/configuration data.
@aGGreSSiv
@aGGreSSiv 5 ай бұрын
You explained it very well. Thanks
@programmingelectronics
@programmingelectronics 4 ай бұрын
Glad it was helpful!
@deakcutwinkle
@deakcutwinkle Жыл бұрын
Can I still putt my esp32 to sleep if I don't have golf clubs?
@programmingelectronics
@programmingelectronics Жыл бұрын
Yes!
@jack91522
@jack91522 17 күн бұрын
Do you have a video which shows viewers how to wake up from a wifi request during light sleep or modem sleep?
@bestofkings9793
@bestofkings9793 Жыл бұрын
if you are working with a smart parking system or something similar you will need to write code in the loop function and find a way to get it to sleep in the loop function based on an event or something, right?
@programmingelectronics
@programmingelectronics Жыл бұрын
I think there are a lot of ways of doing something like this, but yes, you can always have code in your loop as long as you are not putting the ESP32 to sleep in your setup.
@bestofkings9793
@bestofkings9793 Жыл бұрын
@@programmingelectronics yeah that makes perfect sense, anything after the sleep function wouldn’t run or be executed so yeah that’s cool. Thanks sir. Currently working on something great and big with the knowledge I’m getting online from your channel and others. Today is my 15th day starting arduino though so thanks ✨
@serdarozdamar9848
@serdarozdamar9848 Ай бұрын
why don't you use deep sleep in the loop section. If cpu sleep loop will not operate. I am trying to understand that when cpu wake- up from the deep sleep, does the PC automatically set the SETUP address?
@giusepearturo
@giusepearturo Жыл бұрын
would be super nice if you have a multimeter checking the consumption. :)
@programmingelectronics
@programmingelectronics Жыл бұрын
Agreed! I hope to release another video showing just that - thanks for the recommendation!
@alejandroecheverria1337
@alejandroecheverria1337 7 ай бұрын
Se podria uswr un MPU6050 para despertar el ESP32?, como se podría hacer?
@thenextproblem8001
@thenextproblem8001 11 ай бұрын
Can we use a button to wake it up and use the same button after wake up? Can you make a example
@maryseglah5293
@maryseglah5293 5 ай бұрын
I wanted to setup one push button for sleep and wake up but three is so much for me 😅
@iniciativa3
@iniciativa3 10 ай бұрын
Hello, good morning, a long time ago I had problems with the esp32's deep sleep, since when using the RTC the clock would go backwards or forwards or even go crazy, also when you woke it up with some external interruption and it had slept for a long time, It was difficult to wake up, so the device had to be reset. Do you know if these problems have already been solved?
@giusepearturo
@giusepearturo Жыл бұрын
thanks :)
@programmingelectronics
@programmingelectronics Жыл бұрын
Thanks so much for watching!
@Pippo.Langstrumpf
@Pippo.Langstrumpf Жыл бұрын
Hi. No more live talking?
@programmingelectronics
@programmingelectronics Жыл бұрын
Not lately... Maybe we'll start it up again some time!
@drboczek
@drboczek Жыл бұрын
how to detect which button was used to wake up?
@robertherzog2087
@robertherzog2087 Жыл бұрын
I would like to know this as well. I have a project where each button will do something different, so I need to know which was pressed. Your videos are always informative, thank you for them.
@maryseglah5293
@maryseglah5293 5 ай бұрын
I wanted to setup one push button for sleep and wake up but three is so much for me 😅
Beyond the Zzz's: ESP32's External Wake-Up in Deep Sleep Explored
14:05
Programming Electronics Academy
Рет қаралды 9 М.
Getting started with ESP32 Deep Sleep
13:36
Programming Electronics Academy
Рет қаралды 10 М.
How Much Tape To Stop A Lamborghini?
00:15
MrBeast
Рет қаралды 222 МЛН
Farmer narrowly escapes tiger attack
00:20
CTV News
Рет қаралды 6 МЛН
Why no RONALDO?! 🤔⚽️
00:28
Celine Dept
Рет қаралды 72 МЛН
#328 ESP32 Secrets: Interrupts, and Deep-Sleep under the Hood
18:57
Andreas Spiess
Рет қаралды 178 М.
A Touch of Innovation: ESP32's Touch Interrupt!
14:54
Programming Electronics Academy
Рет қаралды 4,6 М.
ESP8266 as Window Sensor with years of battery life
17:57
MakerMeik
Рет қаралды 180 М.
ESP32 Deep Sleep: Ultra-Low Power Coprocessor
15:27
atomic14
Рет қаралды 30 М.
Forget WiFi! This Wireless Method is WAY Better?
12:14
GreatScott!
Рет қаралды 680 М.
ESPNOW for beginners! #ESP32 #ESP8266
35:09
Programming Electronics Academy
Рет қаралды 155 М.
ESPNOW mix with #ESP32 and #ESP8266
25:37
Programming Electronics Academy
Рет қаралды 41 М.
How Much Tape To Stop A Lamborghini?
00:15
MrBeast
Рет қаралды 222 МЛН