Ref. IS.MDUINO.58+
Rev. 0: 30-08-2019
36
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.
I2C (SCL, SDA pins) must be enabled in order to
communicate with the RTC. See section 11 I2C to
enable it.
Using the boards of Industrial Shields, there is a library that simplifies the RTC implementation
called 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
-
Switch
ON
OFF
SCL/I2.6
I2.6
SCL
SDA/I2.5
I2.5
SDA
LEFT ZONE
Switch
ON
OFF
uSD
D53(SD)
Q2.0
D53(SD)
Summary of Contents for M-DUINO PLC ARDUINO ETHERNET 58
Page 2: ...Ref IS MDUINO 58 Rev 0 30 08 2019 1...
Page 3: ...Ref IS MDUINO 58 Rev 0 30 08 2019 2 Ethernet PLC MDuino 58 PLUS User Guide Revised August 2019...
Page 43: ...Ref IS MDUINO 58 Rev 0 30 08 2019 42 Typical Connections 13...
Page 44: ...Ref IS MDUINO 58 Rev 0 30 08 2019 43...
Page 45: ...Ref IS MDUINO 58 Rev 0 30 08 2019 44...
Page 46: ...Ref IS MDUINO 58 Rev 0 30 08 2019 45...