ESP32 Sleep Modes and Power Consumption

Ғылым және технология

In this video we look at the ESP32 S3 sleep modes, ways to wake up from sleep mode, and current consumption in sleep mode. We then configure a circuit to measure the ESP32 current in sleep mode down to micro amps.
Circuit design from video can be found on Patreon: / forcetronics
ESP32 S3 Sleep mode API: docs.espressif.com/projects/e...
ESP32 S3 Pwr Management API: docs.espressif.com/projects/e...

Пікірлер: 4

  • @alysef21
    @alysef212 ай бұрын

    Great video. What power supply or instrument did you use to do the digitized current capture that you showed at the end of the video?

  • @ForceTronics

    @ForceTronics

    2 ай бұрын

    It is a modular power supply platform from Keysight Technologies and the mainframe is the N6705B DC power analyzer (I believe they are on the 'C' version now). The mainframe takes up to 4 power supply modules. The module I was using is the N6762A, which is one of their mid range performance modules. It is not cheap, but comes in handy!

  • @fouzaialaa7962
    @fouzaialaa79622 ай бұрын

    The main reason you use a esp 32 or 8266 is for connectivity ...and to my knowledge unfortunately you cant have the radio on and go to sleep , and you cant wakeup from receiving a bluetooth signal or wifi packet .... The esp is nice but its useless if you need to activate the radio and your on battery .... If you have any idea how to sleep and wakeup on receiving a bluetooth or wifi packet plz address it in the second video

  • @ForceTronics

    @ForceTronics

    2 ай бұрын

    You are correct and thanks for the comment. It is not really just an ESP32, but a problem with wireless connections in general. To maintain a wireless connection you need to transmit data wirelessly, which is a power hungry operation. Also you need to pre and post process data so you need some type of CPU involved. I am not a bluetooth standard expert, but you can sleep a bluetooth device and wake every couple of seconds to check for a device that is trying to pair. And if there is no device you can go back to sleep and if there is you stay awake until the bluetooth communication is complete. My application that I am planning is for WiFi to send and read data from the cloud, which doesn't require a constant connection. My device will sleep for some amount of time, wake up, and connect to the WiFi. From there it will send sensor data and then read any settings or state change information from the cloud. Take the appropriate actions and go back to sleep. The amount of time the device sleeps is just based on how real time you want the data or actions it performs to happen. But of course there are applications that do require a constant connection. I will show a WiFi example in part two but it is the wake up connect and go back to sleep approach.

Келесі