SlideShare una empresa de Scribd logo
1 de 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

Más contenido relacionado

La actualidad más candente

La actualidad más candente (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
 

Similar a 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
 

Similar a 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
 

Último

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Último (20)

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
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
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
 
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
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
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
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
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?
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
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
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 

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