M-Duino: Arduino PLC with Ethernet for industrial automation
An original Arduino Mega inside a DIN-rail industrial controller, with Ethernet, RS-485 and up to 58 inputs and outputs. You program it with the Arduino IDE, with no licence fees.
- Up to 58 I/O: digital, analog and relay, depending on the model.
- Ethernet, RS-485 and RS-232 for Modbus TCP and Modbus RTU, plus I2C and SPI.
- Arduino IDE or PlatformIO, with the Industrial Shields boards package.
An Arduino PLC built for the cabinet
Same Arduino code and libraries, on hardware made for an electrical panel.
What the M-Duino family gives you
Control: reads sensors and drives outputs and relays with industrial I/O at 12 to 24 Vdc.
Communications: Ethernet, RS-485 and RS-232 on the same controller, for Modbus TCP, Modbus RTU and serial devices.
Open code: the Arduino IDE, the Industrial Shields libraries and your own code, with no licence fees.
- Arduino Mega insideThe same microcontroller and libraries you already know.
- EthernetModbus TCP, MQTT and a web server on the controller.
- RS-485 and RS-232Modbus RTU master or slave, and serial devices.
- I2C and SPIExtra sensors and modules on the same board.
- USB programmingUpload from the Arduino IDE, and over Ethernet in the field.
- 12 to 24 VdcIndustrial supply, DIN-rail enclosure.
M-Duino models
Models 21, 42 and 58 have digital and analog I/O. R models add relay outputs.
Digital and analog
M-Duino 21, 42 and 58
- Digital and analog inputs and outputs.
- From 21 to 58 I/O.
With relays
M-Duino 19R, 38R, 38AR and 57R
- Relay outputs for loads that need them.
- From 8 to 23 relay outputs.
Not sure which model? Compare every model by inputs, outputs and communications.
What you can build with it
Real projects with the problem, the solution and the hardware they use.
Learn and start
- Free course
Getting started with an Arduino-based PLC, step by step.
Start the course - Software by family
How each Industrial Shields family is programmed.
How to program it - Modbus RTU
Wiring and code on Arduino and ESP32 PLCs.
Modbus RTU guide - FAQ
Power supply, communications and choosing a model.
Read the FAQ
Questions about M-Duino
How is the M-Duino programmed?
With the Arduino IDE or PlatformIO and the Industrial Shields boards package, which maps the pins to the names printed on the PLC.
Does it have Ethernet?
Yes, every M-Duino has Ethernet, plus RS-485 and RS-232.
What supply voltage does it need?
12 to 24 Vdc, like every Industrial Shields PLC.
Which Arduino is inside?
An original Arduino Mega.
Talk to an engineer
Tell us what the system must do and which signals it has. An Industrial Shields engineer will answer with the right model and the next steps.




