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. Troubleshooting
  3. NRF24L01+PA+LNA power consumption

NRF24L01+PA+LNA power consumption

Scheduled Pinned Locked Moved Troubleshooting
53 Posts 9 Posters 25.9k Views 9 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.
  • Mark SwiftM Mark Swift

    I'm using these modules, I presume the base unit is compatible? I was confused when I read above that the PA modules may need a 3v control line.

    http://www.icstation.com/22dbm-100mw-nrf24l01ppalna-wireless-transmission-module-p-4677.html

    I'm really frustrated that none of my modules work unless I physically hold them, even the shielded ones above!

    parachutesjP Offline
    parachutesjP Offline
    parachutesj
    wrote on last edited by
    #32

    @Mark-Swift
    I received two of them a few days ago and both work very well. I soldered a cap onto it as suggested and pointing the antenna straight up (aligned with Z axis)
    One is just powered by an original Uno and the other via liniar power regulator. Not saying that this is enough, just in my case it is stable since Friday (3-4 days)

    Mark SwiftM 1 Reply Last reply
    0
    • parachutesjP parachutesj

      @Mark-Swift
      I received two of them a few days ago and both work very well. I soldered a cap onto it as suggested and pointing the antenna straight up (aligned with Z axis)
      One is just powered by an original Uno and the other via liniar power regulator. Not saying that this is enough, just in my case it is stable since Friday (3-4 days)

      Mark SwiftM Offline
      Mark SwiftM Offline
      Mark Swift
      wrote on last edited by
      #33

      @parachutesj

      Strange, how are you driving them, what volt control line, 5v?

      parachutesjP 1 Reply Last reply
      0
      • Mark SwiftM Mark Swift

        @Oitzu I presume the shielded modules from IC station would be spot on with regards shielding?

        Right now I have my base module connected the 5v line of my Uno...?

        AWIA Offline
        AWIA Offline
        AWI
        Hero Member
        wrote on last edited by
        #34

        @Mark-Swift The ones you refer are shielded.. as far as I can see.
        0_1464696145069_upload-6475afd2-f07a-496f-be95-a8f71187f6cd

        So next level in debugging... how is you ground connected,. You can try to power the adapter plate from the supply of your UNO. The on board LM1117 should be able to accept upto 20V.

        Mark SwiftM 1 Reply Last reply
        0
        • Mark SwiftM Mark Swift

          @parachutesj

          Strange, how are you driving them, what volt control line, 5v?

          parachutesjP Offline
          parachutesjP Offline
          parachutesj
          wrote on last edited by
          #35

          @Mark-Swift
          no 3.3V.
          However as said, it is an original Uno. I have clones which deliver no clean or reliable signal. I measured it before but don't remember exactly but was quite off.

          Mark SwiftM 1 Reply Last reply
          0
          • parachutesjP parachutesj

            @Mark-Swift
            no 3.3V.
            However as said, it is an original Uno. I have clones which deliver no clean or reliable signal. I measured it before but don't remember exactly but was quite off.

            Mark SwiftM Offline
            Mark SwiftM Offline
            Mark Swift
            wrote on last edited by
            #36

            @parachutesj said:

            @Mark-Swift
            no 3.3V.
            However as said, it is an original Uno. I have clones which deliver no clean or reliable signal. I measured it before but don't remember exactly but was quite off.

            The Uno has 5v control lines doesn't it?

            parachutesjP 1 Reply Last reply
            0
            • Mark SwiftM Mark Swift

              @parachutesj said:

              @Mark-Swift
              no 3.3V.
              However as said, it is an original Uno. I have clones which deliver no clean or reliable signal. I measured it before but don't remember exactly but was quite off.

              The Uno has 5v control lines doesn't it?

              parachutesjP Offline
              parachutesjP Offline
              parachutesj
              wrote on last edited by
              #37

              @Mark-Swift
              the digital ports? AFAIK yes.
              the radio VCC is connected to 3.3 (all to the pins as in the tutorial GND, VCC 3.3, D9-D13)
              The other setup is via external power (ipad USB-Adapter) to a breadboard, VIN directly from 5V to the Arduino and another line via 3.3V regulator to the NRF24 radio. all other lines again directly connected to the arduino.

              1 Reply Last reply
              0
              • AWIA AWI

                @Mark-Swift The ones you refer are shielded.. as far as I can see.
                0_1464696145069_upload-6475afd2-f07a-496f-be95-a8f71187f6cd

                So next level in debugging... how is you ground connected,. You can try to power the adapter plate from the supply of your UNO. The on board LM1117 should be able to accept upto 20V.

                Mark SwiftM Offline
                Mark SwiftM Offline
                Mark Swift
                wrote on last edited by
                #38

                @AWI Ground is connected from the baseboard back to the Uno, along with the VCC. That's how I'm currently powering it, 5V from uno into the adaptor plate. All other control lines directly into the Uno.

                1 Reply Last reply
                0
                • OitzuO Offline
                  OitzuO Offline
                  Oitzu
                  wrote on last edited by
                  #39

                  hackaday caught wind on the tinfoil method.
                  http://hackaday.com/2016/05/31/fixing-the-terrible-range-of-your-cheap-nrf24l01-palna-module/
                  Maybe there also some points hidden in the comments that would help?

                  1 Reply Last reply
                  0
                  • Mark SwiftM Offline
                    Mark SwiftM Offline
                    Mark Swift
                    wrote on last edited by
                    #40

                    I saw this on Hackaday, could we make this change in MySensors?

                    "Don’t use polling over SPI to check if there is a received packet like most of the libs out there do. This increases the noise. Use the IRQ pin"

                    @hek

                    1 Reply Last reply
                    0
                    • hekH Offline
                      hekH Offline
                      hek
                      Admin
                      wrote on last edited by
                      #41

                      In the development branch we do use irq nowadays, if you define

                      #define MY_RF24_IRQ_PIN xx

                      It also de-queues messages from the NRF24 quickly, which reduces missed messages.

                      Mark SwiftM GertSandersG 2 Replies Last reply
                      0
                      • hekH hek

                        In the development branch we do use irq nowadays, if you define

                        #define MY_RF24_IRQ_PIN xx

                        It also de-queues messages from the NRF24 quickly, which reduces missed messages.

                        Mark SwiftM Offline
                        Mark SwiftM Offline
                        Mark Swift
                        wrote on last edited by
                        #42

                        @hek amazing, I never knew that.

                        So all I would do is define this line in my sketch and connect up the IRQ line?

                        I presume I can use this on both my gateway (ESP8266) and my nodes (Nano / Uno)?

                        1 Reply Last reply
                        0
                        • hekH Offline
                          hekH Offline
                          hek
                          Admin
                          wrote on last edited by
                          #43

                          The ESP still doesn't support this feature due to lack of SPI transaction support (if I remember correctly? @Yveaux ).

                          YveauxY 1 Reply Last reply
                          0
                          • hekH hek

                            The ESP still doesn't support this feature due to lack of SPI transaction support (if I remember correctly? @Yveaux ).

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

                            @hek @Mark-Swift More precisely, it misses the interrupt protection for SPI transfers. Ref https://github.com/esp8266/Arduino/issues/1943.

                            But the queueing is not yet in development, as far as I know -- it is in my personan testing branch https://github.com/Yveaux/Arduino/tree/development_rxqueue

                            http://yveaux.blogspot.nl

                            1 Reply Last reply
                            0
                            • OitzuO Offline
                              OitzuO Offline
                              Oitzu
                              wrote on last edited by
                              #45

                              @Mark-Swift there are basicly effects that could occur while you holding the module:
                              1.) You are forming a very small capacitor between you and the module.
                              Much unlikely to be the reason.
                              2.) You are functioning as an antenna for the module.
                              Also much unlikely, you would probably bring more noise then signal in the system.
                              3.) You function as a shield to the module.
                              More likely. I got the same behavior with insufficient shielding.
                              The shielding works ungrounded in low noise environment but needs to be grounded in a high noise environment.
                              This happens, as example, if a insufficient shielded switching power supply is nearby.

                              Please make absolutely sure that your shield is properly grounded!

                              Mark SwiftM 1 Reply Last reply
                              0
                              • OitzuO Oitzu

                                @Mark-Swift there are basicly effects that could occur while you holding the module:
                                1.) You are forming a very small capacitor between you and the module.
                                Much unlikely to be the reason.
                                2.) You are functioning as an antenna for the module.
                                Also much unlikely, you would probably bring more noise then signal in the system.
                                3.) You function as a shield to the module.
                                More likely. I got the same behavior with insufficient shielding.
                                The shielding works ungrounded in low noise environment but needs to be grounded in a high noise environment.
                                This happens, as example, if a insufficient shielded switching power supply is nearby.

                                Please make absolutely sure that your shield is properly grounded!

                                Mark SwiftM Offline
                                Mark SwiftM Offline
                                Mark Swift
                                wrote on last edited by
                                #46

                                @Oitzu The shielded modules appear to have the shield well grounded?

                                1 Reply Last reply
                                0
                                • OitzuO Offline
                                  OitzuO Offline
                                  Oitzu
                                  wrote on last edited by
                                  #47

                                  @Mark-Swift does "appear" mean you actually measured it all the way to ground or that you believe that it should be well grounded?

                                  1 Reply Last reply
                                  0
                                  • hekH hek

                                    In the development branch we do use irq nowadays, if you define

                                    #define MY_RF24_IRQ_PIN xx

                                    It also de-queues messages from the NRF24 quickly, which reduces missed messages.

                                    GertSandersG Offline
                                    GertSandersG Offline
                                    GertSanders
                                    Hardware Contributor
                                    wrote on last edited by
                                    #48

                                    @hek
                                    So it would make sense to connect the IRQ pin of the radio to the processor ? Any pin ? Or is it meant for INT0/INT1 pins only ?

                                    karl261K 1 Reply Last reply
                                    0
                                    • GertSandersG GertSanders

                                      @hek
                                      So it would make sense to connect the IRQ pin of the radio to the processor ? Any pin ? Or is it meant for INT0/INT1 pins only ?

                                      karl261K Offline
                                      karl261K Offline
                                      karl261
                                      wrote on last edited by
                                      #49

                                      @GertSanders Did you find an answer to this? With 2.0.0 would it be better to use IRQ now? Just connecting the pin and adding the IRQ line?

                                      YveauxY 1 Reply Last reply
                                      0
                                      • karl261K karl261

                                        @GertSanders Did you find an answer to this? With 2.0.0 would it be better to use IRQ now? Just connecting the pin and adding the IRQ line?

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

                                        @karl261 It isn't used by default in 2.0.0, but can be used in the 2.0.1 development brach. I would advise you to connect the nRF irq pin to into (pin 2), to be prepared for later usage.

                                        http://yveaux.blogspot.nl

                                        karl261K 1 Reply Last reply
                                        1
                                        • YveauxY Yveaux

                                          @karl261 It isn't used by default in 2.0.0, but can be used in the 2.0.1 development brach. I would advise you to connect the nRF irq pin to into (pin 2), to be prepared for later usage.

                                          karl261K Offline
                                          karl261K Offline
                                          karl261
                                          wrote on last edited by
                                          #51

                                          @Yveaux So, basically this means that in the future we can have the arduino sleeping and when a message comes in it wakes up from the interrupt? Sounds like repeaters could run on battery then. If there is not too much traffic.

                                          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.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