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.
  • 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
                              • hekH Offline
                                hekH Offline
                                hek
                                Admin
                                wrote on last edited by
                                #52

                                No, running repeaters on battery is probably not possible. Keeping radio in listening-mode takes too much juice.

                                karl261K 1 Reply Last reply
                                0
                                • hekH hek

                                  No, running repeaters on battery is probably not possible. Keeping radio in listening-mode takes too much juice.

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

                                  @hek Ah yes, that's right. The radio needs to be on. I forgot about that. We need an over the air interrupt... ;-)

                                  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