Presentation raspberry pi

Preview:

Citation preview

HELLOI am Marco Casini

I am here to present Raspberry Pi 2

You can find me at:https://it.linkedin.com/in/marcocasini2

1

!

OVERVIEWLet’s start with the first set of slides on the first credit card that goes over the wallet!

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

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 MultimediaWeb

ServerCloud Server

Real Worlds Project (GPIO)

Game Boy(RetroPi)

FTP Server

GPIO - general purpose

input/outputA 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

InputSignals incoming from sensorsGPIO –

Input /Output

OutputSending signals to ouput, led or whatever.

GPIO - OUTPUT

GPIO as an output, use HIGH or LOW in computing terms to send values.

HIGH 3.3VLOW 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 librariesdistribute e RPi.GPIO:

GPIO – SHELL SCRIPTING

Shell Script – Native on Linux !

Supported languages: C, C++, JavaScript, HTML,Python

PRACTICALEXAMPLE:MOTION DETECTION ALARM

MOTIONDETECTIONALARM

IN to VCC OUT to GPIO4GND to GND.

MOTION DETECTION HIGH GPIO4

MOTIONDETECTIONALARM

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?

Recommended