Note: ALL OSOYOO Products for Arduino are Third Party Board which is fully compatitable with Arduino
1)Objective
Touch Switch Sensor export 0(low voltage) in normal status. When it is touched, it will export 1 (high voltage and last 12 seconds). If over 12 seconds without touching, it will export 0 again;
In this project, we will use touch switch sensor to send signal to Arduino and turn on/off LED.
2) Parts and Devices in this project:
1 x OSOYOO Basic board
1 x Touch Switch Sensor
1 x USB cable
1 x LED
Jumper wires
3) Circuit Graph
4)Sample code download link:
download toucuswitch code here
5)Result:
When you touch the sensor with hand, LED will turn on. When you remove your hand from sensor, the LED will turn off. See following pictures:
DownLoad Url osoyoo.com