“Buzzer”的版本间的差异
小 (insert link to code) |
(→Debugging) |
||
(未显示同一用户的1个中间版本) | |||
第16行: | 第16行: | ||
*Other Hardware Equipment | *Other Hardware Equipment | ||
− | **USB cable | + | **1x USB cable |
==Program== | ==Program== | ||
You can find the code here: [https://github.com/Microduino/Microduino_Tutorials/blob/master/mCookie_sensor/MicroduinoBuzzer/MicroduinoBuzzer.ino Buzzer] | You can find the code here: [https://github.com/Microduino/Microduino_Tutorials/blob/master/mCookie_sensor/MicroduinoBuzzer/MicroduinoBuzzer.ino Buzzer] | ||
− | |||
==Debugging== | ==Debugging== | ||
− | Step | + | Step 1: Connect Microduino buzzer to D6 pin of Microduino buzzer. |
[[File:MicroduinoBuzzerSensor.png|600px|center|thumb]] | [[File:MicroduinoBuzzerSensor.png|600px|center|thumb]] | ||
− | + | ||
− | Step 2: | + | Step 2: Connect the Microduino-CoreUSB to your PC with the USB cable and upload the code. |
− | Connect your PC with USB cable | ||
[[File:MicroduinoBuzzerSensor1.png|600px|center|thumb]] | [[File:MicroduinoBuzzerSensor1.png|600px|center|thumb]] | ||
− | Step 3: | + | Step 3: Power on and listen to see what happens. |
− | Power on and listen to see what happens. | ||
[[File:MicroduinoBuzzerSensor2.png|600px|center|thumb]] | [[File:MicroduinoBuzzerSensor2.png|600px|center|thumb]] | ||
− | Step 4:You’ll hear a sound like alarm. | + | Step 4: You’ll hear a sound like an alarm. |
[[File:MicroduinoBuzzerSensor3.png|600px|center|thumb]] | [[File:MicroduinoBuzzerSensor3.png|600px|center|thumb]] | ||
− | |||
==Result== | ==Result== | ||
− | You can make alarm sound through a buzzer. | + | You can make an alarm sound through a buzzer. |
==Video== | ==Video== | ||
|} | |} |
2015年9月6日 (日) 05:45的最新版本
ObjectiveThis tutorial will show you the way to use Microduino buzzer. Equipment
ProgramYou can find the code here: Buzzer DebuggingStep 1: Connect Microduino buzzer to D6 pin of Microduino buzzer.
ResultYou can make an alarm sound through a buzzer. Video |