项目链接:https://github.com/MicrosoftEdge/magic-mirror-demo
最终效果:
制作过程:
The assembly process requires manual work so please make sure you take the appropriate safety measures.
Building Materials
You will need the following materials to assemble the Magic Mirror:
- 2-Way Mirrored Acrylic Sheets
- Thickness: 1/8″
- Width: 13”
- Length: 23 5/8”
- Medicine Cabinet
- 23.6″ Screen LED-lit Monitor
- LifeCam HD-3000
- Raspberry Pi 2 or 3
- Micro SD card
- Micro USB cord and USB power adapter
- HDMI cord
- Gorilla glue
- Black tape
- Scissors
- Multibit screwdriver
- Cutting pliers
- Power drill
Step 1: Cabinet + 2-way mirror
The frame of the medical cabinet is held together by staples. You can use the screwdriver to take them off. Please be careful not to shater the mirror. Once the staples are gone, you can remove the one-way mirror and replace it with the two-way mirror. Glue each corner together as seen on the picture below.
Step 2: Drilling
Drill a hole on top of the cabinet. Make sure the hole is big enough for the Camera’s USB end to go through.
At the bottom of the back of the cabinet, drill another hole so you can pass the power cables through.
Step 3: Making the monitor lean
Remove the outer casing of the monitor without damaging the touch sensor as seen on the picture below. You can use the pliers to cut the sensor panel off the outer casing. You will need this sensor to control the power settings of the monitor. It should look like the image below.
The edge of the monitor is grey so cover it with the black tape.
Step 4: Supporting the monitor
The monitor legs place the mirror as close to the mirror as possible. You can find the 3D model of the legs here.
You can 3d print the legs on 3D Hubs, or, if you have a 3D printer, you can print them yourself. If you don’t want to print the legs, you can use toilet paper rolls as a replacement. Cut the rolls so they are 3 inches tall. This is a great time to use your Kindergarten skills.
The cabinet has holes along the sides. Use the screws to secure the monitor legs to the cabinets using those holes.
Below is an image showing how the monitor should rest on the legs.
Step 5: Adding the brain
Power the Pi with the USB cord (1) and connect the Pi to the monitor through HDMI (2).
Step 6: Connecting the camera
Tape the camera to the top of the cabinet and connect it to the Pi through USB.
Step 7: Enjoy
We hope you enjoy the Magic Mirror! Please let us know if you have any issues.