0% found this document useful (0 votes)
534 views7 pages

Touch Sensor

A touch sensor is a switch activated by touch that is used in smart lamps, wall switches, and public terminals. It works by connecting to an Arduino board, with the touch sensor pin reading input and the Arduino printing to the serial monitor when the sensor is touched, providing an easy way to detect touch.

Uploaded by

Jithin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
534 views7 pages

Touch Sensor

A touch sensor is a switch activated by touch that is used in smart lamps, wall switches, and public terminals. It works by connecting to an Arduino board, with the touch sensor pin reading input and the Arduino printing to the serial monitor when the sensor is touched, providing an easy way to detect touch.

Uploaded by

Jithin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 7

1

www.bluesail.co.in
[email protected]
2

Digital Reading /
Writing
Touch Sensor
3

What is a Touch Sensor?

A touch switch is a type of switch which is activated / operated based on a touch.

It is used in many smart lamps and wall switches that have a metal exterior as well as on
public computer terminals.
4

Touch Sensor Pin Description


5

Touch Sensor Connection with Arduino


6

Code
#define touchsensor 1
void setup() {
pinMode(touchsensor, INPUT);
Serial.begin(9600);

void loop() {
if (digitalRead(touchsensor) == HIGH)
Serial.println("Sensor is touched");
delay(500);

}
7

www.bluesail.co.in
[email protected]

You might also like