PI-SPI-DIN-4KO Raspberry Pi Digital Output I/O Module

PI-SPI-DIN-4KO Raspberry Pi Digital Output I/O Module

Regular price $35.95 USD Sale

This is the DIN rail mountable version of the Pi-Spi-8KO Relay Output I/O Module.

The PI-SPI-DIN-4KO has 4 SPDT Relays with a 2 AAC Rating. The relay coil is 5VDC and is independent of the input power supply used.

The design is based on the Microchip MCP23S08 IO Expander. Each MCP23S08 has 4 addresses using the same SPI Chip Select line, meaning 4 modules (16 Relays) can be used simultaneously.

Each I/O Module in the PI-SPI-DIN series of I/O Modules have two 16 Pin GPIO ports that carry power, SPI, I2C and 5 Chip Selects from the main PI-SPI-DIN-RTC-RS485 Module. Also, each I/O Module has it's own 5VDC switching power supply and 3.3VDC LDO regulator.

Specifications:

  • Two 16 Pin GPIO Ports (Power, SPI, I2C and 5 Chip Selects)
  • 5 VDC 0.5A Switching Power Supply (9 to 24 VDC Input)
  • 3.3VDC LDO regulator
  • Terminal Blocks are rising clamp cage screw type (no leaf springs)
  • Blue LED indicators for power
  • MCP23S08 I/O Expander with 4 Address Selects
  • Red LED ON Indicators for each Relay Output
  • PCB Dimensions: 2.7" Wide x 3.42" Long

PI-SPI-DIN-4KO Raspberry Pi Relay Output Interface

Mounting Styles:

Each PI-SPI-DIN I/O Module has three mounting styles available:

PCB

PCB on DIN rail mounting clips

DIN Enclosure

Dimensions: 3.51" Long x 2.975" Wide x 1.11" High

DIN rail enclosures are available in three colours: Black (Standard), Blue (Custom), and White (Custom). Enclosures are fabricated using PETG Plastic.

PI-SPI-DIN-8DI Accessories :

All PI-SPI-DIN I/O Modules come complete with interconnect ribbon cables and all necessary hardware based on enclosure style.

Typical Application with pcb DIN clip mounting:


Node-RED

The PI-SPI-DIN Series of I/O Modules have Node-RED support. Please visit

Node-RED and the PI-SPI-DIN Series

for instructions.

 

PI-SPI-DIN GPIO Connector Pinout

Downloads

PI-SPI-DIN-4KO Schematic

PI-SPI-DIN-4KO PCB Layout


For Python Sample Code, please visit:

PI-SPI-DIN-4KO Python Code Samples


Basic Python "Write" Relay Outputs Program:

from time import sleep
from widgetlords.pi_spi_din import *

init()
relays = Mod4KO(ChipEnable.CE3)

while True:
    relays.write(0x01)    # Relay 1 ON
    sleep(1)

SaveSaveSaveSave