Skip to main content

RS485

ESP32 Open IoT and IIoT Gateways (P01 & P02)

Link to repositories:

Connection

Connect RS485_1 port to the RS485_2 port in the loopback configuration.

image.png

Description

This example shows how to handle the RS485 communication via UART and UART-RS485 MAX481 converter. There is also a function implemented for each line termination via the 74HC595BQ shift register. After flashing both ports should send and read data from each other. 

Console output

image.png