Pi-SPi-2AO Raspberry Pi Analog Output 4-20mA Module

Pi-SPi-2A0 Raspberry Pi Analog Output (mA + VDC) Interface

Regular price $24.95 USD Sale

The all new analog output interface for the Raspberry PI is here! The Pi-SPi-2AO provides 2 channels of 4-20 mA output and simultaneous 2 channels of 0 to 10 VDC output.

The MCP4922 Digital to Analog Converter provides two channels of 12 bit conversion. The output circuit is configured to give full 20 mA Output at 3VDC, and the DAC has a 3.3 VDC reference. Full output is equal to 3/3.3 VDC * 4096 DA Counts = 3723 counts.

 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_2AO    (GPIO4)

Features:

  • Identical foot print to the RPi 3
  • Separate field power input (9-24VDC) for output drive (mA or VDC)
  • Each module has its own 3.3VDC LDO regulator operating from the RPi 5VDC bus
  • No loading on the RPi 3.3VDC bus
  • Terminal Block for analog output signals
  • LED indicators for power
  • Dual GPIO connectors (left and right)
  • MCP4922 Dual A/D Converter with 12 bit resolution
  • mA Output signal Strength LED
  • VDC Output channel follows mA Output channel

Pi-SPi-2AO 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

NOTE: All Accessories Including Ribbon Cables 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 "Write" Analog Outputs Program:


from time import sleep
from widgetlords.pi_spi import *

init()
outputs = Mod2AO()

while True:
    outputs.write_single(0, 745)     # 4 mA
    outputs.write_single(1, 3723)    # 20 mA
    sleep(2)
   

The PI-SPI-2AO sample code programs and instructions can be found at

PI-SPI-2AO 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

We have just added a DIN Rail Mounting Kit for the Raspberry Pi and the PI-SPI series!

VPE-4450A DIN Rail Mounting Kit


Save