Mastering ESP32 Deep Sleep: Timers, GPIOs & Touch Sensors Explained
atomic14 atomic14
43.3K subscribers
11,491 views
0

 Published On Sep 12, 2021

We're doing a deep dive into deep sleep! Thanks to PCB Way for sponsoring the videos - https://www.PCBWay.com/?from=atomic

The ESP32 e-Paper weather display lasted exactly 2 months on its 1000mAh battery. It achieves this by spending most of its time in deep sleep, only waking up every 30 minutes to get a fresh forecast and update the display.

We're going to look at:

[0:00] Intro
[1:33] How to get into deep sleep
[1:42] Waking up by using a timer
[2:56] Waking up by GPIO pins (single and multiple)
[5:26] Waking up with the touch sensors
[6:13] How to know why you were woken up?
[7:37] How to persist state during deep sleep?
[8:24] How much current do we use in deep sleep?

It's pretty interesting stuff and opens up some great possibilities.

Sample code for this video is here: https://github.com/atomic14/esp32_dee...

Here's a link to one of @AndreasSpiess videos (the guy with the Swiss accent)    • #387 Test of Battery operated ESP32 B...   he's got a bunch more videos measuring different ESP32 boards - definitely worth having a watch.

----
Patreon:   / atomic14  
ko-fi: https://ko-fi.com/atomic14

show more

Share/Embed