Twinkle Twinkle using Arduino and Buzzer ; The Easiest Tutorial

Twinkle Twinkle Using Arduino and Buzzer

 

 Hey Makers,

Lets play our favourite Childhood Rhyme  ” Twinkle Twinkle Little Stars”  on our current favourite board Arduino!!! 😀

IMG_1188

 How it works?

Pulse Width Modulation, or PWM, is a technique for getting analog results with digital means. Digital control is used to create a square wave, a signal switched between on and off. This on-off pattern can simulate voltages in between full on (5 Volts) and off (0 Volts) by changing the portion of the time the signal spends on versus the time that the signal spends off. The duration of “on time” is called the pulse width. PWM pins on arduino are 3, 5, 6, 9, 10, or 11. In this case we are using PIN 9 as PWM.

components~MIYMAKERS

Things Required

 >Arduino Uno  (Buy From Amazon.in) (Buy From Amazon.com)

>Buzzer (Buy From Amazon.in) (Buy From Amazon.com)

>100ohm Resister(Buy From Amazon.in) (Buy From Amazon.com)

Circuit

buzc_bb

Connect Arduino According to the CIrcuit

Digital pin 9- Buzzer Positive (Via Resistor)

Gnd -Buzzer Negative (Directly) 

Code

After following the above step. Open the file .ino file with Arduino IDE

Twinkle Code

Upload

Upload the code…..and You can hear the Nostalgic Twinkle Twinkle !!

——————————————————————————–

THATS ALL MAKERS FOR TODAY!

WE WILL BE COMMING WITH MORE INTRESTING PROJECT SOON!

If you have any doubts just comment it with the tag  “#MM”

Stay Tuned For more Interesting Projects!

Click to Get Updated Via Facebook!

Feel free to share your Photos and Experience making this Projects in the Comment Section Or leave a message on our Facebook Page!



We would be very much inspired by Your comments!!! ❤
Manas Manohar

CEO/Founder

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s