Beyond the Zzz's: ESP32's External Wake-Up in Deep Sleep Explored

  Переглядів 5,604

Programming Electronics Academy

Programming Electronics Academy

День тому

🤩 Check out this Free Arduino Course 👇
bit.ly/get_Arduino_skills
**Get the code, transcript, challenges, etc for this lesson on our website**
bit.ly/3PcVTiy
Getting Started with Deep Sleep: • Getting started with E...
Wake up with ext1: • The ESP32 Wake-Up Call...
Want to learn more? Check out our courses!
bit.ly/3Z7qKBY
_/\\\\\\\\\\\\\_____\\\\\\\\\\\\\\\_____/\\\\\\\\\___
\/\\\/////////\\\_\___\\\///////////_______/\\\\\\\\\\\\\_
\/\\\_______\/\\\__\/\\\____________/\\\/////////\\\
\/\\\\\\\\\\\\\/___\/\\\\\\\\\\\_____\/\\\_______\/\\\
\/\\\/////////_______\/\\\///////________\/\\\\\\\\\\\\\\\
\/\\\_____________\/\\\______________\/\\\/////////\\\
\/\\\_____________\/\\\______________\/\\\_______\/\\\
\/\\\_____________\/\\\\\\\\\\\\\\\____\/\\\_______\/\\\
\///_______________\///////////////_________\///________\///_
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 Introduction
01:12 ext0
02:16 Pinout
04:21 The Code
05:38 ext0

КОМЕНТАРІ: 10
@mansurbhamani3905
@mansurbhamani3905 8 місяців тому
It will be very useful where one has to send notifications on alerts while one is using paid data service while it keeps polling the net (kaching teller box every second) even though the alert event has not happened. It is a great idea to get esp32 to snorrrrrrr while the mice are at play.
@programmingelectronics
@programmingelectronics 8 місяців тому
Thanks a ton for watching!
@u1kim
@u1kim 8 місяців тому
Hi, is there any way to use the deep sleep and wake up functions within the void loop? I've known about deep sleep and wakeup but it's no use for most of my sketches that use void loop to perform various tasks. Thanks.
@programmingelectronics
@programmingelectronics 8 місяців тому
Yes - I don't think there is any reason you can't do that. Just keep in mind, when the sleep function is called, the loop will stop, and when you're program starts again, it will be from the top of setup.
@u1kim
@u1kim 8 місяців тому
@@programmingelectronics Thank you for your reply. So putting the unit into deep sleep is not hard at practically any part of the sketch, but it seems that waking it up by input seems impossible except for a hard reset. Specifically, I was trying to use a touch sensor to accomplish my objective without any success. If you can shed any light on this, I would be grateful.
@cellu84
@cellu84 7 місяців тому
Is there a way to use a long press on the push button to put the esp32 to sleep and vice versa? Let’s say… keep the push button pressed for a second to wake up the esp32. Thanks
@nikheel5643
@nikheel5643 7 місяців тому
Your videos are super helpful but I just have one problem. So I have a project that uses esp-now to communicate. One acts as the transmitter and is basically just a button that when it is pressed, it sends a message to remotely turn on some peripherals connected to the receiver. My question is, is there a way to use ext0 but instead of a button that is connected to the receiver, the transmitter will send a value to tell the receiver whether to wake up or sleep?
@KeithGroover
@KeithGroover 8 місяців тому
Thanks! So, if you lose all of your variables and such, then deep sleep isn't equivalent to putting your computer to sleep, it's more like a reset switch, correct?
@programmingelectronics
@programmingelectronics 8 місяців тому
That's exactly right Keith! From a functional perspective, it is very much light pressing the reset switch.
@thenextproblem8001
@thenextproblem8001 8 місяців тому
But RTC memory is not disabled in deep sleep so its not exactly reset button. Youcan store data there
dfu-util: No DFU capable USB device available [Solved]
4:35
Programming Electronics Academy
Переглядів 9 тис.
Getting started with ESP32 Deep Sleep
13:36
Programming Electronics Academy
Переглядів 8 тис.
Eurovision Song Contest 2024: First Semi-Final (Live Stream) | Malmö 2024 🇸🇪
2:23:45
Get started with ESP32 touch buttons [Code and Wiring Diagram Included]
15:20
Programming Electronics Academy
Переглядів 4,9 тис.
#118 ESP8266 Deep Sleep 💥 and Bare Bones ESP (easy)
34:18
Ralph S Bacon
Переглядів 28 тис.
Режим глубокого сна в ESP8266, WeMos, NodeMCU, ESP-01
15:27
#229 ESP32 - Saving Variables Across Deep Sleep
24:26
Ralph S Bacon
Переглядів 10 тис.
#149 ESP32 Deep Sleep, RTC Memory, "Secret" LoLin Pins
13:28
Andreas Spiess
Переглядів 145 тис.
ESP32 wake from Deep Sleep | ESPHome and HomeAssistant + MQTT
8:38
OMG The Cloud!
Переглядів 10 тис.
#115 Put your Arduino to Sleep 💤 (using wake up 🚩 INTERRUPT)
24:05
Ralph S Bacon
Переглядів 47 тис.