Data Sheet
Ref. IS.MDUINO.XXX
10.2 RS-485
For RS485 communication protocol the defined Arduino Mega pins are showed in the chart
below.
Function
Arduino Pin
DI
14
RO
15
RE
11
DE
46
For the RS-485 communication protocol there is only one switch that affects in this
communication. The RS-485 protocol will be always enabled, the only switch that affects is the
one called “FD rs-485 HD” (See Section 9). This switch makes the choosing between RS-485
Half Duplex or RS-485 Full Duplex (RS-422).
Using the boards of Industrial Shields, there is a library that simplifies the RS-485
implementation.
10.3 I2C
I2C communication DOES NOT REQUIRE a pull-up resistor. The pull-up resistor is already
implemented in the PCB.
I2C communication is configured by switches, so the switches must be configured in order to
enable the I2C communication.
To enable I2C the switches SCL/I2.6(I2.1) & SDA/I2.5(I2.0) must be set to OFF mode. In this
mode the inputs are totally disabled and the I2C is now enabled.
Industrial Shields does not provide any library to implement the I2C as it can be used the
standard library of Arduino called Wire.
Switch
Analog Shield
Relay Shield
ON
OFF
ON
OFF
D ZONE
SCL/I2.6
I2.6
SCL
I2.1
SCL
SDA/I2.5
I2.5
SDA
I2.0
SDA