Inspiration

I really enjoy music boxes, but I'm not always able to find songs that I enjoy or recognize. And when I did they were a custom order and a bit more expensive.

What it does

It plays different music when a red, green, or blue button is pressed. The yellow button stops the music so that if there is a need to stop the music it is possible and pressing the yellow button again turns off the LED display so that it won't be a bother at night.

How I built it

I found out how to attach everything to the arduino and breadboard without breaking it. Then I looked up examples of what I wanted to do and went from there. Then to add the music in I had to code every note and duration while continuously testing to see if there were any inaccuracies or if the melody could be improved.

Challenges I ran into

I did not know how to use a 7 segment LED display with an arduino and sometimes I had to transpose or transcribe the music on my own in order to fit the one note at a time with an arduino when the sheet music was inaccurate.

Accomplishments that I'm proud of

I was able to code songs that I enjoy.

What I learned

How to code an arduino on my own with buttons and play tones on speakers and integrate a 7 segment LED display into a breadboard physically and in code.

What's next for Spark Music Box

I want to be able to implement this into an alarm clock system as well as a sort of jukebox system. Also I want to implement a potentiamoter in order to control volume.

Built With

Share this project:

Updates