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.
  • pepsonP Offline
    pepsonP Offline
    pepson
    wrote on last edited by
    #52

    Good will be add manual how in sketch change level for RFM69HW when new version released. I know that should be released on chrismass

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

      @pepson if you have been kind this year, perhaps :laughing:

      1 Reply Last reply
      0
      • martinsM Offline
        martinsM Offline
        martins
        wrote on last edited by
        #54

        I'm having trouble with the distance between my 2 RFM69 radios. If I use this tutorial and change the frequency to 433 mhz I get distances of up to 10 meters - https://learn.adafruit.com/adafruit-rfm69hcw-and-rfm96-rfm95-rfm98-lora-packet-padio-breakouts/rfm69-test

        However if I use the Mysensor libraries for the SerialGateway and the door sensor I don't even get 1 meter.
        I tried to declare these variables as well but no success.

        #define RFM69_FREQUENCY RF69_433MHZ
        #define IS_RFM69HW

        Any suggestions I might try out?

        Thanks,
        Martin

        martinsM 1 Reply Last reply
        0
        • pepsonP Offline
          pepsonP Offline
          pepson
          wrote on last edited by
          #55

          If i buy from aliexpress RFM69HW and when buy i select to seller info that i want 868MHz and on PCB RFM69HW has select/write 868MHz in sketch i must use item:
          #define RFM69_FREQUENCY RF69_868MHZ ?

          martinsM 1 Reply Last reply
          0
          • martinsM martins

            I'm having trouble with the distance between my 2 RFM69 radios. If I use this tutorial and change the frequency to 433 mhz I get distances of up to 10 meters - https://learn.adafruit.com/adafruit-rfm69hcw-and-rfm96-rfm95-rfm98-lora-packet-padio-breakouts/rfm69-test

            However if I use the Mysensor libraries for the SerialGateway and the door sensor I don't even get 1 meter.
            I tried to declare these variables as well but no success.

            #define RFM69_FREQUENCY RF69_433MHZ
            #define IS_RFM69HW

            Any suggestions I might try out?

            Thanks,
            Martin

            martinsM Offline
            martinsM Offline
            martins
            wrote on last edited by
            #56

            @martins

            Solved. This is the extra variables for the RFM69H / HW versions and to set the frequency.

            #define MY_RFM69_FREQUENCY RF69_433MHZ
            #define MY_IS_RFM69HW

            Range is now acceptible.

            Regards,
            Martin

            1 Reply Last reply
            0
            • pepsonP pepson

              If i buy from aliexpress RFM69HW and when buy i select to seller info that i want 868MHz and on PCB RFM69HW has select/write 868MHz in sketch i must use item:
              #define RFM69_FREQUENCY RF69_868MHZ ?

              martinsM Offline
              martinsM Offline
              martins
              wrote on last edited by
              #57

              @pepson

              From library API:

              MY_RFM69_FREQUENCY RF69_868MHZ For other frequency, add this define to your sketch and set it to your preferred value in RF69_433MHZ, RF69_868MHZ or RF69_915MHZ

              So it seems that 868MHZ is the default value.

              Regards

              1 Reply Last reply
              0
              • pepsonP Offline
                pepsonP Offline
                pepson
                wrote on last edited by
                #58

                Ok thanks

                1 Reply Last reply
                0
                • LaMB95L Offline
                  LaMB95L Offline
                  LaMB95
                  wrote on last edited by
                  #59

                  I m getting symbols when I send Hello World message from Arduino Uno to an Arduino Pro Mini (5V).
                  Yes I have put an input of 3.3V to the pro mini.
                  Baud rate used is 9600.
                  Any clue why this is happening? I can provide the code.

                  mfalkviddM 1 Reply Last reply
                  0
                  • LaMB95L LaMB95

                    I m getting symbols when I send Hello World message from Arduino Uno to an Arduino Pro Mini (5V).
                    Yes I have put an input of 3.3V to the pro mini.
                    Baud rate used is 9600.
                    Any clue why this is happening? I can provide the code.

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

                    @LaMB95 are you using a Pro Mini 5V 16MHz or Pro Mini 3.3V 8MHz?

                    If the wrong variant is selected in the Arduino IDE, all timings will be off, including the timings for serial communication.

                    LaMB95L 1 Reply Last reply
                    0
                    • mfalkviddM mfalkvidd

                      @LaMB95 are you using a Pro Mini 5V 16MHz or Pro Mini 3.3V 8MHz?

                      If the wrong variant is selected in the Arduino IDE, all timings will be off, including the timings for serial communication.

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

                      @mfalkvidd

                      I have an arduino pro mini 5V. But I have attached a breakout CP2102 usb connection to it. On the board there is a 3.3V point which I have plugged in as Vcc to the NRF24L01+ module.

                      To upload the code I have selected the 5V 16Mhz as processor.

                      mfalkviddM 1 Reply Last reply
                      0
                      • LaMB95L LaMB95

                        @mfalkvidd

                        I have an arduino pro mini 5V. But I have attached a breakout CP2102 usb connection to it. On the board there is a 3.3V point which I have plugged in as Vcc to the NRF24L01+ module.

                        To upload the code I have selected the 5V 16Mhz as processor.

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

                        @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 1 Reply Last reply
                        0
                        • F Offline
                          F Offline
                          flopp
                          wrote on last edited by flopp
                          #63
                          This post is deleted!
                          mfalkviddM T 2 Replies Last reply
                          0
                          • 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
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          18

                                          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