PI-SPI-DIN-8AI Raaspberry Pi Analog Input I/O Module

PI-SPI-DIN-8AI Raspberry Pi Analog Input I/O Module

Regular price $35.95 USD Sale

This is the DIN rail mountable version of the Pi-Spi-8AI Analog Input I/O Module. The PI-SPI-DIN-8AI is based on the popular VP-EC-8AI 8 channel 4-20 mA input module, and the Microchip MCP3208 12 bit A/D converter.

Each module in the PI-SPI-DIN series has 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 module has it's own 5VDC switching power supply and 3.3VDC LDO regulator.

Each channel can be configured as either mA or Voltage. Another feature is all inputs can easily be configured for thermistor input making the Pi-SPi-8AI an 8 channel temperature sensor module. Please contact us for custom configurations.


  • 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
  • MCP3208 A/D Converter with 12 bit resolution
  • Each analog signal buffered (1/4 LM324 Op Amp)
  • Inputs 1 thru 8 are configured for 4 to 20 mA Input (Standard -20MA Option)
  • All inputs can be configured for either mA, VDC, or Thermistor Input for temperature measurement
  • PCB Dimensions: 2.7" Wide x 3.42" Long

PI-SPI-DIN-8AI Raspberry Pi Analog 4-20 mA Input Interface

Model Numbers and Inputs:

  • PI-SPI-DIN-8AI-20MA : 8 Channels 4-20mA Input
  • PI-SPI-DIN-8AI-NTC10K : 8 Channels Thermistor Input, 10K NTC
  • PI-SPI-DIN-8AI-5VDC : 8 Channels 1-5VDC Input (0-5VDC)
  • PI-SPI-DIN-8AI-10VDC : 8 Channels 0-10VDC Input

Mounting Styles:

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


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-8AI 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:


The PI-SPI-DIN Series has Node-RED support. Please visit

Node-RED and the PI-SPI-DIN Series

for instructions.

PI-SPI-DIN GPIO Connector Pinout


PI-SPI-DIN-8AI Schematic


For Python Sample Code, please visit:

PI-SPI-DIN-8AI Python Code Samples

Basic Python "Read" A/D Counts Program:

from time import sleep
from widgetlords.pi_spi_din import *

inputs = Mod8AI(ChipEnable.CE0)

while True: