How to interface Arduino, esp8266 or esp32 to RS-485
RS-485 work as a broadcast; when you send a message, all devices connected to the wire receive that, so peoples use It is better to implement a lot of protocol to send a message to a specified device or a broadcast address. This article uses regular communication from two devices in a very simple way.