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. Announcements
  3. 💬 Connecting the Radio

💬 Connecting the Radio

Scheduled Pinned Locked Moved Announcements
162 Posts 49 Posters 41.2k Views 40 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.
  • A Offline
    A Offline
    adamp237
    wrote on last edited by
    #73

    I had this working perfectly on my Arduino Uno. I soldered it up to my Arduino Nano and it seems to work ok, but I'm not getting any data sent. The serial says it's connected OK but never sends any motion 1s or 0s. My MQTT server shows the following: Client mosqsub/3449-raspberryp received PUBLISH (d0, q0, r0, m0, 'mygateway1-out/255/255/3/0/3', ... (0 bytes))

    Any idea what is going on? I've tested the motion sensor separately and that is sending a high value to pin 3 no worries.

    gohanG 1 Reply Last reply
    0
    • A adamp237

      I had this working perfectly on my Arduino Uno. I soldered it up to my Arduino Nano and it seems to work ok, but I'm not getting any data sent. The serial says it's connected OK but never sends any motion 1s or 0s. My MQTT server shows the following: Client mosqsub/3449-raspberryp received PUBLISH (d0, q0, r0, m0, 'mygateway1-out/255/255/3/0/3', ... (0 bytes))

      Any idea what is going on? I've tested the motion sensor separately and that is sending a high value to pin 3 no worries.

      gohanG Offline
      gohanG Offline
      gohan
      Mod
      wrote on last edited by
      #74

      @adamp237
      Enable debug on the node and add some more serial prints in order to see better in detail where the code runs and where not

      1 Reply Last reply
      0
      • S Offline
        S Offline
        siddmon
        wrote on last edited by
        #75

        where can I find the picture for connecting NRF to arduino uno?

        mfalkviddM 1 Reply Last reply
        0
        • S siddmon

          where can I find the picture for connecting NRF to arduino uno?

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

          @siddmon to my knowledge, Arduino Uno the same pins as on Arduino Nano, Arduino Pro Mini and all other atmega328-based Arduino boards.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            siddmon
            wrote on last edited by
            #77

            @mfalkvidd Thanks and yes, they have the same pins, I didn't see Uno in the table so I google it and got incorrect instructions.
            Now that I used the same as nano my node seems work :)

            mfalkviddM 1 Reply Last reply
            1
            • S siddmon

              @mfalkvidd Thanks and yes, they have the same pins, I didn't see Uno in the table so I google it and got incorrect instructions.
              Now that I used the same as nano my node seems work :)

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

              @siddmon great! Thanks for reporting back.

              1 Reply Last reply
              0
              • nitroburnN Offline
                nitroburnN Offline
                nitroburn
                wrote on last edited by
                #79

                Little mistake in the text, I don't think dupont cables are made of bread.
                "the antenna need to be single core inside, only one wire, not multi-wire breaded like you can find in common dupont cable (not good for antenna.)"
                should be
                "The antenna need to be single core inside, only one wire, not multi-wire braided like you can find in common dupont cable (not good for antenna)"

                mfalkviddM 1 Reply Last reply
                0
                • nitroburnN nitroburn

                  Little mistake in the text, I don't think dupont cables are made of bread.
                  "the antenna need to be single core inside, only one wire, not multi-wire breaded like you can find in common dupont cable (not good for antenna.)"
                  should be
                  "The antenna need to be single core inside, only one wire, not multi-wire braided like you can find in common dupont cable (not good for antenna)"

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

                  @nitroburn thanks! I've updated the page.

                  nitroburnN 1 Reply Last reply
                  0
                  • mfalkviddM mfalkvidd

                    @nitroburn thanks! I've updated the page.

                    nitroburnN Offline
                    nitroburnN Offline
                    nitroburn
                    wrote on last edited by
                    #81

                    @mfalkvidd No problem, did make me a little hungry though.

                    mfalkviddM 1 Reply Last reply
                    0
                    • nitroburnN nitroburn

                      @mfalkvidd No problem, did make me a little hungry though.

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

                      :bread: :bread:

                      1 Reply Last reply
                      0
                      • G Offline
                        G Offline
                        Grave
                        wrote on last edited by
                        #83

                        Can anyone change the text for "Configuring MySensors for RFM69". When you want to use another pin for cs it´s not this code:

                        // #define RF69_SPI_CS 15 // If using a different CS pin for the SPI bus

                        but this

                        // #define My_RF69_SPI_CS 15 // If using a different CS pin for the SPI bus

                        mfalkviddM 1 Reply Last reply
                        0
                        • G Grave

                          Can anyone change the text for "Configuring MySensors for RFM69". When you want to use another pin for cs it´s not this code:

                          // #define RF69_SPI_CS 15 // If using a different CS pin for the SPI bus

                          but this

                          // #define My_RF69_SPI_CS 15 // If using a different CS pin for the SPI bus

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

                          @Grave thanks for pointing this out. From looking at the source code, it looks like it should be MY_RFM69_CS_PIN. I have updated the text. Could you check if I got it right?

                          R 1 Reply Last reply
                          0
                          • G Offline
                            G Offline
                            Grave
                            wrote on last edited by
                            #85

                            Thanks, you are right.

                            1 Reply Last reply
                            1
                            • J Offline
                              J Offline
                              joseyapor
                              wrote on last edited by
                              #86

                              which one is better RFM69 or NRF24L01+

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

                                The problem is that nrf24 have many crappy clones that have limited range and it is difficult to find the original ones. Rfm69 is slower but have better wall penetration and modules come in 3 frequencies.

                                1 Reply Last reply
                                0
                                • sundberg84S Offline
                                  sundberg84S Offline
                                  sundberg84
                                  Hardware Contributor
                                  wrote on last edited by sundberg84
                                  #88

                                  Nrf24l01+ also drains less current when sleeping vs RFM69

                                  Controller: Proxmox VM - Home Assistant
                                  MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                                  MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                                  RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                                  1 Reply Last reply
                                  0
                                  • J joseyapor

                                    which one is better RFM69 or NRF24L01+

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

                                    @joseyapor neither is better. They are good at different things. See https://forum.mysensors.org/topic/3993/nordic-or-hoperf-radio/2 for an earlier discussion.

                                    1 Reply Last reply
                                    1
                                    • mfalkviddM mfalkvidd

                                      @Grave thanks for pointing this out. From looking at the source code, it looks like it should be MY_RFM69_CS_PIN. I have updated the text. Could you check if I got it right?

                                      R Offline
                                      R Offline
                                      RAD-X
                                      wrote on last edited by
                                      #90

                                      @mfalkvidd said in 💬 Connecting the Radio:

                                      @Grave thanks for pointing this out. From looking at the source code, it looks like it should be MY_RFM69_CS_PIN. I have updated the text. Could you check if I got it right?

                                      It looks like that MY_RFM69_CS_PIN is used only in develop branch.
                                      Stable brach still using MY_RF69_SPI_CS.

                                      mfalkviddM 1 Reply Last reply
                                      0
                                      • R RAD-X

                                        @mfalkvidd said in 💬 Connecting the Radio:

                                        @Grave thanks for pointing this out. From looking at the source code, it looks like it should be MY_RFM69_CS_PIN. I have updated the text. Could you check if I got it right?

                                        It looks like that MY_RFM69_CS_PIN is used only in develop branch.
                                        Stable brach still using MY_RF69_SPI_CS.

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

                                        @RAD-X both will work in the stable branch. See https://github.com/mysensors/MySensors/blob/28c4f3f19e7026f56fd9bbc61d566f770fd7a9d2/MyConfig.h#L935

                                        R 1 Reply Last reply
                                        0
                                        • mfalkviddM mfalkvidd

                                          @RAD-X both will work in the stable branch. See https://github.com/mysensors/MySensors/blob/28c4f3f19e7026f56fd9bbc61d566f770fd7a9d2/MyConfig.h#L935

                                          R Offline
                                          R Offline
                                          RAD-X
                                          wrote on last edited by
                                          #92

                                          @mfalkvidd
                                          Hmm.... Is not that a reference to the development branch? :-)
                                          I think that right content for stable branch is: https://github.com/mysensors/MySensors/blob/master/MyConfig.h
                                          If you don´t believe it, try to download a stable branch, unpack and search for string "MY_RFM69_CS_PIN".

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


                                          21

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.0k

                                          Posts


                                          Copyright 2019 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