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. Raspberry pi Arduino RS485 MQTT gateway

Raspberry pi Arduino RS485 MQTT gateway

Scheduled Pinned Locked Moved Development
4 Posts 2 Posters 572 Views 2 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.
  • M Offline
    M Offline
    Malaki86
    wrote on last edited by
    #1

    I'm not going to bore everyone with the details of my project, but here's the basics:

    Raspberry pi, running Mosquito broker and node-red

    Multiple Arduino "modules" for sensors & control

    What I'm wondering about is if I can use RS-485s to create a network, all able to publish & subscribe to the topics on the MQTT broker running on the Rpi via the my sensors gateway library.

    mfalkviddM 1 Reply Last reply
    0
    • M Malaki86

      I'm not going to bore everyone with the details of my project, but here's the basics:

      Raspberry pi, running Mosquito broker and node-red

      Multiple Arduino "modules" for sensors & control

      What I'm wondering about is if I can use RS-485s to create a network, all able to publish & subscribe to the topics on the MQTT broker running on the Rpi via the my sensors gateway library.

      mfalkviddM Offline
      mfalkviddM Offline
      mfalkvidd
      Mod
      wrote on last edited by
      #2

      @malaki86 yes

      M 1 Reply Last reply
      1
      • mfalkviddM mfalkvidd

        @malaki86 yes

        M Offline
        M Offline
        Malaki86
        wrote on last edited by
        #3

        @mfalkvidd Is there a tutorial on how to accomplish this? When I go to the MQTT tutorial, it says to build an Ethernet setup first, followed by setting up either a DNS or static IPs, along with using ESP8266 libraries.

        My Arduino modules will initially be Nano's. The only WiFi or Ethernet will be the ones built into the Rpi, used solely for accessing NodeRed. I'm wanting all communications in the system itself to be via the RS485 network if possible.

        mfalkviddM 1 Reply Last reply
        0
        • M Malaki86

          @mfalkvidd Is there a tutorial on how to accomplish this? When I go to the MQTT tutorial, it says to build an Ethernet setup first, followed by setting up either a DNS or static IPs, along with using ESP8266 libraries.

          My Arduino modules will initially be Nano's. The only WiFi or Ethernet will be the ones built into the Rpi, used solely for accessing NodeRed. I'm wanting all communications in the system itself to be via the RS485 network if possible.

          mfalkviddM Offline
          mfalkviddM Offline
          mfalkvidd
          Mod
          wrote on last edited by mfalkvidd
          #4

          @malaki86 if you don't want to use a MySensors device for mqtt, I don't think you'll find a complete tutorial. But people have connected MySensors devices to nodered, and nodered can speak mqtt I think.

          A possible strategy could be to

          • create a rs485 raspberry pi gateway https://www.mysensors.org/build/raspberry
          • Add MySensors nodes to the rs485 network
          • Connect the gateway to nodered
          • Connect nodered to mqtt

          Alternatively, you can make the raspberry pi gateway use mqtt directly.

          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