LEGO Mindstorms Music Box

This is a fun project using a LEGO Mindstorms EV3 set along with a few household products: The LEGO Mindstorms Music Box.

(Updated 2/21/17 – Added full build instructions along with a video showing how the Mindstorms Music Box is all put together).

Check out the video below to see how it works. Now that we have it up and running, every song in the world (that uses 8 notes or less) is within our reach.

Here’s our first test with the music box playing a simple scale.

For Test #2, we tried a simple melody. See if you can recognize it.

For the last test, we tried out a song that also used simple chords.

This was a fun project using a few things we had around the house. A large oatmeal container, push-pins, some metal s-hooks from the garage, and a kids xylophone. And of course our LEGO Mindstorms EV3 set.

Want to try this project? Now there are full build instructions available for download: LEGO Mindstorms Music Box Build Instructions Also, check out the video further down in the post to see how it’s all put together.

Build Instructions

The software for the LEGO Mindstorms Music Box is very simple. All the program needs to do is turn the 2 large motors at a slow speed once the button is pushed. In fact, most of the ‘programming’ for this robot will be placing the pushpins to program new songs.

LEGO Mindstorms Music Box Side View

LEGO Mindstorms Music Box Front View

 

The oatmeal container with the pushpins contains the song “program”. The pushpins are simply moved around to create different songs. The EV3 software mainly turns the 2 large motors at the set speed. We modified the speed of the motors for each song slightly.

We covered the oatmeal carton with graph paper to help place the pushpins accurately. I think this would have been very sloppy and difficult without the graph paper as a guide. For the xylophone, we took apart a toy xylophone and just used the top portion.  We place some of the large wheels from our Mindstorm set as a base for the xylophone to sit.

We used metal s-hooks I found in the garage on the hammers to get a little better sound as the hammers strike the xylophone. See below for photos showing a closer look or watch the video below to see how it is all put together.

We hope you enjoyed this project. Also, please check out our other LEGO Mindstorms Creations – EV3 Dancing Robot, EV3 Basketball Robot, Rubik’s Cube Alarm Clock, Mindstorms Booby Trap.

 

EV3-Music-Box8 EV3-Music-Box7EV3-Music-Box6EV3-Music-Box5 EV3-Music-Box4 EV3-Music-Box3

 

 

 

 

 

 

 

 

 

 

 

 

LEGO Mindstorms EV3 Booby Trap

Booby Trap Building Instructions

LEGO Mindstorms EV3 Dancing Robot

Lego Mindstorms Dancing Robot

EV3 Basketball Robot

LEGO Mindstorms Basketball Robot

Rubik’s Cube Alarm Clock

SpeedCuber Alarm Clock

For more amazing videos visit and subscribe to our Youtube Channel.

And check out some of the great books below for great Mindstorms lessons and ideas.

 

Want to keep up with the latest projects and resources from Teach Kids Engineering? You can subscribe to the page and follow us on Facebook, Youtube, and Pinterest.
 

7 thoughts on “LEGO Mindstorms Music Box

  • 02/19/2017 at 7:01 PM
    Permalink

    Would it be possible to post a parts list?

    Reply
    • 02/20/2017 at 8:45 AM
      Permalink

      Hi Jodi, Great timing! I was just working on the full build instructions and parts list this past weekend and I hope to post them either tonight or tomorrow. I’ll let you know when they are up.

      Reply
    • 02/21/2017 at 10:06 PM
      Permalink

      Hi Jodi, I just now updated with the full build instructions. Let me know if you are able to download them.

      Reply
  • 04/09/2017 at 7:27 PM
    Permalink

    HI
    I want to do this
    Would it be possible to post a source code?
    I want to build a music box

    Reply
  • 05/25/2017 at 4:34 PM
    Permalink

    Hello!! Awesome project! and very easy to make 🙂
    Does anyone have any music song patterns? I found some on the internet but they are too long for the cylinder..

    Reply
    • 05/28/2017 at 5:57 PM
      Permalink

      Hi Marilena, I hadn’t thought of making printable patterns, but that’s a great idea! I will see if I can post something, but it will be a while before I could get to it (we took apart the music box to create a new robot with our Mindstorms set). They key is to find a song using less than 8 notes – you can find songs online by searching for “kids xylophone music”. Then depending on the graph paper you are using, figure out how many grid-lines you want to use for a quarter note, double that for a half-note, etc. Change the motor speed to slow down or speed up the song. I hope that helps!

      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *