Weâve all been there: you stare blankly at your reflection in the bathroom mirror while trying to remember if your morning meeting got moved, wishing the glass could just tell you. Sure, you could drop two grand on a commercial smart mirror, or you could do what any self-respecting maker would doâviolently dismantle an old computer monitor you found in a thrift store, duct-tape it to a piece of plastic, and pray you donât release the magic blue smoke when you plug it in.
If youâre tired of debugging spaghetti code and just want a project that looks straight out of a sci-fi movie, this is it. Weâre going to build a Budget Magic Mirror for under $80 by sandwiching a Raspberry Pi behind a two-way mirror. No soldering irons required today, though if youâve been working through our Academy Lessons, you probably have a few burns on your fingers already anyway.
The secret to this project is a sheet of two-way mirror acrylic. In a bright room with a dark backing, it acts exactly like a regular mirror. But when a bright screen emits light from behind it, the text and images pass straight through the reflective surface.
By running a black background on our screen, only the bright white text (time, weather, calendar) shines through, floating seamlessly on the mirror.
To hit our budget goal, youâll need to scavenge an old LCD monitor. The rest of the components are very affordable:
The first step is carefully removing the plastic bezel and casing from your old monitor to make it as thin as possible. You only want the raw LCD panel and its control board.
Warning: Be careful around the power supply board, as capacitors can hold a charge even when unplugged. (We covered this in Lesson 102: Capacitors!)
We will be using the incredibly popular open-source platform MagicMirror². Itâs supported by a massive community and has hundreds of customizable modules.
curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh | bash
config.js file (using JSON format) to add your location for weather, link your Google Calendar, and customize the layout.Plug in the monitor and the Raspberry Pi. Within a minute, the screen will boot into the MagicMirror interface, giving you a futuristic, floating heads-up display right in your hallway or bathroom.
The best part? You can always SSH back into the Pi later to add new modules like Spotify Now Playing, transit schedules, or even voice control! If you want to integrate some IoT flair later, check out Lesson 188: Introduction to MQTT.