Knowledge Base

The AB Electronics UK Knowledge Base provides support solutions, tutorials and troubleshooting guides.

Knowledge Base

Relay Board for the IO Pi Plus 2.1

Relay board project for the IO Pi Plus
Created: 10/02/2017 | Last Updated: 02/02/2019

We often get requests for a relay board to work with our IO Pi Plus expansion board.  Developing and selling a relay board is something we have looked at several times in the past but the problem we have found is making something that fits everyone’s needs.  Relays come in a wide range of voltages and while one person may need a board that works at 5V another will need it to work at 24V.  To make boards suitable for everyone we would need to build and sell several different models. 

Relay Board Project

After thinking about the problem for a while we have come up with a simple solution.  To go with the launch of the latest revision of our IO Pi Plus we have designed a 16-channel relay board and are giving away the design schematics and PCB files free of charge using the MIT license so you can build your own relay board using the supplied Gerber files or modify the schematic and PCB files to suit your needs.  By offering the board this way you can source the components and PCB from your favourite suppliers and build as many relay boards as you need for your project. 

The 16-channel relay board suitable for use with the IO Pi Plus version 2.1 which went on sale in February 2017.  The board is compatible with the Panasonic JS series of single pole double throw relays and will work with relay coil voltages from 5V to 24V. 

The relay board is compatible with the following relays:


To build the relay board you will need the following parts:

16 x Panasonic JS series relays (model numbers listed above)
3 x ULN2003A (16 pin DIP package)
1 x 20 pin IDC PCB connector (2.54mm pitch)
16 x 3 pin 5mm screw terminals or other compatible connectors. (5.08mm 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 relay numbers match the pin numbering on the IO Pi Plus bus making it easy to control the relays using our IO Pi software libraries.

To power the relay coils you will need a separate power supply that matches the voltage of the chosen relays.  ULN2003A Darlington arrays are used to switch the relays from a low voltage logic input.

The PCB dimensions are 100mm x 150mm.  Gerber files are included in the project folder and use a file name format compatible with several PCB manufacturers including iTead and Elecrow.  The “Gerber” file contains a zip of the gerber files that can be uploaded directly to the PCB manufacturer of your choice.

Download the gerber files from

The schematic and PCB files are included in DipTrace format, you can download a free version of DipTrace from

Relay Board project

Note:  The relay board can be used with older versions of the IO Pi Plus, IO Pi Zero and original IO Pi but you will need to only connect the 16 control 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.

Was this article helpful? Yes / No