Skip to content
An arduino library to synchronize serial communication over RS485 Bus
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
LICENSE
README.md
RS485Communicator.cpp
RS485Communicator.h
RS485Master.cpp
RS485Master.h
RS485Message.cpp
RS485Message.h
RS485Slave.cpp
RS485Slave.h
keywords.txt
library.json
library.properties

README.md

NOTE: repository & library under development (19-01-2019)

Code not ready for usage

RS485-communicator

RS485-comminicatoris a serial synchronization library for master to multi-slave communication designed to work on a RS485 bus. The main purposes of this library are:

  • Organize serial data transfer in order to avoid collisions when multiple devices uses the same shared medium (like a RS485 bus). This is done by a token-driven logic.
  • Message integrity in order to detect when errors occurs during transmission. This is done by crc8 checks

Wiki

More informations can be found in the wiki pages:

Wiki home

Synchronization protocol & frame structure

Classes methods

Tuning the token return timeout value

RS485 transceivers

Circuit sample & cables

Samples

See Samples folder in the source code directory for a quick review on both Master and slave implementations.

License

This library is distribuited under GPLv3. See GPLv3 disclaimer.

You can’t perform that action at this time.