Difference between revisions of "Buzzer"

From Microduino Wiki
Jump to: navigation, search
(Created page with " {| style="width: 800px;" |- | ==Objective== This tutorial will show you the way to use Microduino buzzer. ==Equipment== *'''Microduino-CoreUSB''' *'''Microduino-Buz...")
 
(Debugging)
 
(2 intermediate revisions by 2 users 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]
  
 
==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