# Touch Button and WLED

**URL:** <https://wled.discourse.group/t/touch-button-and-wled/579>\
**Category:** Uncategorized\
**Created:** [June 27, 2020, 6:20pm UTC](https://wled.discourse.group/t/touch-button-and-wled/579 "2020-06-27T18:20:37Z")\
**Posts on this page:** 10\
**Page:** 2

<div class="post-metadata">

**Author:** ![quantar](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/quantar/32/1640_2.png) [@quantar](https://wled.discourse.group/u/quantar)\
**Post date:** [July 18, 2022, 12:23pm UTC](https://wled.discourse.group/t/touch-button-and-wled/579/21 "2022-07-18T12:23:28Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![tonyno](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/tonyno/32/242_2.png) [@tonyno](https://wled.discourse.group/u/tonyno)\
**Post date:** [July 18, 2022, 12:44pm UTC](https://wled.discourse.group/t/touch-button-and-wled/579/22 "2022-07-18T12:44:22Z")

</div>

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](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/5/5aa7e17e72c15269a6608c4ac12ce01ef4dc19e0.png)

---

<div class="post-metadata">

**Author:** ![quantar](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/quantar/32/1640_2.png) [@quantar](https://wled.discourse.group/u/quantar)\
**Post date:** [July 18, 2022, 1:48pm UTC](https://wled.discourse.group/t/touch-button-and-wled/579/23 "2022-07-18T13:48:23Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![tonyno](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/tonyno/32/242_2.png) [@tonyno](https://wled.discourse.group/u/tonyno)\
**Post date:** [July 18, 2022, 1:49pm UTC](https://wled.discourse.group/t/touch-button-and-wled/579/24 "2022-07-18T13:49:57Z")

</div>

But why not use what’s already there?

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

---

<div class="post-metadata">

**Author:** ![quantar](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/quantar/32/1640_2.png) [@quantar](https://wled.discourse.group/u/quantar)\
**Post date:** [July 18, 2022, 2:23pm UTC](https://wled.discourse.group/t/touch-button-and-wled/579/25 "2022-07-18T14:23:17Z")

</div>

> [@tonyno](#):
>
> But why not use what’s already there?

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.

> [@tonyno](#):
>
> Those boards are set up just like buttons. Nothing special.

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 ^^)

---

<div class="post-metadata">

**Author:** ![tonyno](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/tonyno/32/242_2.png) [@tonyno](https://wled.discourse.group/u/tonyno)\
**Post date:** [July 18, 2022, 2:25pm UTC](https://wled.discourse.group/t/touch-button-and-wled/579/26 "2022-07-18T14:25:53Z")

</div>

Yes. You can put the conductive surfaces behind a panel. 😉

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

---

<div class="post-metadata">

**Author:** ![blazoncek](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/blazoncek/32/1886_2.png) [@blazoncek](https://wled.discourse.group/u/blazoncek)\
**Post date:** [July 18, 2022, 3:44pm UTC](https://wled.discourse.group/t/touch-button-and-wled/579/27 "2022-07-18T15:44:26Z")

</div>

Use inverted button.

---

<div class="post-metadata">

**Author:** ![queche](https://avatars.discourse-cdn.com/v4/letter/q/ee7513/32.png) [@queche](https://wled.discourse.group/u/queche)\
**Post date:** [June 22, 2024, 12:21pm UTC](https://wled.discourse.group/t/touch-button-and-wled/579/28 "2024-06-22T12:21:59Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![blazoncek](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/blazoncek/32/1886_2.png) [@blazoncek](https://wled.discourse.group/u/blazoncek)\
**Post date:** [June 23, 2024, 8:16am UTC](https://wled.discourse.group/t/touch-button-and-wled/579/29 "2024-06-23T08:16:02Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![queche](https://avatars.discourse-cdn.com/v4/letter/q/ee7513/32.png) [@queche](https://wled.discourse.group/u/queche)\
**Post date:** [June 23, 2024, 8:34am UTC](https://wled.discourse.group/t/touch-button-and-wled/579/30 "2024-06-23T08:34:17Z")

</div>

Merci.

[Previous page](https://wled.discourse.group/t/touch-button-and-wled/579.md?page=1)
