Це відео не доступне.
Перепрошуємо.
How to Configure the ESP32 for Light and Deep Sleep Modes
Вставка
- Опубліковано 6 тра 2024
- 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...
NTP WiFi example was leveraged from: lastminuteengi...
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
Thanks for the comment, I will note that for future content!
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
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?
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?
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
I gave you your firsst and only thumb down but i subscribed