M-Duino Relay switch configuration

M-Duino Relay switch configuration

Communications / Interrupt Switch

M-DUINO Relay can be configurated with multiple communication ports. 

Arduino Pin Switch mode OFF Switch mode ON M-Duino IOs model
21 SCL Interrupt 2 58 IOs
20 SDA Interrupt 3 58 IOs
19 Rx1 Interrupt 4 42/58 IOs
18 Tx1 Interrupt 5 42/58 IOs
3 Pin 3 Interrupt 1 21/42/58 IOs
2 Pin 2 Interrupt 0  21/42/58 IOs

*NOTE: Digital Inputs I0.5, I0.6, I1.5, I1.6, I2.5, I2.6 can be configured on Arduino IDE to be Interrupts.

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.

Direct connection to Arduino 5V pins:

OFF position provides direct connection to Arduino Pin (so they can be programmed according to Arduino pin features either for communication or as I/Os working at 5V)

Analog / Digital Configuration Switch

Input ON OFF

NC

Q0.2 Q0.1 Q0.0

Q0.2 Q0.1 Q0.0

A0.7 A0.6 A0.5

NC

Q1.2 Q1.1 Q1.0

Q1.2 Q1.1 Q1.0

A1.2 A1.1 A1.0

NC

Q2.2

Q2.1 Q2.0

Q2.1 Q2.0

A2.1 A2.0

Some Outputs can be configured as Analog/Digital and 10Vdc/24Vdc, the chart above summarizes the positions for each type of configurable Output. If you want a Digital/PWM Out, connect your wire in the “Q” output and put the switch in the “ON” position. If you want a Analog (0-10v) Out, wire in the “A” output and put the switch in the “OFF” position. Is possible that the analog outputs A0.0 , A0.1 , A0.2 , A1.0 , A1.1 , A1.2 and A2.0 and A2.1 can give signal when the switch is ” ON ” , is preferable to place it in ” OFF ” position for a pure 0-10V output.

See also:

How to connect a SD card to a PLC, How to connect the Ethernet port using W5100 libraryM-DUINO RELAY

Comments are closed.