QUICK START GUIDE - Digital I/O for Raspberry Pi Starter Kit
Use your Raspberry Pi in the real world!
- 非常适合原型制作,概念证明和
environments where an industrially hardened
controller isn’t required - Provides a reliable way to sense and switch industrial-level electrical loads with your own Raspberry Pi
- Includes Digital I/O Carrier Board, mounting rack, and four popular G4 I/O modules
- Code samples available atdeveloper.opto22.com
Description:
The Digital I/O for Raspberry Pi Starter Kit gets you started sensing and switching industrial loads with your own Raspberry Pi.
该系统包括与全球自动化应用程序中使用的相同现场测试,工业硬化的光电22 G4输入/输出(I/O)模块已有近40年的历史。只需带上您的PI及其电源,就可以开始。
The Starter Kit is a $215 value for only $129 plus shipping. It includes all of the following:
•OPTO-P1-40PDigital I/O Carrier Board, including interface cable, Pi board mounting standoffs, and spare fuse for mounting rack
•G4PB8H8-module mounting rack
•G4IAC590-140 VAC/VDC input module
•G4IDC5MA10-32 VDC input module with manual/auto switch
•G4OAC512-140 VAC output module
•G4ODC55-60 VDC output module
With the Starter Kit, you can use your Pi to switch industrial-level electrical loads far beyond the Pi's built-in 3.3 VDC GPIO pins. You can monitor and control real-world devices like industrial motors, pumps, and sensors.
And you’ll know that you can count on reliable Opto 22 industrial I/O, manufactured and supported in the U.S.A. Product support is free, and most I/O modules are guaranteed for life.
GETTING STARTED
The Starter Kit works with any model Pi with a 40-pin header connector. Here’s what’s in the box:
1.将载体板捕捉到G4安装架连接器上。
2.Carefully open the bag of small parts.
3.Use the four screws to secure the Pi to the top of the Carrier Board, placing a standoff between the Pi and the Board for each screw.
4.Insert one end of the interface cable into your Pi's GPIO connector. Insert the other end into the Carrier Board’s gray connector, making sure it locks in place.
5.Remove an I/O module from its box and carefully install it in position 0 on the board. Secure it with its integral screw.
6.Install and secure the other 3 modules next to the first one.
7。FollowField Wiring Diagrams在下面,将现实世界传感器和设备连接到安装架。
CAUTION:交流接线很危险,应通过qualified electrician.
For additional wiring information and complete specifications, see theDigital I/O for Raspberry Pi Selection Guide. (This guide also shows all the other Opto 22 I/O modules you can use with your Pi.)
8。插入Pi的电源。
9.使用您喜欢的PI支持的编程语言来读写I/O点。
Visitdeveloper.opto22.comfor code samples and tips for using your Pi to read and write to Opto 22 I/O modules.
笔记:Opto 22 I/O modules use negative true logic; that is, azero bit means On and a 1 bit means Off. When reading andwriting to I/O points, remember that 0 is On and 1 is Off.
Powering Peripherals
IMPORTANT: If your Pi uses USB-powered peripherals (especially hard drives or WiFi dongles), do the following:
• Connect a 5 V power supply rated 2.5 A to 5 A to the G4 rack’s power terminals (located underneath the Carrier Board).
• Replace the G4 rack’s standard 1 A fuse with the 5 A fuse that came in the bag of small parts. (If you need to replace this fuse, it is part numberFUSE05B—10 pack.)
Mapping: GPIO Pins to G4 Modules
The diagram below will help you know which pins apply to each module on the rack.
Mapping Overlay for Raspberry Pi
Place this overlay over your Pi's GPIO pins for a handy mapping reference. You can also download the template fromdeveloper.opto22.com.