Trybotics Logo

Twinkle Twinkle Using Arduino and Buzzer ; the Easiest Tutorial

DESCRIPTION

Hey Makers,

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

Description:

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.

Description:

Connect Arduino According to the CIrcuit

> Digital pin 9- Buzzer Positive (Via Resistor)

> Gnd -Buzzer Negative (Directly)

Description:

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

Twinkle Code

Description:

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

Description:

Please do vote this project,Your votes are very valuable To MIYMAKERS <3

If you have any doubts just comment it with the tag " #MM " Stay Tuned for more Projects!

:D View My Website For More Intresting Projects!

****www.miymakers.com ****

It's a request from me If my instructable worked for You ,Let the other Makers know by ur comments and Favourites! Do Visit my blog for Sure! Thank You!


YOU MIGHT ALSO LIKE