Using Arduino and touch capacitive sensing, you can create a touch light that responds to human touch. By programming the Arduino to detect changes in capacitance when a conductive object, like a finger, approaches the touch sensor, you can trigger actions such as turning an LED light on or off. This project involves setting up the wiring, writing code to interpret touch inputs, and refining sensitivity for optimal performance. It offers an interactive and customizable way to control lighting, with potential for expansion by integrating additional sensors or functionalities.
Circuit Diagram :-
![](/web/image/412-83fc2247/Touch%20Light.webp?access_token=1179c3e4-778f-44c6-8245-15784fbe1ad4)
Project Code :-
// BY Arduino Techy
//
#define tsPin 2 // touch sensor pin int ledPin = 3; // led pin void setup() { Serial.begin(9600); //sensor buart rate pinMode(ledPin, OUTPUT); // led pinMode(tsPin, INPUT); // touch sensor } void loop() { int tsValue = digitalRead(tsPin); delay(100); if (tsValue == HIGH) { digitalWrite(ledPin, HIGH); // led on Serial.println("TOUCHED"); } else { digitalWrite(ledPin,LOW); // led off Serial.println("not touched"); } }
Components :-
![blue and black circuit board](/unsplash/f2S93diaVn0/413/Arduino.jpg?unique=f0700165?access_token=a38e1c7a-3183-43b5-aa56-4c3e81037f6b)
Arduino Uno
Buying Link - https://amzn.to/4da1v8P
![](/web/image/414-d0435ee1/Touch%20component.webp?access_token=ad1158ee-176e-46e1-a10c-e08bf6224800)
Touch Capacitive Light
Buying Link - https://amzn.to/3TVsagM
![](/web/image/415-694b18c1/Leds.webp?access_token=d02fe98a-c651-4935-b727-eca423fcccda)
Led
Buying Link -https://amzn.to/3JgZ6Lx
![](/web/image/416-05e0132d/Jumper%20Wires.webp)
Jumper Wires
Buying Link - https://amzn.to/3JhMSSV