Make your own smart mirror with Raspberry Pi 3

The following article will guide you to turn an ordinary mirror into a smart mirror (Magic Mirror) that can both mirror and display general information.

The following article will guide you to turn an ordinary mirror into a smart mirror (Magic Mirror) that can both mirror and display general information.

In this project, we will use open source software MagicMirror by MichMich installed on Raspberry Pi 3, then via HDMI to export to the screen and finally apply a 2-dimensional Acrylic glass on the front screen.

Make your own smart mirror with Raspberry Pi 3 Picture 1Make your own smart mirror with Raspberry Pi 3 Picture 1

With Magic Mirror, you can integrate into it Google Assistant Vietnamese or Home Assistant . turning it into a similar tool to Google Home mini to control the device, ask questions and do some other tasks.

Prepare

  1. 1 Raspberry Pi 3 B + (with power, shell, heatsink, memory card, fan .) and a mouse.
  2. 1 HDMI cable to connect it to the TV or LCD monitor.
  3. 1 Acrylic 2-dimensional glass.
  4. 1 wooden frame (whatever size you want)
  5. 1 LCD screen or TV (the size is equal to or smaller than the size of Acrylic glass, can be purchased for savings).
  6. Mic, speaker (if integrated Google Assistant).
  7. 1 PC or laptop to configure the Pi.

Installation steps

Step 1: Visit the home page of the Raspberry Pi by following the link below to download the Raspbian Buster.

 https://www.raspberrypi.org/downloads/ 

Make your own smart mirror with Raspberry Pi 3 Picture 2Make your own smart mirror with Raspberry Pi 3 Picture 2

Step 2: Visit the link below, download the Etcher software.

 https://www.balena.io/etcher/ 

Make your own smart mirror with Raspberry Pi 3 Picture 3Make your own smart mirror with Raspberry Pi 3 Picture 3

Step 3: Open Etcher software, click Select image to select the newly downloaded Raspbian Buster zip file in step 1 -> click Select drive to select a memory card -> click Flash to flash the Raspbian Buster zip file to the memory card. When the success message appears, remove the memory card.

Make your own smart mirror with Raspberry Pi 3 Picture 4Make your own smart mirror with Raspberry Pi 3 Picture 4

Step 4: Plug the memory card into the Pi -> plug in the mouse -> plug in the LAN (to have internet for the Pi) and HDMI -> plug the power into the Pi.

Make your own smart mirror with Raspberry Pi 3 Picture 5Make your own smart mirror with Raspberry Pi 3 Picture 5

Step 5: After the Pi is Booted up, go to the menu (strawberry image) -> select Preferences - Raspberry Pi Configuration.

Make your own smart mirror with Raspberry Pi 3 Picture 6Make your own smart mirror with Raspberry Pi 3 Picture 6

Step 7: Open the Interfaces tab -> select Enable for SSH and VNC -> click OK.

Make your own smart mirror with Raspberry Pi 3 Picture 7Make your own smart mirror with Raspberry Pi 3 Picture 7

Step 8: Visit the link below to download and install VNC Viewer software for Windows.

 https://www.realvnc.com/en/connect/download/viewer/ 

Step 9: Open VNC Viewer -> in IP, enter IP of Pi. To know the IP of the Pi, use the Advanced IP Scanner to find or access the modem or router to view.

Make your own smart mirror with Raspberry Pi 3 Picture 8Make your own smart mirror with Raspberry Pi 3 Picture 8

Step 9: After the remote access to the Pi interface right on the computer, through the VNC Viewer software you will see what happens on the TV screen (Pi output HDMI to TV).

Make your own smart mirror with Raspberry Pi 3 Picture 9Make your own smart mirror with Raspberry Pi 3 Picture 9

Step 10: Click the black icon 4 from the left to open the Terminal window -> in turn type the following 3 commands:

 sudo apt-get update 
 sudo apt-get upgrade 
 bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)" 

These statements run quite a long time, you will have to wait a while.

Make your own smart mirror with Raspberry Pi 3 Picture 10Make your own smart mirror with Raspberry Pi 3 Picture 10

Step 11: Once the program has finished installing, open the file browser (the third golden icon from the left) -> navigate to / home / pi / MagicMirrror / config.

Step 12: Go into the config directory, if you see the config.js file, you don't have to do anything, and if you see the config.js.sample file, rename it to config.js.

Make your own smart mirror with Raspberry Pi 3 Picture 11Make your own smart mirror with Raspberry Pi 3 Picture 11

Make your own smart mirror with Raspberry Pi 3 Picture 12Make your own smart mirror with Raspberry Pi 3 Picture 12

Run Magic Mirror for the first time

Step 1: Use the command " cd MagicMirror " to move into the MagicMirror folder. If already in MagicMirror directory, skip this step.

Step 2: Type the "npm start" command to launch.

You can use Ctrl-Q to exit.

Make your own smart mirror with Raspberry Pi 3 Picture 13Make your own smart mirror with Raspberry Pi 3 Picture 13

With the above command, you have launched Magic Mirror. You can learn more about smart mirrors with the keyword "Basic Magic Mirror" on YouTube.

  1. DIY laptop heat sink base is super simple
4 ★ | 15 Vote