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. Small RS485 network - questions.

Small RS485 network - questions.

Scheduled Pinned Locked Moved Development
4 Posts 3 Posters 77 Views 4 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.
  • S Offline
    S Offline
    szymo092
    wrote on last edited by
    #1

    Hi Guys, I'm really new in MySensors topics so I decided to write new post with questions.

    I want to create small network using RS485. I know that I have to prepare gateway (for me: Arduino Mega) and 3 nodes (any other Arduino). In the future I will connect gateway to the Hassio system (as the controller).

    For now I want to connect nodes with gateway to exchange informations between them. It means, for example that I want to measure something on node1 and send it to the node3. And of course I want to send data to the gateway to keep it in the controller (hassio in the future).

    Questions:

    1. Will my network work without controller (only gateway + nodes)?
    2. It is possible to send something from first node to the other one?
    3. If I connect network to the controller it will be possible to set any parameters from this controller?
    4. What can I do first?

    Thank You in advance.

    rejoe2R 1 Reply Last reply
    0
    • S szymo092

      Hi Guys, I'm really new in MySensors topics so I decided to write new post with questions.

      I want to create small network using RS485. I know that I have to prepare gateway (for me: Arduino Mega) and 3 nodes (any other Arduino). In the future I will connect gateway to the Hassio system (as the controller).

      For now I want to connect nodes with gateway to exchange informations between them. It means, for example that I want to measure something on node1 and send it to the node3. And of course I want to send data to the gateway to keep it in the controller (hassio in the future).

      Questions:

      1. Will my network work without controller (only gateway + nodes)?
      2. It is possible to send something from first node to the other one?
      3. If I connect network to the controller it will be possible to set any parameters from this controller?
      4. What can I do first?

      Thank You in advance.

      rejoe2R Offline
      rejoe2R Offline
      rejoe2
      wrote on last edited by
      #2

      @szymo092 said in Small RS485 network - questions.:

      1. Will my network work without controller (only gateway + nodes)?

      No. (As always in software: it is possible, but you'd need additional coding...) So basically: MySensors should always be connected to a controller.

      1. It is possible to send something from first node to the other one?

      Yes. You have to add destination info when sending to another node.
      (for code examples on both - not using a controller and node-to-node communication, see the two sketches in https://github.com/rejoe2/SkiStopwatch).

      1. If I connect network to the controller it will be possible to set any parameters from this controller?

      For sure; this requires some receive() functionality - just the same as node-to-node messages, so see mentionned examples or one of the MySensors-counter-build examples.

      1. What can I do first?

      Make sure, only two of the RS485 Modules have the 120Ohms resistor and get your controller up and running :grin: .

      Controller: FHEM; MySensors: 2.3.1, RS485,nRF24,RFM69, serial Gateways

      1 Reply Last reply
      0
      • S Offline
        S Offline
        szymo092
        wrote on last edited by
        #3

        Thank You for Your answers. I will try to build network. So maybe I have to send informations from node1 to controller, but also to node3 using setDestination function. For now I have to start but I'm sure that it isn't end of questions.
        Thank You very much.

        1 Reply Last reply
        1
        • F Offline
          F Offline
          feanor-anglin
          wrote on last edited by
          #4

          Actually I have to disagree with @rejoe2 about:

          Will my network work without controller (only gateway + nodes)?

          With an Ethernet gateway it is entirely possible.

          One more thing. If you are interested in building RS485 network, maybe you should have a look at my project. Earlier today I created a post about it on this forum. Here it is :)

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


          12

          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