Difference between revisions of "Buzzer"
From Microduino Wiki
m (insert link to code) |
|||
Line 16: | Line 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 alarm. |
[[File:MicroduinoBuzzerSensor3.png|600px|center|thumb]] | [[File:MicroduinoBuzzerSensor3.png|600px|center|thumb]] | ||
Line 45: | Line 42: | ||
==Result== | ==Result== | ||
− | You can make alarm sound through a buzzer. | + | You can make an alarm sound through a buzzer. |
==Video== | ==Video== | ||
|} | |} |
Revision as of 05:44, 6 September 2015
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 |