The all new analog input interface for the Raspberry PI is here! The Pi-SPi-8KO has 2 SPDT relays and 6 relay signal outputs. Each signal output can drive a FET or transistor switch.
The design is based on the 74HC595 serial shift register, and has an LED indicator (Active) for each output.
All Accessories Including Ribbon Cables Sold Separately
Node-Red support is now available.
The GPIO expansion port is duplicated on either side of the module, so more modules can be added.
Port Pins Used:
SPI-MOSI (GPIO10) SPI-MISO (GPIO9) SPI-SCK (GPIO11)CS_8KO (GPIO8)
Please download the latest Widgetlords libwidgetlords library. The instructions can be found at
Getting Started with PI-SPI Libraries
All of the sample code examples are based on the latest library installation. Please note the code samples all use Python 3.
Basic Python "Write" Relay Output Program:
from time import sleepfrom widgetlords.pi_spi import *init()relays = Mod8KO()while True: relays.write(0x01) # Relay 1 ON sleep(1)
The PI-SPI-8KO sample code programs and instructions can be found at
PI-SPI-8KO Python Code Samples
A complete set of Python demo code examples for the PI-SPI and PI-SPI-DIN series can be found on our GitHub repository:
For DIN Rail applications, the PI-SPI-ENC series of DIN rail mount enclosures are available in the Accessories Collection