Tutorial for TTP223 Touch Sensor Module ( Capacitive)

68,506

68

27

Introduction: Tutorial for TTP223 Touch Sensor Module ( Capacitive)

Description

The TTP223 is a touch pad detector IC replicating a single tactile button. This touch detection IC is designed for replacing traditional direct button key with diverse pad size.

Features

1. Input Voltage: 3.3V - 5.5V DC

2. Module size: 15mm x 11mm

3. Stable touching detection of human body for replacing traditional direct switch key.

Step 1: Material Preparation

For this tutorial, we required these items:

1. TTP223 Touch Sensor Module ( Capacitor)

2. 10mm LED (Yellow)

3. Resistor 220 ohm

4. Breadboard Power Stick 3.3V / 5V

5. Li-Ion Rechargable Battery 7.4V 1200mAh

Step 2: Pin Definition

Trigger setting mode: (1 = Short ; 0 = No Short)

Jumpers AB

Momentary / High Output 00 (used in this tutorial)

Self Lock / High Output 01

Momentary / Low Output 10

Self Lock / Low Output 11

Step 3: Hardware Connection

Make the connection as above picture.

Step 4: Results

Based on the results,

1. The LED will turn on when we touch the TTP223 Capacitive Touch Sensor Module.

2. If no touching detected, the LED will turn off.

Step 5: Video

This video shows the demonstration of tutorial how to use TTP223 Capacitive Touch Sensor Module.

Be the First to Share

    Recommendations

    • Microcontroller Contest

      Microcontroller Contest
    • Fiber Arts Challenge

      Fiber Arts Challenge
    • Sculpt & Carve Challenge

      Sculpt & Carve Challenge

    27 Comments

    0
    taratufc
    taratufc

    Question 6 weeks ago

    How can i make Touch Sensor which is always trigger when i touch it and give HIGH, and when i dont touch it it will not triggered or give "LOW".

    I already buy "TTP223B" as touch sensor module for arduino but that sensor cant always trigger when i touch (it will give HIGH when i touch it till 5-6 seconds and it will give LOW until next triggered)
    Maybe thats because Auto Callibrating Mode from the IC in that module.

    0
    taratufc
    taratufc

    Question 6 weeks ago

    How can i make Touch Sensor which is always trigger when i touch it and give HIGH, and when i dont touch it it will not triggered or give "LOW".

    I already buy "TTP223B" as touch sensor module for arduino but that sensor cant always trigger when i touch (it will give HIGH when i touch it till 5-6 seconds and it will give LOW until next triggered)
    Maybe thats because Auto Callibrating Mode from the IC in that module.

    0
    taratufc
    taratufc

    Question 2 months ago on Step 5

    In Momentary / High Output 00 mode sensor is off after 12 seconds even when touched. Please help me that we do in ttp223 that it will work as long as 1 stay in touch.

    0
    mayurpagote94
    mayurpagote94

    Question 1 year ago on Introduction

    Sir/Ma'am can you please tell me that how I can use this module in my project as I fully completed my project and I can't break but I have 2 wires which is for switch so is it posible to use those 2 wire with TTP223 module please tell.
    Extremely sorry for my bad English.

    0
    M Harish Rao
    M Harish Rao

    1 year ago on Step 5

    Never ever cross connect the negative and positive terminal I did ( just to see what will happen ) and it burns then lost my 3 touch pads..... You can check out my channel to see the results... YT Channel name:- ProTech Studios

    0
    Charlie12321
    Charlie12321

    Question 2 years ago

    Can you to me how to wire the ttp223 with its own power supply. I'm using a 5v power supply to turn on 5v LEDs using the ttp223. The circuit works fine but there's a 2v drop over the ttp223 meaning the LEDs only get 3v (very dim) I can't increase the input voltage as the ttp has an operating voltage of 5.5v max

    0
    jones.prg
    jones.prg

    Answer 1 year ago

    Use active low settings and connect GND of LED to IO pin.

    0
    willowtaylor
    willowtaylor

    1 year ago

    How can I power multiple sensors off one power supply? I need to power four of these sensors off one battery but when I do they all trigger when just one sensor is touched.

    0
    MikeJ152
    MikeJ152

    Question 3 years ago

    Can you tell me how I can increase the sensitivity of the sensor. I need to put this sensor behind a piece of wood and it is not responding. Thanks.

    0
    arnablue
    arnablue

    Answer 3 years ago

    I'll suggest a simple and easy way...
    Put a thin pin/nail through the wood...

    0
    MikeJ152
    MikeJ152

    Reply 3 years ago

    Interesting idea. Will try it. Thanks.

    0
    consorciosinfo
    consorciosinfo

    Reply 2 years ago

    ojo no te pinches el dedo

    0
    inspireunltd
    inspireunltd

    2 years ago

    Can increase sensivity more then 10mm without touch the ped....adv

    0
    dewiajagkpakedoang
    dewiajagkpakedoang

    Question 2 years ago

    how much current and voltage output from TTP i/o?

    0
    IsuruS20
    IsuruS20

    Question 2 years ago on Step 2

    I need control 230 led lap ttp 223
    How to do it?

    0
    DirikW
    DirikW

    Answer 2 years ago

    Use a 5vdc relay

    0
    yckelvin
    yckelvin

    Question 2 years ago on Step 3

    I want to use a 9V battery to light up 3x 3V LED in serial, how can I use this TTP223 with a higher power source? How is the wiring?

    0
    GreyGnome
    GreyGnome

    Answer 2 years ago

    You need to power the TTP223 with a LDO 5v voltage regulator. It's 3 pins, very easy to use. Something like this: https://www.amazon.com/AMS1117-5-0-Step-Down-Voltage-Regulator-Module/dp/B078BCCDN1/ref=sr_1_9?hvadid=78340321331955&hvbmt=be&hvdev=c&hvqmt=e&keywords=5v+ldo+regulator&qid=1572735548&sr=8-9 . Then, the output of the TTP223 should go to the gate of a BS170, like this: https://www.amazon.com/FAIRCHILD-SEMICONDUCTOR-Fairchild-Channel-MOSFET/dp/B0797PWYYS/ref=sr_1_3?keywords=n+mosfet+transistor&qid=1572735935&s=automotive&sr=1-3 . You'll want to use a load resistor with your 3 LED's in series, and, subtract 7.2 - (3 * forward_led_voltage) to find the remaining voltage that you'll then need to current limit with a resistor. (See this article: http://www.learningaboutelectronics.com/Articles/N-channel-MOSFET-switch-circuit.php or this one: http://iamtechnical.com/n-channel-e-type-mosfet-switching-leds) Note that, depending on your LEDs' forward voltages, you may not be able to put them in series. The forward voltage may be too high, and a typical "9V" alkaline battery only puts out 7.2V. Also, if you use different color LEDs, you can't put them all in parallel and have a single current-limiting resistor. One of them (red, most likely) will have a lower forward voltage than, say, a blue, so the blue will never turn on. Don't ask how I know that :-) .

    0
    arnablue
    arnablue

    Question 3 years ago

    Hello, can u tell me, how to reduce its sensitivity...?
    I bought some boards, they trigger, when my finger is close about 10mm...
    I don't have to even touch it...!!!

    0
    frarugi87
    frarugi87

    Answer 3 years ago

    Reading the datasheet, the sensitivity can be decreased by

    a) reduce the size of the sensor (which you cannot do)
    b) increase the distance (for instance put some plastic above the contact)
    c) add a capacitor between the sensor and ground.

    If you can't do solution b, then I suggest you to add a capacitor. I do not have these modules, but if I saw correctly the unpopulated pads in the top right corner of the board images are for this purpose. Just solder there a small SMD capacitor (10-50pF, in a 0603 or package I think, or a 0805) and the sensitivity should decrease. The larger the capacitor, the smaller the sensitivity (but do not go beyond 50pF)