Rs485 hardware serial collision detection library
-
I came across this library that claims collision detection and multiple masters for rs485. It uses hardware serial, which seems to be less favorable among people using rs485 and mysensors.
It seems unlikely I am the first to find this so I'm wondering if anyone tried integrating this with mysensors? Was it rejected? Or found to be too big? Or oherwise inadequate?
https://github.com/MichaelJonker/HardwareSerialRS485/wiki/software-capabilities
-
@wallyllama
If you closely read some threads about RS485 on this forum, you find, that some people use hardware serial
with current RS485 library too. Problem is, that collision detection implemented by read-verified-write, i.e. all data written is checked on the fly, will never 100% work on "real" RS485 bus. RS485 transmitters are not constructed for this.
-
@kimot thanks for the response. I did see some use hardware serial, it is what i am using also. Your point about "real world" is really what I curious about.
-
I guess can bus could be a more standard solution for more robust communication
Suggested Topics
-
Arduino Celebrates 10 years (Malmö/Sweden)
Announcements • 29 Mar 2014, 17:08 • hek 29 Mar 2014, 17:08 -
PJON and Minicore not working
Development • 21 days ago • Trand 21 days ago -
Counting Incoming and Outgoing Messages from a Gateway
Development • 10 Dec 2024, 21:57 • Trand 14 Dec 2024, 20:23 -
Sending offset to node
Development • 31 Jan 2025, 00:59 • bsl88k 4 Feb 2025, 12:14 -
MQTT-Help me understand about the MQTT Gateway.
Development • 2 Mar 2025, 01:44 • dpcons 12 Mar 2025, 23:39 -
Gateway without a radio
Development • 12 Jan 2025, 23:19 • OldSurferDude 14 Jan 2025, 22:07