Introduction: Using TTP223 Modul As a Switch
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 mail:email@example.com. Here is link to video of my projects: https://youtu.be/A_Px-gb8hYY
So let's begin.
Step 1: Materials
All needed materials for this project, can be bought on UTSource.net
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.
-3x wire jumper pins
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.
1.pin VCC - this pin is connected to 5V+ or 3.3V+. But you can choose supplying voltage from 2V+ to 5.5V+.
2.pin GND - this pin is connected to ground.
3.pin 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: firstname.lastname@example.org