Upload
shssn7
View
181
Download
4
Embed Size (px)
Citation preview
Presentation on Raspberry Pi
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
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
Raspberry Pi Model
Hardware
• 10/100 BaseT Ethernet socket
• HDMI socket
• USB 2.0 socket
• RCA video socket
• SD card socket
• Powered from microUSB socket
• 3.5mm audio out jack
• Header footprint for camera connection
Operating System
• Linux on a bootable SD card
• Fedora
• Raspbian
• Debian
• ArchLinux ARM
Smart Mirror
Making Smart MirrorUsing 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)
Building the Mirror
2-Way Mirrored Acrylic Sheets
Making the frame
Raspberry Pi Set up with the monitor in the frame
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.
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
Now the Smart Mirror is Set!
Thank You!