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.
  • R Offline
    R Offline
    ricorico94
    wrote on last edited by ricorico94
    #104

    Hi,
    I'm interested in using long range sensors based on LoRa and I saw on this forum that LORA radios should be supported with the RFM95. But I did not see any explanation or advice on hardware, pins, etc.
    Could anyone confirm that the type of radio to attach on the gateway and the sensor is like:
    link to aliexpress RFM95 radio

    I see the chip mentioned is "RF96", but I did not see that name on the forum..(it was SX1276 I think), so I don't know.
    Regarding frequency, I uderstood from other websites that in France, the frequency should be 868MHz, correct ? No risk to interfere with EnOcean/Zwave devices ?

    I see also that these RFM95 radios have many more pins than the NRF24L01 : should I use the same pins than for NRF24 and leave the others unused ?
    and then in the sketch, use the #define RFM95 statement ? Is it all that simple ?

    And then I install the RFM95 as a second MySensors gateway on my network (for instance as an ethernet gateway) ?

    br,
    Ricorico94

    1 Reply Last reply
    0
    • P Offline
      P Offline
      peerv
      wrote on last edited by
      #105

      Hi ricorico94,
      If you are interested in LoRa and how to connect the radio have a look at www.thethingsnetwork.org

      1 Reply Last reply
      0
      • M Offline
        M Offline
        MattiMan
        wrote on last edited by
        #106

        Hello!
        I would like to use NRF24+PA radio, but when I try to use it instead normal NRF24 radio in MQTT-gateway it just dont work. I cant make connection between sensors and gateway.

        Normal radio works just fine, but the range is a bit short for me.

        I tried the low power setting also, but no help.

        What should I do to make it work?

        I use Domoticz as my controller.

        mfalkviddM 1 Reply Last reply
        0
        • M MattiMan

          Hello!
          I would like to use NRF24+PA radio, but when I try to use it instead normal NRF24 radio in MQTT-gateway it just dont work. I cant make connection between sensors and gateway.

          Normal radio works just fine, but the range is a bit short for me.

          I tried the low power setting also, but no help.

          What should I do to make it work?

          I use Domoticz as my controller.

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

          Welcome to the MySensors community @mattiman !
          Could you post the debug logs of the node and the gateway? That's usually the quickest way to get a hint on what is wrong.

          If you haven't already, you can also look at https://forum.mysensors.org/topic/666/debug-faq-and-how-ask-for-help/ which has recommendations on the most common problems and how to troubleshoot them.

          People have also been helped by this: http://blog.blackoise.de/2016/02/fixing-your-cheap-nrf24l01-palna-module/

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

            Hi
            I use Arduino Pro Mini 5V and i want user radio RFM69HW. I must use logic level converter from 5V to 3.3V to connect radio or i can only reduce power from 5V to 3.3V to VCC ?
            On this page is nothing describe that i must use logic level converter,...but some users on this page write that i must use:
            https://www.openhardware.io/view/268/RFM69HW-interstitial-board-for-Arduino-Pro-Mini#tabs-comments

            Now i have connected only with reduce power to 3.3V but my Arduino not working still time. Only some minutes to test...

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

              It was already answered to you in another topic and if you read in the openhardware project it is clearly stated that it is meant for pro mini 3.3v. If you connected it to a 5v pro mini you most likely fried the RFM69 module.

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

                I connect to 5V Arduino but i use AMS1117 to step down power 5v to 3.3V and radio still working.

                M 1 Reply Last reply
                0
                • pepsonP pepson

                  I connect to 5V Arduino but i use AMS1117 to step down power 5v to 3.3V and radio still working.

                  M Offline
                  M Offline
                  manutremo
                  wrote on last edited by
                  #111

                  I have two of my nodes using rfm69hw and mini pro 5v 17mhz. I only step down the power line to 3.3v, the comms lines work just fine with 5v. I also remember reading somewhere that this is actually the case, even though the datasheet says the opposite.

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

                    I'd follow the datasheet and don't take the risk of frying the radio.

                    1 Reply Last reply
                    1
                    • M Offline
                      M Offline
                      manutremo
                      wrote on last edited by
                      #113

                      They've been working for more than 6 months now as part of a test run and are not yet fried.

                      There is other people around reporting the same with at least the rfm69HW. I remember someone stating that the new models are more robust in this regard than older models, in spite of the manufacturer not yet stating 5v tolerance in the data pins.

                      In fact the datasheet never mentions 5v intolerance, and it does never actually mention a max voltage for the data pins, only for Vdd.

                      It seems like the board does something with the voltages in the data pins anyways, since if it was using the definitions of the logic levels (as a percent of Vdd) as they appear in the datasheet, it should not be able to communicate at all with a 5v arduino when powered at 3.3v and no logic level shifter on the data pins - but it does.

                      This doesn't mean this is good practice, directions in the datasheet are there for some reason and my nodes will eventually get a logic level shifter when they finally go into their final case. But reality is it seems at least RFM69HW can tolerate 5v for months without being fried.

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

                        still I would not advise someone to go ahead and use them without a level shifter as I would not take responsibility to damage someone else hardware 3.3V is still able to talk to 5V, depends on how large is the tolerance zone around the 2.5V grey zone of the arduino

                        1 Reply Last reply
                        0
                        • M Offline
                          M Offline
                          manutremo
                          wrote on last edited by
                          #115

                          I would not expect anyone to put or take responsability on anyone for a piece of advice. I think we are here to help each other by sharing information and our own experiences.

                          The full picture should be more than clear at this point for anyone reading this and other threads, but I will clarify once more. Best practice is using the rfm69 family with a logic level converter when connected with a 5v arduino, given that as of today the manufacturer's datasheet is not 100% clear on this area. From a problem solving perspective, keep in mind, however, that should a converter not be in place for any reason, the setup might or might not work, so if it doesn't don't discard it as a cause but don't take it for granted at 100%. And even if it works, do plan for adding a converter.

                          1 Reply Last reply
                          2
                          • J Offline
                            J Offline
                            jkandasa
                            Plugin Developer
                            wrote on last edited by
                            #116

                            @hek @mfalkvidd RFM95 radio part connection details are missing.

                            1 Reply Last reply
                            0
                            • maghacM Offline
                              maghacM Offline
                              maghac
                              wrote on last edited by
                              #117

                              Is it possible to change any of the radio pins 9, 10, 11 to something else? The reason is that I'd like to use 4 PWM pins and currently I only have pins 3,5,6 available on my Pro Mini.

                              mfalkviddM 1 Reply Last reply
                              0
                              • maghacM maghac

                                Is it possible to change any of the radio pins 9, 10, 11 to something else? The reason is that I'd like to use 4 PWM pins and currently I only have pins 3,5,6 available on my Pro Mini.

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

                                @maghac yes. Redefining for example the nss/cs pin is possible as described on the connecting the radio page.

                                For more exact i structions we'd need to know which radio you are using.

                                1 Reply Last reply
                                1
                                • maghacM Offline
                                  maghacM Offline
                                  maghac
                                  wrote on last edited by
                                  #119

                                  Thanks - I use NRF24 radios.

                                  I found MY_RF24_CE_PIN which I redefined to pin 8 which worked absolutely fine.

                                  The problem I have now is that now cannot use the Newbie PCB anymore :cold_sweat: :wink:

                                  mfalkviddM sundberg84S 2 Replies Last reply
                                  1
                                  • maghacM maghac

                                    Thanks - I use NRF24 radios.

                                    I found MY_RF24_CE_PIN which I redefined to pin 8 which worked absolutely fine.

                                    The problem I have now is that now cannot use the Newbie PCB anymore :cold_sweat: :wink:

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

                                    @maghac doh!
                                    How about using a software pwm library instead? I have not tried any, but I have seen this before: https://github.com/Palatis/arduino-softpwm

                                    maghacM 1 Reply Last reply
                                    0
                                    • maghacM maghac

                                      Thanks - I use NRF24 radios.

                                      I found MY_RF24_CE_PIN which I redefined to pin 8 which worked absolutely fine.

                                      The problem I have now is that now cannot use the Newbie PCB anymore :cold_sweat: :wink:

                                      sundberg84S Offline
                                      sundberg84S Offline
                                      sundberg84
                                      Hardware Contributor
                                      wrote on last edited by
                                      #121

                                      @maghac cut the trace with a small knife and re-attach it with a wire.

                                      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
                                      1
                                      • mfalkviddM mfalkvidd

                                        @maghac doh!
                                        How about using a software pwm library instead? I have not tried any, but I have seen this before: https://github.com/Palatis/arduino-softpwm

                                        maghacM Offline
                                        maghacM Offline
                                        maghac
                                        wrote on last edited by
                                        #122

                                        @mfalkvidd Maybe I'll give that a try.

                                        I think FOTA will fail as the bootloader will try to initialise the radio with the default pin, right? Then I'll need software pwm or recompile my own bootloader.

                                        gohanG 1 Reply Last reply
                                        1
                                        • maghacM maghac

                                          @mfalkvidd Maybe I'll give that a try.

                                          I think FOTA will fail as the bootloader will try to initialise the radio with the default pin, right? Then I'll need software pwm or recompile my own bootloader.

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

                                          @maghac or go for dual optiboot

                                          maghacM 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