Difference between revisions of "Buzzer"

From Microduino Wiki
Jump to: navigation, search
m (insert link to code)
(Debugging)
 
(One intermediate revision by the same user not shown)
Line 16: Line 16:
  
 
*Other Hardware Equipment  
 
*Other Hardware Equipment  
**USB cable   One
+
**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]  
Copy it to your Microduino IDE environment.
 
  
 
==Debugging==
 
==Debugging==
  
Step 1:
+
Step 1: Connect Microduino buzzer to D6 pin of Microduino buzzer.
 
[[File:MicroduinoBuzzerSensor.png|600px|center|thumb]]
 
[[File:MicroduinoBuzzerSensor.png|600px|center|thumb]]
Connect Microduino buzzer to D6 pin of Microduino buzzer.  
+
   
  
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, download code and burn it to Microduino-CoreUSB.
 
 
[[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==
  
 
|}
 
|}

Latest revision as of 05:45, 6 September 2015

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.

MicroduinoBuzzerSensor.png


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

MicroduinoBuzzerSensor1.png


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

MicroduinoBuzzerSensor2.png


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

Result

You can make an alarm sound through a buzzer.

Video