Touch Button and WLED

Whats the best current process to integrate these TTP223?
Can I use and configure them in WLED similar to the resistive touch buttons with an ESP32 pin?
If so, do I need to bridge the jumper, or can I just configure them as inverted touch buttons?
Thanks
quan

Edit: Besides these TTP223, are there other “better” new ones that can be bought? “Better” means for me that they can be used inside a (thicker) wooden frame.

If you have an ESP32, it has touch pins. Just connect to a conductive surface and then set as a touch button in LED Preferences.

image

Yeah I know, I am already using them. But I now try the capacitive TTP223 ones, and I want to know if they are genuinely supported by the current WLED build, or if I need to go the way thats mentioned before in this Thread.

But why not use what’s already there?

Those boards are set up just like buttons. Nothing special.

You mean using the ESP32 touch pins? Because conductive surfaces face the problem to oxidize over time. As all this is part of my product development, I need a “rock solid” solution for a long time use to avoid massive functionality failies - Even if there is only the slightest chance of such things.
Oxidizing can be prevented by anodizing the surface (like with Aluminium), but then the conductivity would be gone. There are industrial solutions (partial anodizing) for that, but I am still trying to figure out if this would also be possible with copper (That fits better into my design than Aluminium).
TL;DR: I am building prototypes with both (resistive and capacitive) touch-button-solutions, and now I test if the TTP223 sensors work through the wooden frame of my lights.

You mean the TTP223 boards can now directly be used like normal buttons? That indeed would be pretty nice (and would make my life much more easier ^^)

Yes. You can put the conductive surfaces behind a panel. :wink:

Those boards just convert touch to a signal like a button.

1 Like

Use inverted button.

1 Like

Hello, I am trying to program a sensitive key on ESP 8266. I used the GPIO 12 corresponding to the D6 on my card and configured button 1 on Wled. Nothing happens, no reaction on the assembly when I touch the wire. Could you give me a little help please. Thanking you in advance. Sincerely.

ESP8266 does not have touch capable inputs. Use ESP32 instead.

Merci.