18 ARDUINO-TO-RS485 COMMUNICATION

In the previous chapter, you used the RS232 bus to create long, reliable wired data connections between Arduino microcontrollers and other devices. This chapter introduces the RS485 bus, which you can use for even longer wired connections.

The RS485 data bus is used for a wide range of devices, from device controllers for heating, ventilation, and air conditioning (HVAC) systems to remote-sensor communications and security system networks. It requires a twin-core shielded wire. Depending on the data speed, your cable length can extend more than 800 meters, and you can connect up to 256 devices on a single ...

Get Arduino for Arduinians now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.