Buzzer

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

Objective

This tutorial will show you the way to use Microduino buzzer.

Equipment



  • Other Hardware Equipment
    • 1x USB cable

Program

You can find the code here: Buzzer

Debugging

Step 1: Connect Microduino buzzer to D6 pin of Microduino buzzer.


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


Step 3: Power on and listen to see what happens.


Step 4: You’ll hear a sound like an alarm.

Result

You can make an alarm sound through a buzzer.

Video