Тёмный

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

Programming Electronics Academy
Подписаться 229 тыс.
Просмотров 7 тыс.
50% 1

🤩 FREE Arduino Crash Course 👇👇
bit.ly/get_Arduino_skills
**Get the code, transcript, challenges, etc for this lesson on our website**
bit.ly/45RVw4i
Using Ext0: Getting started with ESP32 Deep Sleep
Getting started with ESP32 Deep Sleep: • Getting started with E...
Want to learn more? Check out our courses!
bit.ly/3PkFs3X
_/\\\\\\\\\\\\\_____\\\\\\\\\\\\\\\_____/\\\\\\\\\___
\/\\\/////////\\\_\___\\\///////////_______/\\\\\\\\\\\\\_
\/\\\_______\/\\\__\/\\\____________/\\\/////////\\\
\/\\\\\\\\\\\\\/___\/\\\\\\\\\\\_____\/\\\_______\/\\\
\/\\\/////////_______\/\\\///////________\/\\\\\\\\\\\\\\\
\/\\\_____________\/\\\______________\/\\\/////////\\\
\/\\\_____________\/\\\______________\/\\\_______\/\\\
\/\\\_____________\/\\\\\\\\\\\\\\\____\/\\\_______\/\\\
\///_______________\///////////////_________\///________\///_
We designed this circuit board for beginners!
Kit-On-A-Shield: amzn.to/3lfWClU
FOLLOW US ELSEWHERE
---------------------------------------------------
Facebook: / programmingelectronics...
Twitter: / progelecacademy
Website: www.programmingelectronics.com/
**About Us:**
This Arduino lesson was created by Programming Electronics Academy. We are an online education company who seeks to help people learn about electronics and programming through the ubiquitous Arduino development board.
**We have no affiliation whatsoever with Arduino LLC, other than we think they are cool.**
00:00 In This Video
01:17 See Description
01:39 Deep Sleep Code Flow
04:25 Main Functions
07:34 Pinout diagram
12:34 hexadecimal
16:09 Circuit Setup
17:02 Code Demo
23:15 Botton Testing

Опубликовано:

 

5 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 28   
@wrekced
@wrekced 10 месяцев назад
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 10 месяцев назад
Thanks for adding this!
@nischal_poudel
@nischal_poudel 10 месяцев назад
Thank you soo soo much for this video. maybe the most detailed video on this topic on the whole RU-vid. please also make a video on wakeup reason and identify the pin that woke up esp from the deep sleep.
@programmingelectronics
@programmingelectronics 10 месяцев назад
Thanks! And thanks for the video recommendation!
@aGGreSSiv
@aGGreSSiv Месяц назад
You explained it very well. Thanks
@programmingelectronics
@programmingelectronics Месяц назад
Glad it was helpful!
@Marc_Wolfe
@Marc_Wolfe 6 месяцев назад
"Even after you putt it into deep sleep" ... didn't realize I needed golf gear.
@patsava
@patsava 5 месяцев назад
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 5 месяцев назад
Thanks for adding this!!!!
@johntoe6127
@johntoe6127 9 месяцев назад
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.
@giusepearturo
@giusepearturo 9 месяцев назад
thanks :)
@programmingelectronics
@programmingelectronics 9 месяцев назад
Thanks so much for watching!
@iniciativa3
@iniciativa3 6 месяцев назад
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?
@thenextproblem8001
@thenextproblem8001 7 месяцев назад
Can we use a button to wake it up and use the same button after wake up? Can you make a example
@deakcutwinkle
@deakcutwinkle 9 месяцев назад
Can I still putt my esp32 to sleep if I don't have golf clubs?
@programmingelectronics
@programmingelectronics 9 месяцев назад
Yes!
@alejandroecheverria1337
@alejandroecheverria1337 4 месяца назад
Se podria uswr un MPU6050 para despertar el ESP32?, como se podría hacer?
@bestofkings9793
@bestofkings9793 8 месяцев назад
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 8 месяцев назад
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 8 месяцев назад
@@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 ✨
@maryseglah5293
@maryseglah5293 Месяц назад
I wanted to setup one push button for sleep and wake up but three is so much for me 😅
@giusepearturo
@giusepearturo 9 месяцев назад
would be super nice if you have a multimeter checking the consumption. :)
@programmingelectronics
@programmingelectronics 9 месяцев назад
Agreed! I hope to release another video showing just that - thanks for the recommendation!
@Pippo.Langstrumpf
@Pippo.Langstrumpf 10 месяцев назад
Hi. No more live talking?
@programmingelectronics
@programmingelectronics 10 месяцев назад
Not lately... Maybe we'll start it up again some time!
@drboczek
@drboczek 9 месяцев назад
how to detect which button was used to wake up?
@robertherzog2087
@robertherzog2087 8 месяцев назад
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 Месяц назад
I wanted to setup one push button for sleep and wake up but three is so much for me 😅
Далее
Getting started with ESP32 Deep Sleep
13:36
Просмотров 9 тыс.
🤡Украли У ВСЕХ🤪
00:37
Просмотров 251 тыс.
ESP8266 as Window Sensor with years of battery life
17:57
Why The Windows Phone Failed
24:08
Просмотров 232 тыс.
#363 Which ESP32 pins are safe to use?
11:53
Просмотров 128 тыс.