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. Development
  3. Help needed to setup a RFM69 & ESP8266 Gateaway on Adafruit Feather Huzzah

Help needed to setup a RFM69 & ESP8266 Gateaway on Adafruit Feather Huzzah

Scheduled Pinned Locked Moved Development
35 Posts 6 Posters 239 Views 4 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.
  • H Offline
    H Offline
    hlehoux
    wrote on last edited by
    #11

    I'm also reading a few posts like this one trying to understand a bit more ....

    1 Reply Last reply
    0
    • electrikE Offline
      electrikE Offline
      electrik
      wrote on last edited by
      #12

      Are you sure about ask your hardware versions? I bought rfm69 modules and I thought they were the HW version but they turned out to be the normal ones.
      So important is

      • module version
      • frequency

      It looks like even with a high rssi your reception is not good. But maybe I interpret this the wrong way. Can I've of the developers or more experienced help with the analysis?

      1 Reply Last reply
      0
      • H Offline
        H Offline
        hlehoux
        wrote on last edited by hlehoux
        #13

        Thank you @electrik
        My intent is to use RFM69HW 868Mhz
        I compared with photos on the internet like here

        mine is:
        IMG_0359.jpg

        as far as i understand my reading my RSSI values seem to tell my signal is very weak and noisy ?
        I tried to provide the pwr to the rfm69 with an external source instead of the esp8266 but i was not better.

        hakha4H electrikE 2 Replies Last reply
        0
        • H hlehoux

          Thank you @electrik
          My intent is to use RFM69HW 868Mhz
          I compared with photos on the internet like here

          mine is:
          IMG_0359.jpg

          as far as i understand my reading my RSSI values seem to tell my signal is very weak and noisy ?
          I tried to provide the pwr to the rfm69 with an external source instead of the esp8266 but i was not better.

          hakha4H Offline
          hakha4H Offline
          hakha4
          wrote on last edited by
          #14

          @hlehoux Hi!
          I had quite alot of trouble with NRF24 modules with shaky connections despite doing everything that has been discussed in forum with power supply etc and have ordered a bunch of RFM69's to hopefully improve this according to others in forum claiming better stability with RFM''s. Haven't tested yet but reading this is a bit dissapointing.
          One thing though. Readings in log shows very high RSSI values and if it is measured in dBm this is very bad. The lower value the better I believe. Antenna issue ?

          H 1 Reply Last reply
          0
          • H hlehoux

            Thank you @electrik
            My intent is to use RFM69HW 868Mhz
            I compared with photos on the internet like here

            mine is:
            IMG_0359.jpg

            as far as i understand my reading my RSSI values seem to tell my signal is very weak and noisy ?
            I tried to provide the pwr to the rfm69 with an external source instead of the esp8266 but i was not better.

            electrikE Offline
            electrikE Offline
            electrik
            wrote on last edited by
            #15

            @hlehoux can you take a photo from the back also? There should be a table telling which one it is exactly.

            @hakha4 said in Help needed to setup a RFM69 & ESP8266 Gateaway on Adafruit Feather Huzzah:

            Antenna issue ?

            You could be right.

            What antenna do you have?

            1 Reply Last reply
            0
            • H Offline
              H Offline
              hlehoux
              wrote on last edited by
              #16

              Hello, here are 2 photos

              one from the back:
              IMG_0360.jpg

              I'm not sure what the "W" means, i read chinese copy don't have it ?

              one from the antenna:
              IMG_0361.jpg
              It should be the good size for 868 MHz

              I don't use "ground plane" or sort of, would this explain so bad RSSI ?

              Thank you again for your help and patience

              hakha4H scalzS 2 Replies Last reply
              0
              • hakha4H hakha4

                @hlehoux Hi!
                I had quite alot of trouble with NRF24 modules with shaky connections despite doing everything that has been discussed in forum with power supply etc and have ordered a bunch of RFM69's to hopefully improve this according to others in forum claiming better stability with RFM''s. Haven't tested yet but reading this is a bit dissapointing.
                One thing though. Readings in log shows very high RSSI values and if it is measured in dBm this is very bad. The lower value the better I believe. Antenna issue ?

                H Offline
                H Offline
                hlehoux
                wrote on last edited by
                #17

                @hakha4 i also have several NRF24 nodes and gateaway
                After trying several antenna/tranceiver, i recommend using
                "E01-ML01DP5 Long Range SPI nRF24L01P 2.4Ghz 100mW SMA Antenna IoT Wireless Transceiver Transmitter Receiver nRF24L01P RF Module"

                as a repeater
                It gives far better range results

                Anyway i wanted to try RFM69 to avoid having many repeaters

                1 Reply Last reply
                0
                • electrikE Offline
                  electrikE Offline
                  electrik
                  wrote on last edited by
                  #18

                  The modules correspond to what it should be.
                  It looks like your ground is connected to the ANT pin on the picture, on the bottom side of the PCB?

                  H 1 Reply Last reply
                  1
                  • H hlehoux

                    Hello, here are 2 photos

                    one from the back:
                    IMG_0360.jpg

                    I'm not sure what the "W" means, i read chinese copy don't have it ?

                    one from the antenna:
                    IMG_0361.jpg
                    It should be the good size for 868 MHz

                    I don't use "ground plane" or sort of, would this explain so bad RSSI ?

                    Thank you again for your help and patience

                    hakha4H Offline
                    hakha4H Offline
                    hakha4
                    wrote on last edited by
                    #19

                    @hlehoux Hi!
                    I'm not sure what the "W" means, i read chinese copy don't have it ?

                    W means the low power output variant (+13dBm). There is another version named 'HW' which give a higher transmission output (+20 dBM). As elektik pointed out, check out the solder of the antenna. Did the antenna come presoldered or you did it yourself?
                    Another option for the coiled antenna is a straight copper wire (8,6 cm long) that gives better transmission according to many sources. Google! theres's alot information about this

                    electrikE 1 Reply Last reply
                    0
                    • hakha4H hakha4

                      @hlehoux Hi!
                      I'm not sure what the "W" means, i read chinese copy don't have it ?

                      W means the low power output variant (+13dBm). There is another version named 'HW' which give a higher transmission output (+20 dBM). As elektik pointed out, check out the solder of the antenna. Did the antenna come presoldered or you did it yourself?
                      Another option for the coiled antenna is a straight copper wire (8,6 cm long) that gives better transmission according to many sources. Google! theres's alot information about this

                      electrikE Offline
                      electrikE Offline
                      electrik
                      wrote on last edited by
                      #20

                      @hakha4 said in Help needed to setup a RFM69 & ESP8266 Gateaway on Adafruit Feather Huzzah:

                      There is another version named 'HW' which give a higher transmission output (+20 dBM).

                      There is a black spot on the PCB after "69H" and after the "W" so this is the RFM69HW

                      1 Reply Last reply
                      0
                      • H hlehoux

                        Hello, here are 2 photos

                        one from the back:
                        IMG_0360.jpg

                        I'm not sure what the "W" means, i read chinese copy don't have it ?

                        one from the antenna:
                        IMG_0361.jpg
                        It should be the good size for 868 MHz

                        I don't use "ground plane" or sort of, would this explain so bad RSSI ?

                        Thank you again for your help and patience

                        scalzS Offline
                        scalzS Offline
                        scalz
                        Hardware Contributor
                        wrote on last edited by scalz
                        #21

                        @hlehoux
                        unfortunately, lot of devboards have non-optimized gnd plane for RF, especially for subghz (small or splitted gnd plane by routes..).
                        Moreover, devboard+dupont cable+external rf module is not ideal.
                        With rfm69, you should get a nice range.
                        Though, why on one of your picture, antenna seems shorted to gnd??
                        Imho I would have chosen something else than esp8266 (esp32??) in your case, but your choice :)

                        To check if this is related to your gnd plane and your build is ok, you could also try to hook two straight wires as a dipole antenna to your radio (one to ANA, the other to GND in opposite direction will replace a ground plane). Google for examples, it's simple to try

                        electrikE H 2 Replies Last reply
                        0
                        • scalzS scalz

                          @hlehoux
                          unfortunately, lot of devboards have non-optimized gnd plane for RF, especially for subghz (small or splitted gnd plane by routes..).
                          Moreover, devboard+dupont cable+external rf module is not ideal.
                          With rfm69, you should get a nice range.
                          Though, why on one of your picture, antenna seems shorted to gnd??
                          Imho I would have chosen something else than esp8266 (esp32??) in your case, but your choice :)

                          To check if this is related to your gnd plane and your build is ok, you could also try to hook two straight wires as a dipole antenna to your radio (one to ANA, the other to GND in opposite direction will replace a ground plane). Google for examples, it's simple to try

                          electrikE Offline
                          electrikE Offline
                          electrik
                          wrote on last edited by
                          #22

                          @scalz
                          Could you explain how to read these rssi reports, and how to adjust the configuration of the nodes so the reliability goes up?
                          I know there is a setting RFM69_TARGET_RSSI_DBM but it is not clear for me how to use this exactly.

                          scalzS 1 Reply Last reply
                          0
                          • electrikE electrik

                            The modules correspond to what it should be.
                            It looks like your ground is connected to the ANT pin on the picture, on the bottom side of the PCB?

                            H Offline
                            H Offline
                            hlehoux
                            wrote on last edited by
                            #23

                            @electrik Thank you! What you see is the "head" of the pliers i used to hold the RFM69. I will check again my soldering but definitly ANT and ground should not be connected

                            1 Reply Last reply
                            0
                            • scalzS scalz

                              @hlehoux
                              unfortunately, lot of devboards have non-optimized gnd plane for RF, especially for subghz (small or splitted gnd plane by routes..).
                              Moreover, devboard+dupont cable+external rf module is not ideal.
                              With rfm69, you should get a nice range.
                              Though, why on one of your picture, antenna seems shorted to gnd??
                              Imho I would have chosen something else than esp8266 (esp32??) in your case, but your choice :)

                              To check if this is related to your gnd plane and your build is ok, you could also try to hook two straight wires as a dipole antenna to your radio (one to ANA, the other to GND in opposite direction will replace a ground plane). Google for examples, it's simple to try

                              H Offline
                              H Offline
                              hlehoux
                              wrote on last edited by
                              #24

                              @scalz Thank you very much!
                              Unfortunatly, the antenna seems shorted to ground only because this is the "head" of the pliers i used to take the photo.

                              i use esp8266 because i received for free a lot of many adafruit huzzah feathers :-)

                              i will try your suggestion to hook two straight wires as a dipole antenna and report if this is better.

                              For sure my "development" setup is devboard+dupont cable+external rf and this should not be the final version ; anyway loosing 50% of messages with distance of 1 meter is disappointing.

                              hakha4H 1 Reply Last reply
                              0
                              • H hlehoux

                                @scalz Thank you very much!
                                Unfortunatly, the antenna seems shorted to ground only because this is the "head" of the pliers i used to take the photo.

                                i use esp8266 because i received for free a lot of many adafruit huzzah feathers :-)

                                i will try your suggestion to hook two straight wires as a dipole antenna and report if this is better.

                                For sure my "development" setup is devboard+dupont cable+external rf and this should not be the final version ; anyway loosing 50% of messages with distance of 1 meter is disappointing.

                                hakha4H Offline
                                hakha4H Offline
                                hakha4
                                wrote on last edited by
                                #25

                                @hlehoux Here is a useful link how to do that: https://learn.sparkfun.com/tutorials/rfm69hcw-hookup-guide/the-antenna

                                1 Reply Last reply
                                0
                                • S Offline
                                  S Offline
                                  Sasquatch
                                  wrote on last edited by
                                  #26

                                  try adding :

                                  #define MY_RFM69_FREQUENCY   RFM69_868MHZ
                                  

                                  just in case....

                                  My first prototype using dupont cables and piece of wire as antenna gave me 500m range with 3 or 4 houses between me and gateway.
                                  Try old driver, no RSSI reporting, but my whole network runs on old driver.

                                  @hlehoux 1m range is usually caused by radio type misconfiguration, like running HW radio as low power or other way round. Another possibility is faulty radio.

                                  1 Reply Last reply
                                  0
                                  • H Offline
                                    H Offline
                                    hlehoux
                                    wrote on last edited by
                                    #27

                                    Strangely, i also have another bunch of RFM69s that are marked as H but not W. What does it mean ?

                                    S 1 Reply Last reply
                                    0
                                    • H hlehoux

                                      Strangely, i also have another bunch of RFM69s that are marked as H but not W. What does it mean ?

                                      S Offline
                                      S Offline
                                      Sasquatch
                                      wrote on last edited by
                                      #28

                                      @hlehoux no idea, i have mix of HW, W and H marked, all play together nicely.

                                      1 Reply Last reply
                                      0
                                      • electrikE electrik

                                        @scalz
                                        Could you explain how to read these rssi reports, and how to adjust the configuration of the nodes so the reliability goes up?
                                        I know there is a setting RFM69_TARGET_RSSI_DBM but it is not clear for me how to use this exactly.

                                        scalzS Offline
                                        scalzS Offline
                                        scalz
                                        Hardware Contributor
                                        wrote on last edited by scalz
                                        #29

                                        @electrik
                                        in logs, RFM69:CSMA:RSSI=-104 is the noise floor
                                        and RFM69_TARGET_RSSI_DBM define the rssi you want to have for your node.

                                        so if you have a noise floor of -100, you could adjust your target to -85 or less. But maybe you could get a few retries with -90 target.

                                        rfm69 power level can be adjusted from -18 to +13db. 13db=100% power= 45mA power consumption.

                                        for example, let's say your target is -70, and your power level has been autoadjusted to +5.
                                        then if you set, the target to -80 or less, power level will decrease to maybe -8 or even less, it depends on your environment and your build.
                                        And vice versa, if you set target to -50, ATC will set a higher power level.

                                        ATC is used to auto-adjust radio power level consumption for battery nodes, so they use only energy they need. This also make your rf environment "greener". No nodes sending loud messages if not needed.

                                        Another example, I recently designed a new node. Noise floor here is around -98db.
                                        With a target of -70 if I remember, power level was autoadjusted to +5db.
                                        After adjusting target to -87db, power level has decreased to -11db, which equals to 20% power.
                                        And there are no NACK nor retries.
                                        So this node now requires less energy for sending messages and that will save battery.
                                        This is for an indoor node, 10m distance with 2 brick walls obstacles.

                                        old driver doesn't have ATC management. I've no problem so far with new driver.

                                        I guess H would mean High power version. But to be sure, yuo just have to google for rfm69 pics and you'll see which version you have. Existing versions are : RFM69HW, RFM69W, RFM69HCW, RFM69CW

                                        S 1 Reply Last reply
                                        2
                                        • scalzS scalz

                                          @electrik
                                          in logs, RFM69:CSMA:RSSI=-104 is the noise floor
                                          and RFM69_TARGET_RSSI_DBM define the rssi you want to have for your node.

                                          so if you have a noise floor of -100, you could adjust your target to -85 or less. But maybe you could get a few retries with -90 target.

                                          rfm69 power level can be adjusted from -18 to +13db. 13db=100% power= 45mA power consumption.

                                          for example, let's say your target is -70, and your power level has been autoadjusted to +5.
                                          then if you set, the target to -80 or less, power level will decrease to maybe -8 or even less, it depends on your environment and your build.
                                          And vice versa, if you set target to -50, ATC will set a higher power level.

                                          ATC is used to auto-adjust radio power level consumption for battery nodes, so they use only energy they need. This also make your rf environment "greener". No nodes sending loud messages if not needed.

                                          Another example, I recently designed a new node. Noise floor here is around -98db.
                                          With a target of -70 if I remember, power level was autoadjusted to +5db.
                                          After adjusting target to -87db, power level has decreased to -11db, which equals to 20% power.
                                          And there are no NACK nor retries.
                                          So this node now requires less energy for sending messages and that will save battery.
                                          This is for an indoor node, 10m distance with 2 brick walls obstacles.

                                          old driver doesn't have ATC management. I've no problem so far with new driver.

                                          I guess H would mean High power version. But to be sure, yuo just have to google for rfm69 pics and you'll see which version you have. Existing versions are : RFM69HW, RFM69W, RFM69HCW, RFM69CW

                                          S Offline
                                          S Offline
                                          Sasquatch
                                          wrote on last edited by
                                          #30

                                          @scalz great explanation of new driver functionality.
                                          Some cheapest Aliexpress boards are not marked at all or marked with Frequency only. H versions have additional sot23-6 chip near antenna pin.

                                          Wonder why the new driver wasn't stable enough to do 12kB OTA firmware update even once, regardless of settings :thinking_face: . Same GW and node works flawlessly on old driver over 10-100 meters.

                                          scalzS 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 2025 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