Touch Light Using TTP223 Touch Sensor & Arduino Nano
by Technoesolution2020 in Circuits > Arduino
1669 Views, 5 Favorites, 0 Comments
Touch Light Using TTP223 Touch Sensor & Arduino Nano

Hello, friends Welcome back to " Techno-E-Solution" In this article, I'll show you 'How to a Touch light using a TTP223 touch sensor & Arduino nano to control the home appliances. You can control the Fan, AC, Lamp, etc by using a Touch switch. In this project we use a capacitive touch sensor to control the lamp, this sensor is used low power to operate. Until many people used simple & old fashioned kit-kat switches to control the home appliances, we were entering in the modern world & so we need to be modern. In this article, I'll share the complete details of this with you. So without wasting any time let's make it...
Wait | Wait | Wait
If you did not subscribe to our youtube channel yet, Do subscribe to our youtube channel for interesting projects.
Follow us on:-
| YOUTUBE| INSTAGRAM | FACEBOOK | INSTRUCTABLES | DAILYMOTION | HACKSTER |
Watch Complete Video Tutorial:-.
Material Required


To make this project we need the following components:-
[ Above links are affiliated link If you buy from the above links we get some bonus from them ]
Circuit Diagram

Follow the circuit diagram to make the connection.
Note:- Take the help of an expert person/electrician to make an AC lamp connection with Relay, Because work with AC supply is dangerous.
Arduino Code

Copy the following code & upload it to the Arduino
/* * Hello friends welcome back to Techno-E-Solution * Here is the complete arduino code for Touch light using arduino. * Watch video tutorial of project :- https://youtu.be/fRgj2Mvnv08 */ int Touch_Sensor = A5; int LED = 13; int Relay = 4; int condition = 0; int state = 0; void setup() { pinMode(Touch_Sensor, INPUT); pinMode(LED, OUTPUT); pinMode(Relay, OUTPUT); } void loop() { condition = digitalRead(A5); if(condition == 1) { delay(300); // de-bounce delay. if(condition == 1) { state = ~state; digitalWrite(LED, state); digitalWrite(Relay, state); } } }<br>
Downloads
Demo & Working
If you like this project subscribe to our youtube channel for a more interesting project.