Affirmation Mirror
I made an affirmation that every time you rotate the mirror, it speaks an affirmation and the lights light up with a fun animation.
Downloads
Supplies
- Reflective Acrylic ⅛” sheet
- Neopixel strip
- Speaker
- CPB board
- Tape/ hot glue
- Wood
- 2 alligator clips
- 3 small nuts and bolts to secure wires into CPB holes
- Battery Pack with 2 AAA batteries
- Laser Cutter
Download the Code
Here is the code we will work with to create our affirmation mirror.
Downloads
Create the Laser Cutter File
Use the website Festi to make the file to laser cut a “cardbox” with dimensions of your choosing. My file is shown below but it is hard to see since the lines are so thin. Include holes for your lights, speaker and for the dowel that the box will spin on. Here is the file I used: https://drive.google.com/file/d/1D434v22hi2w909_sgWm-CjX2iOCfeyq7/view?usp=share_link
Assmeble the Box and Prototype
Laser cut the box and assemble it. Be sure to cut with cardboard so you can fix any issues and don’t waste good material on bad cuts. Here is your first prototype!
Assemble the Box
Once you have the cut file and prototype configured correctly, you can go ahead and cut and assemble your mirror box!
Test the Code
Plug the code I have in step 1 into Mu. Plug in your CPB to your laptop and attach your light strand and speaker to it. Run the code on the CPB. Unplug the CPB from the laptop and plug in the battery pack as the power source.
Fill the Box With Parts
Once your mirror box is ready to go and your code works, fill the box with all the necessary supplies. Tape your LED lights into the LED holes, the speaker where the speaker hole is, and the battery box in the opposing corner of the speaker to balance the weight. Tape the CPB to the back of the box, making sure that the battery input is facing up or down (this is to ensure that the CPB is perfectly vertical so the measurements for the accelerometer are accurate). Put the dowel rod through the dowel holes (the dowel should be at least 2 inches longer than the width of your box). Secure the lid onto the box, I did this with string tied through the holes on the bottom and top of the box.
Create the Stand
Once the box is assembled with all the parts in the right places, it’s time to woodwork! The stand requires 3 pieces of wood. The 2 side pieces run parallel to each other and perpendicular to the base. The base piece should be the length of the dowel. The side pieces can be about 2 inches taller than half the mirror size. Drill a hole for the dowel about an inch from the top of both side pieces. Nail the first side into the base, then put the dowel with the mirror positioned on it through the hole of the first side. Position the other side of the dowel through the other side of the stand, then nail that side into the base as well.