16 Channel Opto-Isolated Input Board
For use with the IO Pi Plus and IO Pi Zero
Created: 20/05/2020 | Last Updated: 20/05/2020
In 2017 we released the design files for a relay board to work with our IO Pi Plus interface board. We made the design and Gerber files public so that anyone can make their own or modify the design to fit their needs. To go with the relay board, we are releasing the design files for an opto-isolated input board.
The 16 channel opto-isolated input board is suitable for use with the IO Pi Plus version 2.1 or later and the IO Pi Zero. The board is designed to work with the FOD817C300 opto-isolator from Fairchild Semiconductor, but it should work with any 4-pin transistor opto-isolator that uses the same pin configuration.
To build the relay board you will need the following parts:
- VO1 to VO16: 16 x FOD817C300 opto-isolator
- R1 to R16: 0.25W Resistor (see below for calculating values)
- R17 to R32: 1K 0.25W Resistor
- 1 x 20 pin IDC PCB connector (2.54mm pitch)
- 16 x 2 pin 5.08mm screw terminals or another compatible connector. (5.00mm will also work)
The 20 pin IDC connector uses the same pin configuration as the IO Pi Plus 2.1 so you can connect the two together using two 20 pin IDC connectors and a ribbon cable. The input numbers match the pin numbering on the IO Pi Plus bus making it easy to read the inputs using our IO Pi software libraries.
The input resistors R1 to R16 will need to be specified for the input voltage. The emitter for the FOD817C300 opto-isolator requires a maximum current of 20mA at 1.2V. Our LED resistor calculator can be used to find the required resistance. For example, a 560R resistor will give a usable input voltage range of 3V to 12V.
The PCB dimensions are 60mm x 200mm. Gerber files are included in the GitHub repository and use a file name format compatible with several PCB manufacturers including iTead and Elecrow. The “Gerber Files.zip” file contains a zip of the Gerber files that can be uploaded directly to the PCB manufacturer of your choice. The schematic and PCB files are included in Diptrace format, you can download a free version of Diptrace from http://diptrace.com/download-diptrace/
The design files and Gerber files for the input board are available to download from our GitHub repository.
Note: The input board can be used with older versions of the IO Pi Plus and IO Pi Zero as well as the original IO Pi but you will need to only connect the 16 input pins on the IDC connector. The ground pin will need to be connected separately to the GND pin on the IO Pi board as earlier models did not include the ground on the IDC header. The input numbers will also not match up to the inputs on the IO Pi.