How to Configure the ESP32 for Light and Deep Sleep Modes

  Рет қаралды 932

ForceTronics

ForceTronics

2 ай бұрын

In this video we look at how to implement ESP32 S3 light and deep sleep modes using the Arduino programming environment. We also look at how to implement multiple ways to wake the ESP32 up from sleep and see some of the tradeoffs between light sleep and deep sleep. Finally we see an example where we connect to WiFi and get data from the internet in between sleep states.
You can access the code from the video on Patreon: / forcetronics
ESP32 S3 Sleep mode API: docs.espressif.com/projects/e...
NTP WiFi example was leveraged from: lastminuteengineers.com/esp32...

Пікірлер: 6
@anlpereira
@anlpereira 16 күн бұрын
Great series. I learned a lot from these videos. Already singed up for this channel and thumbs up. I would like to see a little bit more about ULP Coprocessor. Thanks
@ForceTronics
@ForceTronics 16 күн бұрын
Thanks for the comment, I will note that for future content!
@firdoshdiakus4841
@firdoshdiakus4841 2 ай бұрын
Great tutorials. would the esp32 firebeetle be better to use for portable iot project using a battery? Could you do one using an external interrupt please
@ForceTronics
@ForceTronics 2 ай бұрын
I'm not familiar with the ESP 32 fire beetle so I can't comment. I thought the video does an example with an external interrupt using a low logic signal for both light sleep and deep sleep. Did you mean some type of other external interrupt?
@mvrkmi
@mvrkmi 2 ай бұрын
I've created a phone app that connects to a Bluetooth LE ESP32-S3 and power sensor. I'm using it to remotely monitor the voltage of my car battery via BLE connection. The ESP32-S3 and sensor are powered by the 12V car battery via an IC voltage regulator. I'd like to minimize the parasitic drain on the battery whenever I'm not monitoring the voltage (which would likely be for another 24 hours). Since the Bluetooth radio is turned off in both Light Sleep Mode and Deep Sleep Mode, I'm suspecting the only option I have is to set the respective sleep mode on a Timer. That would mean that whenever I scan for the ESP32-S3, I'd have to wait for the timing cycle in which the Bluetooth radio is turned on. Am I understanding this correctly? For this application, is there any way for me to remotely turn on the Bluetooth radio so that I could read the battery voltage for say 15 seconds and then return to sleep mode for the next 24 hours?
@ForceTronics
@ForceTronics 2 ай бұрын
From my testing that seems like the only option with Bluetooth. Set a timer for one or two seconds to check for a pair and go back to sleep. As I mentioned in the video documentation is flaky. They reference a wakeup from Bluetooth MAC but provide no guidance on it. Timer wake-up should provide good power save. Check out power management API for more options
ESP32 Sleep Modes and Power Consumption
23:40
ForceTronics
Рет қаралды 835
Getting started with ESP32 Deep Sleep
13:36
Programming Electronics Academy
Рет қаралды 9 М.
ЧУТЬ НЕ УТОНУЛ #shorts
00:27
Паша Осадчий
Рет қаралды 7 МЛН
I Melted Wood With Friction
8:44
The Action Lab
Рет қаралды 771 М.
Getting Started with the TFT_eSPI Library using the Arduino IDE
19:54
SMT Mounting for ESP32
7:39
Martinloren R&D
Рет қаралды 11 М.
The ESP32 Wake-Up Call: Exploring External Triggers in Deep Sleep Mode (ext1)
26:32
Programming Electronics Academy
Рет қаралды 7 М.
So You Think You Know Git - FOSDEM 2024
47:00
GitButler
Рет қаралды 1 МЛН
Revolutionize Your ESP32 Projects with Live GPIO Pin Monitoring!
8:08
The Last Outpost Workshop
Рет қаралды 157 М.
Home Assistant Control Panel For My Wall
11:19
BorisDigital
Рет қаралды 174 М.
Собери ПК и Получи 10,000₽
1:00
build monsters
Рет қаралды 2,8 МЛН
Копия iPhone с WildBerries
1:00
Wylsacom
Рет қаралды 612 М.
Телефон-електрошокер
0:43
RICARDO 2.0
Рет қаралды 1,3 МЛН
Зачем ЭТО электрику? #секрет #прибор #энерголикбез
0:56
Александр Мальков
Рет қаралды 627 М.