Touch wake up ESP32-S3

ruben_vleuten
Posts: 4
Joined: Thu Apr 28, 2022 7:13 am

Touch wake up ESP32-S3

Postby ruben_vleuten » Wed Oct 12, 2022 2:11 pm

Hello,

I'm trying to build an application for an ESP32-S3. I would like to wake the device up from deep-sleep using a touch pad. I found this example: https://github.com/espressif/esp-idf/bl ... le_main.c

The problem however is that this seems to be written for older ESP32 models. To enable the touch-wake up you need to set a threshold. Once the touch level is below this threshold, the device will wake up.

The problem however is that with the ESP32-S3 the touch value increases when it's being touched and therefore the threshold should work the other way. Do you have examples on how to implement this?

Thanks!

Who is online

Users browsing this forum: No registered users and 66 guests