Multiple touch sensors on one Pin ESP32

Hiya!

I'm currently working on a project with an ESP32 board and have 8 GPIO pins going to metal cards for a sequence game. You essentially have to guess the correct sequence which I've assigned to 7 pins, and the 8th GPIO pin is essentially a dud card and will always reset the game no matter what. I was wondering if it was possible to have multiple pinouts from one pin, or if that'd always interfere with capacitive touch? So far I've been able to daisy chain 3 cards and have the game behave nicely - but as soon as I add a 4th it'll constantly register a drop and reset the game on loop. My goal is to have 12 cards around a table in total so 7 correct, and 5 duds. I was wondering if there's a way to work around this/anything I could be missing? Whether it's lowering the sensitivity, or adding resistors or somehow closing the circuit?

It's also worth mentioning that I'm fairly new with arduinos and code, so thought it was worth asking people way smarter than me before I bang my head against the wall!

Check the Espressif documentation for the particular board model you want to use to determine the number of touch-sensitive pins. IIRC, they all are, but I am old and forgetful. ALSO, read/look everywhere on the datasheet; there may be a caveat like only so many pins at once or similar that limits the total number.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.