Comments on: ESP32 Touch Wake Up from Deep Sleep https://randomnerdtutorials.com/esp32-touch-wake-up-deep-sleep/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Mon, 20 Oct 2025 10:07:22 +0000 hourly 1 https://wordpress.org/?v=6.8.5 By: Sara Santos https://randomnerdtutorials.com/esp32-touch-wake-up-deep-sleep/#comment-1111688 Mon, 20 Oct 2025 10:07:22 +0000 https://randomnerdtutorials.com/?p=83645#comment-1111688 In reply to Ronny Palmqvist.

Hi.
Thanks for sharing.
I’ll test this and make the necessary changes.
Regards,
Sara

]]>
By: Ronny Palmqvist https://randomnerdtutorials.com/esp32-touch-wake-up-deep-sleep/#comment-1111637 Mon, 20 Oct 2025 06:06:16 +0000 https://randomnerdtutorials.com/?p=83645#comment-1111637 In your course Learn-ESP32-eBook Module_4, 4_3_touch_wake_up.ino in function
void print_wakeup_touchpad() {
touchPin = esp_sleep_get_touchpad_wakeup_status(); that gives compiler error.

on espressif github same TouchWakeUp.ino has this change
void print_wakeup_touchpad() {
touchPin = (touch_pad_t)esp_sleep_get_touchpad_wakeup_status();
^^^^^^^^^^^^

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-touch-wake-up-deep-sleep/#comment-1111006 Sat, 18 Oct 2025 10:08:37 +0000 https://randomnerdtutorials.com/?p=83645#comment-1111006 In reply to Ronny Palmqvist.

Hi.
Can you share the solution?
Probably a new update in the code broke the code.
Regards,
Sara

]]>
By: Ronny Palmqvist https://randomnerdtutorials.com/esp32-touch-wake-up-deep-sleep/#comment-1110988 Sat, 18 Oct 2025 08:54:34 +0000 https://randomnerdtutorials.com/?p=83645#comment-1110988 In reply to Ronny Palmqvist.

I found the solution on espressif githib site. It working now.

]]>
By: Ronny Palmqvist https://randomnerdtutorials.com/esp32-touch-wake-up-deep-sleep/#comment-1109157 Mon, 13 Oct 2025 14:59:02 +0000 https://randomnerdtutorials.com/?p=83645#comment-1109157 Hi, I got this error on both windows and linux:

49 | touchPin = esp_sleep_get_touchpad_wakeup_status();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
| |
| int
exit status 1

Compilation error: invalid conversion from ‘int’ to ‘touch_pad_t’ [-fpermissive]

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-touch-wake-up-deep-sleep/#comment-855082 Tue, 15 Aug 2023 13:42:38 +0000 https://randomnerdtutorials.com/?p=83645#comment-855082 In reply to salvador.

Hi.
Yes.
Take a look at our telegram tutorials: https://randomnerdtutorials.com/?s=telegram
Regards,
Sara

]]>
By: salvador https://randomnerdtutorials.com/esp32-touch-wake-up-deep-sleep/#comment-855065 Tue, 15 Aug 2023 09:27:27 +0000 https://randomnerdtutorials.com/?p=83645#comment-855065 podria enviar un mensaje usando telegram al despertar ?
gracias

]]>
By: mvis https://randomnerdtutorials.com/esp32-touch-wake-up-deep-sleep/#comment-831640 Mon, 24 Apr 2023 04:38:44 +0000 https://randomnerdtutorials.com/?p=83645#comment-831640 In reply to Gerstl Reinhold.

see this for a partial explanation. still not fixed, imo

https://github.com/espressif/arduino-esp32/issues/7150

]]>
By: Gerstl Reinhold https://randomnerdtutorials.com/esp32-touch-wake-up-deep-sleep/#comment-770958 Mon, 25 Jul 2022 07:04:11 +0000 https://randomnerdtutorials.com/?p=83645#comment-770958 Hi
The Sketch work on ESP32 S2 bat not on ESP32 S3
After going sleep it wake up instantly witch error:

Boot number: 2
Wakeup caused by touchpad
E (1021) TOUCH_SENSOR: touch_pad_get_wakeup_status(222): Touch channel error

assert failed: esp_sleep_get_touchpad_wakeup_status sleep_modes.c:931 (ret == ESP_OK && “wakeup reason is RTC_TOUCH_TRIG_EN but SENS_TOUCH_MEAS_EN is zero”)

Wy thir error?

]]>
By: Hadi https://randomnerdtutorials.com/esp32-touch-wake-up-deep-sleep/#comment-653755 Thu, 29 Jul 2021 11:54:24 +0000 https://randomnerdtutorials.com/?p=83645#comment-653755 hi
can we use esp32 as a touch key ?
place a pad on pcb and then put a glass (3mm) on it and then touch the area above pad and sense the touch .
Is it possible ?

]]>