Not-So-Smart-But-Very-Wholesome-Yet-Slightly-Creepy Mirror

by 8BitsAndAByte in Circuits > Raspberry Pi

9555 Views, 39 Favorites, 0 Comments

Not-So-Smart-But-Very-Wholesome-Yet-Slightly-Creepy Mirror

NotSoSmartMirror.00_01_09_14.Still003.jpg

In need of a mirror but not willing to add yet another smart object to your home? Then this Not-So-Smart-But-Very-Wholesome-Yet-Slightly-Creepy Mirror is just right for you!

Supplies

  • Mirror
  • Raspberry Pi
  • Infrared motion sensor
  • USB speaker
  • Hot Glue Gun

Project Video

The Not-So-Smart-But-Very-Wholesome-Yet-Slightly-Creepy Mirror

Mirror

NotSoSmartMirror.00_00_38_18.Still009.jpg
NotSoSmartMirror.00_00_54_09.Still011.jpg
NotSoSmartMirror.00_00_59_21.Still012.jpg
NotSoSmartMirror.00_01_18_18.Still016.jpg
NotSoSmartMirror.00_01_27_23.Still014.jpg
NotSoSmartMirror.00_01_28_14.Still015.jpg

The first step to making this mirror is, you've guessed it, finding, buying or creating a mirror. We still had a bucket of mirrored mosaic tiles, so we used those to create a head-sized mirror inside an old wooden tray.

To lay and grout the mosaic, we followed the steps outlined in this Instructable “How To Make A Mosaic For Beginners”.

Honestly, it's not as scary or as complicated as it looks, we would definitely recommend it!

Mirror Decorations

NotSoSmartMirror.00_01_39_06.Still019.jpg
NotSoSmartMirror.00_01_40_17.Still020.jpg
NotSoSmartMirror.00_01_44_09.Still021.jpg
NotSoSmartMirror.00_01_46_05.Still022.jpg

Once you have a mirror, it's time to add some nerdy decorations. We 3D modelled and printed the HTML < head > and </ head > tags to add to the top and bottom of the mirror, to make it very clear that what you can see in the mirror is your head. You can find the 3D models of all the individual letters added here!

Hot glue the 3D printed stuff to your mirror to make it permanently awesome!

Hardware & Code

NotSoSmartMirror.00_02_24_02.Still024.jpg
NotSoSmartMirror.00_02_43_18.Still023.jpg

Now that the mirror is all done, let's move on the the hardware and code.

The idea is that the mirror will give you wholesome compliments when you stand in front of it or when you walk past. To do this, we'll be using a Raspberry Pi 3, an infrared motion sensor and a USB speaker.

To detect motion with the infrared motion sensor, we followed this Raspberry Pi tutorial.

For the speech, we used the TTSMP3 website, which is a free text-to-speech and text-to-mp3 website.

We chose for a lovely, soothing voice (US English Salli) and made her whisper using the functionalities on the website. So, gather some inspiration and generate a number of wholesome quotes for your mirror to say, and download them as individual mp3 files.

Next is piecing all the code together. In short, the motion sensor will detect someone in front of the mirror. When that happens, a random audio file is chosen and played via the USB speaker. The python code to do all of this, is attached right here.

Last but not least, attach all the hardware to the mirror. We used our favourite yet temporary solution: duct-tape. If you're looking for something more permanent, you can screw and glue all the elements in place.

Downloads

Mirror, Mirror on the Wall

NotSoSmartMirror.00_02_57_15.Still026.jpg

Finally, it's time look yourself in the eye and get in front of the mirror.

Pro-tip: hang the mirror at head-height, so you can actually see yourself without having to climb on a chair.

If all has gone well, it should whisper compliments in your direction and you should feel all warm and fuzzy on the inside!