Tutorial for TTP223 Touch Sensor Module ( Capacitive)

15,045

38

9

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.

Share

    Recommendations

    • Remix Contest

      Remix Contest
    • Tape Contest

      Tape Contest
    • Build a Tool Contest

      Build a Tool Contest

    9 Discussions

    0
    None
    MikeJ152

    Question 17 days 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
    None
    ParthK27

    Question 2 months ago on Step 5

    Will it work perfectly if I put a piece of foam, or hard plastic on it?

    0
    None
    arnablue

    Question 2 months 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...!!!

    1 answer
    0
    None
    frarugi87arnablue

    Answer 2 months 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)

    0
    None
    SycoJ

    Question 6 months ago on Step 5

    How to use this as power on off switch? I've tried to power on my Attiny85 with neopixel ring but the neopixels just light orange or white instead of doing the rainbow effect?

    1 answer
    0
    None
    RobertB51SycoJ

    Answer 5 months ago

    This device may have a 5V output when it is active, but it's not designed to/able to power a whole neopixel ring. You need to either: A) simply wire the "I/O" pin of this touch sensor to a spare pin on your Attiny85, and modify your firmware/sketch to control the neopixel ring accordingly. Or B), connect a P-type mosfet thusly: Source pin to 5V supply, Gate pin to the "I/O" pin of the touch sensor. The remaining Drain pin of the Mosfet will become a much stronger (and inverted, but you can easily fix that by changing the jumpers) 5V source when the touch sensor is activated, strong enough to drive your neopixel ring.

    Also, check the voltage of your 5V supply with a multimeter. You'll see that it's not actually 5V when you're loading it down with a whole neopixel ring.

    0
    None
    offtherails2010

    7 months ago

    Fantastic ! Thanks for the easy to follow instructable and bonus video !!

    Simplicity at its best !

    Keep up the awesome tinkering dude !

    0
    None
    anovinayak

    Question 11 months ago on Step 2

    Can you explain the jumper pins in more detail. The difference between high output and low output. And difference between jog and self lock???

    1 answer
    0
    None
    MateuszD16anovinayak

    Answer 11 months ago

    Self lock mode work as toggle switch: 1st touch -> ON, 2nd touch -> OFF ,

    Other mode work as push button: On or OFF only when u touching it.

    Low and High outputs are, what signal u send on output: HIGH or LOW.