Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Development
  3. Rs485 hardware serial collision detection library

Rs485 hardware serial collision detection library

Scheduled Pinned Locked Moved Development
4 Posts 3 Posters 2.2k Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • wallyllamaW Offline
    wallyllamaW Offline
    wallyllama
    wrote on last edited by
    #1

    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

    K 1 Reply Last reply
    1
    • wallyllamaW wallyllama

      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

      K Offline
      K Offline
      kimot
      wrote on last edited by
      #2

      @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.

      wallyllamaW 1 Reply Last reply
      0
      • K kimot

        @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.

        wallyllamaW Offline
        wallyllamaW Offline
        wallyllama
        wrote on last edited by
        #3

        @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.

        1 Reply Last reply
        0
        • gohanG Offline
          gohanG Offline
          gohan
          Mod
          wrote on last edited by
          #4

          I guess can bus could be a more standard solution for more robust communication

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          23

          Online

          11.7k

          Users

          11.2k

          Topics

          113.1k

          Posts


          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • MySensors
          • OpenHardware.io
          • Categories
          • Recent
          • Tags
          • Popular