Skip to content
MPINO-8A4R-SU industrial Arduino controller — front view

MPINO Series

MPINO-8A4R-SU

MPINO-8A4R-SU Industrial Arduino Controller

I/O at a glance
8 DI / 4 Relay / 4 AI / 2 NTC / RS-485 / I²C

MPINO-8A4R-SU is an ATmega128-AU-based industrial Arduino-compatible PLC controller with 8 isolated digital inputs and 4 relay outputs. Onboard RS-485, I²C with Modbus RTU, programmable in the Arduino IDE. DIN-rail mountable for automation, testing, HMI integration and embedded control.

$75.00 In stock
Options
Analog input range A0
Analog input range A1
Analog input range A2
Analog input range A3
TOP CASE
Add-on products
Add related items you may need (optional)
MP Download Cable — product photo 1
MP Download Cable
MP Download Cable (USB-TTL converter built in)
$12.00
Super capacitor DDL 5.5V 1F — a radial supercapacitor with two leads, for the +5V terminal
Super Capacitor DDL 5.5V 1F
Super Capacitor DDL 5.5V 1F (power-fail retention)
$5.00
Total$75.00

Shipping

International shipping (EMS · DHL · UPS) — calculated at checkout by destination & weight

Dispatch

Ships the next business day (regardless of order time)

Large orders may take 1 extra day to dispatch

Returns & Exchange

Cancel before dispatch · request a return/exchange after delivery

Key features

/ FEATURES
  • ATmega128-AU core, programmable in the Arduino IDE and MPINO STUDIO2
  • 8 opto-isolated digital inputs (NPN/PNP, up to 40 V tolerant)
  • 4 relay outputs for AC/DC dry-contact switching
  • 4 analog inputs (0–5 V / 4–20 mA / 0–10 V ranges)
  • 2 NTC temperature inputs (−40 to +120 °C)
  • Industrial communication: RS-485, I²C · Modbus RTU
  • DIN-rail 35 mm mountable, isolated field I/O for the factory floor

Specifications

/ SPEC
MCUATmega128-AU
Power inputDC 24V only
Digital inputs8
Relay outputs4
Analog inputs4
Temperature sensor inputs2
High-speed pulse inputs4
High-speed pulse outputs6
RS-4851ch
I²C1ch
Modbus RTUYes
LS CnetYes
Mitsubishi MCYes
Arduino IDE compatibleYes

Software

Arduino IDE / MPINO Studio 2

Editing an MPINO sketch in the Arduino IDE, with the serial monitor showing the board runningMPINO Studio 2 with the explorer, the code editor and the ladder diagram side by side in one window

Arduino IDE compatible

Works with the Arduino toolchain you already use

MPINO STUDIO2 included

Arduino code and ladder logic in one tool

Arduino + ladder logic

Build control logic faster with familiar ladder rungs

Setting up the toolchain

Installing the ARDUINO SDK adds this product's board definition to the Arduino IDE and makes the functions that earn their keep in industrial work available as built-in commands. There is no library to add — the Arduino IDE offers them with autocompletion as you type.

Built-in commands the SDK unlocks

  • PLC timers · callback timersIton · Itof · Itpl · Itmr · ItimerSet
  • CountersIctu · Ictd · Ictud · IgetCount
  • Scaling · PID controlIscale · Iscalef · IpidSet · IpidRun
  • First-in and last-in buffersFIFO · FILO
  • Input debounce · edge detectionIbounce · IdigitalRead · Iup · Idown · Ialt
  • Debug · watchdogdebug · debugln · WDT_ENABLE · WDT
  • Modbus RTU · LS Cnet · Mitsubishi MCImodbusRTU · ICnet · IMcProtocol
  • Analog input · 4–20 mA correctionanalogRead2 · IanalogRead · IanalogFilter · ntcRead
  • PWM · pulse · high-speed counterPWM · FDPWM · NPWM · TCNTSETUP · TCNTOUT

Using the Arduino IDE requires the ARDUINO SDK (the ILOGICS board package) to be installed. MPINO STUDIO2 can be used without installing it.

Download CableMP DOWNLOAD CABLE

Programming this board needs the dedicated download cable

The upload port on this board is a mini 5P USB socket, but the USB-to-serial conversion lives in the CABLE, not on the board. Plug in an off-the-shelf mini 5P USB cable and the PC never enumerates a port, so nothing uploads. The MP download cable is one we build ourselves — buy one and keep using it.

  • USB-TTL converter inside

    The conversion IC sits in the connector housing

  • Generic mini 5P cannot be used

    An ordinary cable enumerates no port and cannot upload

  • USB-A to mini 5P

    Connects the PC's USB port to the board's upload port.

  • Made by ILOGICS

    A dedicated cable for use with ILOGICS products.

What the cable is

USB-TTL converter insideUSB-TTLCable length 1 mUSB-A · PCmini 5P · board upload port

* Having the conversion IC inside the housing is what sets this apart from an ordinary cable. Board end is mini 5P, PC end is USB-A, and the cable is 1 m long.

Sold separately — order it with the board under Add-on products.

Cable specification

ItemDetail
PC endUSB-A plug
ConversionUSB-TTL converter inside the cable
Board endUSB mini 5P plug
Length1 m
DriverFTDI

Installing the driver

  1. Connect the MP download cable between the PC's USB port and the board's upload port.
  2. Open Device Manager and check whether USB Serial Port (COMx) appears under Ports (COM & LPT).
  3. If it does not appear, install the FTDI driver from the resources section and reconnect the cable.
  4. In your development tool, select the same COM number Device Manager shows, then upload.

Digital input

8 isolated digital input channels

Eight digital input channels read external switches and sensors reliably, straight from the terminal block.

  • D0–D7 inputs

    Eight digital input points in total

  • COM0 / COM1 commons

    Two independent input groups

  • Optocoupler isolation

    Control circuit protected from field noise

  • NPN / PNP sensors

    Works with either sensor wiring convention

Input channel layout

D0D1D2D3+COM0D0~D3 / COM04P · 1COMD4D5D6D7+COM1D4~D7 / COM14P · 1COM

* Example wiring for external switches or sensors (NPN/PNP shared)

Optocoupler isolation

DxCOMx

The digital inputs use a bidirectional optocoupler stage (anti-parallel LEDs), so either NPN or PNP signals are read reliably, with all 8 channels referenced to COM0 / COM1.

Example sketch — reading an input
void setup() {
  pinMode(LED_BUILTIN, OUTPUT);  // D20
}
void loop() {
  digitalWrite(LED_BUILTIN, digitalRead(0) == 1 ? HIGH : LOW);
}

Relay output

4 relay output channels (1a1c)

4 relay output channels control external loads running on AC or DC, reliably.

  • D32–D35 outputs

    4 relay contact output points

  • 4 × 1a1c relays

    Each output is an independent relay contact

  • 1 output per COM

    Each output has its own COM terminal

  • Electrical isolation

    Control and output sides separated by the relay

Output channel layout

D32+COM2D33+COM3D34ACCOM4D35ACCOM5D32~D354P · 1P/1COM

* Example wiring for external loads (relay contact output)

Relay output structure

Control (MCU)Output

Each relay output is a 1a1c relay that mechanically separates the control side from the output side, and each output has its own dedicated COM terminal. Being a volt-free contact, it switches both AC and DC loads.

Example sketch — driving a relay output
void setup() {
  pinMode(32, OUTPUT);  // R(32) as an output
}
void loop() {
  if (digitalRead(0) == 1) { digitalWrite(32, HIGH); }  // I(0) ON -> relay ON
  else { digitalWrite(32, LOW); }
}

Analog inputAnalog Input

4 analog input channels, current or voltage selected per channel by jumper

A0–A3 come out on a 5-pole screw terminal block on the board's left edge, reading GND, A(3), A(2), A(1), A(0) from the top. Every channel ships as a 0–20 mA current input; pull that channel's jumper on the SELECT header and it becomes a DC 0–5 V voltage input. DC 0–10 V can be selected as an option when ordering.

  • A0–A3 · 4 channels

    Four 10-bit (0–1023) analog input points

  • 020 mA by default

    Jumper fitted at the factory · 250 Ω input

  • Jumper off → DC 05 V

    Selected independently per channel · 100 MΩ

  • External reference

    The 5 V on the VREF pin is the reference

Analog input terminals

A0–A3 / GND4CH · 10BITBoard interiorGNDA(3)A(2)A(1)A(0)Input circuit → ADCSELECT 0~20mAA0250ΩA1250ΩA2250ΩA3250ΩJumper fitted = 250 Ω shunt
Analog input A0–A3SELECT range jumperGND (shared)

* A 5-pole screw terminal block on the board's left edge, in the order GND · A(3) · A(2) · A(1) · A(0) from the TOP — note that GND is the topmost terminal and A(0) the lowest. One GND is shared by all four channels. The range is set on the SELECT header at board centre, one jumper per channel, all four fitted as shipped.

Input range options

Input rangeHow it is setInput resistance
0–20 mA / 4–20 mAJumper fitted (factory default)250 Ω ±1%
DC 0–5 VJumper removed100 MΩ
DC 0–10 VOption at order time200 kΩ

All four channels are 10-bit (0–1023); a 4–20 mA input reads 0–818. The reference is the 5 V on the VREF pin. On USB power alone the reference becomes the USB 5 V and readings wander — use the DC 24 V supply for accurate measurement.

Example sketch — reading an analog input
unsigned int ADC0;
void setup() {
}
void loop() {
  ADC0 = analogRead(A0);  // 0~1023 (4~20mA spans 0~818)
}

Temperature inputNTC Temperature

2 NTC temperature channels on their own connectors

A(4) and A(5) each take an NTC 3950 10 kΩ thermistor and read −40 to 120 °C in 0.1 °C steps. They sit on two separate connectors at the board's upper right, apart from the analog input terminals, and have no polarity — the two leads are interchangeable.

  • A(4) · A(5)

    Two temperature channels on A4 (D49) / A5 (D50)

  • NTC 3950 10

    10 kΩ at 25 °C, B constant 3950 K

  • 40 to 120 °C

    0.1 °C resolution (over 0–40 °C)

  • Own 2-pin connectors

    Separate from the analog terminals · no polarity

NTC temperature connectors

NTC 3950 10kΩA(4)A4 (D49)NTC 3950 10kΩA(5)A5 (D50)

* Two 2-pin connectors at the board's upper right, silkscreened A(4) and A(5) under a shared NTC-TEMP legend — 2 pins per channel. The NTC input has no polarity, so the two leads are interchangeable.

Temperature sensor specs

SensorNTC 3950 K · 10 kΩ at 25 °C
ChannelsA(4) = A4 (D49) · A(5) = A5 (D50)
Measuring range−40 to 120 °C
Resolution0.1 °C (over 0–40 °C)
Connector2-pin × 2, at the board's upper right · no polarity
ReadingntcRead() returns tenths of a degree (251 → 25.1 °C)

A4 / A5 share the ADC — and therefore the same reference — with the analog inputs. ntcRead() returns INT16_MIN when the sensor reads faulty — treat that value as an error rather than a temperature.

Example sketch — reading the NTC temperature
int Temp;
void setup() {
}
void loop() {
  Temp = ntcRead(A4);  // Temp = 251 -> 25.1 C
}

High-speed pulse outputPWM Output

6 PWM output points on two 4-pin headers, driven by two timers

D21, D22, D23 (Timer3) and D26, D27, D28 (Timer1) come out on two 4-pin headers — three outputs plus a GND on each. The output swings LOW DC 0 V to HIGH DC 5 V at up to 30 mA per point, and analogWrite() takes a duty of 0–255 that extends to 0–65535 once the timer registers are changed.

  • 6 PWM points

    Two 4-pin headers · three outputs + GND on each

  • Two timer groups

    D21–D23 = Timer3 · D26–D28 = Timer1

  • 8-bit → 16-bit duty

    0–255 by default, 0–65535 after the register change

  • DC 5 V · 30 mA

    LOW 0 V / HIGH 5 V · up to 30 mA per point

Timer assignment per pin

PinTimer channelNote
D21Timer3 A
D22Timer3 BShares its pin with INT4
D23Timer3 CShares its pin with INT5
D26Timer1 ASame physical pin as D13
D27Timer1 BSame physical pin as D14
D28Timer1 CSame physical pin as D15

The output is LOW DC 0 V / HIGH DC 5 V at up to 30 mA. Duty is set with analogWrite(pin, value) over 0–255; for 16-bit duty, set TCCR3A=0xAA; TCCR3B=0x1A; ICR3=65535; in setup() for D21–D23, or TCCR1A=0xAA; TCCR1B=0x1A; ICR1=65535; for D26–D28.

Pulse output headers and duty

Timer1262728GNDTimer3212223GNDOutput waveform by duty value (analogWrite)25%50%75%5V0V
Timer1 · D26–D28Timer3 · D21–D23GND

* Two 4-pin headers on the board's right edge. The upper one is silkscreened PWM over 26 · 27 · 28 · GND, the lower one 21 · 22 · 23 · GND, and each header carries its own GND pin. The two headers are driven by different timers, so the timer a pin belongs to decides which pins can change together.

Before you wire it

  • D26, D27 and D28 are the same physical pins as D13, D14 and D15 (PB5–PB7). Use the D26–D28 numbers for PWM and the D13–D15 numbers for plain GPIO, and never drive one pin under both numbers at once.
  • D12 is not a PWM pin — Timer0 owns it for millis() and delay().
  • D22 and D23 are also external interrupts INT4 and INT5. Each of those pins does one job or the other, not both.
  • Writing Timer1 or Timer3 registers directly affects every PWM pin that timer drives, not just the one you are changing.
Example sketch — PWM output
void setup(void) {}
void loop(void) {
  if (digitalRead(0) == 1) { analogWrite(21, 127); }  // Duty 50%
  else { analogWrite(21, 0); }
}

External interruptInterrupt

Count high-speed pulses and read a rotary encoder from the interrupt inputs

CLK (D24), DIO (D25), SCL (D18) and SDA (D19) are the four interrupt inputs, and each of them carries a built-in 10 kΩ pull-up. attachInterrupt() catches the edge, so the same inputs count high-speed pulses or read a rotary encoder's rotation and direction, at 50 kHz and above. Two pins on the pulse output header, D22 and D23, can serve as interrupts as well.

  • 4 interrupt inputs

    CLK (D24) · DIO (D25) · SCL (D18) · SDA (D19)

  • High-speed pulse counting

    Counted in the ISR · inputs at 50 kHz and above

  • Rotary encoder input

    A CLK edge samples DIO to get the direction

  • 10 kΩ pull-ups built in

    On all four inputs · DC 0–5 V · HIGH recognised from 3 V

  • Two more: D22 and D23

    These two are pins on the pulse output header (21 · 22 · 23 · GND) and can be used as interrupts as well. They have no pull-up or pull-down of their own, so add an external one if the signal needs it — and if a pin is used as an interrupt it cannot output PWM.

Interrupt pin mapping

PinINTShared with
D18INT0I²C SCL
D19INT1I²C SDA
D24INT6CLK · FND / encoder
D25INT7DIO · FND / encoder

Input is DC 0–5 V, with HIGH recognised from 3 V, and at least 50 kHz. All four inputs above carry built-in 10 kΩ pull-ups, and if one is used as an interrupt the function sharing that pin (I²C, FND) cannot be used. INT2 and INT3 are taken by RS-485 (Serial1) and are not brought out. The frequency actually handled depends on the length of the ISR and the load of the whole program, so it is not guaranteed as a fixed figure.

What the interrupts are for

High-speed pulse counting+5VGNDCLKGND10kΩ → VCCRising edge → count++ in the ISRRotary encoderCLKDIOCLK edge samples DIO → direction

* On the left the pulse source's output goes to the CLK terminal and its ground to GND, and every rising edge adds one in the interrupt service routine. On the right the encoder's two phases sit 90° apart, so the level of DIO at a rising CLK edge is the direction of rotation.

Interrupt connectors

FND/ENCO/INT+5VGNDDIOD25CLKD24I2C/ENCO/INTGND+5VSDAD19SCLD18

* Two 4-pin connectors on the board's right edge, drawn in the order the pins are silkscreened. CLK is D24 (INT6), DIO is D25 (INT7), SCL is D18 (INT0) and SDA is D19 (INT1), and all four carry the built-in 10 kΩ pull-ups. The FND (7-segment) accessory and I²C use the same pins, so they cannot be used if those pins serve as interrupts.

Before you wire it

  • The interrupt inputs accept DC 0–5 V only. Connecting a 24 V signal directly will destroy the MCU.
  • Using D24 and D25 as interrupts means the FND (7-segment) accessory on the same connector cannot be used at the same time.
  • Using D18 and D19 as interrupts means I²C cannot be used at the same time.
  • D22 and D23 have no built-in pull-up or pull-down. Add an external pull-up where the signal needs one, and remember that a pin used as an interrupt cannot output PWM at the same time.
  • Inside the ISR, only increment the count — do not call Serial, delay() or floating-point maths.
  • On this board the high-speed counter is the attachInterrupt() ISR method, not a timer external-clock counter.
Example sketch — pulse counting
volatile unsigned int count = 0;

void setup() {
  Serial.begin(9600);
  attachInterrupt(digitalPinToInterrupt(CLK), countFunc, RISING);
}

void loop() {
  noInterrupts();
  unsigned int snapshot = count;
  interrupts();
  Serial.println(snapshot);
}

void countFunc() { count++; }
Example sketch — rotary encoder
volatile long encoderValue = 0;

void setup() {
  Serial.begin(115200);
  attachInterrupt(digitalPinToInterrupt(CLK), updateEncoder, RISING);
}

void loop() {
  Serial.print("Encoder Value: ");
  Serial.println(encoderValue);
  delay(500);
}

void updateEncoder() {
  if (digitalRead(DIO)) { encoderValue++; }
  else { encoderValue--; }
}

CommunicationRS-485 · I²C

RS-485, I²C and a USB serial port

RS-485 runs on a MAX13487EESA+ AutoDirection transceiver, so there is no direction-control pin to handle in code — call Serial1.begin() and transmit. Modbus RTU works as either master or slave. I²C brings its own 10 kΩ pull-ups for a DS3231 RTC or a character LCD, and the USB port handles upload and debugging.

  • RS-485 · 1 channel

    MAX13487 AutoDirection · no direction pin in code

  • Modbus RTU

    Works as master or slave

  • I²C · 1 channel

    10 kΩ pull-ups built in · RTC, character LCD

  • USB serial

    Upload and debug over the USB port

I²C · USB connectors

I²CGND+5VSDASCLUSBUPLOAD

* The I²C connector is silkscreened I2C/ENCO/INT — it doubles as an interrupt and encoder input — and reads GND · +5V · SDA · SCL. The upload port is the mini USB-B connector silkscreened UPLOAD at the board's upper left.

RS-485 link

MAX13487 AutoDirection485+485-+5VGNDRS-485 linkNode 1Node 2Node 3

* The 4-pole screw block at the board's top edge, right of the digital input terminals, in the order 485+ · 485− · +5V · GND from the left. The schematic ties 485+ to the transceiver's A and 485− to its B. To reach RS-232 or UART instead, use the M-CONV converter (sold separately).

Communication ports

PortPinsUse
SerialD16 · D17USB upload and debug (9600 bps in the examples)
Serial1PD2 · PD3 (not brought out)RS-485 on the 485+ / 485− terminals
Wire (I²C)SCL = D18 · SDA = D194-pin connector · 10 kΩ pull-ups built in

The RS-485 driver is a MAX13487EESA+ with automatic direction control, so you transmit straight after Serial1.begin() with no direction handling. Modbus RTU works as either master or slave. I²C supports 1:N connections and takes accessories such as the DS3231 RTC and 1602 / 2004 character LCDs.

Before you wire it

  • No 120 Ω RS-485 termination resistor is fitted on the board.
  • The +5V pole of the RS-485 block is a supply OUTPUT rated 0.5 A or less; a supercapacitor connected there holds the internal 5 V up through a power cut — see Power · Data retention below.
  • Using D18 and D19 as external interrupts means I²C cannot be used at the same time.
  • Uploading requires the MP download cable, which has the USB-TTL converter built in. An off-the-shelf mini 5P cable cannot upload.
  • Serial1 (PD2 · PD3) is reserved for RS-485 and is not brought out to any connector.

Display connectionLCD · FND

Show status on a character LCD or a 7-segment display — four wires either way

A character LCD goes on the I²C 4-pin connector and a 7-segment (FND) display on the ENC/FND 4-pin connector. Both connectors bring out +5V and GND beside the two signal lines, so the whole run is four wires, and the I²C pull-ups are already on the board.

  • Character LCD 1602 · 2004

    16 × 2 or 20 × 4 characters over I²C

  • 7-segment (FND)

    CLK and DIO on the ENC/FND connector · up to 4

  • 10 kΩ pull-ups built in

    No external resistors to add for I²C

  • 1:N on I²C

    Shares the bus with accessories such as the DS3231 RTC

Character LCD on I²C

ILOGICSMPINO-8A4R-SU1602 character LCD (16 × 2)GND+5VSDASCLI2C/ENCO/INT

* The I²C connector is silkscreened I2C/ENCO/INT and reads GND · +5V · SDA · SCL. SDA is D19 and SCL is D18, both with a 10 kΩ pull-up on the board. The 1602 shows 16 characters over 2 lines and the 2004 shows 20 over 4.

7-segment (FND) on ENC/FND

7-segment (FND) display+5VGNDDIOCLKFND/ENCO/INT

* The connector is silkscreened FND/ENCO/INT and reads +5V · GND · DIO · CLK. CLK is D24 and DIO is D25, and both carry a built-in 10 kΩ pull-up. One display goes on this connector, and using the PWM headers as well takes the total to 4. The display comes in a decimal-point form and a time-displaying form.

Before you wire it

  • Using D18 and D19 as external interrupts means I²C — and with it the character LCD — cannot be used at the same time.
  • Using D24 and D25 as external interrupts or as an encoder input means the 7-segment (FND) display cannot be used at the same time.
  • The signal pins on both connectors are DC 0–5 V inputs. Applying more than 5 V destroys the MCU.
  • The character LCD and the 7-segment display are accessories sold separately — neither is included with the board.

Displays and their connectors

DisplayConnectorSignals
Character LCD 1602I²C 4-pin16 characters × 2 lines · SDA = D19 · SCL = D18
Character LCD 2004I²C 4-pin20 characters × 4 lines · SDA = D19 · SCL = D18
7-segment (FND)ENC/FND 4-pinCLK = D24 · DIO = D25
I²C pull-upsOn the board10 kΩ · 1:N connection supported

Both connectors carry +5V and GND alongside the two signal lines, so a display needs no supply of its own. I²C has its 10 kΩ pull-ups fitted on the board and supports 1:N, so a character LCD can share the bus with another I²C accessory such as the DS3231 RTC. Character LCDs and 7-segment displays are sold separately.

Power · Data retentionPower · Backup

DC 24V in, 5 V out — and your data survives the blackout

The controller takes DC 24V and converts it to 5 V internally with a TPS5430 regulator. Size the supply for at least 24V 0.5A.

  • DC 24V

    Size the supply for 24V 0.5A or more

  • 5 V internal

    TPS5430 DC-DC conversion

  • +5 V out 0.5A

    From the +5 V pole of the RS-485 terminal block

  • Supercapacitor hold-up

    About ten seconds on the +5 V pole

Before wiring the supply

  • EEPROM cells last about 100,000 writes. Keep fast-changing values in RAM and write them only when the mains drops — see the two methods below — not every loop.
  • On USB power the MCU runs but the relays do not: this board's relay coils are 24 V DC only.
  • This board takes 24 V DC only — 12 V will not drive the relay coils.

Where the power goes

DC 24V24V 0.5A min.TPS5430DC-DC to 5V5V internalFeeds the control circuit+5V terminalout 0.5A maxUSB 5VDownload portSupercapacitorAbout 10 s hold-up
Supply input5 V railData retention

* Either source runs the board: the external supply through the regulator, or the download port's 5 V directly. The supercapacitor sits on the same 5 V node and keeps it alive when both go away.

Power and data retention

Input voltageDC 24V
Recommended supply24V 0.5A or more
Internal conversionTPS5430 DC-DC to 5 V
+5 V output0.5A max, from the +5 V pole of the RS-485 terminal block
USB-powered operationRuns on the PC's 5 V through the download port
Non-volatile memoryEEPROM 4 KB, about 100,000 writes
Hold-up on a power cutSupercapacitor on the +5 V pole, about ten seconds
Blackouts retainedMore than 100,000, writing only when the mains drops

Size the supply for 24V 0.5A or more, plus whatever the +5 V pole is feeding (up to 0.5A).

Two ways to keep data through a blackout

Which one you want depends on how often the value changes. They are meant to be combined.

EEPROM — values that change occasionally

The on-board EEPROM holds 4 KB with no power at all and is written a byte at a time, but the same cell survives only about 100,000 writes. That makes it right for setpoints, calibration data and machine configuration — and wrong for anything the loop updates.

Supercapacitor — values that change constantly

Fit a supercapacitor to the +5 V pole and the internal 5 V stays up for about ten seconds after the main supply is cut. Wire the main supply into a digital input, and the moment digitalRead() sees that input go off, write the value to EEPROM; when power comes back, setup() reads the stored value out of EEPROM and puts it into memory. Because the EEPROM is written only at the instant of a blackout, it survives more than 100,000 of them.

MPINO STUDIO2 — done for you

MPINO STUDIO2 offers supercapacitor-based retention as an option, so the sequence above can be set up in the tool instead of being coded by hand.

Mounting · DIN railDIN Rail

Clips onto a 35 mm DIN rail, or screws down through the PCB's own holes

Inside a control panel the board clips onto a 35 mm DIN rail; built into a machine it screws down through the Φ3 mounting holes in the PCB. The board measures 100 × 107 mm without the rail clip, and 114.16 mm high once the clip is closed on the rail.

  • 35 mm DIN rail

    Clips onto the rail in a control panel

  • Direct PCB mounting

    Screws through the Φ3 mounting holes

  • 100 × 107 mm

    PCB outline with no rail clip fitted

  • 114.16 mm engaged

    119.42 mm with the clip open, 114.16 mm closed

Mounting and dimensions

MountingDirect to PCB (Φ3 holes) / 35 mm DIN rail clip
DIN rail35 mm
PCB outline (no DIN rail)100 × 107 mm
Mounting holesΦ3 · 83.2 × 90(100) mm apart
Clip open (before engaging)119.42 mm high
Clip closed (engaged)114.16 mm high

Where no DIN rail is used, the board screws down through the Φ3 mounting holes in the PCB; on a rail, the clip closes over a 35 mm profile and the assembly stands 114.16 mm high.

Mounting on a 35 mm DIN rail

35 mm
DIN rail clip35 mm DIN railBoard

* The clip hooks over a 35 mm DIN rail. Overall height is 119.42 mm with the clip open and 114.16 mm once it is closed and engaged. The drawing shows the mounting method rather than the clip's own shape.

Outline and mounting holes

10083.2107Mounting hole Φ3

* The outline and mounting holes with no rail clip fitted. All dimensions in millimetres.

Installation notes

  • Indoor use only. Do not install where there is rain, dust, frost, direct sunlight or condensation.
  • Do not install in an atmosphere containing flammable or explosive gas.
  • Where the equipment affects life or property (nuclear, medical, marine, vehicle, aviation and the like), a secondary safety device must be fitted.

Downloads

/ FILES

FAQ

How many I/O points does the MPINO-8A4R-SU have?

The MPINO-8A4R-SU provides 8 isolated digital inputs and 4 relay outputs, with onboard RS-485, I²C communication. See the specification table for the full breakdown.

Does the MPINO-8A4R-SU support Modbus RTU?

Yes. The MPINO-8A4R-SU supports Modbus RTU — master and slave alike — over its serial interface.

Related controllers

/ RELATED