PI-SPI-8DI Digital Input I/O Module for Raspberry Pi

Pi-SPi-8DI Raspberry Pi Digital Input I/O Module

Regular price $25.95 USD Sale

The Pi-SPi-8DI has 8 inputs that can either DC or AC (Max 24 V) and are optically isolated.

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 (32 Inputs) can be used simultaneously.

All Accessories Including Ribbon Cables Sold Separately

 Node-Red support is now available.

The 26 pin GPIO expansion port is duplicated on either side of the module, so more modules can be added.

Features:

  • Identical foot print to the RPi 3
  • Separate field power input ( up to 24VDC or VAC)
  • Each module has its own 3.3VDC LDO regulator operating from the RPi 5VDC bus
  • No loading on the RPi 3.3VDC bus
  • Terminal Blocks for DC or AC inputs
  • LED indicators for power
  • LED ON Indicators for each Input
  • All inputs are optically isolated and can accept either VDC or VAC inputs, Max 24V

Pi-SPi-8DI Accessories:

  • Pi-SPi-PS-24VDC Field Power Supply
  • Pi-SPi-CABLE-40x26-2 (40 Pin to 26 Pin x 2") Required to connect to RPi
  • Pi-SPi-CABLE-40x40-2 (40 Pin to 40 Pin x 2")
  • Pi-SPi-CABLE-26x26-2 (26 Pin to 26 Pin x 2") Required to connect to PI-SPI Module
  • Pi-SPi-MTG-HDW Mounting hardware 4x1/2" Aluminum spaces c/w 8 4-40 Stainless Steel Screws

Downloads

Schematic

PCB Layout

 

Sample Software (Python)

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 Program "Read" Digital Inputs:


from time import sleep
from widgetlords.pi_spi import *

init()
inputs = Mod8DI()

while True:
    print(inputs.read())
    sleep(0.5)

 

The PI-SPI-8DI sample code programs and instructions can be found at

PI-SPI-8DI 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:

https://github.com/widgetlords/libwidgetlords/tree/master/python

For DIN Rail applications, the PI-SPI-ENC series of DIN rail mount enclosures are available in the Accessories Collection

 SaveSaveSaveSaveSaveSaveSaveSaveSaveSaveSaveSaveSaveSaveSaveSaveSaveSaveSaveSaveSaveSaveSaveSaveSaveSaveSaveSaveSave