Mirror Mirror is a wall lamp that lights up when people pass by. The color changes according to the weekdays – Monday is blue, Tuesday is green, Wednesday is yellow….
1 piece of bronze mirror acrylic (12” L x 12” W x ⅛”D)
2 pieces of black acrylic (24” L x 12” W x ⅛”D)
Adafruit Arduino kit
Adafruit LEDs strip
Hot Glue Gun
Step One: Sketch out your ideal mirror shape on paper and cut it out. Put LEDs strip on the paper to see if it fits.
I personally wanted to build a pebble-shaped mirror.
Step Two: Scale your mirror so it fits into a 12” square. Draw the mirror in Adobe Illustrator and save it as an .ai file.
We will use this file to laser cut the bronze mirror acrylic. (Provide template)
Step Three: Draw the boxes that will house the Arduino board, breadboard and PIR sensor so that they fit into a 24” x 12” sheet of acrylic.
These files will be used to laser cut the black acrylic. (Provide template)
Step Four: Laser cut the bronze and black acrylic. Here is one space where you could laser cut your files, if you don’t have a lasercutter handy: http://nyclasercut.com/.
Step Five: Use silicone to glue the acrylic together and glue the LED strip around the outside edge of your mirror.
Warning: Be careful – acrylic is easily scratched and silicone cement always gets everywhere.
Step Six: Cut 3 pieces of 3 inch long wire and solder them onto the neopixel strip.
Step Seven:The Neopixel Strip “IN” wire [the white wire coming off of the Neopixel strip] needs to be connected to Pin 6 on the Arduino. The VCC wire, which supplies power to the Neopixel strip, and is colored red, needs to be connected to the 5V power supply on the Arduino and the black wire from the Neopixel strip “GND” needs to be connected to the Arduino ground.
Step Eight: Use the tiny breadboard to wire up the motion sensor to Arduino Pin A0. Be sure to connect a resistor to the circuit as shown in the diagram below.
Step Nine: Turn on your computer to upload the code onto the Arduino board to make it work.
Download three Arduino libraries – a Neopixel library, a time library and an alarm library.
Neopixel library: www.github.com/adafruit/Adafruit_NeoPixel
Time library: www.pjrc.com/teensy/td_libs_Time.html
Alarm library: www.pjrc.com/teensy/td_libs_Time.html
(I will provide the code later!!!)
This project is inspired by the monthly mood cube and which is where time code comes from.
Before putting all the parts into the box, upload the program onto the Arduino by connecting it to a computer. The Arduino program keeps track of the time, changes the color of the LEDs and fades them to black when people leave.
Step Ten: Place your Arduino board into acrylic box.
Step Eleven: Hang Mirror Mirror on the wall and plug it in!!!