The document provides information on building a smart mirror using a Raspberry Pi. It discusses that the Raspberry Pi is a small, inexpensive computer that can be used for tasks like word processing and playing videos. It notes that over 3 million Raspberry Pi units have been sold. It then covers the hardware components of the Raspberry Pi, operating systems that can be used, and provides step-by-step instructions for setting up a Raspberry Pi to power a smart mirror, including downloading required software, configuring settings, and rotating the display.
2. Introduction
The Raspberry Pi is a credit-card sized computer
Developed in U.K. by Raspberry - Pi foundation in
2009
It can be plugged into your TV and a keyboard, and
can be used for many of the things that your average
desktop does - spreadsheets, word-processing, games
and it also plays high-definition video.
Has been a revolution in the market with over 3
million units sold
3. Motivation
Computer science skills increasingly important
Easily Access to computers
Computers are the tool of the 21st century
Computer Science is concerned with much more than
simply being able to use a computer.
Children should understand how they work and how
to program them
8. Making Smart Mirror
Using Raspberry Pi
Required equipments
A computer screen (that you can take apart)
An observation mirror or glas and a mirrorfilm
A Raspberry Pi with casing + micro USB power cord
A SD-card (8GB)
A network adapter (not necessary for Raspberry Pi 3,)
Wood frame (boards, screw, glue, paint, drill)
HDMI-to-VGA-adapter (depending on if your screen has
HDMI or not)
A mouse and a keyboard with USB
A second computer (for fixing OS and stuff)
13. Setting up Raspberry Pi
Download Smart-Mirror repositories and open up terminal
Install PIP and Run pip install .r requirments.txt
Sudo pip install .r re
Open smart mirror by vim smartmirror.py
Need to set Raspberry pi ip address
Set country code
Set weather token api
Weather token api can be found from forecast.io site
opening new account from there.
After set up hitting ESC and Capitall GG we can save the
setting.
14. Install python.imaging.tk by using sudo apt.get install
python.imaging.tk
Run python smartmirror.py
It’s now connected with the system.
Click on the window and press Enter it goes full
screen.
On slash boot folder sudo vim config.txt
From the bottom we can set display_rotate variable as
1
Esc and wq! To save the file