Building a magic mirror that shows real-time weather, news, and travel info etc. is a popular project. Learn how to make a DIY smart mirror at little cost with a Raspberry Pi single-board computer, and get inspiration from some examples.

Why You Need a Raspberry Pi

Raspberry Pi 4 Device

A smart mirror is basically a mirror with a screen behind it. That screen can be an Android tablet or a computer monitor. Naturally, a monitor will make for a larger mirror. It's also a great way to repurpose an old LCD monitor. But you can't cram a full computer in there, unless you use a Raspberry Pi.

The Raspberry Pi is a credit card-sized computer that runs Linux-based operating systems and has a large community of developers. In fact, the smart mirror DIY community prefers the Pi over all other methods. Throw in its low price tag, from $35 for a full-size model, and it's a no-brainer to use this over any other gadgetry.

It should even be possible to make a smart mirror with the wireless-equipped, $15 Raspberry Pi Zero 2 W. Find out which Raspberry Pi model is best for your next project.

What You'll Need for Your Smart Mirror

Whichever smart mirror project you decide to do from this list, there are a few elements you'll always need. To make your search easier, and to stop repeating ourselves, here are the most important components.

Two-Way Mirror

It's a smart mirror, so it should be no surprise that you actually need a mirror, right? The project requires a two-way mirror, which you can buy at TwoWayMirrors.com or head to your local hardware store. Ideally, get it from the site since you can customize the height, width, and edges.

LCD Monitor

LCD computer monitor

Behind the mirror, you'll be installing a screen. While you could buy a new one, it’s a great way to make use of any old computer monitor you have lying around.

Raspberry Pi

Raspberry Pi 5 board
Image Credit: Raspberry Pi

While you can build a smart mirror with the $15 Pi Zero 2 W, this won't give you the best results. Instead, consider the more powerful Raspberry Pi 4 or Pi 5, available from $35 or $60 respectively. Choose the product and distributor that's best for you on the official site.

Wooden Frame

Selection of wooden frames

Something to hold together that mirror and the monitor behind it. You can optionally skip this step, but it'll look a bit rough around the edges, and require serious cable management. Your local hardware store should sort you out.

Along with these, you'll need all the basic tools required to work with them. So make sure you have a screwdriver, screws, sander, woodworking tools, and so on.

1. MagicMirror²: The Original Pi Smart Mirror

Michael Teeuw magic mirror

This is the MagicMirror². There are many like it, but this one is Michael Teeuw's. He was among the first to build and document the entire smart mirror process with a Raspberry Pi. In fact, he made all his work open source and modular, so that anyone could build their own and improve on it.

Michael has written a series of MagicMirror² tutorials, so you can read all about it on his blog. He'll take you through the full setup and build.

The best part is how easy he has made the process. Run a simple Bash script from MagicMirror², and your Raspberry Pi will be ready to go. The default modules include a clock, a calendar, weather forecast, news feed, and a complimentary message. And people are building third-party modules that you can install.

If you're new to the world of smart mirrors, this is the project to start with. It has a large community around it and you can ask for help on the MagicMirror² forum.

Websites: Firmware | Full Guide | GitHub

2. MirrorMirror: The Best Hardware Guide

MirrorMirror smart mirror in use next to image of it under construction

Dylan Pierce's MirrorMirror isn't related to MagicMirror², but it's just as useful. Mainly because Pierce's original blog post is the best step-by-step guide to the actual building process.

Pierce broke from the norm, configuring Chromium to run on startup after he installed the Raspbian (now known as Raspberry Pi OS) operating system on the Raspberry Pi. Finally, he made his own web page and server.

Before you make your own smart mirror, read the full post. Pierce was building this smart mirror as a gift. So he has taken care to ensure it looks brilliant. While the guide is a little old, there are useful steps in here, like how to remove a monitor's bezel or cable management. But the jewel of the piece is in his woodworking.

Websites: Full Guide

3. The Voice-Controlled Smart Mirror

You can actually interact with Evan Cohen's smart mirror by talking to it like an Android phone. And yes, it still runs on a Raspberry Pi, so you don't need an Android device.

Cohen has provided the full documentation of how to build, install, and operate his smart mirror. The video is really impressive, and it works with several third-party apps. For example, you can control smart LED lights by talking to your mirror.

This one too has a wonderful, detailed hardware guide. If you're planning to build it, use the provided guide instead of Pierce's method.

Websites: Full Guide | GitHub

4. Voice and Gesture-Controlled Smart Mirror

Can you make a touchscreen smart mirror? Yes, it's possible, as we’ll see later. Another way to interact with your magic mirror is to use gesture control or voice control. So builder Josep Cumeras i Khan got to work.

This smart mirror has a few cool tricks. You have to clap your hands to activate the voice recognition, and then issue commands like "play the radio" or "show me the news".

Khan has put a lot of documentation together about it, so you should be able to get your favorite apps running in no time. To navigate inside an app, use simple gestures.

This project is among the more expensive magic mirrors out there, clocking in at 400 euros. But when you see the result in the video, you know it's worth it.

Websites: Guide | Additional Guide | GitHub

5. Touchscreen Smart Mirror With Face ID

Not only has Eben Kouao built a touchscreen smart mirror, but it even features face ID to identify the person standing in front of it.

Building a touchscreen smart mirror isn't easy since the thickness of the two-way mirror makes it impossible to use a standard capacitive touchscreen. Instead, Eben has added an IR frame for the touch capability: featuring LEDs on one side and light detectors on the other, it can tell where you’ve touched the mirror.

With the inclusion of a Raspberry Pi Camera Module, the mirror can see the user and identify them using an OpenCV face detection module. A step-by-step build tutorial is available, which should eventually cover adding home automation and multiple user profiles.

Websites: Full Guide | Smart Touch GitHub | Face ID GitHub

6. AI Yoga Smart Mirror

YogAI magic mirror smart personal trainner

YogAI takes the smart mirror concept to a whole new level by providing an AI personal trainer to guide and correct the user’s yoga positions.

Created by self-confessed fitness-nuts Salma Mayorquin and Terry Rodriguez, it uses a Raspberry Pi Camera Module and TensorFlow machine learning to assess a variety of yoga poses. An on-screen avatar even mimics the user’s movements.

In addition, the mirror can be given spoken commands to start, stop, pause, and restart a yoga session. It also talks back, using the Flite voice synthesizer, to guide the user to achieve the correct poses.

Websites: Full Guide | GitHub

7. $100 Smart Mirror: The Cheap and Easy Way

Smart mirror working

You don't need to spend a bucketload of cash to make a smart mirror. As Carl Gordon shows, you can get one up and running for around $100 (or 150 New Zealand dollars, in Gordon's case). His entire aim in this project is to make it as cheap and thrifty as possible.

Gordon’s smart mirror doesn't use the popular MagicMirror² OS, but nothing in the build suggests that will break the system. The end result is a simple magic mirror for a cheap price, that still gives you all the basics. It's also light and portable, so you can use it in multiple rooms if you want.

Websites: Full Guide

8. Salvaged iPad Magic Mirror

Another way to save money is to repurpose old devices. In this case, Chris Greening salvaged a broken first-gen iPad to use for his magic mirror, by carefully removing the LCD panel beneath its smashed screen.

Also helping to keep the cost low is the use of a $15 Raspberry Pi Zero W running the standard Raspberry Pi OS. A video driver board takes the HDMI output from the Pi and sends it to the LCD panel.

To reduce the LCD’s brightness to stop its outline being obvious behind the two-way mirror, Chris added some tinted acetate sheets. The final result is a convincing magic mirror, for very little cost.

Websites: Video Guide

Build Your Own Magic Mirror

If you're going to make one a magic mirror yourself, it's possible to build one with a different device, such as a Windows PC-on-a-stick. But if you're into DIY electronics and making, chances are that you have a spare Raspberry Pi lying around. Coupled with the MagicMirror² OS, it makes smart mirror builds much easier.