Good news, Allied Electronics customers and Raspberry Pi users: Now you can have your Raspberry Pi...and industrial I/O, too!
With Opto 22's Digital I/O System for Raspberry Pi®, you can harness the power of world-class, industrial digital input/output (I/O) modules for monitoring and control through your Raspberry Pi.
Your Pi can switch real-world electrical loads like industrial motors and pumps, and sense status through industrial-grade sensors.
It's ideal for prototypes, proofs of concept, and environments in which an industrially hardened controller is not required. You can use your favorite Pi-supported programming language like Python, Node-RED, Pi Terminal, Pi Filesystem GPIO, and many more (see code samples on developer.opto22.com for details). Then, choose from a wide variety of digital I/O modules to fit what you want to do.
Here's what you need:
- Raspberry Pi (any model with a 40-pin GPIO header connector, including Raspberry Pi 1 Models A+ and B+, Pi 2 Model B, Pi 3 Model B, and Pi Zero)
- Digital I/O Carrier Board for Raspberry Pi
- I/O mounting rack
- I/O modules needed for your application
- Power supply
Digital I/O Carrier Board for Raspberry Pi (OPTO-P1-40P):
The OPTO-P1-40P carrier board (Allied part number 70956027), provides a GPIO interface between your Raspberry Pi and Opto 22 digital I/O modules on select mounting racks. Interface cable and Pi board mounting standoffs included.
Just plug the carrier board's interface cable into your Pi's 40-pin GPIO connector, and snap the board onto a compatible Opto 22 I/O mounting rack.
I/O Mounting Racks—Choose one based on the number of I/O modules you need:
Choose G4 or SNAP I/O:
G4 I/O has only 1 point per module. (The image above shows a G4 system with 16 points.) Each output module is individually fused and can switch up to 3 A.
- 70133597 - (Opto 22 part #G4PB8H) Holds 8 G4 I/O modules (8 points)
- 70133598 - (Opto 22 part #G4PB16H) Holds 16 G4 I/O modules (16 points)
SNAP I/O takes up less space with 4 points per module and costs less per point. (The image below shows a SNAP system with 16 points.) Most output modules can switch up to 0.75 A per point or a total of 3 A per module. SNAP-OMR6 modules can switch up to 6 A.
- 70133461 - (Opto 22 part #SNAP-D4M) Holds 4 SNAP I/O modules (16 points)
Note for customers who prefer to use Quad Pak or G1 I/O digital modules: the carrier board also supports the following racks: 70133623, 70133580, 70133581 and 70133582.
I/O Modules—Choose I/O based on the sensors and actuators you will connect to:
G4 I/O modules (use with G4 racks)
SNAP I/O modules (use with SNAP rack)
For more details on compatible modules & racks, see Digital I/O for Raspberry Pi Selection Guide.
Sensor signal required | Allied part number | Opto 22 part number |
90–140 VAC/VDC | 70133525 | G4IAC5 |
180–280 VAC/VDC | 70133640 | G4IAC5A |
90–140 VAC/VDC, low input impedance | 70133641 | G4IAC5L |
90–140 VAC/VDC, with manual/auto switch | 70133526 | G4IAC5MA |
10–32 VDC | 70133532 | G4IDC5 |
2.5–28 VDC, low-voltage input | 70133534 | G4IDC5D |
35–60 VDC | 70133642 | G4IDC5G |
10–32 VDC, with manual/auto switch | 70133537 | G4IDC5MA |
Digital Input Switch (to simulate an input) | 70133531 | G4SWIN |
G4 Outputs (1 point each)
Actuator signal required | Allied part number | Opto 22 part number |
12–140 VAC | 70133541 | G4OAC5 |
24–280 VAC, normally open | 70133542 | G4OAC5A |
24–280 VAC, normally closed | 70133543 | G4OAC5A5 |
12–140 VAC, with manual/auto switch | 70133546 | G4OAC5MA |
24–280 VAC, with manual/auto switch | 70133651 | G4OAC5AMA |
5–60 VDC | 70133552 | G4ODC5 |
5–200 VDC | 70134080 | G4ODC5A |
5–60 VDC, with manual/auto switch | 70133555 | G4ODC5MA |
Digital Output Switch, 250 VAC/VDC (to simulate an output) | 70133528 | G4SWOUT |
SNAP Inputs (4 points each)
Actuator signal required | Allied part number | Opto 22 part number |
90-140 VAC/VDC | 70133450 | SNAP-IAC5 |
180-280 VAC/VDC | 70133451 | SNAP-IAC5A |
90-140 VAC/VDC, isolated, with manual/auto switch | 70134081 | SNAP-IAC5MA |
10-32 VAC/VDC | 70133452 | SNAP-IDC5 |
2.5-28 VDC | 70134082 | SNAP-IDC5D |
35-75 VAC/VDC | 70133645 | SNAP-IDC5G |
15-32 VDC, leakage-tolerant | 70133646 | SNAP-IDC5-HT |
10-32 VDC/VAC, isolated, with manual/auto switch | 70133818 | SNAP-IDC5MA |
Contact status, normally open | 70134071 | SNAP-IDC5-SW |
Contact status, normally closed | 70133755 | SNAP-IDC5-SW-NC |
SNAP Outputs (4 points each)
Actuator signal required | Allied part number | Opto 22 part number |
12-250 VAC | 70133453 |
SNAP-OAC5 |
12-250 VAC, isolated channels | 70134072 |
SNAP-OAC5-I |
12-250 VAC, isolated, with manual/auto switch | 70134084 |
SNAP-OAC5MA |
5-60 VDC, load sourcing | 70133455 | SNAP-ODC5SRC |
5-60 VDC, load sinking | 70133454 | SNAP-ODC5SNK |
5-200 VDC, load sinking | 70133756 |
SNAP-ODC5ASNK |
5-60 VDC, isolated, with manual/auto switch | 70134086 |
SNAP-ODC5MA |
5-60 VDC, isolated channels | 70133652 | SNAP-ODC5-I |
5-200 VDC, isolated channels | 70134085 | SNAP-ODC5A-I |
Mechanical Power Relay, Form C | 70134045 | SNAP-OMR6-C |
Mechanical Power Relay, Form C, with integrated transient suppression | 70746831 | SNAP-OMR6T-C |
G4 Power Supplies—Choose one based on your input voltage (powers rack and Pi):
Typical Raspberry Pi rated mini-USB power supplies will work perfectly for powering the Pi and the I/O. However, Opto 22 also offers optional industrial power supplies:
Input voltage | Output current | Allied Part # | Opto 22 Part # |
120 VAC | 0.5 A | 70133593 | PBSA |
220 VAC | 0.5 A | 70133986 | PBSB |
12/24 VDC | 1.5 A | 70133987 | PBSC |
Note on peripherals: If your Pi uses USB-powered peripherals (like hard drives, displays, or WiFi dongles), you’ll need a power supply that puts out more current than these. With these peripherals:
- Connect a 5 V power supply rated 2.5 A to 5 A to the G4 rack power terminals.
- Replace the G4 mounting rack’s standard 1 A fuse with a 5 A fuse (shipped with the Carrier Board).
Raspberry Pi is a trademark of the Raspberry Pi Foundation.