Skip to content
  • 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. Hardware
  3. Any RFM95 user reports?
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

Any RFM95 user reports?

Scheduled Pinned Locked Moved Hardware
56 Posts 8 Posters 13.8k Views 8 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.
  • gohanG Offline
    gohanG Offline
    gohan
    Mod
    wrote on last edited by
    #23

    I am talking for more ground level needs :D

    alexsh1A 1 Reply Last reply
    0
    • gohanG gohan

      I am talking for more ground level needs :D

      alexsh1A Offline
      alexsh1A Offline
      alexsh1
      wrote on last edited by
      #24

      @gohan in a highly populated area Lora is better from my perspective. However, as already mentioned the cost is high (GW - €300, node - €55+ etc). Plus one is expected to develop

      M mfalkviddM 2 Replies Last reply
      0
      • alexsh1A Offline
        alexsh1A Offline
        alexsh1
        wrote on last edited by
        #25

        This is a moteino Lora node.
        I understand the battery consumption is not an issue, but again I have not measured the current.

        0_1490092323659_IMG_3647.JPG

        1 Reply Last reply
        0
        • alexsh1A alexsh1

          @gohan in a highly populated area Lora is better from my perspective. However, as already mentioned the cost is high (GW - €300, node - €55+ etc). Plus one is expected to develop

          M Offline
          M Offline
          mihai.aldea
          wrote on last edited by
          #26

          @alexsh1 said in Any RFM95 user reports?:

          @gohan in a highly populated area Lora is better from my perspective. However, as already mentioned the cost is high (GW - €300, node - €55+ etc). Plus one is expected to develop

          And why is that? Dense population = likely more users = frequent gw congestions.

          alexsh1A 1 Reply Last reply
          0
          • M mihai.aldea

            @alexsh1 said in Any RFM95 user reports?:

            @gohan in a highly populated area Lora is better from my perspective. However, as already mentioned the cost is high (GW - €300, node - €55+ etc). Plus one is expected to develop

            And why is that? Dense population = likely more users = frequent gw congestions.

            alexsh1A Offline
            alexsh1A Offline
            alexsh1
            wrote on last edited by
            #27

            @mihai.aldea

            When I said Lora I'm referring to LoraWAN, which is not the same thing.

            • 2G requires more power to transmit than LoraWAN

            • LoRaWAN is optimized for uplink (from the node to a server). For downlink there is 8 times less bandwidth available. This means it is designed to received info from sensors

            • A gateway can receive on 8 channels at the same time

            All that said, the ideal use case for LoRaWAN is:

            • Simple sensors that need to transmit infrequently
            • Missing 5-85% of data at times is okay
            • Little ability to control this device
            • No ability to update device firmware over-the-air
            • Deployed in the dozens to hundreds

            Some Automatic Meter Reading is a great example of a good use case for LoRaWAN. For meters that update the reading, say once per hour, it does not matter if some readings are missed, as long as some make it through.

            Finally, places like Amsterdam were completely covered by LoraWAN in just two weeks. There is no chance for the city of this size to be covered by 2G in such a short time.

            1 Reply Last reply
            0
            • alexsh1A Offline
              alexsh1A Offline
              alexsh1
              wrote on last edited by
              #28

              Couple of graphs:

              0_1490093820335_IMG_3648.PNG

              1 Reply Last reply
              0
              • alexsh1A Offline
                alexsh1A Offline
                alexsh1
                wrote on last edited by
                #29

                And this has truely shocked me:

                0_1490093859666_IMG_3649.PNG

                The ballon covered the distance 325km and was still some budget left in the receiver.

                1 Reply Last reply
                0
                • alexsh1A alexsh1

                  @gohan in a highly populated area Lora is better from my perspective. However, as already mentioned the cost is high (GW - €300, node - €55+ etc). Plus one is expected to develop

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

                  Regarding the cost, I have built prototype nodes on Wemos D1 Mini + RFM96 using these clones and wire antennas:
                  http://www.ebay.com/itm/231784606792
                  https://www.aliexpress.com/item/D1-mini-Mini-NodeMcu-4M-bytes-Lua-WIFI-Internet-of-Things-development-board-based-ESP8266-by/32662942091.html

                  alexsh1A 1 Reply Last reply
                  0
                  • mfalkviddM mfalkvidd

                    Regarding the cost, I have built prototype nodes on Wemos D1 Mini + RFM96 using these clones and wire antennas:
                    http://www.ebay.com/itm/231784606792
                    https://www.aliexpress.com/item/D1-mini-Mini-NodeMcu-4M-bytes-Lua-WIFI-Internet-of-Things-development-board-based-ESP8266-by/32662942091.html

                    alexsh1A Offline
                    alexsh1A Offline
                    alexsh1
                    wrote on last edited by
                    #31

                    @mfalkvidd when it comes to a loraWAN GW the cost is different - the DIY GW is going to set you off by €200+.

                    Rfm95/96 are cheap, but there are cheap for a reason. RN2483 is more expensive but it is loraWAN compliant.

                    mfalkviddM 1 Reply Last reply
                    0
                    • alexsh1A alexsh1

                      @mfalkvidd when it comes to a loraWAN GW the cost is different - the DIY GW is going to set you off by €200+.

                      Rfm95/96 are cheap, but there are cheap for a reason. RN2483 is more expensive but it is loraWAN compliant.

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

                      @alexsh1 yes, absolutely. But is a private lorawan gw really relevant in a home automation scenario?

                      alexsh1A 1 Reply Last reply
                      0
                      • mfalkviddM mfalkvidd

                        @alexsh1 yes, absolutely. But is a private lorawan gw really relevant in a home automation scenario?

                        alexsh1A Offline
                        alexsh1A Offline
                        alexsh1
                        wrote on last edited by alexsh1
                        #33

                        @mfalkvidd That's a loaded question. The same as NB-IOT, I think Lora may be used under certain circumstances in home automation though it is not designed for it.

                        For example, a friend of mine has got a summer house in a remote location. No internet and very weak 3G/2G signal. However, there is a loraWAN signal (it is in Holland). Of course, a good GSM antenna may help here. Or loraWAN can be used to send a message "all is OK with your house" once an hour. Is this home automation? Yes it is.

                        Like like yourself, I'm using Wemos D1 mini + rfm95 as a single channel GW and a few sensors just to tinker with this new technology and try to find the right application

                        1 Reply Last reply
                        0
                        • M Offline
                          M Offline
                          mihai.aldea
                          wrote on last edited by
                          #34

                          Well, I'm glad that the posting got some traction and some very interesting ideas were shared. While the bits and pieces of information were all out there, your argument helped drawing some conclusions.

                          1. LoRa is NOT an option for HA. alexsh1 explained one scenario and I'm actually using LoRa (not LoRaWAN) in my building, but both cases make use of LoRa only because it's a new cool technology. @alexsh1 your friend could properly cover his home with 2G/3G signal either for free, by asking the provider to improve the coverage in that area, or by buying a GSM repeater. And I could ask a neighbor to share his WiFi connection so an ESP8266 module could do the job.
                          2. The protocol addresses very specific segments where a great urban coverage is required and for that to happen no node should exceed a radio power of over 100mW.
                            There is another case where everything was traded off for the sake of range, the ham radio JT65 protocol. I was able to successfully transmit a signal from Romania to Brazil using 5W RF power and a 1m diameter magnetic loop antenna. It's great for long distance, narrow bandwidth (200Hz wide channel), low power but it sends data at a "whooping" speed of 13 characters per 50 sec, during which it draws about 1.8A from a 12V battery (21.6Wh).
                          3. My original idea of LoRa <-> RFM69/RF24 is not feasible unless, some serious downsampling is involved, as buffering the raw data before sending it out is really useless because LoRa doesn't have a serious overhead that would be addressed by concatenating larger chunks of data in a single packets.

                          So at the end of the day, it really leaves us with a couple of applicable scenarios when taking public LoRaWAN meshes into consideration. Smart meters and perhaps security devices which only have to send a daily keepalive ping and if ever needed, tripped sensor alerts, provided that they would be immune to jammers. I'm not taking into consideration the close range stations where a daily 30s air time would suffice, because this defeats the purpose of LongRange. Other than that I see no real use of LoRaWAN, but feel free to share your ideas, perhaps I'm missing something.

                          And after apparently trashing both LoRa and LoRaWAN I will only say that I can barely wait to get myself a LoRaWAN gateway and set it up in my area :grin: :grin: :grin:

                          1 Reply Last reply
                          0
                          • M Offline
                            M Offline
                            MikeR
                            wrote on last edited by
                            #35

                            Does anyone here have any code examples of the defines etc to get an RFM95 module (sx1278) to work in mysensors? cant find it in the API page. Many thanks to someone who can help

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

                              Look into myconfig.h, there are some in there

                              M 1 Reply Last reply
                              0
                              • mfalkviddM Offline
                                mfalkviddM Offline
                                mfalkvidd
                                Mod
                                wrote on last edited by
                                #37

                                https://www.mysensors.org/apidocs-beta/group__RFM95SettingGrpPub.html might be useful

                                1 Reply Last reply
                                0
                                • gohanG gohan

                                  Look into myconfig.h, there are some in there

                                  M Offline
                                  M Offline
                                  MikeR
                                  wrote on last edited by
                                  #38

                                  @gohan Thank you, the one place i didnt look that i should have looked first

                                  1 Reply Last reply
                                  0
                                  • M Offline
                                    M Offline
                                    MikeR
                                    wrote on last edited by
                                    #39

                                    @mfalkvidd Thank you, looks like that will help me as well.

                                    Have had a bit of a tinker and still not getting the transport to initialise.

                                    #define MY_DEBUG
                                    #define MY_DEBUG_VERBOSE_RFM95
                                    
                                    #define MY_RADIO_RFM95
                                    #define RFM95_434MHZ
                                    #define MY_RFM95_MODEM_CONFIGRUATION RFM95_BW125CR48SF4096
                                    #define MY_GATEWAY_SERIAL
                                    
                                    
                                    // Enable inclusion mode
                                    #define MY_INCLUSION_MODE_FEATURE
                                    #define MY_INCLUSION_MODE_DURATION 60
                                    #define MY_DEFAULT_LED_BLINK_PERIOD 300
                                    
                                    
                                    #include <MySensors.h>
                                    
                                    void setup()
                                    {
                                    	}
                                    
                                    void presentation()
                                    {
                                    	}
                                    
                                    void loop()
                                    {
                                    	}```
                                    
                                    Thats what i have for the gateway and this is the response
                                    
                                    

                                    0;255;3;0;9;MCO:BGN:INIT GW,CP=RLNGA--,VER=2.1.1
                                    0;255;3;0;9;TSM:INIT
                                    0;255;3;0;9;TSF:WUR:MS=0
                                    0;255;3;0;9;RFM95:INIT
                                    0;255;3;0;9;!TSM:INIT:TSP FAIL
                                    0;255;3;0;9;TSM:FAIL:CNT=1
                                    0;255;3;0;9;TSM:FAIL:PDT```

                                    Anyone able to assist? is the code right and its a hardware issue or is there more that needs to be in the code?

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

                                      Double check for wrong wiring or a loose connection

                                      1 Reply Last reply
                                      0
                                      • M Offline
                                        M Offline
                                        MikeR
                                        wrote on last edited by
                                        #41

                                        Triple checked the wiring. .. through a level shifter,
                                        DIO0 - D2
                                        NSS - D10
                                        MOSI - D11
                                        MISO - D12
                                        SCK - D13
                                        GND - GND (only one on the radio, do they all need to be connected?)
                                        VDD - 3V3

                                        Does that code look fine?
                                        Might change the hardware out if that is the case.

                                        1 Reply Last reply
                                        0
                                        • M MikeR

                                          @mfalkvidd Thank you, looks like that will help me as well.

                                          Have had a bit of a tinker and still not getting the transport to initialise.

                                          #define MY_DEBUG
                                          #define MY_DEBUG_VERBOSE_RFM95
                                          
                                          #define MY_RADIO_RFM95
                                          #define RFM95_434MHZ
                                          #define MY_RFM95_MODEM_CONFIGRUATION RFM95_BW125CR48SF4096
                                          #define MY_GATEWAY_SERIAL
                                          
                                          
                                          // Enable inclusion mode
                                          #define MY_INCLUSION_MODE_FEATURE
                                          #define MY_INCLUSION_MODE_DURATION 60
                                          #define MY_DEFAULT_LED_BLINK_PERIOD 300
                                          
                                          
                                          #include <MySensors.h>
                                          
                                          void setup()
                                          {
                                          	}
                                          
                                          void presentation()
                                          {
                                          	}
                                          
                                          void loop()
                                          {
                                          	}```
                                          
                                          Thats what i have for the gateway and this is the response
                                          
                                          

                                          0;255;3;0;9;MCO:BGN:INIT GW,CP=RLNGA--,VER=2.1.1
                                          0;255;3;0;9;TSM:INIT
                                          0;255;3;0;9;TSF:WUR:MS=0
                                          0;255;3;0;9;RFM95:INIT
                                          0;255;3;0;9;!TSM:INIT:TSP FAIL
                                          0;255;3;0;9;TSM:FAIL:CNT=1
                                          0;255;3;0;9;TSM:FAIL:PDT```

                                          Anyone able to assist? is the code right and its a hardware issue or is there more that needs to be in the code?

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

                                          @MikeR see if defining these helps (matching the pins you have wired):

                                          #define 	MY_RFM95_IRQ_PIN
                                          #define 	MY_RFM95_IRQ_NUM
                                          #define 	MY_RFM95_CS_PIN
                                          
                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          14

                                          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
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular