MODMYPI edited this page Aug 31, 2018 · 17 revisions


There are a number of ways to interface your Raspberry Pi with the PiOT Relay board. The one you select depends on your personal preference and set-up! Each relay board is supplied with the following mounting hardware:

Ensure that your Raspberry Pi is turned off before adding or removing breakout boards

RPi 2 / 3

There are two ways to connect your B+/2/3 to the relay. You can either mount the PiOT Relay Board directly on top of the Pi using the supplied header and hardware , or by by using an IDC ribbon cable (not included). Ribbon cables can be purchase separately in a variety of colours from the ModMyPi webstore here.

Stacking on Top

Using the extra tall 40 pin header, plug the relay board to the Pi. Make sure pin 1 of the relay matches up with pin 1 of the RPi.

Connecting the relay in this manner allows multiple relays to be stacked on top of each other.

There's a trick to inserting the header into the PiOT Relay Board which is detailed in the section:

Inserting PiOT Relay Header

IDC Ribbon Cable Connection

Using an IDC cable, connect the relay board to the RPi 2 / 3. Making sure pin 1 of the relay board matches up with pin 1 of the RPi. You'll need a ribbon cable and a 40 Pin Header

Pin 1 and Pin 40 are labelled on the PiOT Relay Board silkscreen for reference.

RPi Zero

Solder a 40 Pin Header to the underside of the of the board

Then plug the RPi Zero directly into the board. You can use the mounting stand-off's to secure it if you wish.

Once installed, we're ready to look at the basic control operation:


You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.