The Use of Touch Sensor

来自Microduino Wikipedia
跳转至: 导航搜索

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.

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


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