Touch Pins as Wake-up Source (ESP32 + Arduino series)
Вставка
- Опубліковано 21 тра 2020
- Wake the ESP32 from deep sleep by using the touch sensors. This is handy if you want to respond to someone touching your device and turning it on.
⚡️Other videos in this series:
• ESP32 + Arduino
(Everything you need to know about programming the ESP32 by using the Arduino Framework)
🌍 Social
Twitter: / savjee
Facebook: / savjee
Blog: savjee.be
Become a Simply Explained member: / @simplyexplained - Наука та технологія
Hi thanks for the video
How do you do it for Arduino 328P?
Hi this was a great clear explanation and easy to understand thank you. One thing, as a complete newb to the ESP32 I would have liked to see a demo of the wire you attached to create a touch sensor? Is it really as simple as attaching any piece of wire to the pin??
In this case, yes!
How much current consumption increase should we expect when enabling touch in deep sleep?
thanks
Hi, I need to send for example the temperature when I touch the sensor, and then goes to sleep, I have the topic in the loop funtion, how can I make this , i need send the value and then go to sleep, ? thanks
Hi, I have a practical application that requires code execution in the loop() before going into deep sleep. Is there a way to accomplish the touch sensor wake up inside the loop, like putting the touchAttachInterrupt in the setup and esp_sleep_enable_start in the loop? I've tried it and it doesn't seem to want to work.
Is there a way to disable touch pin wake up? I'm using a button and a timer for wake up, but somehow even without code for touch wake up my esp32 is immediately wake up by touch.
is it possible to make esp remember some variables during deepsleep?
You can write to the flash and read it again after wakeup.