Project Info

Mirror Mirror On The Wall

Devpost

This project did not submit a demo video on Devpost.

Inspiration

Shrek is love, Shrek is life. Inspired by the Magic Mirror in the Dreamworks classic, we crafted this smart mirror from scratch, powered by a Raspberry Pi via a monitor looking through a 1-way glass.

What it does

Our intention for this project was to build something beautiful and modern to display in our home. This mirror provides an elegant interface to view your favorite widgets (weather, stocks, calendar, etc). The Raspberry Pi features a microphone and camera module for hands-free interaction. If you ever wanted to feel what Lord Farquaad felt like in Shrek, this is the next best solution!

How we built it

We started with a 3-D blueprint of the wooden computer frame and housing. This provided the dimensions needed to rip the lumber lengthwise with a table saw and cut the wood widthwise with a circular saw. From there, we used the Kreg Pocket Hole Jig to drill angled corner holes to join the wood pieces into a rectangle. Finally, we fastened the picture frame and supporting rectangle frame together. In the middle layer, we replaced the stock transparent glass with a 1-way mirror that lets you see your reflection but also light from the monitor behind it. For the monitor, we stripped all the plastic pieces to leave only the screen and sandwiched everything together. Finally, we designed the mirror's interface with the open-source library MagicMirror. The documentation provided many modular 3rd party widgets that are plug-and-play for the mirror's interface.

Challenges we ran into

The primary challenges we encountered were during the initial phases of woodworking and during the final stages of using the Alexa module. We underestimated the width of the supporting wood required to not have the wood screws crack the wood. Our initial prototype had a width of 1.5", and the wood screws split the lumber right at the corner. Widening the beams to 2" solved this problem. Our second main challenge nearing the completion of the project is the integration of the Alexa Assistant and its corresponding MagicMirror module. The debugging process for physical hardware items presents a new dimension of things that can go wrong. In addition, some terminal commands were outdated and bottlenecked us from proceeding.

Accomplishments we're proud of

This was our first Raspberry Pi and woodworking project! As Computer Science majors, this was our first opportunity to work with hardware and integrate the full-stack experience of the user interface, accessing backend APIs, and housing the technology in a presentable package. For a two-person team, we've successfully built an integrated and modern piece of fine furniture in 48 hours.

What we learned

We learned how to craft lumber and code all in a new platform of the Raspberry Pi. This was a phenomenal hands-on project!

What's next

We have a Raspberry Pi Camera module attached and on standby! We're looking forward to precisely drilling the camera port and using OpenCV to allow users to interact with the mirror through gestures and voice.

Analysis

Compare with all teams

View

Metric

Figures cover GitHub contributors during the hackathon window. A co-authored commit counts in full for each author, so per-member totals add up to more than the whole-team figures.

Technology

Found in codeClaimed only
  • CSSIn code
  • ExpressIn code
  • HTMLIn code
  • JavaScriptIn code
  • TypeScriptIn code

5 of 5 appear in the indexed code.

AI coding agents

No AI coding agent signals were found in this repository.

Detected from committed agent config files and commit authorship. Absence of a signal is not proof an agent was unused.

Codebase size

Source size

734 KB

Source files

212

Counts recognized source files only; vendored directories, binaries and lockfiles are excluded, so this is smaller than the repository on disk.

0 stars