Difference between revisions of "Ryde GPIO breakout"

From BATC Wiki
Jump to navigation Jump to search
 
(23 intermediate revisions by 5 users not shown)
Line 1: Line 1:
To help constructors connect easily to the Ryde RPIO, BATC has produced a small daughter board - PCBs will be available in the BATC shop.
+
To help constructors connect easily to the Ryde RPIO, BATC has produced a small daughter board.
 +
 
 +
PCBs are available in the BATC shop - https://batc.org.uk/shop/ryde-gpio-pcb/
  
 
[[File:Ryde1.png|400px]]
 
[[File:Ryde1.png|400px]]
Line 7: Line 9:
 
* Note the GPIO board requires 5v NOT 12v!
 
* Note the GPIO board requires 5v NOT 12v!
  
* The GPIO header is placed on the opposite side of the PCB to the rest of the components.
+
* The GPIO header '''is placed on the opposite side of the PCB''' to the rest of the components (but see below - upside down construction).
  
* Pay attention to the orientation of the resistor arrays - they are not the same.
+
* Pay attention to the orientation of the resistor arrays - the packages are not symmetrical.
  
 
* Build the top side first, start with the resistors, then the resistor arrays, then the 16 way, then the headers, finally fit the 40 way on the other side of the PCB.
 
* Build the top side first, start with the resistors, then the resistor arrays, then the 16 way, then the headers, finally fit the 40 way on the other side of the PCB.
Line 15: Line 17:
 
* The fuse is a standard automotive mini-blade, 3A. Take care inserting it as it requires considerable force. You may need to open up the socket a little.
 
* The fuse is a standard automotive mini-blade, 3A. Take care inserting it as it requires considerable force. You may need to open up the socket a little.
  
===Bill of materials===
+
==Schematic and bill of materials==
  
A full bill of materials will follow but the schematic is shown below.
 
  
[[File:Ryde GPIO6.png|800px]]
 
  
[[File:Ryde GPIO 1.jpg|400px]]
+
Nothing is really critical here so don't worry about 47k vs 10k vs 22k resistor arrays.  
  
 +
What does matter is the IR sensor does not put more than 3.3V into the GPIO as the PI is not 5V tolerant. Therefore either use a 3.3V sensor as recommended, or if you insist on re-using that old sensor recovered from a set top box make a resistor divider using appropriate resistors.  See [[Ryde remote controls|https://wiki.batc.org.uk/Ryde_remote_controls]] for more details
  
Farnell part numbers:
 
  
IR Sensor - TSOP2438 Farnell code 4913097 Run off 3.3V R1 4k7, omit R2.
+
[[File:Schematic GPIO.jpg|thumb]]
 +
 
 +
'''Farnell part numbers: Other suppliers are available.'''
 +
 
 +
 
 +
IR Sensor - TSOP2438 Farnell code 4913097 Run off 3.3V R3 4k7, omit R2.  
 +
 
 +
For 5V sensors possibly [ADVICE DELETED - USE a 3.3V SENSOR]
  
 
SIP Resistor arrays 10k 4606X-101-103LF  Farnell code 9356142  
 
SIP Resistor arrays 10k 4606X-101-103LF  Farnell code 9356142  
Line 33: Line 40:
  
 
10k        Farnell code 9342419
 
10k        Farnell code 9342419
 +
 
1k        Farnell code 9342400
 
1k        Farnell code 9342400
 +
 
4k7        Farnell code 9343253
 
4k7        Farnell code 9343253
  
Line 39: Line 48:
  
 
2 way Molex kk254 6373 series  Farnell code 1462926
 
2 way Molex kk254 6373 series  Farnell code 1462926
 +
 
4 way Molex kk254 6373 series  Farnell code 1462920
 
4 way Molex kk254 6373 series  Farnell code 1462920
 +
 
16 way socket Farnell code 1106834 or 2310066
 
16 way socket Farnell code 1106834 or 2310066
 +
 +
40 way socket Farnell code 2308433
  
 
Fuse holder:
 
Fuse holder:
  
MCCQ-122 1586595
+
MCCQ-122 Farnell code 1586595
 +
 
 +
 
 +
'''Alternative RS Parts:'''
 +
 
 +
Resistor arrays – 522-3488 (Packs of 25)
 +
 
 +
IR Sensor 180-8012 (Packs of 10)
 +
 
 +
 
 +
RS do not appear to do the fuse holder.
 +
 
 +
'''Alternative Digikey Parts:'''
 +
TBC
 +
 
 +
===Upside-down construction===
  
 +
If, for mechanical reasons, you want to put all the components on the underside of the GPIO breakout, '''you need to remember that the header pin connections will be reversed.'''  The most important one to get right is the Power + and -.  However, you will also need to modify the ribbon cable to the front panel as shown in this photo.
  
 +
[[File:Ryde Reversed Ribbon.jpg|400px]]
  
40 way GPIO socket https://shop.pimoroni.com/products/2x20-pin-gpio-header-for-raspberry-pi-2-b-a?variant=1132812261
+
The ribbon connector was opened up, each odd/even pair reversed, and then the connector closed again.

Latest revision as of 15:04, 12 December 2020

To help constructors connect easily to the Ryde RPIO, BATC has produced a small daughter board.

PCBs are available in the BATC shop - https://batc.org.uk/shop/ryde-gpio-pcb/

Ryde1.png

Construction notes

  • Note the GPIO board requires 5v NOT 12v!
  • The GPIO header is placed on the opposite side of the PCB to the rest of the components (but see below - upside down construction).
  • Pay attention to the orientation of the resistor arrays - the packages are not symmetrical.
  • Build the top side first, start with the resistors, then the resistor arrays, then the 16 way, then the headers, finally fit the 40 way on the other side of the PCB.
  • The fuse is a standard automotive mini-blade, 3A. Take care inserting it as it requires considerable force. You may need to open up the socket a little.

Schematic and bill of materials

Nothing is really critical here so don't worry about 47k vs 10k vs 22k resistor arrays.

What does matter is the IR sensor does not put more than 3.3V into the GPIO as the PI is not 5V tolerant. Therefore either use a 3.3V sensor as recommended, or if you insist on re-using that old sensor recovered from a set top box make a resistor divider using appropriate resistors. See https://wiki.batc.org.uk/Ryde_remote_controls for more details


Schematic GPIO.jpg

Farnell part numbers: Other suppliers are available.


IR Sensor - TSOP2438 Farnell code 4913097 Run off 3.3V R3 4k7, omit R2.

For 5V sensors possibly [ADVICE DELETED - USE a 3.3V SENSOR]

SIP Resistor arrays 10k 4606X-101-103LF Farnell code 9356142

Resistors e.g. 1K, 4k7, 10K Multicomp MF12 or MF25 series.

10k Farnell code 9342419

1k Farnell code 9342400

4k7 Farnell code 9343253

Connectors:

2 way Molex kk254 6373 series Farnell code 1462926

4 way Molex kk254 6373 series Farnell code 1462920

16 way socket Farnell code 1106834 or 2310066

40 way socket Farnell code 2308433

Fuse holder:

MCCQ-122 Farnell code 1586595


Alternative RS Parts:

Resistor arrays – 522-3488 (Packs of 25)

IR Sensor 180-8012 (Packs of 10)


RS do not appear to do the fuse holder.

Alternative Digikey Parts: TBC

Upside-down construction

If, for mechanical reasons, you want to put all the components on the underside of the GPIO breakout, you need to remember that the header pin connections will be reversed. The most important one to get right is the Power + and -. However, you will also need to modify the ribbon cable to the front panel as shown in this photo.

Ryde Reversed Ribbon.jpg

The ribbon connector was opened up, each odd/even pair reversed, and then the connector closed again.