Pi-SPi-8DI Raspberry Pi Input Module DC/AC Opto-Isolated

Pi-SPi-8DI Raspberry Pi Digital Input Interface

Regular price $24.95 Sale

The all new digital input interface for the Raspberry PI is here! 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.

 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")
  • Pi-SPi-CABLE-40x40-2 (40 Pin to 40 Pin x 2")
  • Pi-SPi-CABLE-26x26-2 (26 Pin to 26 Pin x 2")
  • Pi-SPi-MTG-HDW Mounting hardware 4x1/2" Aluminum spaces c/w 8 4-40 Stainless Steel Screws

NOTE: Accessories sold Separately

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

 

 

 

 

SaveSaveSaveSaveSaveSaveSaveSaveSaveSaveSaveSaveSaveSaveSaveSaveSaveSaveSaveSaveSaveSaveSaveSaveSaveSaveSaveSaveSave