Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
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 application...
Brains of PI
 ARM1176JZF is the central nervous system of PI
 This means any language that can compile on
ARMv6 can be u...
Features of PI
 SOC powerful enough to easily render
opengl 3D graphics, games and other
multimedia applications
 512 MB...
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...
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 BC...
Words of Caution !!
 While working with GPIO it is
important to keep in mind that they are
directly connected to the micr...
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 ...
NOOBS Project
 “New Out Of The Box Software” for beginners
 It gives you the options to choose from different
operating ...
For Lazy Coders
 Perhaps the most easy way to get
started with Raspberry PI
 Buy an SD card with NOOBS pre-
installed an...
Monitor, mouse and keyboard
 Raspberry pi supports High Definition
video output through HDMI port
 We can use our HD TV ...
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 a...
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 ...
Why Pi is choice of IOT
industry
 Raspberry Pi is a good starting point for home and
industry automation prototypes
 Bec...
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)
 ...
Using camera to capture
images
 raspistill [options]
 -?, --help : This help information
 -o, --output : Output filenam...
More options
 -ex, --exposure : Set exposure mode
 Exposure mode options :
auto,night,nightpreview,backlight,spotli
ght,...
Video options
 raspivid [options]
 -o, --output : Output filename
<filename>
 -t, --timeout : Time (in ms) to capture
f...
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 us...
Raspberry pi
Upcoming SlideShare
Loading in …5
×

Raspberry pi

1,602 views

Published on

An introduction to Raspberry PI and related modules

Published in: Technology
  • Be the first to comment

Raspberry pi

  1. 1. Raspberry pi An Introduction
  2. 2. What is Raspberry pi  Credit card sized computer with incredible features SOC HDMI ETHERNET GPIO
  3. 3. 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
  4. 4. 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
  5. 5. 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)
  6. 6. GPIO general purpose IO  Raspberry pi model B+ has a set of about 40 GPIOs
  7. 7. 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
  8. 8. 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
  9. 9. 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
  10. 10. Booting up the Raspberry  Step-1 “Choice of OS”
  11. 11. Where to get??  http://www.raspberrypi.org/downloads/
  12. 12. 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.
  13. 13. 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
  14. 14. 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
  15. 15. 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
  16. 16. 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
  17. 17. 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
  18. 18. 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
  19. 19. Pi Onboard Camera Module  Enables pi to see things around
  20. 20. 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
  21. 21. 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)
  22. 22. More options  -ex, --exposure : Set exposure mode  Exposure mode options : auto,night,nightpreview,backlight,spotli ght,sports,snow,beach,verylong,fixedf ps,antishake,fireworks
  23. 23. 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
  24. 24. Pi Relay Module  Lets control the world of Alternating Current AC
  25. 25. 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

×