M-DUINO 38AR I/OS PLC has different types of Inputs and Outputs.
It has 19 input/output signals:
- 19 Inputs, of which:
- 10 can be used as Analog Input 0-10Vdc, 10bits,(using Pins A0, A1, A2, A3, A4, A5, A6, A7, A8, A9). All of them can also be used as Digital Inputs.
- 4 are Digital Input which can work as a Interrupt Input also. (using Pins 2, 3, 18, 19).
- 5 are Digital Input (using Pins 22, 23, 24, 25, 26).
- 19 Outputs, of which:
- 5 are Digital Output (Using Pins 36, 37, 38, 39, 40).
- 6 are Analog Output 0-10Vdc (Using Pins 4, 5, 6, 8, 10, 11), 8bits. All of them can also work as Digital Output and PWM output.
- 8 are Relay Output 220Vac – 5A, (using Pins 27, 28, 29, 30, 42, 43, 44, 45).
IMPORTANT: To enable communication connections the switches must be set to “OFF”. Set to “ON” position to enable I/Os terminals. Communications and I/Os terminals on the chart can not work simultaneously. For example if Pin 3 is enabled (OFF), I0.6 will not be disabled. See more on Switch Configuration.
M-Duino PLUS 38AR Comunication Area:
A Zone:
Base (common unit) |
A Zone |
M-DUINO Connector |
Arduino Pin |
Function |
SCL |
21 |
I2C/SS |
SDA |
20 |
I2C/SS |
RX0 |
1 |
RX0/SS |
TX0 |
0 |
TX0/SS |
RX1 |
19 |
RX1/SS |
TX1 |
18 |
TX1/SS |
RX |
17 |
RX2(serial 2) |
TX |
16 |
TX2(serial 2) |
Z- |
– |
RS485 |
Y+ |
– |
RS485 |
B- |
– |
RS485 |
A+ |
– |
RS485 |
PIN3 |
3 |
Arduino Pin/ Select SPI |
50 SO |
50 |
SPI |
51 SI |
51 |
SPI |
52 SCK |
52 |
SPI |
RESET |
RESET |
SPI |
Vin 5 |
Vin 5 |
SPI |
PIN2 |
2 |
Arduino Pin / Select SPI |
GND |
– |
GND |
GND |
– |
GND |
24 Vdc |
|
|
|
Base (common unit) |
A Zone |
M-DUINO Connection |
Arduino Pin |
Function |
AREF |
AREF |
Arduino PIN |
IOREF2 |
IOREF2 |
Arduino PIN |
IOREF1 |
IOREF1 |
Arduino PIN |
7 Vdc |
7 Vdc |
– |
GND |
GND |
GND |
3.3 Vdc |
3.3 Vdc |
Arduino PIN |
GND |
GND |
GND |
5 Vdc |
5 Vdc |
– |
GND |
GND |
GND |
|

Base (common unit) |
M-DUINO Connection |
Arduino Pin |
Function |
GND |
GND |
GND |
A.0.7* |
6 |
Analog OUT |
A.0.6* |
5 |
Analog OUT |
A.0.5* |
4 |
Analog OUT |
Q/Vdc |
– |
External Isolated Out Vdc |
24 Vdc |
– |
External Isolated Out GND |
Q.0.7 |
6 |
Digital Out/PWM Out |
Q.0.6 |
5 |
Digital Out/PWM Out |
Q.0.5 |
4 |
Digital Out/PWM Out |
Q.0.4 |
40 |
Digital Out |
Q.0.3 |
39 |
Digital Out |
Q.0.2 |
38 |
Digital Out |
Q.0.1 |
37 |
Digital Out |
Q.0.0 |
36 |
Digital Out |
|

Base (common unit) |
M-DUINO Connection |
Arduino Pin |
Function 2 |
I 0.12 |
A5 |
Analog/Digital In |
I 0.11 |
A4 |
Analog/Digital In |
I 0.10 |
A3 |
Analog/Digital In |
I 0.9 |
A2 |
Analog/Digital In |
I 0.8 |
A1 |
Analog/Digital In |
I 0.7 |
A0 |
Analog/Digital In |
(-) I0.6/INT1 |
NC |
GND I0.6 |
I0.6/INT1 |
3 |
Interrupt 1 In |
(-) I0.5/INT0 |
NC |
GND I0.5 |
I0.5/INT0 |
2 |
Interrupt 0 In |
(-) I0.4 |
NC |
GND I0.4 |
I0.4 |
26 |
Digital Input |
(-) I0.3 |
NC |
GND I0.3 |
I0.3 |
25 |
Digital Input |
(-) I0.2 |
NC |
GND I0.2 |
I0.2 |
24 |
Digital Input |
(-) I0.1 |
NC |
GND I0.1 |
I0.1 |
23 |
Digital Input |
(-) I0.0 |
NC |
GND I0.0 |
I0.0 |
22 |
Digital Input |
|

A Zone Top:

C Zone:
C Zone |
M-DUINO Connection |
Arduino Pin |
Function * |
R1.8 |
42 |
Relay Out |
R1.7 |
43 |
Relay Out |
R1.6 |
44 |
Relay Out |
R1.5 |
45 |
Relay Out |
R1.4 |
29 |
Relay Out |
A1.2* |
11 |
Analog Out |
A1.1* |
10 |
Analog Out |
A1.0* |
8 |
Analog Out |
GND |
GND |
GND |
Q1.2* |
11 |
Digital/PWM Out |
Q1.1* |
10 |
Digital/PWM Out |
Q1.0* |
8 |
Digital/PWM Out |
GNDCOM |
– |
External Isolated Out Gnd |
24VCOM |
– |
External Isolated Out Vdc |
|
* See Switch Configuration to select suitable switch configuration for (10-24Vdc/An-Dig) configurable I/Os.

C Zone |
M-DUINO Connection |
Arduino Pin |
Function * |
R1.3 |
30 |
Relay Out |
R1.2 |
27 |
Relay Out |
R1.1 |
28 |
Relay Out |
GND |
GND |
GND |
I1.5 |
A9 |
Analog/Digital Input |
I1.4 |
A8 |
Analog/Digital Input |
I1.3 |
A7 |
Analog/Digital Input |
I1.2 |
A6 |
Analog/Digital Input |
I1.1 |
19 |
Interrupt 4 In |
(-)I1.1 |
– |
GND I1.1 |
I1.0 |
18 |
Interrupt 5 In |
(-)I1.0 |
– |
GND I1.0 |
|
* See Switch Configuration to select suitable switch configuration for (10-24Vdc/An-Dig) configurable I/Os.

C Zone top:
See also:
M-DUINO 57R I/OS PINOUT, M-DUINO 19R I/O PINOUT, M-DUINO RELAY, M-DUINO RELAY SWITCH CONFIGURATION