S3 Touch Input freezing when two are linked

louie.norwood
Posts: 1
Joined: Thu Feb 08, 2024 1:33 pm

S3 Touch Input freezing when two are linked

Postby louie.norwood » Thu Feb 08, 2024 1:59 pm

I have been working on a touch sensor application, I am just using touchRead() function to query 4 touch sensors on loop.

I found when touching two of them the ESP32-S3 values increase dramatically, when they get to 4000000 the unit crashes and reads a constant value until reboot. I have put inline resistors in line, which reduces sensitivity but improves the issue, however still possible to crash it with 33k on each line.

This can be easily replicated by touching together two touch pins, which causes all following touch read values to read the same stalled value until the chip is rebooted.

I cannot find any reports of this, so am raising a ticket, hoping that someone has found and resolved this issue by configuring the pins or touch module in some way.

I am programming this with Arduino IDE using 2.0.7 esp32 library, this seems consistent even the the latest (2.0.14). Tehre's no particaulr setting up for the touch pins, as per the examples, just using touchRead() in the loop with delays between reads.

This seems like it's crashing the actual touch ADC, as the chip continues to operate and provide values, however these values are no longer live readings.

Any suggestions to resolve or improve would be much appreciated. As I currently am just rebooting the ESP if I see this stall or go above 4million, but this is really inconvienient.

Thanks, Louie

billyischilly
Posts: 2
Joined: Thu Nov 07, 2024 4:18 pm

Re: S3 Touch Input freezing when two are linked

Postby billyischilly » Thu Nov 07, 2024 4:32 pm

Hi Louie,

Did you get any solution to this? I have been trying to get touch working on an esp32 s3 Supermini and am finding that only T1 and T2 touch inputs work at all and that reading from any of the others will seemingly crash the whole of the touch adc with all the touch readings freezing at increasingly high numbers as the PIN number increases. Really weird! Have been troubleshooting using the example sketch so its nothing I am doing in the code. I have now tested multiple Supermini boards not connected to anything and they are all the same, but not any other S3 ones so wondering if it is something with that board in particular. Been tearing my hair out and digging through the core to see if there are any clues as to what is going on but I cant see anything!

Billy

guillaumesene
Posts: 2
Joined: Sun Nov 10, 2024 5:15 pm

Re: S3 Touch Input freezing when two are linked

Postby guillaumesene » Sun Nov 10, 2024 5:38 pm

Hello,

I encountered the same problem. When touching several Touch inputs, the values ​​climb much more than when touching only one, then the ESP32 freezes.
When I put an insulating layer on top of my touch sensor (a sheet of paper, for example), I no longer have a problem.
When will there be an update to correct this?

guillaumesene
Posts: 2
Joined: Sun Nov 10, 2024 5:15 pm

Re: S3 Touch Input freezing when two are linked

Postby guillaumesene » Sun Nov 10, 2024 5:42 pm

Hello,

I encountered the same problem. When touching several Touch inputs, the values ​​climb much more than when touching only one, then the ESP32 freezes.
When I put an insulating layer on top of my touch sensor (a sheet of paper, for example), I no longer have a problem.
When will there be an update to correct this?

Who is online

Users browsing this forum: No registered users and 124 guests