Touch Sensor

From Microduino Wiki
Jump to: navigation, search

Objective

The tutorial will show you how to use the Microduino touch switch.

Equipment


  • Other hardware equipment
    • 1x USB cable
    • 1x LED light



Program

Debugging

Step 1: Connect D6 of Microduino-SensorHub to touch switch and D5 to one Led light.

MicroduinoTOUCH.png

Step 2: Connect the Microduino-CoreUSB to your PC with the USB cable and upload the code.

MicroduinoTOUCH1.png


Step 3: Touch the switch with your hand and see what happens.


Step 4: Repeat Step 3.


Result

You can control a buzzer through the touch switch.

Video