GP IO
General Purpose Input Output
2
Contents
Basic recipes to set-up and use
Raspberry-Pi’s general-purpose
input/output connector
GPIO PINOUT
4
Objective 1
Controlling Hardware
Objective 2
Controlling Motors.
Objective 3
Digital Inputs.
Objective 4
Sensors.
OurObjectives
5 COMPANYPRESENTATION
PROCESS WORKFLOW
Installing RPI.GPIO
$ sudo apt-getinstall python-dev
$ sudo apt-getinstall python-rpi.gpio
Coding In Editor
IDLE or nano editorcan beused tocode.
Setting Up Hardware
Combination of electronics equipment such as
resistor,diode,IC’s
Connecting GPIO Connector
Connecting interfacing GPIO connector with thehardware
setupwith powersupply01
02
03
04
Controlling Hardware Projects
Breadboard layout for controlling
GPIO output from a web-page
A web-interface to GPIO
Connecting LED to a Raspberry-PI
Controlling a Servo Motor
Controlling Motor
UI for Controlling a Servo Motor
8
Read GPS data
InstallGPSD
A 3.3V serial GPS module
can be connected directly to
Raspberry Pi’s RXD
connection
ConnectwithRXD
Use xgps tool to view the
GPS data
ViewGPSdata
Adding GPS to Raspberry Pi
Wiring a GPS
Module to a
Raspberry Pi
Testing GPS with CGPS
Viewing with xgps
SIMPLE LIGHT SENSOR
BREADBOARD AND JUMPER WIRES
PHOTORESISTOR
RESISTORS AND CAPACITOR
12
THANKS
FOR
WATCHING

Raspberry-Pi GPIO