Smart Mirror

by asterchys in Circuits > Raspberry Pi

1378 Views, 10 Favorites, 0 Comments

Smart Mirror

P8291335.JPG

How do I not lose time by having to search for the news and weather forecast on my smartphone? Easy! I'll make sure this shows up on my mirror. In this project I will teach you how to make a smart mirror.

Supplies

Electronics

  • Raspberry PI 3 model B
  • Arduino Uno
  • Jumper wires
  • Light dependent resistor
  • LCD
  • Trimmer
  • DS18B20 (temperature sensor)
  • Level shifter
  • Led strip(3 pin)
  • CCS811
  • screen

Materials

  • 2 way mirror
  • Wood
  • Nails
  • Paint

Tools

  • Drilling machine
  • Sand paper
  • Saw

Create the Mirror

P8281328.JPG

I started making the mirror. So I can see how much space I have to put my electronics in.

Making the mirror is not that hard

You make sure you create a complete frame for your screen. It is important that you make the frame wider than the screen so that you have room to put away your electronics. You create a plate in the middle of the frame so that you can mount the screen with VESA. After this you make the finishing touches around the corners.

Building the Circuit

Screenshot_3.png

Before you can start programming you need to build the circuit. In the picture above you can see how to connect everything. There is also an electronic schema attached.

The Arduino is used to capture the LDR, CCS811 and let the ledstrip work.

The level shifter connects the Arduino and Raspberry Pi to transfer data. The LCD and temperature sensor are connected to the Raspberry Pi.

Code

With this link you can find my code. You find various files.

The app.py is used let your mirror do things.

The index.html is what you see on the mirror.

The style.css is to create a nice mirror view.

The app.js is to let you control your html code.

Put Everything in the Mirror

P8291334.JPG

Now you can put everything away in the room you created.