MAX485 TTL to RS485 Converter Module

MAX485 UART TTL RS485 converter Module

Pin Number Pin Name Function
1 VCC Power supply input (5V)
2 GND Ground
3 DI/TX Data input (TTL level) / Transmit data (RS485 level)
4 RO/RX Data output (TTL level) / Receive data (RS485 level)
5 DE Data enable (active low)
6 RE Receiver enable (active low)
7 A RS485 differential signal A
8 B RS485 differential signal B

 

Multi-Drop Support for Multiple Devices

RS-485 serial connection allows you to connect multiple devices (up to 32) to one communication line generally referred to as ‘multi-drop’.

MAX13080E, MAX13081E, MAX13082E, MAX13083E, MAX13084E, MAX13086E, MAX13087E, MAX13088E, MAX13089E Typical Half-Duplex RS-485 Network

The devices are usually configured in a Master / Slave mode with a Master device and more than one Slave device. Because they are on the same bus, to avoid any possible conflict, generally, the Slave devices only talk when they are asked for some help from the Master such as requesting a temperature reading.

Interfacing MAX485 MODBUS Serial Communication With Arduino

MAX485 MODBUS Serial Communication With Arduino


Example code – MAX485 MODBUS Serial Communication With Arduino

Code for Transmitter

 


Code for Reciever

Control LED Using Push Button With MAX485 MODBUS Serial Communication & Arduino

MAX485 MODBUS With Arduino

Wiring between RS-485 and Arduino Nano (Master)

RS-485 Pin Arduino Nano
DI (Data In) 2
DE (Data Enable) 5V
RE (Receiver Enable) 5V
RO (Data Out) 3
VCC 5V
GND GND
A To A of Slave RS-485
B To B of Slave RS-485

Push Button to Arduino

switch Arduino Nano
Button Pin 4
Wiring between RS-485 and Arduino Nano (Slave)
RS-485 Pin Arduino Nano
DI (Data In) 2
DE (Data Enable) GND
RE (Receiver Enable) GND
RO (Data Out) 3
VCC 5V
GND GND
A To A of Slave RS-485
B To B of Slave RS-485

LED To Arduino

LED Arduino Nano
Positive Terminal 4
Negative Terminal GND

MAX485 MODBUS Serial Communication With Arduino

Source Code – MAX485 MODBUS Serial Communication With Arduino

Master RS-485 Device Software

 

 

Slave RS-485 Device Software

 

Working