Introduction: Using TTP223 Modul As a Switch

About: Student at Faculty of Electrical Engineering and Computer Science. …

This instructable is about capacitive touch modul TTP223 .All you need is basic knowledge in electronics and arduino programming.

If you have any questions or problems you can contact me on my Here is link to video of my projects:

So let's begin.

Step 1: Materials

All needed materials for this project, can be bought on

Sponsor Link:


It is a trustworthy webside for ordering electronic components with cheap

price and excellent quality.

You will need:

- TPP223 capacitive touch modul

-Arduino Uno ( you can also choose Mega or Nano)

-actuator (LED, motor, pump...). In this case I used LED.


-jumper wires

-3x wire jumper pins

-soldering iron


Step 2: TTP223

This is capacitive touch sensor module based on TTP223 touch sensor. Because of its capacitive character it can be triggered with almost everything you can find at your home.

Step 3: Connecting TTP223 Module

On this modul you have only three pins. VCC - this pin is connected to 5V+ or 3.3V+. But you can choose supplying voltage from 2V+ to 5.5V+. GND - this pin is connected to ground. I/0 - you can connect this pin on every digital pin on Arduino.

Modul has a hole for every pin, so that you can solder wire or jumper wire pin in it (can be seen on picture): For this process you will need soldering iron and solder.

Step 4: Wiring

Wiring for this exemple is very easy. As you can see on the picture, you connect:

-GND pin to GND on Arduino

-VCC to 5V+ on Arduino

-I/O to pin 8 on Arduino

For LED you can choose every digital pin. I used digital pin 13.

I attached wiring schematic for help.

Shematic was made in Fritzing.

Step 5: Code

I uploaded code in txt file. All you need to do is to copy the code from txt file and paste it in Arduino programming environment.

If you have any problems or questions about the code, send mail to: