presentation raspberry pi
TRANSCRIPT
![Page 1: Presentation raspberry pi](https://reader033.vdocuments.mx/reader033/viewer/2022061610/587ce0d61a28abff0b8b6c21/html5/thumbnails/1.jpg)
HELLOI am Marco Casini
I am here to present Raspberry Pi 2
You can find me at:https://it.linkedin.com/in/marcocasini2
1
!
![Page 2: Presentation raspberry pi](https://reader033.vdocuments.mx/reader033/viewer/2022061610/587ce0d61a28abff0b8b6c21/html5/thumbnails/2.jpg)
OVERVIEWLet’s start with the first set of slides on the first credit card that goes over the wallet!
![Page 3: Presentation raspberry pi](https://reader033.vdocuments.mx/reader033/viewer/2022061610/587ce0d61a28abff0b8b6c21/html5/thumbnails/3.jpg)
WHAT IS RAPSBERRY PI?
•A credit card sized PC•Plugs into a Tv or Monitor•Very Cheap ~ 30£ each•Over 5 milion units sold•Uses Broadcom BCM2836 4core
CPU•Designed for education
![Page 4: Presentation raspberry pi](https://reader033.vdocuments.mx/reader033/viewer/2022061610/587ce0d61a28abff0b8b6c21/html5/thumbnails/4.jpg)
A little bit deeper..
- 1 GB RAM- 4 USB
- Ethernet - SD ROM
- HDMI- GPIO
- CAMERA- 3.3v VOLTAGE
![Page 5: Presentation raspberry pi](https://reader033.vdocuments.mx/reader033/viewer/2022061610/587ce0d61a28abff0b8b6c21/html5/thumbnails/5.jpg)
I’m not like you!
![Page 6: Presentation raspberry pi](https://reader033.vdocuments.mx/reader033/viewer/2022061610/587ce0d61a28abff0b8b6c21/html5/thumbnails/6.jpg)
Arduino Raspberry Pi
Microcontroller Just a tiny Pc
FLASH ROM Operating system
Special Purpose General Purpose
One job at a time Multitasking
Hardware minimal Normal Hardware
![Page 7: Presentation raspberry pi](https://reader033.vdocuments.mx/reader033/viewer/2022061610/587ce0d61a28abff0b8b6c21/html5/thumbnails/7.jpg)
Distros and Operating Systems
Ubuntu Mate
Osmc
![Page 8: Presentation raspberry pi](https://reader033.vdocuments.mx/reader033/viewer/2022061610/587ce0d61a28abff0b8b6c21/html5/thumbnails/8.jpg)
Coding(Education)
Web MultimediaWeb
ServerCloud Server
Real Worlds Project (GPIO)
Game Boy(RetroPi)
FTP Server
![Page 9: Presentation raspberry pi](https://reader033.vdocuments.mx/reader033/viewer/2022061610/587ce0d61a28abff0b8b6c21/html5/thumbnails/9.jpg)
GPIO - general purpose
input/outputA more accurate vision on this
powerfull port
![Page 10: Presentation raspberry pi](https://reader033.vdocuments.mx/reader033/viewer/2022061610/587ce0d61a28abff0b8b6c21/html5/thumbnails/10.jpg)
GPIO – Pins
Physical interface between the Pi and the outside world.
40 pins, 26 are GPIO pins 14 are for power or ground
![Page 11: Presentation raspberry pi](https://reader033.vdocuments.mx/reader033/viewer/2022061610/587ce0d61a28abff0b8b6c21/html5/thumbnails/11.jpg)
InputSignals incoming from sensorsGPIO –
Input /Output
OutputSending signals to ouput, led or whatever.
![Page 12: Presentation raspberry pi](https://reader033.vdocuments.mx/reader033/viewer/2022061610/587ce0d61a28abff0b8b6c21/html5/thumbnails/12.jpg)
GPIO - OUTPUT
GPIO as an output, use HIGH or LOW in computing terms to send values.
HIGH 3.3VLOW 0V
LED -GND,+3.3V
![Page 13: Presentation raspberry pi](https://reader033.vdocuments.mx/reader033/viewer/2022061610/587ce0d61a28abff0b8b6c21/html5/thumbnails/13.jpg)
GPIO – INPUT
INPUT, listening values
OUTPUT, no standardized, it depends on the nature of the connected device
![Page 14: Presentation raspberry pi](https://reader033.vdocuments.mx/reader033/viewer/2022061610/587ce0d61a28abff0b8b6c21/html5/thumbnails/14.jpg)
GPIO & PYTHON
1)For using python we must install it using pip, the package manager :2) We need to install python now
3)For control GPIO we need 2 librariesdistribute e RPi.GPIO:
![Page 15: Presentation raspberry pi](https://reader033.vdocuments.mx/reader033/viewer/2022061610/587ce0d61a28abff0b8b6c21/html5/thumbnails/15.jpg)
GPIO – SHELL SCRIPTING
Shell Script – Native on Linux !
Supported languages: C, C++, JavaScript, HTML,Python
![Page 16: Presentation raspberry pi](https://reader033.vdocuments.mx/reader033/viewer/2022061610/587ce0d61a28abff0b8b6c21/html5/thumbnails/16.jpg)
PRACTICALEXAMPLE:MOTION DETECTION ALARM
![Page 17: Presentation raspberry pi](https://reader033.vdocuments.mx/reader033/viewer/2022061610/587ce0d61a28abff0b8b6c21/html5/thumbnails/17.jpg)
MOTIONDETECTIONALARM
IN to VCC OUT to GPIO4GND to GND.
MOTION DETECTION HIGH GPIO4
![Page 18: Presentation raspberry pi](https://reader033.vdocuments.mx/reader033/viewer/2022061610/587ce0d61a28abff0b8b6c21/html5/thumbnails/18.jpg)
MOTIONDETECTIONALARM
![Page 19: Presentation raspberry pi](https://reader033.vdocuments.mx/reader033/viewer/2022061610/587ce0d61a28abff0b8b6c21/html5/thumbnails/19.jpg)
19
![Page 20: Presentation raspberry pi](https://reader033.vdocuments.mx/reader033/viewer/2022061610/587ce0d61a28abff0b8b6c21/html5/thumbnails/20.jpg)
LET’S SEE HOW IT WORKS!
IF YOU LOOK AT YOUR SMARTPHONE YOU SHOULD HAVE A
NOTIFICATION ABOUT NEW POST ON DIAG SLACK’S CHANNEL
![Page 21: Presentation raspberry pi](https://reader033.vdocuments.mx/reader033/viewer/2022061610/587ce0d61a28abff0b8b6c21/html5/thumbnails/21.jpg)
THANKS!Any questions?