loading

For a class project we were required to utilize an arduino, a sensor, and a switch. I wanted to make something that involved lights and through my searches of Instructables I came across tons of infinity mirror tutorials. This is my attempt at building a music responsive infinity mirror having no prior arduino knowledge beyond single LED play and some relays.

Step 1: Tools and Materials

LED STRIP:

1 x wire strippers

1 x wire cutters

8-10 x alligator clip jumper cables

1 x Breadboard

1 x Arduino Uno

Arduino Software

1 x 9v battery

2 x 9V Battery Clip with 5.5mm/2.1mm Plug

2 x 10amp switches

1 x 12V 5A power supply

1 x RGB 5050 LED strip 4ft.

1 x Audio Jack

1 x 3.5mm audio cable

1 x speakers

3 x 10k resistors

1 x 220k resistor

1 x 33pf ceramic capacitor

2 x 100nf ceramic capacitor

1 x 10nf ceramic capacitor

1 x MSGEQ7

3 x N-channel MOSFET Transistors

Many x male to male jumper cables

--------------------------------------------------------

INFINITY MIRROR:

1 x box cutter

black paint

1 x hot glue gun

1 x 12"X12" box/shadowbox frame

1 x 12"X12" plain edged mirror

1 x 12"X12" two-way mirror

If using box instead of frame:

2 x wood or metal pieces 12"X X.25"

2 x wood or metal pieces 12.75"X.25"

12 x 1" wooden cubes

1 x chipboard or any frame backing 12"x12"

Step 2: Setting Up the Infinity Mirror

If you purchase a shadowbox frame, it should come with a spacer between the glass and backing. If you can find one with multiple levels that is fairly large you should be able to fit the arduino and your breadboard inside. There are quite a few tutorials on creating an infinity mirror.

https://www.instructables.com/id/Arduino-controlled...

https://www.instructables.com/id/Infinity-mirror-an...

I took a 12"X12" box that actually measured out to 12.75"X12.75" and found some chipboard frame backing in the same 12"X12" size at Hobby Lobby. I ordered the two way mirror from TAP Plastics and it did show up quite rough so I would recommend trying someone else. The plain mirror cam from lowes in a six pack. Michaels had the wood pieces I used here to make a snug fit inside of the box and to create levels for the arduino to be hidden under.

I cut out a hole in the bottom and in the lid of the box to be slightly smaller than 12"X12" and glued the two-way mirror around the edges onto the lid of the box with the film facing inside. I glued the chipboard to the bottom of the box for secure hanging.

I then painted all of the wooden pieces black along with the inside of the box. The wooden pieces were positioned so that one corner had extra spacing for the wires of the LED strip(pictured). After gluing these in, each corner of the box needs two 1"cubes painted black to support the plain mirror. I had also purchased a shadowbox frame and took one of the .25" inserts out and placed one on top of the squares to decrease the space between the mirror and LEDs. The plain mirror should fit snuggly into the space.

Step 3: Setting Up the Breadboard

I originally had this working on the breadboard but due to a lack of parts I had to take it apart when it was time to begin soldering. My finished circuit board would not function properly, only dimly lighting up but not pulsing or color change. After I set it up on the breadboard again with all new parts the same problem occurred. We found that my capacitor setup was backwards but still not the proper function. The light is full power white and is more of a strobe. If you play with the 33pf capacitor, by holding one end of it, the project lights up properly. On the arduino website forums I found others having this issue as well but I am still debugging.

I used this instructable:

https://www.instructables.com/id/Blinking-LEDs-to-t...

Step 4: Programming the Arduino

This is the original instructables code written by David Wang. The code never seemed to have any issues, those remain within my setup.

Step 5: Putting Everything Together

I included my schematic I worked with when I attempted to solder everything in case you would like to take a look. Other wise I taped things down to prevent them from moving around and breaking connections with the breadboard. The opening between the pieces of wood should be just big enough to slide the wires through and begin to attach everything to the swtiches. I added a switch into the battery circuit as well as the main power so that it could be turned off from the outside. Place the mirror inside, line the mirror with the lights and replace the lid on top!

<p>When I did this, my leds were not reacting to music, dimly light, and were not changing colors. anyone know a fix, I need to fix this as soon as possible</p>
<p>I would refer to the instructable for the LED strip specifically. I ran into many of the same problems but my professor and I believe I put the capacitors in the wrong positioning causing them to not work properly. This is why I have flashing but everything is full power which results in the bright white lighting and more of a strobe effect rather than colorfully pulsing to music in my beginning videos. I hope this helps! There was lots of hair pulling and tears that went into this!</p>
<p>Wait, do you have to soldier the wire that goes in the middle of the audio jack?</p>
<p>In the diagram I believe you do solder the negative to the center and the positive to the farthest on the right if you have the pegs sticking upward and the jack facing you. I was not able to get past this point in the main video for this instructable. I think I needed to order new capacitors to have it pulse and change colors since it was working at one time but something blew and it's full power which puts out the white light.</p>
<p>So this is my process, tell me if something is wrong</p>
<p>From what I can see you are not following the bread board schematic properly but it is hard to see through pictures. The instructable clearly states that I am still having issues as well but you made the decision to give it an attempt which I am grateful for. I completely understand your frustrations as I felt the same way.</p>
<p>So this is my process, tell me if something is wrong</p>
<p>Hello, I have had been having many problems lately with this project so can you please give me a clear picture of your circuit becuase If I try that it might work, please respond, I must finish this as soon as possible.</p>
<p>I ended up reordering the parts I was worried about having fried and used the breadboard schematic. </p>
<p>It is in my list of images and in his original piece</p>
<p>Well I rebuilt it, and now the leds dont even light up. This was just a waste of money</p>
<p>Ok, thanks for reply, I'll let you know after If I have any problems</p>
<p>I fixed the color problem by moving around the MOSFETS, they are a whitish color, my only problem now is I need them to change color and pulse to the frequency of the music. I used the code from David Wang's tutorial which is supposed to make it change color, but, anyways, I would really appreciate some help from you or anyone who knows what they are doing, I kinda know about circuits but not a lot. Thanks</p>
<p>Does it pick up the music from a sensor? or is it automated?</p>
<p>You plug into and audio jack that sends signals to the MSGEQ7 chip which works as a graphic equalizer. So if I turn off the music the lights dim.</p>
Beautiful and impressive.
<p>Thank you! I can't wait to fix the bugs...</p>
<p>Nice sharing,May i know the what song was embbeded in that video.</p>
<p>The main video with the mirror is Swimming by Florence + The Machine.</p><p>The other with only the LED Strip is Maniac by Kid Cudi I believe.</p>

About This Instructable

13,713views

212favorites

License:

More by BrightSol:Infinity Mirror That Flashes to Music 
Add instructable to: