Touch Sensor

来自Microduino Wikipedia
Bruceliu@microduino.cc讨论 | 贡献2015年9月6日 (日) 04:28的版本
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航搜索

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