SlideShare une entreprise Scribd logo
1  sur  26
Raspberry pi
An Introduction
What is Raspberry pi
 Credit card sized computer with incredible features
SOC HDMI ETHERNET
GPIO
USP?
 Model A = $25
 Model B = $35
 Uses low power SOC (System on Chip) Broadcom
BCM2835
 BCM2835 supports applications from word
processing, web-browsing to 3D gaming
 Linux OS
 Industry standard for prototyping IOT applications
We’re excited to announce that we are expanding our Windows
Developer Program for IoT by delivering a version of Windows 10
that supports Raspberry Pi 2 -Microsoft
Brains of PI
 ARM1176JZF is the central nervous system of PI
 This means any language that can compile on
ARMv6 can be used with raspberry pi
Features of PI
 SOC powerful enough to easily render
opengl 3D graphics, games and other
multimedia applications
 512 MB of ram
 Low power consumption (micro USB few
watts)
 Built in support for Camera module
 40 GPIOs
 4 USB ports
 Audio output
 SD card (primary storage device)
GPIO general purpose IO
 Raspberry pi model B+ has a set of
about 40 GPIOs
What is a GPIO?
 A GPIO is a terminal for electronic
signals which can act as source or
sink of signals.
 Signals may be both control as well as
data signals
 Plays an important role in automation
applications
 Python package required to use GPIO
from raspberry pi
sudo apt-get install python-RPi.GPIO
BCM vs Board-mode
 Board mode means to refer to the pin-
number via it’s position on the board
starting from 1-40
 In BCM mode we refer to the pin
names rather than by numbers. It is
based on Broadcom SOC channel
number
Words of Caution !!
 While working with GPIO it is
important to keep in mind that they are
directly connected to the micro-
processor
 Means NO overhead protection
 If a high current/voltage signal is
applied to the pin, It may burn the PI
Booting up the Raspberry
 Step-1 “Choice of OS”
Where to get??
 http://www.raspberrypi.org/downloads/
For windows and linux users
 Download the zip file and extract the OS image
 Insert sd card in the sd card reader
 Use Win32DiskImager to write to the sd card
 Detailed instructions can be found on the raspberry pi
website:
 http://www.raspberrypi.org/documentation/installati
on/installing-images/windows.md
 For Linux Users:
 http://www.raspberrypi.org/documentation/installati
on/installing-images/linux.md
 Caution: Linux users should be very careful with
the use of DD command.
NOOBS Project
 “New Out Of The Box Software” for beginners
 It gives you the options to choose from different
operating systems
 Download NOOBS zip file and extract it
 Format SD card and “drag/drop files into it”
 On first boot we see a screen like this
For Lazy Coders
 Perhaps the most easy way to get
started with Raspberry PI
 Buy an SD card with NOOBS pre-
installed and plug it into the pi
 Saves you a lot of time if you are more
concerned about app development
Monitor, mouse and keyboard
 Raspberry pi supports High Definition
video output through HDMI port
 We can use our HD TV as a monitor
for raspberry pi
 Raspberry pi has 4 usb ports and any
2 can be used to connect a mouse
and a keyboard
I can’t take LED with me all the
time
 Relax we have a solution !!
 Now edit the IPv4 settings in windows
also So they are both in same local
network
Edit: /etc/network/interfaces
SSH into your pi
 Use an ssh client e.g. PUTTY
 ssh pi@192.168.137.10
 Enter the password of your raspberry
pi
 Start Exploring
Why Pi is choice of IOT
industry
 Raspberry Pi is a good starting point for home and
industry automation prototypes
 Because >>
 Ease of Use
 Cost Effective
 Can be programmed easily to do
powerful things
Pi Onboard Camera Module
 Enables pi to see things around
About the camera
 Sensor type: OmniVision OV5647
 Sensor size: 3.67 x 2.74 mm
 Pixel Count: 2592 x 1944
(5megapixel)
 Pixel Size: 1.4 x 1.4 um
 Video: 1080p at 30 fps with codec
H.264
 Connects to Raspberry via CSI
interface
Using camera to capture
images
 raspistill [options]
 -?, --help : This help information
 -o, --output : Output filename
<filename>
 -v, --verbose : Output verbose
information during run
 -d, --demo : Run a demo mode (cycle
through range of camera options, no
capture)
 -sh, --sharpness : Set image sharpness
(-100 to 100)
More options
 -ex, --exposure : Set exposure mode
 Exposure mode options :
auto,night,nightpreview,backlight,spotli
ght,sports,snow,beach,verylong,fixedf
ps,antishake,fireworks
Video options
 raspivid [options]
 -o, --output : Output filename
<filename>
 -t, --timeout : Time (in ms) to capture
for. If not specified, set to 5s
 Example USAGE: raspivid –o
sample.mp4
Pi Relay Module
 Lets control the world of Alternating
Current AC
Mapping from PI to Relay
 5V output from Pi to VCC pin of Relay
 Ground to Ground of relay
 {
GPIO => Relay
}
We can use any GPIO as long as it is
not meant for other purposes

Contenu connexe

Tendances

Tendances (20)

Introduction to Raspberrypi
Introduction to  RaspberrypiIntroduction to  Raspberrypi
Introduction to Raspberrypi
 
Raspberry Pi Technology
Raspberry Pi TechnologyRaspberry Pi Technology
Raspberry Pi Technology
 
Raspberry pi
Raspberry piRaspberry pi
Raspberry pi
 
Raspberry Pi Presentation
Raspberry Pi PresentationRaspberry Pi Presentation
Raspberry Pi Presentation
 
Introduction to raspberry pi
Introduction to raspberry piIntroduction to raspberry pi
Introduction to raspberry pi
 
Raspberry pi ppt
Raspberry pi pptRaspberry pi ppt
Raspberry pi ppt
 
Raspberry pi
Raspberry piRaspberry pi
Raspberry pi
 
Raspberry pi
Raspberry pi Raspberry pi
Raspberry pi
 
Raspberry Pi Session - 22_11_2014
Raspberry Pi Session - 22_11_2014Raspberry Pi Session - 22_11_2014
Raspberry Pi Session - 22_11_2014
 
Raspberry pi
Raspberry piRaspberry pi
Raspberry pi
 
Raspberry pi
Raspberry pi Raspberry pi
Raspberry pi
 
Raspberry Pi introduction
Raspberry Pi introductionRaspberry Pi introduction
Raspberry Pi introduction
 
Presentation on Raspberry pi
Presentation on Raspberry piPresentation on Raspberry pi
Presentation on Raspberry pi
 
Raspberry Pi
Raspberry PiRaspberry Pi
Raspberry Pi
 
Raspberry pi : an introduction
Raspberry pi : an introductionRaspberry pi : an introduction
Raspberry pi : an introduction
 
Raspberry pi
Raspberry pi Raspberry pi
Raspberry pi
 
Latest Seminar Topics for Engineering,MCA,MSc Students
Latest Seminar Topics for Engineering,MCA,MSc StudentsLatest Seminar Topics for Engineering,MCA,MSc Students
Latest Seminar Topics for Engineering,MCA,MSc Students
 
Flexible and stretchable electronics
Flexible and stretchable electronicsFlexible and stretchable electronics
Flexible and stretchable electronics
 
Embedded system
Embedded systemEmbedded system
Embedded system
 
Raspberry Pi
Raspberry PiRaspberry Pi
Raspberry Pi
 

Similaire à Raspberry pi

Internet of things aktu lab file
Internet of things  aktu lab fileInternet of things  aktu lab file
Internet of things aktu lab file
Nitesh Dubey
 

Similaire à Raspberry pi (20)

Raspberry pi technical documentation
Raspberry pi technical documentationRaspberry pi technical documentation
Raspberry pi technical documentation
 
Introduction To Raspberry Pi with Simple GPIO pin Control
Introduction To Raspberry Pi with Simple GPIO pin ControlIntroduction To Raspberry Pi with Simple GPIO pin Control
Introduction To Raspberry Pi with Simple GPIO pin Control
 
Raspberry Pi Free Session - 20_09_2014
Raspberry Pi Free Session - 20_09_2014Raspberry Pi Free Session - 20_09_2014
Raspberry Pi Free Session - 20_09_2014
 
Tac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PITac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PI
 
introduction to Raspberry pi
introduction to Raspberry piintroduction to Raspberry pi
introduction to Raspberry pi
 
introduction to Raspberry pi
introduction to Raspberry pi introduction to Raspberry pi
introduction to Raspberry pi
 
Raspberry pi
Raspberry piRaspberry pi
Raspberry pi
 
Raspberry Pi
Raspberry PiRaspberry Pi
Raspberry Pi
 
Raspberry Pi - Unlocking New Ideas for Your Library
Raspberry Pi - Unlocking New Ideas for Your LibraryRaspberry Pi - Unlocking New Ideas for Your Library
Raspberry Pi - Unlocking New Ideas for Your Library
 
Raspberry-PI introduction
Raspberry-PI introductionRaspberry-PI introduction
Raspberry-PI introduction
 
Internet of things aktu lab file
Internet of things  aktu lab fileInternet of things  aktu lab file
Internet of things aktu lab file
 
Raspberry pi intro.
Raspberry pi intro.Raspberry pi intro.
Raspberry pi intro.
 
Video conferincing
Video conferincingVideo conferincing
Video conferincing
 
Raspberry pi
Raspberry piRaspberry pi
Raspberry pi
 
Develop Smart Solutions with Raspberry Pi and EnableX Live Video API
Develop Smart Solutions with Raspberry Pi and EnableX Live Video APIDevelop Smart Solutions with Raspberry Pi and EnableX Live Video API
Develop Smart Solutions with Raspberry Pi and EnableX Live Video API
 
Iaetsd the universal brain for all robots
Iaetsd the universal brain for all robotsIaetsd the universal brain for all robots
Iaetsd the universal brain for all robots
 
Introduction to Raspberry Pi
Introduction to Raspberry PiIntroduction to Raspberry Pi
Introduction to Raspberry Pi
 
Presentation on Raspberry Pi by Sazzad H. IIUC
Presentation on Raspberry Pi by Sazzad H. IIUCPresentation on Raspberry Pi by Sazzad H. IIUC
Presentation on Raspberry Pi by Sazzad H. IIUC
 
My presentation raspberry pi
My presentation raspberry piMy presentation raspberry pi
My presentation raspberry pi
 
Feature satip4
Feature satip4Feature satip4
Feature satip4
 

Dernier

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Dernier (20)

Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 

Raspberry pi

  • 2.
  • 3. What is Raspberry pi  Credit card sized computer with incredible features SOC HDMI ETHERNET GPIO
  • 4. USP?  Model A = $25  Model B = $35  Uses low power SOC (System on Chip) Broadcom BCM2835  BCM2835 supports applications from word processing, web-browsing to 3D gaming  Linux OS  Industry standard for prototyping IOT applications We’re excited to announce that we are expanding our Windows Developer Program for IoT by delivering a version of Windows 10 that supports Raspberry Pi 2 -Microsoft
  • 5. Brains of PI  ARM1176JZF is the central nervous system of PI  This means any language that can compile on ARMv6 can be used with raspberry pi
  • 6. Features of PI  SOC powerful enough to easily render opengl 3D graphics, games and other multimedia applications  512 MB of ram  Low power consumption (micro USB few watts)  Built in support for Camera module  40 GPIOs  4 USB ports  Audio output  SD card (primary storage device)
  • 7. GPIO general purpose IO  Raspberry pi model B+ has a set of about 40 GPIOs
  • 8. What is a GPIO?  A GPIO is a terminal for electronic signals which can act as source or sink of signals.  Signals may be both control as well as data signals  Plays an important role in automation applications  Python package required to use GPIO from raspberry pi sudo apt-get install python-RPi.GPIO
  • 9. BCM vs Board-mode  Board mode means to refer to the pin- number via it’s position on the board starting from 1-40  In BCM mode we refer to the pin names rather than by numbers. It is based on Broadcom SOC channel number
  • 10. Words of Caution !!  While working with GPIO it is important to keep in mind that they are directly connected to the micro- processor  Means NO overhead protection  If a high current/voltage signal is applied to the pin, It may burn the PI
  • 11. Booting up the Raspberry  Step-1 “Choice of OS”
  • 12. Where to get??  http://www.raspberrypi.org/downloads/
  • 13. For windows and linux users  Download the zip file and extract the OS image  Insert sd card in the sd card reader  Use Win32DiskImager to write to the sd card  Detailed instructions can be found on the raspberry pi website:  http://www.raspberrypi.org/documentation/installati on/installing-images/windows.md  For Linux Users:  http://www.raspberrypi.org/documentation/installati on/installing-images/linux.md  Caution: Linux users should be very careful with the use of DD command.
  • 14. NOOBS Project  “New Out Of The Box Software” for beginners  It gives you the options to choose from different operating systems  Download NOOBS zip file and extract it  Format SD card and “drag/drop files into it”  On first boot we see a screen like this
  • 15. For Lazy Coders  Perhaps the most easy way to get started with Raspberry PI  Buy an SD card with NOOBS pre- installed and plug it into the pi  Saves you a lot of time if you are more concerned about app development
  • 16. Monitor, mouse and keyboard  Raspberry pi supports High Definition video output through HDMI port  We can use our HD TV as a monitor for raspberry pi  Raspberry pi has 4 usb ports and any 2 can be used to connect a mouse and a keyboard
  • 17. I can’t take LED with me all the time  Relax we have a solution !!  Now edit the IPv4 settings in windows also So they are both in same local network Edit: /etc/network/interfaces
  • 18. SSH into your pi  Use an ssh client e.g. PUTTY  ssh pi@192.168.137.10  Enter the password of your raspberry pi  Start Exploring
  • 19. Why Pi is choice of IOT industry  Raspberry Pi is a good starting point for home and industry automation prototypes  Because >>  Ease of Use  Cost Effective  Can be programmed easily to do powerful things
  • 20. Pi Onboard Camera Module  Enables pi to see things around
  • 21. About the camera  Sensor type: OmniVision OV5647  Sensor size: 3.67 x 2.74 mm  Pixel Count: 2592 x 1944 (5megapixel)  Pixel Size: 1.4 x 1.4 um  Video: 1080p at 30 fps with codec H.264  Connects to Raspberry via CSI interface
  • 22. Using camera to capture images  raspistill [options]  -?, --help : This help information  -o, --output : Output filename <filename>  -v, --verbose : Output verbose information during run  -d, --demo : Run a demo mode (cycle through range of camera options, no capture)  -sh, --sharpness : Set image sharpness (-100 to 100)
  • 23. More options  -ex, --exposure : Set exposure mode  Exposure mode options : auto,night,nightpreview,backlight,spotli ght,sports,snow,beach,verylong,fixedf ps,antishake,fireworks
  • 24. Video options  raspivid [options]  -o, --output : Output filename <filename>  -t, --timeout : Time (in ms) to capture for. If not specified, set to 5s  Example USAGE: raspivid –o sample.mp4
  • 25. Pi Relay Module  Lets control the world of Alternating Current AC
  • 26. Mapping from PI to Relay  5V output from Pi to VCC pin of Relay  Ground to Ground of relay  { GPIO => Relay } We can use any GPIO as long as it is not meant for other purposes