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. Troubleshooting
  3. MQTTClient - Arduino uno - Ethernet Shield WIZ5100 - RFM69

MQTTClient - Arduino uno - Ethernet Shield WIZ5100 - RFM69

Scheduled Pinned Locked Moved Troubleshooting
29 Posts 3 Posters 3.1k 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.
  • X Offline
    X Offline
    xefil
    wrote on last edited by
    #11

    Hello @Carywin

    Hello,

    I think it's not working anymore on API 2.2...
    Im getting a lot of compilation errors due includes non having the required functions. Seems RFM69 on MySensors are updatedb since API 2.2...

    Look at 2.1:
    https://github.com/mysensors/MySensors/blob/2.1.1/drivers/RFM69/RFM69.h

    Compared to the 2.2:
    https://github.com/mysensors/MySensors/blob/development/drivers/RFM69/old/RFM69_old.h

    The name is changed as well RF69 to RFM69...
    I'm trying to correct the RFM69 library taken from https://github.com/kiwisincebirth/RFM69 suggested by you.
    Some new functions were included as well.
    Then I'll give a try.
    Let e know for the above doubts.

    Thanks, Simon

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

      library 2.2 has a new driver for RFM69 if you want to use it and it is used by raspberry gateway.

      X 1 Reply Last reply
      0
      • gohanG gohan

        library 2.2 has a new driver for RFM69 if you want to use it and it is used by raspberry gateway.

        X Offline
        X Offline
        xefil
        wrote on last edited by
        #13

        Hello @gohan

        @gohan said in MQTTClient - Arduino uno - Ethernet Shield WIZ5100 - RFM69:

        library 2.2 has a new driver for RFM69 if you want to use it and it is used by raspberry gateway.

        Well, then I'm correcting the right old/RFM69_old.h + old/RFM69_old.cpp + old/RFM69registers_old.h to apply the differences between this version (https://github.com/kiwisincebirth/RFM69) and the original one from Mysensors.
        I've overwritten the above files taken the version from 'kiwisincebirth' and added the missing functiond like sanityCheck, powerUp, powerDown, ... and correcting the variable definition from RF69_* to RFM69_*.

        Now it compiles correctly, but I don't have my board here.
        Another story is to understand if that will work on the board.

        As written by @Carywin in the thread suggested by him, I'll use his sketch and connect the radio over the Wiz5100 shield on my Arduino UNO using as CS digital PIN6 instead of PIN10. All via Level Converter. The remaining pins on the radio will maintain the same connections as default. Hope I've understood all correctly and that will work...

        Simon

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

          I am just curious, but don't you have a raspberry pi?

          X 1 Reply Last reply
          0
          • gohanG gohan

            I am just curious, but don't you have a raspberry pi?

            X Offline
            X Offline
            xefil
            wrote on last edited by
            #15

            @gohan said in MQTTClient - Arduino uno - Ethernet Shield WIZ5100 - RFM69:

            I am just curious, but don't you have a raspberry pi?

            Eheh, not really.
            I've a BananaPi board, which is mainly the same ARM board, with some differences. I was trying to follow the OrangePi HowTo but noticed that my Armbian version installed on the board is hidding me the /boot/script.bin... so I cannot proceed. On an old version it was available... Of course I've opened a thread on their forum... https://forum.armbian.com/topic/6430-armbianbananapi-scriptbin-missing/

            I'm waiting for answers. Still requested again :(

            Simon

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

              I'd consider gettin a RPI3, there are so many working solutions that can simplify al lot of things instead of the other various "fruits" PIs that are indeed cheaper but they don't have the same community support as the raspberry.

              X 1 Reply Last reply
              0
              • gohanG gohan

                I'd consider gettin a RPI3, there are so many working solutions that can simplify al lot of things instead of the other various "fruits" PIs that are indeed cheaper but they don't have the same community support as the raspberry.

                X Offline
                X Offline
                xefil
                wrote on last edited by
                #17

                @gohan said in MQTTClient - Arduino uno - Ethernet Shield WIZ5100 - RFM69:

                I'd consider gettin a RPI3, there are so many working solutions that can simplify al lot of things instead of the other various "fruits" PIs that are indeed cheaper but they don't have the same community support as the raspberry.

                Absolutely true! Btw years ago I've helped in implementing the vdpau drivers, testing xbmc (now kodi) and hw acceleration so I got 5 boards for free for the tests. That's the reason why I'm using it ;-)
                One is for Openhab (the one that has armbian without /boot/script.bin), one used with Octoprint on my 3d printer, another in a kiosk for my MAME emulation station :-)
                If I cannot get any support with the Armbian version, maybe I'll get an RPi.

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

                  To me having the radio directly on the RPI is a much cleaner solutions, with less wires around and it is easier to update gw software remotely :)

                  X 1 Reply Last reply
                  0
                  • gohanG gohan

                    To me having the radio directly on the RPI is a much cleaner solutions, with less wires around and it is easier to update gw software remotely :)

                    X Offline
                    X Offline
                    xefil
                    wrote on last edited by
                    #19

                    @gohan said in MQTTClient - Arduino uno - Ethernet Shield WIZ5100 - RFM69:

                    To me having the radio directly on the RPI is a much cleaner solutions, with less wires around and it is easier to update gw software remotely :)

                    Could you add the nRF24L01+ as well? I have both radios around!

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

                      Yes, there is a open topic on the forum "dual spi radio", I have them both running on my RPI

                      X 1 Reply Last reply
                      0
                      • gohanG gohan

                        Yes, there is a open topic on the forum "dual spi radio", I have them both running on my RPI

                        X Offline
                        X Offline
                        xefil
                        wrote on last edited by
                        #21

                        @gohan said in MQTTClient - Arduino uno - Ethernet Shield WIZ5100 - RFM69:

                        Yes, there is a open topic on the forum "dual spi radio", I have them both running on my RPI

                        Hello @gohan !
                        I'm trying to move on that way.
                        You have installed boh radios on RPi. Was a Level Converter required?

                        Thanks!

                        Simon

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

                          NO level converter since RPI is 3.3v but I had tu use sockets with voltage regulators for the radios because I used the high power versions

                          X 2 Replies Last reply
                          0
                          • gohanG gohan

                            NO level converter since RPI is 3.3v but I had tu use sockets with voltage regulators for the radios because I used the high power versions

                            X Offline
                            X Offline
                            xefil
                            wrote on last edited by
                            #23

                            @gohan said in MQTTClient - Arduino uno - Ethernet Shield WIZ5100 - RFM69:

                            NO level converter since RPI is 3.3v but I had tu use sockets with voltage regulators for the radios because I used the high power versions

                            You mean the RFM69HW ?
                            Ok, in that case it's not the own I have, so I expect to connect both radios directly on the board (as soon I get one ;) )

                            1 Reply Last reply
                            0
                            • gohanG gohan

                              NO level converter since RPI is 3.3v but I had tu use sockets with voltage regulators for the radios because I used the high power versions

                              X Offline
                              X Offline
                              xefil
                              wrote on last edited by
                              #24

                              @gohan hello again!
                              I’m testing the RFM69 on RPi and seems working well. The only doubt is about the range. Seems previous Arduino-RFM69-serial setup was better. Maybe only placed better.
                              Btw I’m thinking to increase the range using the RFM69HW version.

                              Is the HW the better version that is using more power?

                              What have you done for connect it then on the RPi?

                              Actually I’m using RFM69H(not W). If all are 868Mhz, are they compatible with HW version?

                              If all will work stable, I’ll migrate the nRF24L01+ as well. What have you done for handle power on this? On my Arduino I’m using a capacitor, nothing more.

                              Thanks for you help as always!!

                              Simon

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

                                HW version is just a regular W version with an extra power amplifier on the TX side. To use them i got some of those nrf24 sockets with voltage regulator and I soldered the radio module on the nrf2rfm pcb adapter that you can find on openhardware.io

                                X 1 Reply Last reply
                                0
                                • gohanG gohan

                                  HW version is just a regular W version with an extra power amplifier on the TX side. To use them i got some of those nrf24 sockets with voltage regulator and I soldered the radio module on the nrf2rfm pcb adapter that you can find on openhardware.io

                                  X Offline
                                  X Offline
                                  xefil
                                  wrote on last edited by
                                  #26

                                  @gohan said in MQTTClient - Arduino uno - Ethernet Shield WIZ5100 - RFM69:

                                  HW version is just a regular W version with an extra power amplifier on the TX side. To use them i got some of those nrf24 sockets with voltage regulator and I soldered the radio module on the nrf2rfm pcb adapter that you can find on openhardware.io

                                  If the "HW" version has an amplifier on the TX side, do you think it's enough to have coverage gain on nodes that are only "W"?

                                  I cannot find the nrf24 sockets with voltage regulator on openhardware.io :-(
                                  Do you apply it on both radios?

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

                                    I am just referring to this https://www.mysensors.org/hardware/nrf2rfm69

                                    The sockets you can find them on gearbest or aliexpress.

                                    Of course the coverage gain is only within HW, but you can have closer nodes using normal W version.

                                    X 1 Reply Last reply
                                    0
                                    • gohanG gohan

                                      I am just referring to this https://www.mysensors.org/hardware/nrf2rfm69

                                      The sockets you can find them on gearbest or aliexpress.

                                      Of course the coverage gain is only within HW, but you can have closer nodes using normal W version.

                                      X Offline
                                      X Offline
                                      xefil
                                      wrote on last edited by
                                      #28

                                      @gohan said in MQTTClient - Arduino uno - Ethernet Shield WIZ5100 - RFM69:

                                      I am just referring to this https://www.mysensors.org/hardware/nrf2rfm69

                                      The sockets you can find them on gearbest or aliexpress.

                                      Of course the coverage gain is only within HW, but you can have closer nodes using normal W version.

                                      Ok, you use this adapter to place the RFM69 module on it and let it fit in something like that?
                                      https://www.aliexpress.com/item//32741923288.html

                                      Then I could wire it as always or should it use the 5V in the RPi instead?

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

                                        If you use that you will need to use the 5V because it has a regulator built in

                                        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