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.
  • scalzS Offline
    scalzS Offline
    scalz
    Hardware Contributor
    wrote on last edited by scalz
    #45

    @pepson if you're using an Arduino Mini pro or equivalent, and follow the recommanded wiring for the radio (CS and INT), looks ok to me.

    @korttoma oki. no it won't work if the define is not set for HW version, and vice versa. Because the W and HW use different registers for setting power levels

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

      Now i test it on Arduino nano byt finally i want use it on Arduino Mini Pro. Wirering i use as show on this page.

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

        @pepson oki. But you've not explained what's your problem, without logs etc..

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

          Now any problem. I only need info how write sketch to use radio RFM69HW.

          G 1 Reply Last reply
          0
          • scalzS scalz

            @pepson if you're using an Arduino Mini pro or equivalent, and follow the recommanded wiring for the radio (CS and INT), looks ok to me.

            @korttoma oki. no it won't work if the define is not set for HW version, and vice versa. Because the W and HW use different registers for setting power levels

            rmtuckerR Offline
            rmtuckerR Offline
            rmtucker
            wrote on last edited by rmtucker
            #49

            @scalz
            Is there an instruction to alter the power level on the RFM69?
            From inside a mysensors sketch like the NRF24_PA_level?

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

              @rmtucker no not yet (not sure, i need to check). But yes, in the next release ;)

              1 Reply Last reply
              0
              • pepsonP pepson

                Now any problem. I only need info how write sketch to use radio RFM69HW.

                G Offline
                G Offline
                gvorster
                wrote on last edited by
                #51

                @pepson said:

                Now any problem. I only need info how write sketch to use radio RFM69HW.

                Try the MockMySensors.ino sketch and enable a few sensors.

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


                                          16

                                          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