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. Hardware
  3. Arduino Mega R3 as Node/GW talking DIRECTLY to MQTT Server

Arduino Mega R3 as Node/GW talking DIRECTLY to MQTT Server

Scheduled Pinned Locked Moved Hardware
13 Posts 3 Posters 5.1k 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.
  • dakkyD dakky

    you mean, no nrf module? whats the sense in using the mysensors lib? thats the "main" task (imho): creating a sensor mesh via the nrf module and channeling everthing via the gateway?

    maxtoxM Offline
    maxtoxM Offline
    maxtox
    wrote on last edited by
    #4

    @dakky

    you are already using mega R3 as an client... which "language" are you using to speak to RPI? Which Broker are you using?

    did you try ioBROKER?

    Arduino Mega 2560 with iobroker.net (MQTT, node-red, etc..)

    1 Reply Last reply
    0
    • dakkyD Offline
      dakkyD Offline
      dakky
      wrote on last edited by
      #5

      and how to you want to transmit any data from the nodes to your network? Wired? cables everywhere? wlan? no low power/battery + expensive in relation to the cheap nrf modules.

      my gateway is conencted to the RPI via w5100 ethernet shield. My mqtt broker is mosquitto. simply and functional :D

      Controller: Raspberry Pi 2 :: Openhab2 :: with @TimO MySensors Binding
      Gateway: Arduino MEGA 2560 R3 :: W5100 :: Ethernet GW

      Software: MySensors 2.0development

      1 Reply Last reply
      0
      • maxtoxM Offline
        maxtoxM Offline
        maxtox
        wrote on last edited by
        #6

        so your setup is following ?

        arduino Sensor node with nrf <----> arduino MEGA as GW with w5100 <--> RPI with a "server/Broker"

        right?

        Arduino Mega 2560 with iobroker.net (MQTT, node-red, etc..)

        1 Reply Last reply
        0
        • maxtoxM Offline
          maxtoxM Offline
          maxtox
          wrote on last edited by
          #7

          which sketch are u using for MEGA? can you share it or tell me the link? Have problems with my MEGA using w5100 :-(

          Arduino Mega 2560 with iobroker.net (MQTT, node-red, etc..)

          1 Reply Last reply
          0
          • dakkyD Offline
            dakkyD Offline
            dakky
            wrote on last edited by dakky
            #8

            yep, exactly

            edit: have a look in the development branch of mysensors. There is a w5100Clientgateway example. I simply changed the pins for the mega and thats it.

            Controller: Raspberry Pi 2 :: Openhab2 :: with @TimO MySensors Binding
            Gateway: Arduino MEGA 2560 R3 :: W5100 :: Ethernet GW

            Software: MySensors 2.0development

            1 Reply Last reply
            0
            • maxtoxM Offline
              maxtoxM Offline
              maxtox
              wrote on last edited by maxtox
              #9

              WHICH PINS DID you use??? thank you in advance!

              Arduino Mega 2560 with iobroker.net (MQTT, node-red, etc..)

              1 Reply Last reply
              0
              • dakkyD Offline
                dakkyD Offline
                dakky
                wrote on last edited by
                #10

                http://www.mysensors.org/build/ethernet_gateway read the comments

                Controller: Raspberry Pi 2 :: Openhab2 :: with @TimO MySensors Binding
                Gateway: Arduino MEGA 2560 R3 :: W5100 :: Ethernet GW

                Software: MySensors 2.0development

                maxtoxM 2 Replies Last reply
                0
                • dakkyD dakky

                  http://www.mysensors.org/build/ethernet_gateway read the comments

                  maxtoxM Offline
                  maxtoxM Offline
                  maxtox
                  wrote on last edited by
                  #11

                  htere are NO comments about W5100...

                  can you please just give me your setup???

                  Thank you ! ;-)

                  Arduino Mega 2560 with iobroker.net (MQTT, node-red, etc..)

                  1 Reply Last reply
                  0
                  • dakkyD dakky

                    http://www.mysensors.org/build/ethernet_gateway read the comments

                    maxtoxM Offline
                    maxtoxM Offline
                    maxtox
                    wrote on last edited by
                    #12

                    @dakky said:

                    http://www.mysensors.org/build/ethernet_gateway read the comments

                    hi...couldn't find any informations about ports for mega R3... please give me your configuration... I think it will help a lot of people!!!!

                    Thank you!

                    Arduino Mega 2560 with iobroker.net (MQTT, node-red, etc..)

                    1 Reply Last reply
                    0
                    • barduinoB Offline
                      barduinoB Offline
                      barduino
                      wrote on last edited by
                      #13

                      Not sure exactly what are you looking for...

                      See if this post helps with the pins.

                      Cheers

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


                      7

                      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