Skip to main content

I/O Reference

Complete reference for digital inputs, digital outputs, and analog inputs on the IRIV IO Controller.

Digital Inputs (11 Channels)

The IRIV IO Controller provides 11 isolated digital inputs divided into two groups with independent common sink/source terminals.

Digital Input Specifications

ParameterMinimumMaximumUnit
Low Level (VIL)-±0.8V
High Level (VIH)±3±50V
Maximum Pulse Frequency (50% Duty Cycle)-5000Hz
Isolation Voltage3750-Vrms

Digital Input Mapping

InputGPIO PinTerminalInput Group
DI0GPIO0Terminal 2Group 1 (DI0-DI4)
DI1GPIO1Terminal 2Group 1 (DI0-DI4)
DI2GPIO2Terminal 2Group 1 (DI0-DI4)
DI3GPIO3Terminal 2Group 1 (DI0-DI4)
DI4GPIO4Terminal 2Group 1 (DI0-DI4)
DI5GPIO5Terminal 2Group 2 (DI5-DI10)
DI6GPIO6Terminal 2Group 2 (DI5-DI10)
DI7GPIO7Terminal 2Group 2 (DI5-DI10)
DI8GPIO8Terminal 2Group 2 (DI5-DI10)
DI9GPIO9Terminal 2Group 2 (DI5-DI10)
DI10GPIO10Terminal 2Group 2 (DI5-DI10)

Input Configuration

  • Type: Isolated, active high
  • S/S0..4: Common sink/source for DIN Group 1 (DI0-DI4)
  • S/S5..10: Common sink/source for DIN Group 2 (DI5-DI10)
  • DGND: Common digital ground for dry contact inputs (shared between both groups)

The two-group design allows simultaneous connection to both PNP and NPN sensors. Each group has independent common terminals. A built-in isolated power source supports dry contact inputs without external power supply.

Connection Examples

Dry Contact: Connect switch between DIx and DGND

PNP Sensor: Connect sensor output to DIx, sensor common to S/Sx

NPN Sensor: Connect sensor output to DIx, sensor common to S/Sx

Digital Outputs (4 Channels)

The IRIV IO Controller provides 4 isolated digital outputs driven by solid state relays.

Digital Output Specifications

ParameterMinimumMaximumUnit
Voltage-50V
Current-500mA
Isolation Voltage1500-Vrms

Digital Output Mapping

OutputGPIO PinTerminal
DO0GPIO12Terminal 2
DO1GPIO13Terminal 2
DO2GPIO14Terminal 2
DO3GPIO15Terminal 2

Output Configuration

  • Type: Isolated dry contact (solid state relay)
  • Active: HIGH (output active when GPIO is HIGH)
  • Load Type: DC or AC loads supported
  • Isolation: Each output channel is isolated from system and from other outputs

Inductive Load Protection

For inductive loads such as relays, it is recommended to connect a flyback diode in parallel with the load. This reduces EMI from switching inductive loads. The outputs have built-in surge protection, so operation without the diode is safe but not optimal.

Analog Inputs (2 Channels)

The IRIV IO Controller provides 2 analog inputs with 12-bit resolution.

Analog Input Specifications

ParameterMinimumMaximumUnit
Resolution12-bit
Voltage Mode Range010.56V
Current Mode Range042.58mA
Input Impedance (Voltage Mode)32K-Ω
Input Impedance (Current Mode)248-Ω

Analog Input Mapping

InputGPIO PinTerminal
AN0GPIO26 (ADC)Terminal 1
AN1GPIO27 (ADC)Terminal 1

Input Configuration

  • Type: Non-isolated (AGND is shared with system GND)
  • Resolution: 12-bit ADC
  • Mode Selection: DIP switch on bottom panel configures both channels for voltage OR current mode

Voltage Mode:

  • Range: 0 - 10.56V
  • Input impedance: 32kΩ
  • Full scale ADC reading: 4095 = 10.56V

Current Mode:

  • Range: 0 - 42.58mA
  • Input impedance: 248Ω
  • Full scale ADC reading: 4095 = 42.58mA
  • Requires DIP switch ON to enable shunt resistor

Important: Both analog input channels share the same mode setting. You cannot measure voltage on one channel and current on the other simultaneously.

Voltage Scale Calculation

According to the datasheet schematic, voltage scale for the MCU ADC:

  • MCU reading = Analog Input × 5/16

This scaling allows the 3.3V ADC of the RP2350A to measure up to 10.56V.

GPIO Summary Table

FunctionChannelGPIO PinTypeTerminal
Digital InputDI0GPIO0IsolatedTerminal 2
Digital InputDI1GPIO1IsolatedTerminal 2
Digital InputDI2GPIO2IsolatedTerminal 2
Digital InputDI3GPIO3IsolatedTerminal 2
Digital InputDI4GPIO4IsolatedTerminal 2
Digital InputDI5GPIO5IsolatedTerminal 2
Digital InputDI6GPIO6IsolatedTerminal 2
Digital InputDI7GPIO7IsolatedTerminal 2
Digital InputDI8GPIO8IsolatedTerminal 2
Digital InputDI9GPIO9IsolatedTerminal 2
Digital InputDI10GPIO10IsolatedTerminal 2
Digital OutputDO0GPIO12IsolatedTerminal 2
Digital OutputDO1GPIO13IsolatedTerminal 2
Digital OutputDO2GPIO14IsolatedTerminal 2
Digital OutputDO3GPIO15IsolatedTerminal 2
Analog InputAN0GPIO26 (ADC)Non-isolatedTerminal 1
Analog InputAN1GPIO27 (ADC)Non-isolatedTerminal 1
User Button-GPIO28Active LowFront Panel
User LED-GPIO29GPIOFront Panel
Passive Buzzer-GPIO11PWMInternal

Source(s):

  • IRIV IO Controller Datasheet, Rev 1.0, July 2024, Sections 2, 5.1, 5.2