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.
  • N napo7

    Hi !

    It seems that the FRM69 library set the IRQ pin as optionnal. Can someone confirm that the IRQ pin is mandatory ?

    tekkaT Offline
    tekkaT Offline
    tekka
    Admin
    wrote on last edited by
    #69

    @napo7 yes, it is mandatory since the driver is IRQ-dependent

    1 Reply Last reply
    0
    • N Offline
      N Offline
      napo7
      Hardware Contributor
      wrote on last edited by napo7
      #70

      Well, I had a look in RFM69 driver, and it seems that the interrupts handlers are never sets ?
      Am I wrong ?

      Edit : In facts, DIO0 is not used as an Interrupt source in RFM69 driver : it's a pin that informs the library that, either, a packet has been received, or , the frame we try to send has been sent.

      So, the code doesn't use interrupts, but this pin is more a "Data available" pin.

      1 Reply Last reply
      0
      • scalzS Offline
        scalzS Offline
        scalz
        Hardware Contributor
        wrote on last edited by
        #71

        @napo7
        so, if data available or data sent, this can be an interrupt source for an mcu ;)
        It's enabled in the init there https://github.com/mysensors/MySensors/blob/development/drivers/RFM69/RFM69.cpp#L123

        1 Reply Last reply
        0
        • N Offline
          N Offline
          napo7
          Hardware Contributor
          wrote on last edited by
          #72

          Yes I noticed it !
          Since it didn't mention IRQ pin, I didn't seen it at first !

          What misleaded me, is that on LowPowerLab forums, some users says that you can absolutely discard this interrupt and poll the radio frequently to ask if a packet is available.

          1 Reply Last reply
          0
          • 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
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          22

                                          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