User Guide
Ref. IS.MDuino.42+ Rev. 1: 30-08-2019
35
10.6 Ethernet
M-Duino Ethernet port controller is based on w5500 IC, which is the compatible IC compatible
with Arduino Ethernet2 Shield libraries. All Ethernet shield Arduino libraries are compatible
with the M-Duino. In the M-Duino, W5500 IC communicates to the Mega board via SPI bus (SS
Arduino Mega pin 10).
10.7 RTC
M-Duino RTC Module is based on the DS1307 Chip. This chip works with the I2C protocol
communication, so it is required to have enabled the I2C protocol.
4 switches have to be configured in order to enable the RTC features:
RTC SCL & RTC SDA must be set to ON mode to enable
the I2C wires to the RTC. If they are in OFF mode, the
Arduino won’t communicate with the RTC.
10.8 uSD
The micro SD uses the SPI communication to interact with the Arduino Mega. The SPI protocol
is always enabled, as there are no switches that configure it. However, there is a switch that
must be placed to ON mode in order to communicate with the uSD:
D53(SD): If this Switch is OFF, it enables the Chip Select of the microSD socket and disables
Q2.0. If this switch is ON, it enables the Q2.0 output. If the switch is in ON mode the microSD
can’t be used.
The uSD socket is found in the TOP part of the communication Shields, so in the frontal part of
the PLC, it is required to open the plastic found in the frontal part and the socket is located
under the supply of the Arduino.
LEFT ZONE
SWITCH
ON
OFF
NC
-
-
NC
-
-
RTC SCL
RTC
-
RTC SDA
RTC
-
LEFT ZONE
Switch
ON
OFF
uSD
D53(SD)
Q2.0
D53(SD)