HELLOI am Marco Casini I am here to present Raspberry Pi 2 You can find me at: https://it.linkedin.com/in/marcocasini2 1 !
OVERVIEW Let’s start with the first set of slides on the first credit card that goes over the wallet!
WHAT IS RAPSBERR Y 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
A little bit deeper.. - 1 GB RAM - 4 USB - Ethernet - SD ROM - HDMI - GPIO - CAMERA - 3.3v VOLTAGE
I’m not like you!
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
Distros and Operating Systems Ubuntu Mate Osmc
Coding (Education) Web Multimedia Web Server Cloud Server Real Worlds Project (GPIO) Game Boy (RetroPi) FTP Server
GPIO - general purpose input/output A more accurate vision on this powerfull port
GPIO – Pins Physical interface between the Pi and the outside world. 40 pins, 26 are GPIO pins 14 are for power or ground
Input Signals incoming from sensors GPIO – Input /Output Output Sending signals to ouput, led or whatever.
GPIO - OUTPUT GPIO as an output, use HIGH or LOW in computing terms to send values. HIGH 3.3V LOW 0V LED  -GND,+3.3V
GPIO – INPUT INPUT, listening values OUTPUT, no standardized, it depends on the nature of the connected device
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 libraries distribute e RPi.GPIO:
GPIO – SHELL SCRIPTING Shell Script – Native on Linux ! Supported languages: C, C++, JavaScript, HTML,Python
PRACTICAL EXAMPLE: MOTION DETECTION ALARM
MOTION DETECTIO N ALARM IN to VCC OUT to GPIO4 GND to GND. MOTION DETECTION  HIGH GPIO4
MOTION DETECTIO N ALARM
19
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
THANKS! Any questions?

Presentation raspberry pi