Mirror Mirror

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….

http://www.instructables.com/id/Mirror-mirror-with-RGB-LED/

Materials:

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)

 

Electronic Components:

Adafruit Arduino kit

Adafruit LEDs strip

PIR (motion) sensor

5V power supply

 

Tools:

Silicone Cement

Hot Glue Gun

Soldering station

Steps

1-1Step 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.

2-1-01

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)

3-1-01

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)

4-2 4-1

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/.

5-2 5-3 5-5

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.

6-1

Step Six: Cut 3 pieces of 3 inch long wire and solder them onto the neopixel strip.

7-1

aa

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.

8-1

aa

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.

9-1

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.

10-1

Step Ten: Place your Arduino board into acrylic box.

11-1 11-2 11-3

Step Eleven: Hang Mirror Mirror on the wall and plug it in!!!

Mirror mirror! #svapod #arduino #neopixel

A post shared by Wan Long Hung (@longlonghong) on