SlideShare a Scribd company logo
1 of 27
RASPBERRY PI
Using the GPIO port
LAYOUT OF THE BOARD


GPIO header




                      www.sf-innovations.co.uk
COOL PROJECTS USING THE GPIO PORT




                                    www.sf-innovations.co.uk
RaspiRobot
COOL PROJECTS USING THE GPIO PORT




                                                           www.sf-innovations.co.uk
     One button audiobook player – for visually impaired
COOL PROJECTS USING THE GPIO PORT




                                    www.sf-innovations.co.uk
  Ladder Game “Gordon's Projects”
www.sf-innovations.co.uk
LAYOUT OF THE GPIO PINS
SUMMARY OF PINS

 Power – 3.3V, 5V and 0V
 General purpose digital inputs/outputs – 8 pins




                                                    www.sf-innovations.co.uk
 I2C – 2 pins

 SPI – 5 pins

 UART – 2 pins

 Not used – 6 pins



   Total – 26 pins
POWER
 Useful to power external circuits
 Limit maximum current draw to < 100 mA on 5V pin




                                                      www.sf-innovations.co.uk
 Limit maximum current draw to <50 mA on 3.3V rail
GENERAL PURPOSE DIGITAL INPUTS/OUTPUTS
   Outputs used to control external circuits
     Switch leds on/off




                                                     www.sf-innovations.co.uk
     Switch relays on/off
     Actuate solenoid

   Inputs used to monitor status
     Read switch status
     Alarm inputs

 Logic high on input/output is 3.3 V
 Logic low on input/output is 0 V

 Voltages > 3.3V on any pins can result in damage
I2C
   Used to interface to a variety of ICs
       Output expanders – for more digital outputs




                                                      www.sf-innovations.co.uk
       Input expanders – for more digital inputs
       Digital to Analogue convertor
       Analogue to Digital convertor
       Oscillators
SPI
   Used to interface to a variety of ICs
       Flash memory




                                                      www.sf-innovations.co.uk
       Output expanders – for more digital outputs
       Input expanders – for more digital inputs
       Digital to Analogue convertor
       Analogue to Digital convertor
       Oscillators
UART
 Used for serial data input and output
 Talk to external peripherals using




                                          www.sf-innovations.co.uk
     RS232
     Modbus
NOT USED
 Must not connect to these pins
 Eben Upton says in his book




                                                          www.sf-innovations.co.uk
    “Never connect anything to the pins marked Do Not
    Connect”. These are reserved for internal functions
    of the Pis BCM2836 hardware. Connecting
    anything to these pins will result in damage to the
    Pi”
PRECAUTIONS WITH GPIO PINS
   Permanent damage can be caused to the
    Raspberry Pi by:




                                                             www.sf-innovations.co.uk
     Connecting a 5V supply to any pin
     Shorting the 3.3V or 5V supply pins to any other pin
     Arduino (5V) devices connected to the Pi (3.3V)
ACCESSORIES FOR THE GPIO PORT




                                                                  www.sf-innovations.co.uk
  Slice of Pi – from Ciseco
  Supplied in kit form Slice of Pi features a small prototyping
  area and plugs into the 26 pin GPIO header.
ACCESSORIES FOR THE GPIO PORT




                                                                     www.sf-innovations.co.uk
 Adafruit – Prototyping Pi Plate
 Provided in kit form and provides a full size prototyping area.
 Screw terminals are provided as well as provision for soldering a
 surface mounted IC.
ACCESSORIES FOR THE GPIO PORT




                                                                                 www.sf-innovations.co.uk
The Gertboard
Connects via a ribbon connector and provides the following:
12 buffered I/O ports, 3 push button switches, 6 open collector drivers, 48V,
4A motor controller, 2 channel digital to analogue convertors,
2 analogue to digital convertors. It also allows for a 28 pin microcontroller.
ACCESSORIES FOR THE GPIO PORT




                                                                    www.sf-innovations.co.uk
 Adafruit Pi Cobbler
 A quick way to actually make the connections to the Raspberry Pi
ACCESSORIES FOR THE GPIO PORT




                                                                    www.sf-innovations.co.uk
 Sk Pang – Starter kit for Raspberry Pi
 This is a basic kit components that enables you to control LEDs,
 reading status of switch on your Raspberry Pi.
ACCESSORIES FOR THE GPIO PORT




                                                                    www.sf-innovations.co.uk
  PIFACE digital board
  Supplied assembled with
  2 Changeover relays, 8 Open-collector outputs, 8 Digital inputs
  8 LED indicators, 4 Switches
ACCESSORIES FOR THE GPIO PORT




                                                                www.sf-innovations.co.uk
  Custard Pi 1 – protection layer for the Raspberry Pi
  Plug in board providing protection for all the pins as well
  screw terminal connections with labels.
  Multifuse and leds on both power rails
ACCESSORIES FOR THE GPIO PORT




                                                                  www.sf-innovations.co.uk
 Custard Pi 2 – General purpose I/O board for the Raspberry Pi
 Plug in board with 4 open collector digital outputs, 4 inputs,
 2 analogue outputs and 2 analogue inputs.
 Multifuse and leds on both power rails.
FURTHER APPLICATIONS FOR THE GPIO PORT

   Industrial Control
       Test instrumentation
       Building control




                                         www.sf-innovations.co.uk
   Home Automation
     Switching appliances on/off
     Reading temperature
     Monitoring energy usage
     Security
GET LEARNING
   Raspberry Pi User Guide
       Eben Upton, Gareth Halfacre




                                                       www.sf-innovations.co.uk
   Programming the Raspberry Pi
       Simon Monk
   Learn Raspberry Pi with Linux
       Peter Membrey and David Hows
   Learn Electronics by using the Raspberry Pi as a
    Controller
       Seggy T Segaran – Launch in May 2013
SUMMARY
The low cost of the Raspberry Pi, coupled with
low power, small footprint, Internet connection




                                                  www.sf-innovations.co.uk
and the GPIO port makes it a powerful tool for
many applications.
FINALLY - GET CREATING


The true sign of intelligence is




                                   www.sf-innovations.co.uk
not knowledge but imagination.
Albert Einstein
BLOG WITH UPTODATE PROJECT INFORMATION
 http://mistertee-talks-electronics.blogspot.co.uk/




                                                      www.sf-innovations.co.uk

More Related Content

Recently uploaded

Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observabilityitnewsafrica
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxfnnc6jmgwh
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...itnewsafrica
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Kaya Weers
 

Recently uploaded (20)

Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)
 

Featured

Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationErica Santiago
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellSaba Software
 

Featured (20)

Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
 

Raspberry Pi Using the GPIO Port

  • 2. LAYOUT OF THE BOARD GPIO header www.sf-innovations.co.uk
  • 3. COOL PROJECTS USING THE GPIO PORT www.sf-innovations.co.uk RaspiRobot
  • 4. COOL PROJECTS USING THE GPIO PORT www.sf-innovations.co.uk One button audiobook player – for visually impaired
  • 5. COOL PROJECTS USING THE GPIO PORT www.sf-innovations.co.uk Ladder Game “Gordon's Projects”
  • 7. SUMMARY OF PINS  Power – 3.3V, 5V and 0V  General purpose digital inputs/outputs – 8 pins www.sf-innovations.co.uk  I2C – 2 pins  SPI – 5 pins  UART – 2 pins  Not used – 6 pins  Total – 26 pins
  • 8. POWER  Useful to power external circuits  Limit maximum current draw to < 100 mA on 5V pin www.sf-innovations.co.uk  Limit maximum current draw to <50 mA on 3.3V rail
  • 9. GENERAL PURPOSE DIGITAL INPUTS/OUTPUTS  Outputs used to control external circuits  Switch leds on/off www.sf-innovations.co.uk  Switch relays on/off  Actuate solenoid  Inputs used to monitor status  Read switch status  Alarm inputs  Logic high on input/output is 3.3 V  Logic low on input/output is 0 V  Voltages > 3.3V on any pins can result in damage
  • 10. I2C  Used to interface to a variety of ICs  Output expanders – for more digital outputs www.sf-innovations.co.uk  Input expanders – for more digital inputs  Digital to Analogue convertor  Analogue to Digital convertor  Oscillators
  • 11. SPI  Used to interface to a variety of ICs  Flash memory www.sf-innovations.co.uk  Output expanders – for more digital outputs  Input expanders – for more digital inputs  Digital to Analogue convertor  Analogue to Digital convertor  Oscillators
  • 12. UART  Used for serial data input and output  Talk to external peripherals using www.sf-innovations.co.uk  RS232  Modbus
  • 13. NOT USED  Must not connect to these pins  Eben Upton says in his book www.sf-innovations.co.uk “Never connect anything to the pins marked Do Not Connect”. These are reserved for internal functions of the Pis BCM2836 hardware. Connecting anything to these pins will result in damage to the Pi”
  • 14. PRECAUTIONS WITH GPIO PINS  Permanent damage can be caused to the Raspberry Pi by: www.sf-innovations.co.uk  Connecting a 5V supply to any pin  Shorting the 3.3V or 5V supply pins to any other pin  Arduino (5V) devices connected to the Pi (3.3V)
  • 15. ACCESSORIES FOR THE GPIO PORT www.sf-innovations.co.uk Slice of Pi – from Ciseco Supplied in kit form Slice of Pi features a small prototyping area and plugs into the 26 pin GPIO header.
  • 16. ACCESSORIES FOR THE GPIO PORT www.sf-innovations.co.uk Adafruit – Prototyping Pi Plate Provided in kit form and provides a full size prototyping area. Screw terminals are provided as well as provision for soldering a surface mounted IC.
  • 17. ACCESSORIES FOR THE GPIO PORT www.sf-innovations.co.uk The Gertboard Connects via a ribbon connector and provides the following: 12 buffered I/O ports, 3 push button switches, 6 open collector drivers, 48V, 4A motor controller, 2 channel digital to analogue convertors, 2 analogue to digital convertors. It also allows for a 28 pin microcontroller.
  • 18. ACCESSORIES FOR THE GPIO PORT www.sf-innovations.co.uk Adafruit Pi Cobbler A quick way to actually make the connections to the Raspberry Pi
  • 19. ACCESSORIES FOR THE GPIO PORT www.sf-innovations.co.uk Sk Pang – Starter kit for Raspberry Pi This is a basic kit components that enables you to control LEDs, reading status of switch on your Raspberry Pi.
  • 20. ACCESSORIES FOR THE GPIO PORT www.sf-innovations.co.uk PIFACE digital board Supplied assembled with 2 Changeover relays, 8 Open-collector outputs, 8 Digital inputs 8 LED indicators, 4 Switches
  • 21. ACCESSORIES FOR THE GPIO PORT www.sf-innovations.co.uk Custard Pi 1 – protection layer for the Raspberry Pi Plug in board providing protection for all the pins as well screw terminal connections with labels. Multifuse and leds on both power rails
  • 22. ACCESSORIES FOR THE GPIO PORT www.sf-innovations.co.uk Custard Pi 2 – General purpose I/O board for the Raspberry Pi Plug in board with 4 open collector digital outputs, 4 inputs, 2 analogue outputs and 2 analogue inputs. Multifuse and leds on both power rails.
  • 23. FURTHER APPLICATIONS FOR THE GPIO PORT  Industrial Control  Test instrumentation  Building control www.sf-innovations.co.uk  Home Automation  Switching appliances on/off  Reading temperature  Monitoring energy usage  Security
  • 24. GET LEARNING  Raspberry Pi User Guide  Eben Upton, Gareth Halfacre www.sf-innovations.co.uk  Programming the Raspberry Pi  Simon Monk  Learn Raspberry Pi with Linux  Peter Membrey and David Hows  Learn Electronics by using the Raspberry Pi as a Controller  Seggy T Segaran – Launch in May 2013
  • 25. SUMMARY The low cost of the Raspberry Pi, coupled with low power, small footprint, Internet connection www.sf-innovations.co.uk and the GPIO port makes it a powerful tool for many applications.
  • 26. FINALLY - GET CREATING The true sign of intelligence is www.sf-innovations.co.uk not knowledge but imagination. Albert Einstein
  • 27. BLOG WITH UPTODATE PROJECT INFORMATION http://mistertee-talks-electronics.blogspot.co.uk/ www.sf-innovations.co.uk