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 communication GW - Node Problem

RS485 communication GW - Node Problem

Scheduled Pinned Locked Moved Development
4 Posts 2 Posters 1.5k 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.
  • H Offline
    H Offline
    hausinger
    wrote on last edited by
    #1

    Hello community

    I want to use Mysensors in future to use it in my new house as a wired bus system.
    So i tried it out today with a arduino nano and a arduino pro mini.
    I downloaded the newest mysensors library in the Arduino IDE and upload the RS485 GW scatch to the nano and the rs485 PIR scetch to the arduino pro mini.
    I also downloaded the MYSController App on Windows.
    Than i tried to connect the 2 Arduinos to check, if it all running fine.
    But in MYSController i can only see the GW.

    First i was trying to use the max chips for the communication, but the GW does nothing.
    So i tried to connect directly the Nano and the Pro mini, but the GW does always nothing.

    The pins i used with the max chips is 8, 9, 2 on Nano and on Pro mini.
    In direct connection i connected only 8 and 9. Both arduinos are on the same ground potentional.

    I switched on then de debug in the node, here is the serial output:
    TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
    TSM:FPAR
    TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
    TSM:FPAR
    TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
    TSM:FPAR
    TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
    !TSM:FPAR:FAIL
    !TSM:FAILURE
    TSM:PDT

    My GW Log is this:

    0;255;3;0;9;Starting gateway (RSNGA-, 2.0.0)
    0;255;3;0;9;TSM:INIT
    0;255;3;0;9;TSM:RADIO:OK
    0;255;3;0;9;TSM:GW MODE
    0;255;3;0;9;TSM:READY
    0;255;3;0;14;Gateway startup complete.
    0;255;0;0;18;2.0.0
    0;255;3;0;9;No registration required
    0;255;3;0;9;Init complete, id=0, parent=0, distance=0, registration=1
    0;255;3;0;5;1

    Hope, somebody can help me?
    Best regards

    1 Reply Last reply
    0
    • H Offline
      H Offline
      hausinger
      wrote on last edited by
      #2

      I solved the issue.
      Could be closed.

      1 Reply Last reply
      0
      • H Offline
        H Offline
        hek
        Admin
        wrote on last edited by
        #3

        What was your issue?

        H 1 Reply Last reply
        1
        • H hek

          What was your issue?

          H Offline
          H Offline
          hausinger
          wrote on last edited by
          #4

          @hek

          Sorry for my Late reply.
          I had an issue with the max485 (ground problem) and the declaration of the node id (was at the wrong position in the sketch).
          I think, it would be better, if this is also in the examples in the ms library.
          It cost me some time to find this solution for the node id. But i wasn't sure, if it was the parent or node id

          1 Reply Last reply
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          27

          Online

          12.0k

          Users

          11.2k

          Topics

          113.4k

          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