Previous in Forum: Windows 10 Upgrade Issue   Next in Forum: Fire Alarm & Extinguishing System Programming Software
Close
Close
Close
5 comments
Rate Comments: Nested
Anonymous Poster #1

Need Help with TTP223 Touch Sensor

09/01/2025 5:15 PM

Hi everyone,

I’m trying to make a little DIY touch button for a tool project using a TTP223 capacitive touch sensor

It works fine when I touch it. the LED lights up and the output pin goes HIGH. but only while my finger is touching it. As soon as I lift my finger, it goes back LOW.

I thought changing the jumper to “toggle/lock mode” would make it act like an ON/OFF switch (touch once = stay ON, touch again = OFF). But even with the jumper set, it still only works while I’m pressing it.

Am I missing something simple here? Do I need to wire it differently, or is there some trick to get it to actually stay ON after one touch?

Appreciate any advice. I’m pretty new to these modules and don’t know if mine’s defective or if I just misunderstood how toggle mode works.

Thanks!

Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

Good Answers:

These comments received enough positive votes to make them "good answers".
2
Guru

Join Date: Apr 2010
Location: About 4000 miles from the center of the earth (+/-100 mi)
Posts: 9910
Good Answers: 1141
#1

Re: Need Help with TTP223 Touch Sensor

09/02/2025 9:11 AM

Reply Good Answer (Score 2)
Guru
Hobbies - DIY Welding - Don't Know What Made The Old Title Attractive... Popular Science - Weaponology - New Member United States - US - Statue of Liberty - 60 Year Member

Join Date: Apr 2009
Location: Yellowstone Valley, in Big Sky Country
Posts: 7425
Good Answers: 295
#2
In reply to #1

Re: Need Help with TTP223 Touch Sensor

09/02/2025 12:02 PM

Excellent tutorial; is that the fattest coil of solder he could find? Use what you have, I guess.

So… the 4VDC might not be enough to operate the undefined tool.

__________________
Semper Ubi Sub Ubi
Reply
Power-User

Join Date: Jul 2017
Posts: 236
Good Answers: 9
#3

Re: Need Help with TTP223 Touch Sensor

09/04/2025 5:52 AM

Features of your TTP223 Sensor;

Module Feature

  1. Operating voltage: 2.0V – 5.5V.
  2. Built-in status indicator light.
  3. The module has an automatic calibration function. When no key is touched, the system will re-calibrate. The re-calibration cycle is approximately 4.0 seconds.
  4. After power-on, there is a stable time of about 0.5 seconds required. During this period, do not touch the keys. At this time, all functions are prohibited.
  5. The module interface is a standard 2.54mm pin header for input and output connection. The connection via DuPont wires is very convenient.
  6. The PCB board has two fixed bolt holes, which can be fixed with screws.

The function you are looking for is set by the J1 and J2 positions.
The Touch switch is a means of sending a 2.0v to 5.5v signal to turn on / off a device, using this voltage or to activate-deactivate a device such as a relay.
Example, you want to use the TTP223 to operate a Relay using 12v to turn on a 110v / 220v circuit. It won't function as you only have 2.0 to 5.5v available.
So the missing information is the intended use of your TTP223 Switch.
But returning to your original question, it's answered in the Video from Rixter !

Reply
Participant

Join Date: Aug 2025
Posts: 4
#4

Re: Need Help with TTP223 Touch Sensor

09/09/2025 4:36 PM

Thanks so much for the insights. It’s beginning to click for me now. A few follow-up questions if you don’t mind:

Does disabling the MOTB (auto-reset) risk sticking the output too long if there’s a missed tap? In other words, does it affect user experience more than it helps? For a tool project, what’s typically a better interface: momentary taps in toggle mode, or holding for activation in momentary mode (fast mode)? If I wanted continuous “ON until next tap” behavior, would people recommend using an alternative sensor like the MPR121 instead??

Really appreciate everyone's help, these clarifications are exactly what I needed to move forward on my end.

Reply
Power-User

Join Date: Jul 2017
Posts: 236
Good Answers: 9
#5
In reply to #4

Re: Need Help with TTP223 Touch Sensor

09/10/2025 7:49 AM

Your original query was the requirement to have a positive on-off mode. What do you mean by a "missed tap"? When you have a positive on - off mode the output is permantly turned on or off by touching the switch accordingly.
If you want to use the switch to turn on or off rapidly in sucession then you need to alter the sequence settings by removing / reworking the Soldering in J1 and J2.
It would help if you told us a bit more about your tool project as to what the switch is supposed to be doing. Are you just using it to turn something on or off for some length of time, like turn on a machine that will run for several minutes or hours or are you wanting to press it several times a minute ?

Reply
Reply to Forum Thread 5 comments

Good Answers:

These comments received enough positive votes to make them "good answers".
Copy to Clipboard

Users who posted comments:

Doorman (1); Jordan1 (1); Rixter (1); The Wizard (2)

Previous in Forum: Windows 10 Upgrade Issue   Next in Forum: Fire Alarm & Extinguishing System Programming Software

Advertisement