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. Hardware
  3. Antenna 101

Antenna 101

Scheduled Pinned Locked Moved Hardware
27 Posts 9 Posters 20.6k Views 3 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.
  • clippermiamiC Offline
    clippermiamiC Offline
    clippermiami
    Hero Member
    wrote on last edited by
    #5

    @Damme
    After your discussion of the antenna It occurred to me that the one thing I had not changed was the GW radio. I had one spare NRF24L01+PA+SMA so I swapped it in the GW. That appears to be the fix --- I can now see the sensor module all the way out in the yard at the far end of the house, through outside walls and a half dozen interior walls. I doubt i'll get the ~450 meters you describe but its a LOT better than the 10 feet I was getting :)

    I've found a NRF24L01 without the PA but with a SMA antenna so I think i'll see about adopting that for the sensors, especially the battery sensors. No amplifier but it is a 2-3 dBi antenna and every little dBi helps :)

    YveauxY 1 Reply Last reply
    1
    • clippermiamiC clippermiami

      @Damme
      After your discussion of the antenna It occurred to me that the one thing I had not changed was the GW radio. I had one spare NRF24L01+PA+SMA so I swapped it in the GW. That appears to be the fix --- I can now see the sensor module all the way out in the yard at the far end of the house, through outside walls and a half dozen interior walls. I doubt i'll get the ~450 meters you describe but its a LOT better than the 10 feet I was getting :)

      I've found a NRF24L01 without the PA but with a SMA antenna so I think i'll see about adopting that for the sensors, especially the battery sensors. No amplifier but it is a 2-3 dBi antenna and every little dBi helps :)

      YveauxY Offline
      YveauxY Offline
      Yveaux
      Mod
      wrote on last edited by Yveaux
      #6

      @clippermiami @hek This is one for the troubleshooting section! Could have saved you (and us ;-) ) a lot of time!

      http://yveaux.blogspot.nl

      marceltrapmanM clippermiamiC 2 Replies Last reply
      0
      • YveauxY Yveaux

        @clippermiami @hek This is one for the troubleshooting section! Could have saved you (and us ;-) ) a lot of time!

        marceltrapmanM Offline
        marceltrapmanM Offline
        marceltrapman
        Mod
        wrote on last edited by
        #7

        @Yveaux I can split it up but you have to tell me at which point.

        Fulltime Servoy Developer
        Parttime Moderator MySensors board

        I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
        I have a FABtotum to print cases.

        YveauxY 1 Reply Last reply
        0
        • marceltrapmanM marceltrapman

          @Yveaux I can split it up but you have to tell me at which point.

          YveauxY Offline
          YveauxY Offline
          Yveaux
          Mod
          wrote on last edited by
          #8

          @marceltrapman I mean there's a toubleshooting section in the regular MySensors site (Building stuff -> Miscellaneous -> Troubleshooting).
          There could also be some help when your sensors aren't performing as expected (very short range etc.).
          E.g.

          • Exchange the nRF24 module of both gateway & sensor with known-good or new ones.
          • Try different antenna orientation
          • ...Whatever else comes from this thread...

          http://yveaux.blogspot.nl

          1 Reply Last reply
          0
          • YveauxY Yveaux

            @clippermiami @hek This is one for the troubleshooting section! Could have saved you (and us ;-) ) a lot of time!

            clippermiamiC Offline
            clippermiamiC Offline
            clippermiami
            Hero Member
            wrote on last edited by
            #9

            @Yveaux I honestly wish it had occurred to me too. But it didn't. Now as luck would have it, it looks like the USB port on my Vera Lite, where I have the Arduino, has packed it in. I can't even get it to recognize a flash drive any longer. So now I'm stuck until I solve that problem :-(

            I have ordered some NRF24L01 units with SMA antennas, no Amps however, for use on battery sensors ... +2-3 dBi may help

            1 Reply Last reply
            0
            • Z Offline
              Z Offline
              Zeph
              Hero Member
              wrote on last edited by Zeph
              #10

              @Damme

              I understand the radiation pattern from the external antenna and the polariztion, that's pretty standard.

              But what is the pattern from the two on-PCB antenna types? (sometimes referred to as zigzag and question mark or seven; I wouldn't assume they have the same pattern). Where are the (relative) peaks and nulls, what is the polarization?

              Anybody have any idea?

              @clippermiami
              I'm glad you finally resolved it, after gamely trying every suggestion that we could come up with.

              I'll be curious to know if the non-PA external antenna helps. In theory it should have a bit of gain (when oriented for the same polarization) but some have reported it working less well than the on-PCB antennas.

              1 Reply Last reply
              0
              • A Offline
                A Offline
                a-lurker
                wrote on last edited by a-lurker
                #11

                There are all sorts of magical antenna shapes - a few examples here:

                http://www.ti.com/lit/an/swra351a/swra351a.pdf

                The PCBs with the zigzag shape

                http://www.barefootelectronics.com/nordicc.png

                are probably a "meandering inverted F antenna" similar to this one:

                http://www.ti.com/lit/an/swra117d/swra117d.pdf

                The PCBs with the seven shaped antenna is probably just a 1/4 wave monopole bent to make it less sensitive to polarization?

                http://www.barefootelectronics.com/NordicA.jpg

                Hard to say what the rubber ducks use unless pulled apart. It's easy to just assume they are all interchangeable. They aren't - they are designed specifically for the frequency to be used. This one is a dipole with the associated doughnut radiation pattern:

                http://martybugs.net/wireless/rubberducky.cgi

                DammeD 1 Reply Last reply
                0
                • A a-lurker

                  There are all sorts of magical antenna shapes - a few examples here:

                  http://www.ti.com/lit/an/swra351a/swra351a.pdf

                  The PCBs with the zigzag shape

                  http://www.barefootelectronics.com/nordicc.png

                  are probably a "meandering inverted F antenna" similar to this one:

                  http://www.ti.com/lit/an/swra117d/swra117d.pdf

                  The PCBs with the seven shaped antenna is probably just a 1/4 wave monopole bent to make it less sensitive to polarization?

                  http://www.barefootelectronics.com/NordicA.jpg

                  Hard to say what the rubber ducks use unless pulled apart. It's easy to just assume they are all interchangeable. They aren't - they are designed specifically for the frequency to be used. This one is a dipole with the associated doughnut radiation pattern:

                  http://martybugs.net/wireless/rubberducky.cgi

                  DammeD Offline
                  DammeD Offline
                  Damme
                  Code Contributor
                  wrote on last edited by Damme
                  #12

                  @a-lurker Nice post!

                  I can report that I changed the SMA antenna that came with the songle with a +8db gain 2.4ghz wlan antenna and the signal died out completly, I think I'll will dissect the original antenna just to look why the bigger one didnt work at all..

                  maybe that's your problem @clippermiami ? try the old module but with the working antenna.

                  clippermiamiC Z 2 Replies Last reply
                  0
                  • DammeD Damme

                    @a-lurker Nice post!

                    I can report that I changed the SMA antenna that came with the songle with a +8db gain 2.4ghz wlan antenna and the signal died out completly, I think I'll will dissect the original antenna just to look why the bigger one didnt work at all..

                    maybe that's your problem @clippermiami ? try the old module but with the working antenna.

                    clippermiamiC Offline
                    clippermiamiC Offline
                    clippermiami
                    Hero Member
                    wrote on last edited by
                    #13

                    @Damme Possible. But now I have another problem, the USB port has died so I no longer have access to the Gateway :-) Yet another opportunity :-)

                    1 Reply Last reply
                    0
                    • DammeD Damme

                      @a-lurker Nice post!

                      I can report that I changed the SMA antenna that came with the songle with a +8db gain 2.4ghz wlan antenna and the signal died out completly, I think I'll will dissect the original antenna just to look why the bigger one didnt work at all..

                      maybe that's your problem @clippermiami ? try the old module but with the working antenna.

                      Z Offline
                      Z Offline
                      Zeph
                      Hero Member
                      wrote on last edited by
                      #14

                      @Damme said:

                      I can report that I changed the SMA antenna that came with the songle with a +8db gain 2.4ghz wlan antenna and the signal died out completly,

                      I don't know why it didn't work, but even it it had, I'd be wary of a +8db gain antenna in this application. The gain comes with the tradeoff of a narrower beam and more directionality, and for home automation I don't want that.

                      1 Reply Last reply
                      0
                      • DammeD Offline
                        DammeD Offline
                        Damme
                        Code Contributor
                        wrote on last edited by
                        #15

                        I have started building up lots of nodes and don't even use a cap any longer. The problem I had with reception is purely because long cables. now I'm using <2cm and have no problems at all.

                        YveauxY 1 Reply Last reply
                        0
                        • DammeD Damme

                          I have started building up lots of nodes and don't even use a cap any longer. The problem I had with reception is purely because long cables. now I'm using <2cm and have no problems at all.

                          YveauxY Offline
                          YveauxY Offline
                          Yveaux
                          Mod
                          wrote on last edited by Yveaux
                          #16

                          @Damme said:

                          purely because long cables

                          You mean the SPI connection between MPU & nRF24 I assume?

                          http://yveaux.blogspot.nl

                          DammeD 1 Reply Last reply
                          0
                          • YveauxY Yveaux

                            @Damme said:

                            purely because long cables

                            You mean the SPI connection between MPU & nRF24 I assume?

                            DammeD Offline
                            DammeD Offline
                            Damme
                            Code Contributor
                            wrote on last edited by
                            #17

                            @Yveaux yep!

                            1 Reply Last reply
                            0
                            • petewillP Offline
                              petewillP Offline
                              petewill
                              Admin
                              wrote on last edited by
                              #18

                              I posted about this earlier but I think it was lost.

                              Disclaimer: I am no expert but this seems to be working for me... I have been experimenting with adding a wire to my regular nRF24L01 radio chips. I have the chips with the zig zag patteren. Based on some limited reading the wavelength is of 2.4 GHz is 4.92 inches (http://www.antenna-theory.com/definitions/2p4GHzAntenna.php). I did some rough measurements of the zig zag pattern with micrometer and found that the length is about 1.64 inches. So, based on that I soldered a 3.28 inch piece of CAT5e to the end of the zig zag pattern.

                              I had a new node that I installed on Sunday night that wasn't communicating with the gateway at all. I replaced the nRF24L01 with my modified one on Monday night and it has been communicating perfectly all night.

                              I should probably note that my new node had the radio zig zag pattern parallel to the ground which may have also caused some of the communication problems. I wasn't able to easily move the orientation because of how it was mounted, so the antenna was a quick test that appears to have solved the problem.

                              I have another node in which I have achieved similar results in a totally different part of my house.

                              Note: this also seems to be working for other people. See the comments of this blog post:http://harizanov.com/2013/06/nrf24l01-range-testing/

                              Based on the above post the PA+SMA antenna still has better range, but the CAT5 hack is much cheaper :)

                              I'd be interested to hear if this works for anyone else.

                              Pete

                              My "How To" home automation video channel: https://www.youtube.com/channel/UCq_Evyh5PQALx4m4CQuxqkA

                              Z 1 Reply Last reply
                              1
                              • petewillP petewill

                                I posted about this earlier but I think it was lost.

                                Disclaimer: I am no expert but this seems to be working for me... I have been experimenting with adding a wire to my regular nRF24L01 radio chips. I have the chips with the zig zag patteren. Based on some limited reading the wavelength is of 2.4 GHz is 4.92 inches (http://www.antenna-theory.com/definitions/2p4GHzAntenna.php). I did some rough measurements of the zig zag pattern with micrometer and found that the length is about 1.64 inches. So, based on that I soldered a 3.28 inch piece of CAT5e to the end of the zig zag pattern.

                                I had a new node that I installed on Sunday night that wasn't communicating with the gateway at all. I replaced the nRF24L01 with my modified one on Monday night and it has been communicating perfectly all night.

                                I should probably note that my new node had the radio zig zag pattern parallel to the ground which may have also caused some of the communication problems. I wasn't able to easily move the orientation because of how it was mounted, so the antenna was a quick test that appears to have solved the problem.

                                I have another node in which I have achieved similar results in a totally different part of my house.

                                Note: this also seems to be working for other people. See the comments of this blog post:http://harizanov.com/2013/06/nrf24l01-range-testing/

                                Based on the above post the PA+SMA antenna still has better range, but the CAT5 hack is much cheaper :)

                                I'd be interested to hear if this works for anyone else.

                                Pete

                                Z Offline
                                Z Offline
                                Zeph
                                Hero Member
                                wrote on last edited by Zeph
                                #19

                                @petewill
                                I'm glad you resurfaced that lost discussion.

                                Did you take a look at the references posted by @a-lurker about magical antenna shapes? A device similar to the zig-zag nRF was well measured in different planes and polarization and it'a all over the board - peaks and nulls in all sorts of directions.

                                But the zigzag isn't a random thing, it's carefully computed for a given wavelength and impedance. When you are bending and splitting and changing trace widths, the linear length for best matching is no longer as simple to compute as with a simple wire antenna. It's not that they forgot to add the last 3.28 inches, it's that their computations told them they had already reached a good compromise for coverage and making it longer would make it worse.

                                It's still surprising that soldering a loose wire to some location along the zig-zag so substantially improved your antenna performance. I still suspect some luck was involved, and I would not suggest it unless other solutions didn't work or were not available (eg: changing the antenna orientation). But if it works sometimes (not rarely), then it's useful on the practical level (and a fun puzzle on the theoretic level).

                                And I'd love to hear the take that better antenna experts than I have on your experience.

                                I am reminded of my youth, when people would hang aluminum foil fragments on the coat hanger substituting for the broken half of rabbit ears for the TV, and then try all sorts of positions for both ears, seeking better reception. :-) To the degree that this worked (vs just giving a perception of doing something) it was based on doing all that random adjustment while watching the picture and stopping in the best configuration.

                                petewillP epierreE 2 Replies Last reply
                                0
                                • Z Zeph

                                  @petewill
                                  I'm glad you resurfaced that lost discussion.

                                  Did you take a look at the references posted by @a-lurker about magical antenna shapes? A device similar to the zig-zag nRF was well measured in different planes and polarization and it'a all over the board - peaks and nulls in all sorts of directions.

                                  But the zigzag isn't a random thing, it's carefully computed for a given wavelength and impedance. When you are bending and splitting and changing trace widths, the linear length for best matching is no longer as simple to compute as with a simple wire antenna. It's not that they forgot to add the last 3.28 inches, it's that their computations told them they had already reached a good compromise for coverage and making it longer would make it worse.

                                  It's still surprising that soldering a loose wire to some location along the zig-zag so substantially improved your antenna performance. I still suspect some luck was involved, and I would not suggest it unless other solutions didn't work or were not available (eg: changing the antenna orientation). But if it works sometimes (not rarely), then it's useful on the practical level (and a fun puzzle on the theoretic level).

                                  And I'd love to hear the take that better antenna experts than I have on your experience.

                                  I am reminded of my youth, when people would hang aluminum foil fragments on the coat hanger substituting for the broken half of rabbit ears for the TV, and then try all sorts of positions for both ears, seeking better reception. :-) To the degree that this worked (vs just giving a perception of doing something) it was based on doing all that random adjustment while watching the picture and stopping in the best configuration.

                                  petewillP Offline
                                  petewillP Offline
                                  petewill
                                  Admin
                                  wrote on last edited by
                                  #20

                                  @Zeph Yeah, I'm definitely open to the possibility of dumb luck. I feel that's how I've built my whole sensor network. :) I hope that I will get a better understanding of things as I keep learning but for now it is mostly trial and error.

                                  I have a feeling the bad signal could probably have been corrected by changing the orientation of the radio but soldering one wire was MUCH faster so I thought I'd give it a shot. It has been working flawlessly since I made that change. Luck or whatever, I'm happy... :)

                                  My "How To" home automation video channel: https://www.youtube.com/channel/UCq_Evyh5PQALx4m4CQuxqkA

                                  1 Reply Last reply
                                  0
                                  • Z Zeph

                                    @petewill
                                    I'm glad you resurfaced that lost discussion.

                                    Did you take a look at the references posted by @a-lurker about magical antenna shapes? A device similar to the zig-zag nRF was well measured in different planes and polarization and it'a all over the board - peaks and nulls in all sorts of directions.

                                    But the zigzag isn't a random thing, it's carefully computed for a given wavelength and impedance. When you are bending and splitting and changing trace widths, the linear length for best matching is no longer as simple to compute as with a simple wire antenna. It's not that they forgot to add the last 3.28 inches, it's that their computations told them they had already reached a good compromise for coverage and making it longer would make it worse.

                                    It's still surprising that soldering a loose wire to some location along the zig-zag so substantially improved your antenna performance. I still suspect some luck was involved, and I would not suggest it unless other solutions didn't work or were not available (eg: changing the antenna orientation). But if it works sometimes (not rarely), then it's useful on the practical level (and a fun puzzle on the theoretic level).

                                    And I'd love to hear the take that better antenna experts than I have on your experience.

                                    I am reminded of my youth, when people would hang aluminum foil fragments on the coat hanger substituting for the broken half of rabbit ears for the TV, and then try all sorts of positions for both ears, seeking better reception. :-) To the degree that this worked (vs just giving a perception of doing something) it was based on doing all that random adjustment while watching the picture and stopping in the best configuration.

                                    epierreE Offline
                                    epierreE Offline
                                    epierre
                                    Hero Member
                                    wrote on last edited by
                                    #21

                                    @Zeph a zigzag with 10dB and mesured 2 km range: Long range RF link using NRF24L01+ RF Transceiver

                                    z-wave - Vera -&gt; Domoticz
                                    rfx - Domoticz &lt;- MyDomoAtHome &lt;- Imperihome
                                    mysensors -&gt; mysensors-gw -&gt; Domoticz

                                    1 Reply Last reply
                                    0
                                    • DammeD Damme

                                      Hello guys!

                                      I am no expert at antennas but I realize some of you have really bad reception.

                                      I got ~450 meters between my nrf24l01+ap and a regular nrf24l01, and this through the house (concrete + wood) and through a forest.

                                      There are some things to take in count;

                                      Antenna orientation, if your gateway (with external antenna) is pointing straight up you have a vertical polarization of your transmission, this basically means that your nodes will work best if they also are vertical.

                                      The radiation-pattern from the external antenna looks like this: http://commons.wikimedia.org/wiki/File:Short_dipole_radiation_pattern.gif

                                      This means in a ideal location with no walls and you were floating in space you basically don't have any reception at all straight above or below the gateway. but since radio waves also reflect from objects you just have very poor reception in the real world.

                                      And looking at the radiation-pattern you'll see that you have the best reception in the blue circles. (and the antennas on your internet router should be pointing straight up if you dont have a multi floor building.)

                                      And because the radio waves reflect, the distance to cables, metal and ground-plane on a pcb matters a lot, if you have wrong distance, you can cancel out the signal almost completely, and you could actually amplify the signal in one direction by having the correct distance. (1/2 wave length = ~61mm if I'm not totally lost today) This is how parabolics works.

                                      Well this is just a very short beginners knowledge and please, correct me and fill in missing facts. I just wanted to get the topic started.. :)

                                      //Damme

                                      DammeD Offline
                                      DammeD Offline
                                      Damme
                                      Code Contributor
                                      wrote on last edited by
                                      #22

                                      Lol
                                      I just realized why my wlan-antenna didn't work..:+1: IMG_20140805_153548.jpg

                                      YveauxY 1 Reply Last reply
                                      2
                                      • DammeD Damme

                                        Lol
                                        I just realized why my wlan-antenna didn't work..:+1: IMG_20140805_153548.jpg

                                        YveauxY Offline
                                        YveauxY Offline
                                        Yveaux
                                        Mod
                                        wrote on last edited by
                                        #23

                                        @Damme ;-)

                                        http://yveaux.blogspot.nl

                                        1 Reply Last reply
                                        0
                                        • DammeD Damme

                                          Hello guys!

                                          I am no expert at antennas but I realize some of you have really bad reception.

                                          I got ~450 meters between my nrf24l01+ap and a regular nrf24l01, and this through the house (concrete + wood) and through a forest.

                                          There are some things to take in count;

                                          Antenna orientation, if your gateway (with external antenna) is pointing straight up you have a vertical polarization of your transmission, this basically means that your nodes will work best if they also are vertical.

                                          The radiation-pattern from the external antenna looks like this: http://commons.wikimedia.org/wiki/File:Short_dipole_radiation_pattern.gif

                                          This means in a ideal location with no walls and you were floating in space you basically don't have any reception at all straight above or below the gateway. but since radio waves also reflect from objects you just have very poor reception in the real world.

                                          And looking at the radiation-pattern you'll see that you have the best reception in the blue circles. (and the antennas on your internet router should be pointing straight up if you dont have a multi floor building.)

                                          And because the radio waves reflect, the distance to cables, metal and ground-plane on a pcb matters a lot, if you have wrong distance, you can cancel out the signal almost completely, and you could actually amplify the signal in one direction by having the correct distance. (1/2 wave length = ~61mm if I'm not totally lost today) This is how parabolics works.

                                          Well this is just a very short beginners knowledge and please, correct me and fill in missing facts. I just wanted to get the topic started.. :)

                                          //Damme

                                          DammeD Offline
                                          DammeD Offline
                                          Damme
                                          Code Contributor
                                          wrote on last edited by
                                          #24

                                          I did some testing and analyzing of my microwave RF band.. (hehe)

                                          Channel 76 which is 2476Mhz. and is between wlan channel 13 and 14.
                                          My microwave oven destroys channel 7 - 13 almost completely (2462 - 2472) and affects 6 and 14 too. so a total of 2437 - 2484 mhz is mangled up (Surprises me a bit. And this is no cheap brand, its a quality micro wave, and the cheap one I have in the trash is even worse..)

                                          Me myself uses wlan 802.11n (40mhz channels) on ch1. so freq 2400 - 2442 is full also., so the best choice is actually using nrf24 channel above ch 85 in my case (and probobly others too). Could be good to know in future choice of default channel.

                                          YveauxY 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          17

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.1k

                                          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