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.
  • F flopp

    This post is deleted!

    mfalkviddM Offline
    mfalkviddM Offline
    mfalkvidd
    Mod
    wrote on last edited by
    #64
    This post is deleted!
    1 Reply Last reply
    0
    • F flopp

      This post is deleted!

      T Offline
      T Offline
      tboha
      wrote on last edited by
      #65

      @flopp :
      No, it isn't that easy.
      To improve your NRF, please have a look at https://forum.mysensors.org/topic/1851/extending-range-of-regular-nrf24l01.

      I tried solution Nr. 2. It is easy to do and cheap. Improvements are noticeable but not dramatically.

      In regard to effort it is worth trying.

      If you aimed at changing NRF's frequency - no this is not possible at all. Base frequencies are selected within the chip itself and antenna resonant frequency has to match oscillator frequency.

      1 Reply Last reply
      0
      • mfalkviddM mfalkvidd

        @LaMB95 Interesting. I have never seen a 5V Pro Mini with 3.3V output. Where did you get it?

        Try different serial speeds in the serial monitor and see if you get something readable.

        LaMB95L Offline
        LaMB95L Offline
        LaMB95
        wrote on last edited by
        #66

        @mfalkvidd Haha not really a 3.3 output I changed its input voltge to 3.3 hoping it would work.

        But nevertheless I managed to solve the issue.
        It seems to be an error in the Hardware serial.

        Refer: http://forum.arduino.cc/index.php?topic=46458.0

        The code bhagman has posted worked !

        LaMB95L 1 Reply Last reply
        0
        • LaMB95L LaMB95

          @mfalkvidd Haha not really a 3.3 output I changed its input voltge to 3.3 hoping it would work.

          But nevertheless I managed to solve the issue.
          It seems to be an error in the Hardware serial.

          Refer: http://forum.arduino.cc/index.php?topic=46458.0

          The code bhagman has posted worked !

          LaMB95L Offline
          LaMB95L Offline
          LaMB95
          wrote on last edited by
          #67

          @mfalkvidd

          It worked yesterday now I am back to the same problem.
          What a wonder !

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

            Hi !

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

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


                                          17

                                          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