You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The raw readings of the 12 touch pins do not change at all, and are way beyond normal value ranges. Meanwhile, the MPR121 connected to the same 12 pins functions correctly. This issue was previously observed by #6837 on the same ESP32-S2-Mini SMT package, but their solution of downgrading to Arduino IDE 1.8.19 and Arduino Core 2.0.3 did not work for me.
Sketch
#include"Arduino.h"
#include"driver/touch_sensor.h"constexprauto touches = {TOUCH_PAD_NUM1, TOUCH_PAD_NUM2, TOUCH_PAD_NUM3, TOUCH_PAD_NUM4, TOUCH_PAD_NUM5, TOUCH_PAD_NUM6,
TOUCH_PAD_NUM7, TOUCH_PAD_NUM8, TOUCH_PAD_NUM9, TOUCH_PAD_NUM10, TOUCH_PAD_NUM11, TOUCH_PAD_NUM12};
voidsetup() {
Serial.begin(115200);
delay(1000); // give me time to bring up the serial monitortouch_pad_init();
for (constauto touch : touches) {
touch_pad_io_init(touch);
}
}
voidloop() {
// for (int i = 1; i < 12; ++i) {for (constauto i : touches) {
// const auto touch = touchRead(i);uint32_t touch = 0;
touch_pad_read_raw_data(i, &touch);
Serial.printf("%d,", touch);
}
Serial.println();
delay(80);
}
Board
Custom board with the ESP32-S2-Mini-2-N4 package.
Device Description
Hardware Configuration
Touch GPIO pins 1 - 12 are connected to 2.54 pin sockets, which directly connect to the self-capacitance touch board.
There is also an MPR121 that's connected to the same pins.
Version
v2.0.14
IDE Name
PlatformIO
Operating System
Windows 11
Flash frequency
40Mhz
PSRAM enabled
no
Upload speed
921600
Description
The raw readings of the 12 touch pins do not change at all, and are way beyond normal value ranges. Meanwhile, the MPR121 connected to the same 12 pins functions correctly. This issue was previously observed by #6837 on the same ESP32-S2-Mini SMT package, but their solution of downgrading to Arduino IDE 1.8.19 and Arduino Core 2.0.3 did not work for me.
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: