Skip to content

Communication Interfaces

The iCartridge 2.0 supports three communication interfaces: Modbus RTU over RS485, USB CDC serial, and Bluetooth Low Energy (BLE).

Modbus RTU (RS485)

The primary industrial interface is Modbus RTU over RS485. The device operates as a Modbus slave on the network.

Configuration

ParameterValue
Physical LayerRS485 (half-duplex)
ProtocolModbus RTU
RoleSlave
Slave ID0x66 (102 decimal)
Baud Rate115200 bps
Data Bits8
ParityNone
Stop Bits1
Flow ControlNone (RS485 direction controlled via DE/RE pins)

Supported Modbus Functions

Function CodeDescription
0x01Read Coils
0x02Read Discrete Inputs
0x03Read Holding Registers
0x04Read Input Registers
0x05Write Single Coil
0x06Write Single Holding Register

RS485 Connector

The RS485 interface is exposed via a DB9 (SUB-D) connector on the enclosure.

DB9 PinSignal
Pin 1RS485 A
Pin 5GND
Pin 6RS485 B

Note on RS232

The current hardware provides RS485 only. RS232 Modbus is not supported on the current revision, but can be added with a hardware change if needed.

Register Map

See the Modbus Register Table for the complete register mapping.

USB Serial (CDC)

The USB interface provides a virtual COM port (CDC) over a standard USB Type A connector on the enclosure. The USB connection is optically isolated via an ADuM4160 isolator.

USB serial supports the same binary command protocol used by BLE, enabling PC-based configuration and monitoring. The device enumerates as a standard USB CDC device -- no special drivers are needed on modern operating systems.

See the BLE / USB CDC Protocol page for the full binary protocol specification with examples.

Bluetooth Low Energy (BLE)

Wireless communication is provided via a DA14531MOD BLE module.

BLE UART Configuration

ParameterValue
Baud Rate115200 bps
Data Bits8
ParityNone
Stop Bits1
Flow ControlRTS/CTS

BLE provides wireless access to all Modbus registers via a custom binary command protocol, supporting both read and write operations. A Ping command must be sent every 5 seconds to maintain the BLE session.

See the BLE / USB CDC Protocol page for the full binary protocol specification with examples.