Loading 3D model… large boards can take a moment.
A compact industrial-grade 64-channel Modbus RTU output module featuring low-side drivers, per-channel LEDs, wide input voltage, DIN-rail support, and full configuration via Modbus holding registers. Designed for automation, distributed I/O, and custom control applications.
The Open Modbus OM-64DO is a 64-channel low-side output expansion module intended for industrial automation, machine control, and distributed I/O networks using Modbus RTU over RS-485.
It switches DC loads such as solenoids, relays, indicator lamps, locks, and alarms up to 48 VDC.
The module combines an STM32G031 microcontroller, four MCP23S17 SPI expanders, and eight TBD62083 Darlington driver arrays.
This architecture enables reliable, flexible, and scalable output control with built-in protection and per-channel LED indication.
The full schematic and BOM are available at:
Check the latest release for more!
Ideal for:
The STM32G031F8P6 MCU handles Modbus RTU processing, configuration storage, SPI communication, and output refresh logic.
Four MCP23S17 SPI-based expanders provide the 64 output control signals in groups of 16.
The TBD62083 Darlington arrays switch the actual loads.
Their key characteristics include:
A robust THVD1450 transceiver provides differential RS-485 communication with:
The board accepts 7–28 VDC and includes a high-efficiency R-78E3.3-0.5 regulator for its 3.3 V logic domain.
Each output activates when its Modbus coil value is 1, causing the driver to sink current to ground.
When the coil value is 0, the channel turns off, leaving the load unpowered.
A dedicated LED mirrors the state of each output channel.
Coils map directly to output channels.
Addressing begins at 0x00.
| Coil Address (Hex) | Function |
|---|---|
| 0 (0x00) | OUTPUT 1 |
| 1 (0x01) | OUTPUT 2 |
| 2 (0x02) | OUTPUT 3 |
| 3 (0x03) | OUTPUT 4 |
| 4 (0x04) | OUTPUT 5 |
| … | … |
| 63 (0x3F) | OUTPUT 64 |
Configuration registers start at 0x00 and are stored in non-volatile memory.
| Register Address (Hex) | Name | Description | Allowed Values | Default |
|---|---|---|---|---|
| 0 (0x00) | Slave Address | Modbus device ID | 1–247 | 1 |
| 1 (0x01) | Baud Rate Code | Serial speed selector: 0=1200, 1=2400, 2=4800, 3=9600, 4=19200, 5=38400, 6=57600, 7=115200, 8=230400, 9=460800, 10=921600 | 0–10 | 3 |
| 2 (0x02) | Parity | Communication parity | 0=None, 1=Even, 2=Odd | 0 |
| 3 (0x03) | Data Bits | Serial data width | 5–9 (typ. 8) | 8 |
| 4 (0x04) | Stop Bits | Serial stop bits | 1–2 | 1 |
Below are typical Modbus RTU frames for controlling and configuring the OM-64DO.
Function: Write Single Coil (0x05)
Coil address: 0x0000
Value: ON → 0xFF00
Frame: 01 05 00 00 FF 00 8C 3A
Function: Write Multiple Coils (0x0F)
Start address: 0x0004
Quantity: 0x0008 (8 coils)
Data: FF (all eight bits ON)
Frame: 01 0F 00 04 00 08 01 FF 4F 15
Function: Write Multiple Coils (0x0F)
Start address: 0x0000
Quantity: 0x0040 (64 coils)
Data: FF FF FF FF FF FF FF FF
Frame: 01 0F 00 00 00 40 08 FF FF FF FF FF FF FF FF AA 20
Function: Write Multiple Coils (0x0F)
Start address: 0x0000
Quantity: 0x0040
Data: 00 00 00 00 00 00 00 00
Frame: 01 0F 00 00 00 40 08 00 00 00 00 00 00 00 00 EB A4
Function: Read Coils (0x01)
Start address: 0x0000
Quantity: 0x0040
Frame: 01 01 00 00 00 40 3D FA
Function: Write Single Register (0x06)
Register: 0x0000 (Slave Address)
Value: 0x0005
Frame: 01 06 00 00 00 05 49 C9
Function: Write Single Register (0x06)
Register: 0x0001 (Baud Rate Code)
Value: 0x0007 → 115200 baud
Frame: 01 06 00 01 00 07 99 C8
The OM-64DO uses low-side (open-collector) switching. That means the module connects the load to ground when ON, and the load must be powered from your external power supply.
The 64 outputs are grouped into four banks of 16 (Bank A–D). This allows one board to drive devices powered from different voltages simultaneously.
Examples:
Each output contains a protected Darlington transistor that sinks current:
Load +V ─────── Load ─────── OUTx (SINK)
│
└── GND (OM-64DO)
⚠️ Important Grounding Requirement: All load power supplies must share a common ground with the OM-64DO. This is required for the low-side drivers and internal logic to reference the same electrical 0 V.
The example below shows how to drive 24 V and 12 V relays at the same time using separate banks.
This wiring approach can be extended to all four banks, each with its own voltage.
For questions, feedback, or technical assistance regarding the Open Modbus OM-64DO, the following support channels are available:
For general inquiries, firmware questions, or troubleshooting: contact@sszczep.dev
Issue tracker, source code, hardware design files, and community contributions: https://github.com/OpenModbus/OM-64DO
Share projects, ask for help, or suggest features: https://github.com/orgs/OpenModbus/discussions
Submit issues directly via GitHub Issues: https://github.com/OpenModbus/OM-64DO/issues
No comments yet. Be the first to ask about this board.