M-Duino 57R: Arduino PLC with 49 I/O, 23 relays and Ethernet
The M-Duino 57R is an industrial PLC from Industrial Shields built around an original Arduino Mega 2560. It has 18 inputs (12 analog 0-10 V) and 31 outputs (23 relays, 8 analog/PWM), Ethernet, RS-485, RS-232, I2C, SPI, a real-time clock and a microSD slot, and mounts on a DIN rail. It is programmed with the Arduino IDE, with no licence fees, and suits installations with a high number of loads to switch and analog monitoring.
Not sure this is the right model? Our engineers help you choose the controller and the options for your project.
Talk to an engineerTechnical specifications
| Microcontroller | Arduino Mega 2560 (ATmega2560, 16 MHz, 256 KB flash, 8 KB SRAM) |
|---|---|
| Inputs | 18: 12 analog/digital (0-10 V, 10-bit) and 6 digital optoisolated, 5 to 24 Vdc, 6 with interrupt |
| Outputs | 31: 8 analog/digital/PWM (0-10 V, 8-bit), 23 relays (230 Vac 4 A / 24 Vdc 2 A, resistive) |
| Ethernet | W5500, 10/100 Mbit, RJ45 |
| Serial and buses | RS-485, RS-232, TTL serial, I2C, SPI |
| Built in | Real-time clock, microSD slot, USB 2.0 Type-B |
| Programming | Arduino IDE with the Industrial Shields boards package |
| Power supply | 12 to 24 Vdc, fuse (2.5 A) and polarity protection |
| Environment | 0 to 60 °C operating, 10 to 90 % humidity without condensation |
| Mounting and protection | DIN rail TS35, IP20, inside a cabinet |
| Communication versions | Wi-Fi & BLE, GPRS/GSM, LoRa and DALI versions are described in the family datasheets |
Projects built with Arduino-based PLCs
Field-tested examples with code, built on M-Duino PLCs with the same Arduino IDE environment.
- Modbus RTU chiller controlSee the example
- Modbus RTU drive speed controlSee the example
- Modbus TCP to RTU gatewaySee the example
- Modbus TCP register map for a plantSee the example
Before you choose the M-Duino 57R
How do I program the M-Duino 57R?
With the Arduino IDE (1.8.0 or later). Install the Industrial Shields boards package from the Boards Manager and select the M-Duino 57R. Upload through USB; the Ethernet port also lets you maintain it remotely.
What can the relay outputs switch?
Each relay switches up to 4 A at 230 Vac or 2 A at 24 Vdc with a resistive load. For inductive loads such as contactor coils, add an RC snubber sized for the load.
Can it talk Modbus?
Yes. Use Modbus RTU over RS-485 and Modbus TCP over Ethernet with the Industrial Shields Arduino libraries. It can act as master or slave.
Can the analog inputs read 4-20 mA sensors?
The analog inputs measure 0-10 V with 10-bit resolution. To read a 4-20 mA loop, add a precision shunt resistor (500 Ω turns 20 mA into 10 V) and scale the reading in your program.
Does it keep the time and log data?
Yes. It has a real-time clock and a microSD slot, so it can timestamp events and log data locally.