Hi Brian!
I just upgraded a previsiously-installed traditional ESP32 to an ESP32-S3-16/8.
In my case, the values initially were huge (significantly larger than before) and didn’t appear to change at all. The trick that worked for me was to adjust the measurement_duration
value down from the default 4ms
to 0.25ms
. Once I did that, the values were still pretty large numbers, but changed quite reliably.
esp32_touch:
setup_mode: false
measurement_duration: 0.25ms
binary_sensor:
- platform: esp32_touch
name: "TouchPad1"
pin: 4
threshold: 1100000
- platform: esp32_touch
name: "TouchPad2"
pin: 5
threshold: 1300000
I’ve got ~1m lead wires running to from the ESP32-S3 to the touchpads. For me, TouchPad1 sits idle at ~ 573,000 and goes up to ~1675000 when touched. TouchPad2 sits idle at ~677000 and goes up to ~1530000 when touched.