Raspberry pi Scarborough

1,630 views
1,528 views

Published on

0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,630
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
1
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Raspberry pi Scarborough

  1. 1. RASPBERRY PIUsing the GPIO portSeggy T SegaranSF Innovations
  2. 2. LAYOUT OF THE BOARDGPIO header www.sf-innovations.co.uk
  3. 3. COOL PROJECTS USING THE GPIO PORT www.sf-innovations.co.ukRaspiRobot
  4. 4. COOL PROJECTS USING THE GPIO PORT www.sf-innovations.co.uk One button audiobook player – for visually impaired
  5. 5. COOL PROJECTS USING THE GPIO PORT www.sf-innovations.co.uk Ladder Game “Gordons Projects”
  6. 6. www.sf-innovations.co.ukLAYOUT OF THE GPIO PINS
  7. 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. 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. 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. 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. 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. 12. UART Used for serial data input and output Talk to external peripherals using www.sf-innovations.co.uk  RS232  Modbus
  13. 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. 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. 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. 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. 17. ACCESSORIES FOR THE GPIO PORT www.sf-innovations.co.ukThe GertboardConnects 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. 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. 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. 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. 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. 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. 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. 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. 25. SUMMARYThe low cost of the Raspberry Pi, coupled withlow power, small footprint, Internet connection www.sf-innovations.co.ukand the GPIO port makes it a powerful tool formany applications.
  26. 26. FINALLY - GET CREATINGThe true sign of intelligence is www.sf-innovations.co.uknot knowledge but imagination.Albert Einstein
  27. 27. BLOG WITH UP-TO-DATE PROJECT INFORMATION http://mistertee-talks-electronics.blogspot.co.uk/ www.sf-innovations.co.uk

×