Super Mario Using Buzzer

by Rachna Aggarwal in Circuits > Arduino

619 Views, 0 Favorites, 0 Comments

Super Mario Using Buzzer

super mario tune using buzzer and arduino

Listening music relax our mind and soul. Lets add some music to your arduino projects using a single component , buzzer.

I found this awesome project using Buzzer which play super mario theme song written by Dipto Pratyaksa on instructables. In addition to old project, i used a potentiometer to stop the buzzer in between the tone is playing on loop. I have connected buzzer at Pin 13 so i have made code according to it .

Components Required

Circuit Schematic

super mario tone.PNG
potentiometer terminals.jpg
buzzer terminal.jpg

Pin 13 --> buzzer

A0 --> wiper

5V --> terminal 1 of potentiometer

GND --> terminal 3 of potentiometer , negative of buzzer

Arduino Code

This code is a lengthy code and it will work with potentiometer only as i have made this code according to my project.

Note: - we cannot use potentiometer in this project to change volume of song as we have already fixed the tone inside the code . for changing the volume we can use audio amplification module.

Downloads