Skip to content

Latest commit

 

History

History
31 lines (17 loc) · 2.49 KB

README.md

File metadata and controls

31 lines (17 loc) · 2.49 KB

Smart-Mirror

This Project is a Smart-Mirror that gives the user date, time, weather, a calendar, clock and compliment. Inspired by the open source Magic Mirror, this is an attempt at creating the Magic Mirror with Python.

Warning: GUI will be extremely basic, but the methods of obtaining API data and format of said data will be sufficient. Warning(Important): Make sure to install tkinter from the official repository. Code won't work without it!

Partlist:

1.PIR Motion sensor

2.Raspberry pi

3.Lighting

4.Display (any monitor that you would want to build your frame around, use comething cheap if you can)

5.Two-way Mirror (10" by 12") 6.Frame for the mirror(make sure it can hold the mirror snugly)

Steps

  1. After you've built your frame and placed the mirror inside (reflective side down), put your monitor behind it and assuming you placed it correctly, you should be able to see the display behind the mirror while still being able to see the mirror's reflective properties.
  2. Connect your LED's and PIR motion sensor to your preferred pins. (make sure not to use an LED that uses too much power, if you use something that consumes more than 300 to 500ma, use an external power supply.)
  3. PIR motion sensor is for turning the mirror on when someone walks by. You'll have to configure the pin you connected to the PIR to call wakeup from the kernel on voltage change.
  4. Run the code in the main file, and assuming tkinter is installed correctly, the Smart-Mirror should run as expected