Mario Theme played on Stepper Motors with an Arduino





The interactive transcript could not be loaded.



Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Jun 22, 2009

Now that I've figured out how to store song information in flash memory on the Arduino, I can actually play full songs. This is a little suite of Mario Brothers themes that I put together. Enjoy!

The sound you're hearing is coming entirely from the motors. The song information is taken from a MIDI file that I composed. An Arduino provides the necessary commands to spin the motors at the required frequencies.

Note: See my earlier video at http://www.youtube.com/watch?v=8L8hY8...

Motor #2 buzzed a bit on the table this time. I'm going to find a better way to hold the motors still while still allowing them to vibrate.


Answers to common questions:

Q: Hey that's awesome! Will you send me the G code?

A: There is no G code. This is an arduino.

Q: Oh... will you teach me exactly how to do it?

A: No.

Q: Where are the other videos?

A: I'm doing other things. I've got grand plans to improve this project but it's nowhere near the top of my priority list these days.

Q: What hardware did you use?

A: The stepper motors are bipolar NEMA 17 motors. The microcontroller is the Arduino Deumilanove. The power supply is 24 V, 4 amp. I am also using a 3-axis stepper motor driver board manufactured by Xylotex (xylotex.com). I actually don't recommend the Xylotex board anymore. Instead, try the drivers available at Probotix.com.


When autoplay is enabled, a suggested video will automatically play next.

Up next

to add this to Watch Later

Add to

Loading playlists...