Playing popular songs with Arduino and a buzzer

Today we will know how to use a buzzer, we can make any type of songs using this buzzer an Arduino(Microcontroller).

Please support us on YouTube also. Like Share and Subscribe to our channel : https://youtube.com/c/RatnasRoboLab

Components

Circuit Diagram

arduino with buzzer 1

Buzzer

Buzzer is used in Bicycle or Bike Horn, Aeroplane, Ambulance, Microwave, Fridge and many other things. It is a two pin tiny speaker that can be directly connected to the Arduino.

Code

Here are the codes of some of the popular songs.

Harry Potter

Click the link and download the Code. Here is the link : https://drive.google.com/drive/folders/1Y5jcRQL8UVf3AxtPMnsAKgVn58lsNn9N?usp=drive_link

Super Mario

Click the link and download the Code. Here is the link : https://drive.google.com/drive/folders/1IFyOuDojMabZ3SnCDaodQpM9hLLsHO3e?usp=drive_link

GOT

Click the link and download the Code. Here is the link : https://drive.google.com/drive/folders/1ngBylOF_bxy3-rtxB0TrAV11SWb131Ez?usp=drive_link

Star Wars

Click the link and download the Code. Here is the link : https://drive.google.com/drive/folders/1vh9D6J1Z_75x6CT2E8bvM00nJXbEitRQ?usp=drive_link

Result

In these way we can make any type of songs according to our need.

Further Readings

If you liked this article, then please subscribe to our YouTube Channel. You can also find us on InstagramFacebook and Twitter.

READ – CONNECT – BOOST – CREATE