As per an assignment in my digital multi-media class, I’ve combined two Arduino-related tutorials into a functional object! The result is a pair of infinity mirrors that flash red and blue depending on minute fluctuations in ambient temperature.
This is my first experience with Arduino, and my first attempt at building an electronic device from scratch—that is to say, there’s lots of rough edges and things I’d do differently if I were to approach this project again, but overall I’m happy with the outcome and think it looks hella sweet on my desk at home.

I would recommend reading the following three tutorials before you begin, as this one relies heavily on all of them.

https://www.instructables.com/id/Arduino-controlled-RGB-LED-Infinity-Mirror/ - Very thorough description of infinity mirror construction and the electronic components necessary to make the LED strips function. My project was largely inspired by this instructable, and the following tutorial will focus more on the implementation of the temperature sensor than the construction of an Arduino-controlled infinity mirror.

http://bildr.org/2011/07/ds18b20-arduino/ - The temperature sensor I used, as well as a much more concise code to operate it. My code is very similar, with only a few modifications so it can save the last two values and compare them.

http://learn.adafruit.com/rgb-led-strips/usage - This is the basic hardware configuration and code I used for my LED strips, only I doubled it in order to run two different strips from the same Arduino, and combined the code with the temperature sensor data.

Material List

- Arduino Uno, breadboard, and perforated board for later stabilization.
- 22-gauge hook up wire in various colors (red and black for denoting power and ground, as well as blue and green for identifying the RGB LED pins would probably be ideal)
- 1 meter RGB LED strip (x2)
- N-Channel MOSFETS (x6)
-Barrel jack breadboard adapter
- 12V/5A power supply (I purchased one from ebay for ten bucks and had a lot of luck with it)
- DS18B20 One-wire Temperature Sensor (I recommend buying multiples--I had to manipulate the pins a lot and ultimately broke one off in the final stretch. Luckily I foresaw this situation and purchased a couple of them to begin with.)
- 4.7K Resistor
- Four-conductor hook up cable, for aesthetic purposes. I have two 2’ strands running from my mirrors to the arduino/power source, as opposed to eight lose wires.

- 2’ x 4’ sheet of ¼” whitewood board. The plywood core wasn’t ideal and stands out on the final product, but it was cheap and appropriate for this prototype.
- 12” mirror tiles (x2) The ones I found come in packs of six and are a little pricey, so any relative sized, cheap alternative works here.
- 11 ½” x 8” sheet of glass (x2)
- ½” foam sheet, for padding the inside edges of the box so the LED strips are readily visible from any angle and form the desired shape. (This was the faster, more readily available option and by far not the best one. I'd rather gather the appropriate measurements and cut this out of a half inch piece of wood.)
- Mirrored window tint, for the two-way mirror.
- Electrical tape, black masking tape, and possibly heat shrink tubes if you want something with more permanence, although I didn't use them in this project.
- Hot glue for constructing the box and super glue for adhering the LED strip to the inside edges.

- Soldering iron and solder, if you intend to move the components from the breadboard to the perforated board. Otherwise you might be able to get away without them.
- Wire strippers
- Table saw
- Glass cutter and duckbill clamp or similar tool for applying even pressure to the glass and mirror in order to break it along the groove.
- CNC machine for cutting out the two lamp faces

Step 1: Arranging the LED Strips

Adafruit does an amazing job of breaking down LED strip usage for newbies, and because I need a lot of hand holding I followed their diagram to the letter. The only marginally frustrating part for me was the MOSFETs, as I got the pins switched around several times while soldering components to the perforated board and nearly had an existential meltdown taking it all apart. Don't do that.

Above is the Adafruit diagram, with some modifications as I chose to power my LED strips with an external barrel jack adapter. Once the power supply is hooked up to the rails on the breadboard and to the vin and ground pin on the Arduino, you can populate the board with your MOSFETs and follow the diagram above. Then, repeat it for the second LED strip.

(In reference to the MOSFET image, the upper pin leads to the pin on the Arduino, the middle one leads to the appropriate wire on the LED strip, and the bottom pin leads to ground.)
Found this when browsing through the Hardware Hacking contest entries - cool project, and thanks for linking back to my infinity mirror. It's great to see that it was actually useful to someone!
Is there any significance to the &quot;M&quot;/&quot;W&quot; shape?
Its just an abstracted arrow shape, since the color change pertains to temperature.
Oh, I get that - &quot;up&quot; and &quot;down&quot;.

About This Instructable




Bio: I'm a fine art student at the University of West Florida just trying to figure out what I want to do with myself. I ... More »
More by spacedandy:Temperature-Sensitive Infinity Mirror 
Add instructable to: