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. Which are the *best* NRF24L01+ modules?

Which are the *best* NRF24L01+ modules?

Scheduled Pinned Locked Moved Hardware
310 Posts 42 Posters 259.3k Views 37 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.
  • NeverDieN NeverDie

    Do the amplified modules simply always function at full amplification, or is there a code change that's needed to adjust the Tx power? Towards the start of this thread I tried some amplified modules from ICStation, but I was hugely disappointed with them. In fact, I don't think I saw any improvement at all, which greatly contradicted the experience that some others appeared to be getting. At least at that time, though, there was no real guidance on how to use them effectively, and so maybe I wasn't driving them right. Maybe there's more information now.

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

    @NeverDie In MyConfig.h there are settings:

    #define RF24_PA_LEVEL 	   RF24_PA_MAX
    #define RF24_PA_LEVEL_GW   RF24_PA_LOW
    

    The second one is for the amplified version (RF24_PA_MAX can used)

    Please check out this:
    https://forum.mysensors.org/topic/653/nrf24l01-pa

    1 Reply Last reply
    0
    • alexsh1A alexsh1

      @parachutesj What settings do you have on your gateway please?

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

      @alexsh1 I have this

      #define RF24_PA_LEVEL_GW RF24_PA_MAX
      

      on the GW
      Maybe I need to try RF24_PA_HIGH if it changes anything. However still waiting for the "good" radios to arrive

      alexsh1A 1 Reply Last reply
      0
      • parachutesjP parachutesj

        @alexsh1 I have this

        #define RF24_PA_LEVEL_GW RF24_PA_MAX
        

        on the GW
        Maybe I need to try RF24_PA_HIGH if it changes anything. However still waiting for the "good" radios to arrive

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

        @parachutesj First things first:

        1. Good transceiver
        2. decent 3.3V feed
        3. settings MAX or HIGH etc
        1 Reply Last reply
        0
        • rollercontainerR Offline
          rollercontainerR Offline
          rollercontainer
          wrote on last edited by rollercontainer
          #230

          All of my ~20 NRF24's from 5 different dealers are consuming 15mA when the node is in sleep mode. Is this really a radio problem, or a software problem?

          By pulling out the radio, current drops below 1mA.

          • 2.0.0beta binarySwitchSleep sketch
          • My-Slim-2AA-Battery-Node
          • bootloader from My-Slim-2AA-Battery-Node OpenHardware source
          • BOD disabled by fuses, 1MHz internal
          • current messuered with Fluke multimeter
          GertSandersG 1 Reply Last reply
          0
          • rollercontainerR rollercontainer

            All of my ~20 NRF24's from 5 different dealers are consuming 15mA when the node is in sleep mode. Is this really a radio problem, or a software problem?

            By pulling out the radio, current drops below 1mA.

            • 2.0.0beta binarySwitchSleep sketch
            • My-Slim-2AA-Battery-Node
            • bootloader from My-Slim-2AA-Battery-Node OpenHardware source
            • BOD disabled by fuses, 1MHz internal
            • current messuered with Fluke multimeter
            GertSandersG Offline
            GertSandersG Offline
            GertSanders
            Hardware Contributor
            wrote on last edited by
            #231

            @rollercontainer
            Have you tried to measure the power consumption whithout radio, and just putting the atmega328 in deep sleep (sleep(0)) ?
            Normally you should then see something less then 10 micro amperes.
            If the node still consumes around 1mA in this situation, then I would advise to look at the soldering and the other components.
            With BOD disabled, an atmega328p in deep sleep consumes around 1 micro Ampere,.
            Did you use the atmea328P version or the standard atmega328 (without the P) ?

            rollercontainerR 1 Reply Last reply
            0
            • GertSandersG GertSanders

              @rollercontainer
              Have you tried to measure the power consumption whithout radio, and just putting the atmega328 in deep sleep (sleep(0)) ?
              Normally you should then see something less then 10 micro amperes.
              If the node still consumes around 1mA in this situation, then I would advise to look at the soldering and the other components.
              With BOD disabled, an atmega328p in deep sleep consumes around 1 micro Ampere,.
              Did you use the atmea328P version or the standard atmega328 (without the P) ?

              rollercontainerR Offline
              rollercontainerR Offline
              rollercontainer
              wrote on last edited by
              #232

              @GertSanders I wrote "below 1mA" because I couln't recal the exact value, just for pointing to the relation between radio consumption and idle without radio.

              I've got 328P from Reichelt.de and messured again withoput mysensors.h and with SLEEP_MODE_PWR_DOWN. The multimeter reads 0,09mA at 60.00mA range set. Looks valid to me.

              GertSandersG 1 Reply Last reply
              0
              • rollercontainerR rollercontainer

                @GertSanders I wrote "below 1mA" because I couln't recal the exact value, just for pointing to the relation between radio consumption and idle without radio.

                I've got 328P from Reichelt.de and messured again withoput mysensors.h and with SLEEP_MODE_PWR_DOWN. The multimeter reads 0,09mA at 60.00mA range set. Looks valid to me.

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

                @rollercontainer
                If you are using the internal pull up resistors on the switch input pins, then indeed you will get something like 30-60mA.
                That is why we use external pull up resistors for switches when we want to go for lowest possible power consumption.

                The internal pul up resistors have a value around 30K-45K (there is some variation). The pull up resistors I use are 1MOhm, this cuts the current consumption by two factors.

                1 Reply Last reply
                1
                • NeverDieN Offline
                  NeverDieN Offline
                  NeverDie
                  Hero Member
                  wrote on last edited by NeverDie
                  #234

                  @rollercontainer : you cannot get a proper measurement using only just a multimeter. Fluke or no Fluke, it just isn't going to happen. Lookup "burden voltage." Enough said, as this has been covered in-depth all over the place.

                  1 Reply Last reply
                  0
                  • rollercontainerR Offline
                    rollercontainerR Offline
                    rollercontainer
                    wrote on last edited by
                    #235

                    You both missed the point. My problem isnt the idle consumption yet. My problem is, that all the radios consume too much. Is there a way to get it down, or do I have to dump them all?

                    mfalkviddM 1 Reply Last reply
                    0
                    • rollercontainerR rollercontainer

                      You both missed the point. My problem isnt the idle consumption yet. My problem is, that all the radios consume too much. Is there a way to get it down, or do I have to dump them all?

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

                      @rollercontainer are you using the Arduino SLEEP_MODE_PWR_DOWN ? If so, the radio will still be active because the Arduino library isn't aware of the radio. Use the MySensors gw.sleep instead.

                      1 Reply Last reply
                      0
                      • rollercontainerR Offline
                        rollercontainerR Offline
                        rollercontainer
                        wrote on last edited by
                        #237

                        Holidays are over, back to work ^^
                        To clarify it again:
                        First I tried with complete 2AA slim node, several radios, sensor and the default binarySwitchSleep 2.0.0beta sketch. (15mA)
                        For the second run: NO radio, sensor or MySensors.h were used. Therefore I wrote a minimal sketch with SLEEP_MODE_PWR_DOWN to ensure that the AVR is going to sleep mode. (< 0,1 mA)
                        This leads me to the conclusion, that every of my ~20 radios is faulty. Are there any ways to prove this?

                        NeverDieN 1 Reply Last reply
                        0
                        • rollercontainerR rollercontainer

                          Holidays are over, back to work ^^
                          To clarify it again:
                          First I tried with complete 2AA slim node, several radios, sensor and the default binarySwitchSleep 2.0.0beta sketch. (15mA)
                          For the second run: NO radio, sensor or MySensors.h were used. Therefore I wrote a minimal sketch with SLEEP_MODE_PWR_DOWN to ensure that the AVR is going to sleep mode. (< 0,1 mA)
                          This leads me to the conclusion, that every of my ~20 radios is faulty. Are there any ways to prove this?

                          NeverDieN Offline
                          NeverDieN Offline
                          NeverDie
                          Hero Member
                          wrote on last edited by
                          #238

                          @rollercontainer
                          Sure. Buy a "known good" radio for comparison.

                          AWIA 1 Reply Last reply
                          0
                          • S Offline
                            S Offline
                            Samuel235
                            Hardware Contributor
                            wrote on last edited by
                            #239

                            Are the radios in the store here known as good and working now? I know we had issues with a bad seller previously, has this been sorted now?

                            MySensors 2.1.1
                            Controller - OpenHAB (Virtual Machine)
                            Gateway - Arduino Mega MQTT Gateway W5100

                            1 Reply Last reply
                            0
                            • NeverDieN NeverDie

                              @rollercontainer
                              Sure. Buy a "known good" radio for comparison.

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

                              @NeverDie are you sure the node enters deep sleep? The current you measure is typical for a non sleeping radio. Main problems I have with the bad radio's is that these stay awake until they "found a parent". Where do you live? If you drop me a message I can send a tested one.

                              NeverDieN 1 Reply Last reply
                              0
                              • AWIA AWI

                                @NeverDie are you sure the node enters deep sleep? The current you measure is typical for a non sleeping radio. Main problems I have with the bad radio's is that these stay awake until they "found a parent". Where do you live? If you drop me a message I can send a tested one.

                                NeverDieN Offline
                                NeverDieN Offline
                                NeverDie
                                Hero Member
                                wrote on last edited by NeverDie
                                #241

                                @AWI said:

                                @NeverDie are you sure the node enters deep sleep?

                                I don't recall. It's been a while since I ran the tests. Presently I'm using RFM69's, which draw about 100na when sleeping, but at some point this summer I hope to revisit using NRF24L01's. I've already received the SMD modules that Gert Sanders is using, and I'll be giving them a try on the boards he designed, so the odds are favorable that I'll be getting the same or similar results. I received the boards from the fab, so after I receive the remaining parts I'll do the assembly.

                                Earlier in this thread it was advised to order direct from Itead, on the grounds that they were manufacturing them. So, going directly to a reputable source might increase your confidence of getting what's advertised. Frankly, these things are cheap enough that I'd suggest going to several different such sources and then vet what you get using an oscilloscope. I did that earlier in this thread, and you can compare your results with the screenshots I posted to ID your chip. Of course, that by itself doesn't guarantee that the antenna was properly matched, which is why I think comparing the ranges of different modules from different sources is probably still a good idea. Even if the components are right, the dielectric of the PCB could throw off the match, and you won't know that just by looking at it.

                                1 Reply Last reply
                                0
                                • S Offline
                                  S Offline
                                  Samuel235
                                  Hardware Contributor
                                  wrote on last edited by
                                  #242

                                  Unfortunately i don't have an oscilloscope at the moment. So i have to just test them in the circuit as intended to be used.

                                  MySensors 2.1.1
                                  Controller - OpenHAB (Virtual Machine)
                                  Gateway - Arduino Mega MQTT Gateway W5100

                                  1 Reply Last reply
                                  0
                                  • rollercontainerR Offline
                                    rollercontainerR Offline
                                    rollercontainer
                                    wrote on last edited by
                                    #243

                                    @NeverDie I already bought these ~20 radios from 5 different dealers...
                                    @AWI I am not sure, therefore I am asking here. But what more can I do? I am using a default sketch with only this modification:

                                    #define MY_NODE_ID 70
                                    #define MY_PARENT_NODE_ID 0
                                    #define MY_REPEATER_FEATURE false
                                    

                                    The node is useable, so it sends reed contact changes to the mqttClientGateway which sends it to my raspi. Is the static method preventing the node from deep sleep?

                                    I live in northern germany. Thx for the offer. But I dont really believe, that all radios are faulty by now.

                                    NeverDieN 1 Reply Last reply
                                    0
                                    • rollercontainerR rollercontainer

                                      @NeverDie I already bought these ~20 radios from 5 different dealers...
                                      @AWI I am not sure, therefore I am asking here. But what more can I do? I am using a default sketch with only this modification:

                                      #define MY_NODE_ID 70
                                      #define MY_PARENT_NODE_ID 0
                                      #define MY_REPEATER_FEATURE false
                                      

                                      The node is useable, so it sends reed contact changes to the mqttClientGateway which sends it to my raspi. Is the static method preventing the node from deep sleep?

                                      I live in northern germany. Thx for the offer. But I dont really believe, that all radios are faulty by now.

                                      NeverDieN Offline
                                      NeverDieN Offline
                                      NeverDie
                                      Hero Member
                                      wrote on last edited by NeverDie
                                      #244

                                      @rollercontainer
                                      I still suspect either a configuration or a measurement error. I suggest you photograph in detail everything you're doing and post it. If you're overlooking something, maybe somebody will spot it. Otherwise, there's just not much to go on.

                                      1 Reply Last reply
                                      1
                                      • rollercontainerR Offline
                                        rollercontainerR Offline
                                        rollercontainer
                                        wrote on last edited by
                                        #245

                                        I setup a new Arduino IDE 1.6.9 portable with MySensors 1.5 and flashed a standard 8MHz bootloader with BOD off.
                                        Idle current is nearly unmessureable by my MM, showing only 0,01 mA at 60,00 mA range.
                                        Next step is to get a 1MHz bootloader to work with low current.

                                        Thx for your words, guys.

                                        1 Reply Last reply
                                        0
                                        • rollercontainerR Offline
                                          rollercontainerR Offline
                                          rollercontainer
                                          wrote on last edited by
                                          #246

                                          flashed the 1MHz Optiboot again, compiled the sketch and loaded it up. Idle current is staying under 0,01mA. So, looks like the 2.0.0beta libs are "guilty".

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