How to Make Arduino Mario Theme in 5 Minutes

by ahmedebeed555 in Circuits > Arduino

2475 Views, 3 Favorites, 0 Comments

How to Make Arduino Mario Theme in 5 Minutes

IMG_20180427_200015 - Copy.jpg

This is dedicated to my tribe...

How doesn't love that Mario Theme? We all love that epic game and like to see over and over.

Today we can see this fast built circuit that uses Arduino to play Mario Theme.

You can typically build this circuit in only 5 minutes.

My tribe know me and realize that I'm short in time. That's why I like fast built projects.

In this project, you can learn to play long tones using only Arduino Uno and a speaker.

Let's get started.


Here is my Channel on Youtube:

AeroArduino

Hardware Components

IMG_20180427_193936.jpg
IMG_20180427_193953.jpg
IMG_20180427_194209.jpg
22222.jpg
id.jpg

What you need:

Arduino Uno Board

Amazon , eBay , Banggood , Aliexpress

USB Cable

8 Ohm Speaker

Arduino IDE (download and setup on your computer)

Connections and Circuit

mar.jpg
IMG_20180427_200015.jpg

The circuit is very simple.

This circuit uses PWM signals from PIN 3 to generate tones.

Then all you have to do is to connect the speaker to PIN 3 and GND on your Arduino Board.

Code and Software

ide.jpg
code.jpg
upload.jpg

Now open Arduino IDE and paste this code inside it.

Compile the code.

Upload the sketch into your Arduino board.

Play your favorite Mario Theme and enjoy.

Downloads

Test Your Circuit and Play Mario Theme

Now you can play your favorite Mario Theme on Arduino.

Here is my Channel on Youtube:

AeroArduino

You can read this article on my blog here.

You can visit my blog

http://embedded-egypt.blogspot.com/2018/04/arduino-mario-theme-how-you-can-make.html

And check out my page on Amazon:

amazon.com/author/ahmedebeed

Thank you for reading my instructable.

Please subscribe and Vote for me.