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. General Discussion
  3. CDEBYTE's new NRF24 modules are great! (and cheap)

CDEBYTE's new NRF24 modules are great! (and cheap)

Scheduled Pinned Locked Moved General Discussion
36 Posts 8 Posters 8.4k Views 7 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.
  • YveauxY Yveaux

    @รอเร-อ said in CDEBYTE's new NRF24 modules are great! (and cheap):

    I haven't been able to make the shielded one work

    What's the issue? Is the module not responding to arduino commands or are transmissions /receptions failing?

    ร Offline
    ร Offline
    รอเรือ
    wrote on last edited by รอเรือ
    #21

    @yveaux

    I have spent 2 days trying to solve my various NRF24 related problems at my home.

    What I'd like to achieve is to make my serial gateway using a NRF24-transciever with an external antenna to extends it's range.

    CDEBYTE's new NRF24-transciever (the unshielded one) works in my serial gateway (built with a Nano IO Shield) and fed with USB power only. I can attach a separate power source if I want to but it seems to work well without it.

    However, CDEBYTE's new shielded NRF24-transciever (Shielded nRF24L01 PA+LNA) refuses to work. I get only NACKs in the log even if I attach a separate power source. I've also tried just connecting my Nano board directly to the radio with cables (without the IO shield) just like in the Build a serial gateway demo. (I've tried all kind of power settings) I also tried to power the radio with a battery. Those NACKs are resilient indeed. Of course I've tried all kind of decouple capacitors and several combinations of electrolytic and ceramic ones... No way.

    BUT, there is always a but isn't there? ... I have managed to get the CDEBYTE Shielded nRF24L01 PA+LNA to work stable on a battery powered node, a Pro Mini ATmega 328 (1.8V 1 MHz). I can't tell why that works while not working with the Nano.

    My current working solution is using the "old" unshielded nRF24L01 PA+LNA mounted on the Nano IO Shield fed with usb power only. #define MY_RF24_PA_LEVEL RF24_PA_MAX While this seems to work (at least for the moment) I can not just switch to using the shielded radio.

    So if someone succeeds using the CDEBYTE Shielded nRF24L01 PA+LNA connected to a Nano board I'm interested to hear how you made it work.

    The thing is that everything that I have tried gives so random results that it's driving me crazy. Whatever seems to work one minute stops to work the next minute.

    skywatchS YveauxY 2 Replies Last reply
    0
    • ร รอเรือ

      @yveaux

      I have spent 2 days trying to solve my various NRF24 related problems at my home.

      What I'd like to achieve is to make my serial gateway using a NRF24-transciever with an external antenna to extends it's range.

      CDEBYTE's new NRF24-transciever (the unshielded one) works in my serial gateway (built with a Nano IO Shield) and fed with USB power only. I can attach a separate power source if I want to but it seems to work well without it.

      However, CDEBYTE's new shielded NRF24-transciever (Shielded nRF24L01 PA+LNA) refuses to work. I get only NACKs in the log even if I attach a separate power source. I've also tried just connecting my Nano board directly to the radio with cables (without the IO shield) just like in the Build a serial gateway demo. (I've tried all kind of power settings) I also tried to power the radio with a battery. Those NACKs are resilient indeed. Of course I've tried all kind of decouple capacitors and several combinations of electrolytic and ceramic ones... No way.

      BUT, there is always a but isn't there? ... I have managed to get the CDEBYTE Shielded nRF24L01 PA+LNA to work stable on a battery powered node, a Pro Mini ATmega 328 (1.8V 1 MHz). I can't tell why that works while not working with the Nano.

      My current working solution is using the "old" unshielded nRF24L01 PA+LNA mounted on the Nano IO Shield fed with usb power only. #define MY_RF24_PA_LEVEL RF24_PA_MAX While this seems to work (at least for the moment) I can not just switch to using the shielded radio.

      So if someone succeeds using the CDEBYTE Shielded nRF24L01 PA+LNA connected to a Nano board I'm interested to hear how you made it work.

      The thing is that everything that I have tried gives so random results that it's driving me crazy. Whatever seems to work one minute stops to work the next minute.

      skywatchS Offline
      skywatchS Offline
      skywatch
      wrote on last edited by skywatch
      #22

      @รอเร-อ I have been using the cdebyte shielded pa/lna for months now with a 5V pro mini and all is good with the radio module. I have a 47uF ceramic smd capacitor soldered across the nrf24 power pins on the reverse side of the board. I am running it with POWER=HIGH since it is the higher powered version I don't need to set it to MAX.

      What current rating is the power source you are using? Maybe the voltage is dropping when it is sending data as there is not enough current available? Just a thought.

      Also, try moving the position of the nrf slightly. Just a few cm can make quite a big difference. Finding a 'sweet spot' is often the solution, that's why on many modules I put the nrf in a separate tiny box so it can be positioned in a good place for best signal.

      I can confirm that from my experience this is that this is a very frustrating and time consuming path!

      ร 1 Reply Last reply
      0
      • ร รอเรือ

        @yveaux

        I have spent 2 days trying to solve my various NRF24 related problems at my home.

        What I'd like to achieve is to make my serial gateway using a NRF24-transciever with an external antenna to extends it's range.

        CDEBYTE's new NRF24-transciever (the unshielded one) works in my serial gateway (built with a Nano IO Shield) and fed with USB power only. I can attach a separate power source if I want to but it seems to work well without it.

        However, CDEBYTE's new shielded NRF24-transciever (Shielded nRF24L01 PA+LNA) refuses to work. I get only NACKs in the log even if I attach a separate power source. I've also tried just connecting my Nano board directly to the radio with cables (without the IO shield) just like in the Build a serial gateway demo. (I've tried all kind of power settings) I also tried to power the radio with a battery. Those NACKs are resilient indeed. Of course I've tried all kind of decouple capacitors and several combinations of electrolytic and ceramic ones... No way.

        BUT, there is always a but isn't there? ... I have managed to get the CDEBYTE Shielded nRF24L01 PA+LNA to work stable on a battery powered node, a Pro Mini ATmega 328 (1.8V 1 MHz). I can't tell why that works while not working with the Nano.

        My current working solution is using the "old" unshielded nRF24L01 PA+LNA mounted on the Nano IO Shield fed with usb power only. #define MY_RF24_PA_LEVEL RF24_PA_MAX While this seems to work (at least for the moment) I can not just switch to using the shielded radio.

        So if someone succeeds using the CDEBYTE Shielded nRF24L01 PA+LNA connected to a Nano board I'm interested to hear how you made it work.

        The thing is that everything that I have tried gives so random results that it's driving me crazy. Whatever seems to work one minute stops to work the next minute.

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

        @รอเร-อ said in CDEBYTE's new NRF24 modules are great! (and cheap):

        CDEBYTE's new NRF24-transciever (the unshielded one) works in my serial gateway (built with a Nano IO Shield) and fed with USB power only. I can attach a separate power source if I want to but it seems to work well without it.

        I recently received the same Nano IO shields and discovered the IO lines to the nRF are fed through a voltage divider; levels are halved w.r.t. direct connection.
        According to Nordic's datasheet this should be ok (minimum HIGH level input voltage is 0.7 * VDD, so 0.7 * 3.3V = 2.31V) as long as your Arduino is fed with 5V this should just work, but it is tricky IMHO.
        You could measure the VCC of the Nano to see if it is below 5V, or try powering the board through the power jack and see if things improve.

        BUT, there is always a but isn't there? ... I have managed to get the CDEBYTE Shielded nRF24L01 PA+LNA to work stable on a battery powered node, a Pro Mini ATmega 328 (1.8V 1 MHz). I can't tell why that works while not working with the Nano.

        So your shielded module is proven OK; that helps :+1:

        Did you also try the shielded module with #define MY_RF24_PA_LEVEL RF24_PA_MIN ?
        Power issues (e.g. a bad/fake AMS1117 regulator on the Nano IO shield not being able to supply enough current for RF24_PA_MAX) usually manifest at high power levels.

        So if someone succeeds using the CDEBYTE Shielded nRF24L01 PA+LNA connected to a Nano board I'm interested to hear how you made it work.

        Currently I'm out of Nanos, but as soon as the new batch comes in I can replicate your setup.

        The thing is that everything that I have tried gives so random results that it's driving me crazy. Whatever seems to work one minute stops to work the next minute.

        Yes, toubleshooting can be very frustrating... Try to test components in isolation first, but you already seem to do that.

        http://yveaux.blogspot.nl

        YveauxY 1 Reply Last reply
        1
        • alowhumA Offline
          alowhumA Offline
          alowhum
          Plugin Developer
          wrote on last edited by
          #24

          @yveaux said in CDEBYTE's new NRF24 modules are great! (and cheap):

          but it is tricky IMHO.

          Since moving to these boards all my connection troubles have stopped. I'm very happy with them.

          1 Reply Last reply
          0
          • skywatchS skywatch

            @รอเร-อ I have been using the cdebyte shielded pa/lna for months now with a 5V pro mini and all is good with the radio module. I have a 47uF ceramic smd capacitor soldered across the nrf24 power pins on the reverse side of the board. I am running it with POWER=HIGH since it is the higher powered version I don't need to set it to MAX.

            What current rating is the power source you are using? Maybe the voltage is dropping when it is sending data as there is not enough current available? Just a thought.

            Also, try moving the position of the nrf slightly. Just a few cm can make quite a big difference. Finding a 'sweet spot' is often the solution, that's why on many modules I put the nrf in a separate tiny box so it can be positioned in a good place for best signal.

            I can confirm that from my experience this is that this is a very frustrating and time consuming path!

            ร Offline
            ร Offline
            รอเรือ
            wrote on last edited by
            #25

            @skywatch said in CDEBYTE's new NRF24 modules are great! (and cheap):

            What current rating is the power source you are using?

            I intend to run them on power level RF24_PA_MAX. I have tried other power levels in my efforts without any success.

            @yveaux said in CDEBYTE's new NRF24 modules are great! (and cheap):

            recently received the same Nano IO shields and discovered the IO lines to the nRF are fed through a voltage divider; levels are halved w.r.t. direct connection.
            According to Nordic's datasheet this should be ok (minimum HIGH level input voltage is 0.7 * VDD, so 0.7 * 3.3V = 2.31V) as long as your Arduino is fed with 5V this should just work, but it is tricky IMHO.
            You could measure the VCC of the Nano to see if it is below 5V, or try powering the board through the power jack and see if things improve.

            That's interesting. I'm powering it with USB only but i have tried to connect an additional power source as well but it made no difference, I will do some more tests and measure the voltage levels.

            @yveaux said in CDEBYTE's new NRF24 modules are great! (and cheap):

            Did you also try the shielded module with #define MY_RF24_PA_LEVEL RF24_PA_MIN ?

            From what I recall, I have tried RF24_PA_LOW. I will test RF24_PA_MIN too.

            @yveaux said in CDEBYTE's new NRF24 modules are great! (and cheap):

            Currently I'm out of Nanos, but as soon as the new batch comes in I can replicate your setup.

            I'd be happy to send you one from my batch. Please send me a PM if you'd like that.

            @alowhum said in CDEBYTE's new NRF24 modules are great! (and cheap):

            Since moving to these boards all my connection troubles have stopped. I'm very happy with them.

            Sounds very promising :grinning:

            1 Reply Last reply
            0
            • YveauxY Yveaux

              @รอเร-อ said in CDEBYTE's new NRF24 modules are great! (and cheap):

              CDEBYTE's new NRF24-transciever (the unshielded one) works in my serial gateway (built with a Nano IO Shield) and fed with USB power only. I can attach a separate power source if I want to but it seems to work well without it.

              I recently received the same Nano IO shields and discovered the IO lines to the nRF are fed through a voltage divider; levels are halved w.r.t. direct connection.
              According to Nordic's datasheet this should be ok (minimum HIGH level input voltage is 0.7 * VDD, so 0.7 * 3.3V = 2.31V) as long as your Arduino is fed with 5V this should just work, but it is tricky IMHO.
              You could measure the VCC of the Nano to see if it is below 5V, or try powering the board through the power jack and see if things improve.

              BUT, there is always a but isn't there? ... I have managed to get the CDEBYTE Shielded nRF24L01 PA+LNA to work stable on a battery powered node, a Pro Mini ATmega 328 (1.8V 1 MHz). I can't tell why that works while not working with the Nano.

              So your shielded module is proven OK; that helps :+1:

              Did you also try the shielded module with #define MY_RF24_PA_LEVEL RF24_PA_MIN ?
              Power issues (e.g. a bad/fake AMS1117 regulator on the Nano IO shield not being able to supply enough current for RF24_PA_MAX) usually manifest at high power levels.

              So if someone succeeds using the CDEBYTE Shielded nRF24L01 PA+LNA connected to a Nano board I'm interested to hear how you made it work.

              Currently I'm out of Nanos, but as soon as the new batch comes in I can replicate your setup.

              The thing is that everything that I have tried gives so random results that it's driving me crazy. Whatever seems to work one minute stops to work the next minute.

              Yes, toubleshooting can be very frustrating... Try to test components in isolation first, but you already seem to do that.

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

              @yveaux said in CDEBYTE's new NRF24 modules are great! (and cheap):

              According to Nordic's datasheet this should be ok (minimum HIGH level input voltage is 0.7 * VDD, so 0.7 * 3.3V = 2.31V) as long as your Arduino is fed with 5V this should just work, but it is tricky IMHO.

              My Nano came in and I did a quick test with one of my IO shield boards and a regular, unamplified clone nRF24.

              This is a scope plot of the SCK (clock) signal:

              0_1545473465349_063e4b49-c882-41e8-b4ca-381139bba52c-image.png

              It does work, but apparently only barely: The blue line is SCK coming from the Nano (at 4.77V) and the red one is the SCK as seen by the nRF (2.26V max, where nRF24 expects at least 2.31V according to the datasheet)

              An amplified EByte E01-ML01DP5 and amplified, unshielded clone indeed do not work.

              I see a few solutions to this ploblem (lowering the nRF24 VCC or changing the resistors on the voltage dividers) which I'll give a try and report back.

              http://yveaux.blogspot.nl

              YveauxY 1 Reply Last reply
              1
              • YveauxY Yveaux

                @yveaux said in CDEBYTE's new NRF24 modules are great! (and cheap):

                According to Nordic's datasheet this should be ok (minimum HIGH level input voltage is 0.7 * VDD, so 0.7 * 3.3V = 2.31V) as long as your Arduino is fed with 5V this should just work, but it is tricky IMHO.

                My Nano came in and I did a quick test with one of my IO shield boards and a regular, unamplified clone nRF24.

                This is a scope plot of the SCK (clock) signal:

                0_1545473465349_063e4b49-c882-41e8-b4ca-381139bba52c-image.png

                It does work, but apparently only barely: The blue line is SCK coming from the Nano (at 4.77V) and the red one is the SCK as seen by the nRF (2.26V max, where nRF24 expects at least 2.31V according to the datasheet)

                An amplified EByte E01-ML01DP5 and amplified, unshielded clone indeed do not work.

                I see a few solutions to this ploblem (lowering the nRF24 VCC or changing the resistors on the voltage dividers) which I'll give a try and report back.

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

                @yveaux said in CDEBYTE's new NRF24 modules are great! (and cheap):

                I see a few solutions to this ploblem (lowering the nRF24 VCC or changing the resistors on the voltage dividers) which I'll give a try and report back.

                Lowering the nRF24 VCC is not feasible as it will also impact the signals going to the ATMega below minimum levels.

                I replaced 4 10k SMD resistors R5, R6, R7 & R8 by 4k7 types:

                0_1545488511170_4d6fd19c-4a00-4a93-8208-5a13bba97806-image.png

                @รอเร-อ This patch makes both regular and amplified nRF24 modules work correctly! The IO levels to the nRF are raised to 3.3V at 5V Arduino supply.

                Btw. I ordered 2 of these IO shields (red version, by 'Robotale' according to silkscreen) and the quality is horrible...
                It's nearly impossible to push the Nano in the socket, it was full of (near) solder shorts, the silscreen is barely readable and one of the boards contained a short to GND on the RX line, making it impossible to program (geen circle):

                0_1545488697401_db4fed03-9485-43de-90d7-9c9547894a08-image.png

                http://yveaux.blogspot.nl

                ร 1 Reply Last reply
                3
                • YveauxY Yveaux

                  @yveaux said in CDEBYTE's new NRF24 modules are great! (and cheap):

                  I see a few solutions to this ploblem (lowering the nRF24 VCC or changing the resistors on the voltage dividers) which I'll give a try and report back.

                  Lowering the nRF24 VCC is not feasible as it will also impact the signals going to the ATMega below minimum levels.

                  I replaced 4 10k SMD resistors R5, R6, R7 & R8 by 4k7 types:

                  0_1545488511170_4d6fd19c-4a00-4a93-8208-5a13bba97806-image.png

                  @รอเร-อ This patch makes both regular and amplified nRF24 modules work correctly! The IO levels to the nRF are raised to 3.3V at 5V Arduino supply.

                  Btw. I ordered 2 of these IO shields (red version, by 'Robotale' according to silkscreen) and the quality is horrible...
                  It's nearly impossible to push the Nano in the socket, it was full of (near) solder shorts, the silscreen is barely readable and one of the boards contained a short to GND on the RX line, making it impossible to program (geen circle):

                  0_1545488697401_db4fed03-9485-43de-90d7-9c9547894a08-image.png

                  ร Offline
                  ร Offline
                  รอเรือ
                  wrote on last edited by
                  #28

                  @yveaux said in CDEBYTE's new NRF24 modules are great! (and cheap):

                  This patch makes both regular and amplified nRF24 modules work correctly!

                  Dear @Yveaux

                  Thanks for all the work you've put into investigating this issue.

                  I have a different brand of the Nano IO Shield but the quality is equally very low. I guess I'll need to inspect them carefully before I use them. I guess I have 10 of them and I will try to apply the HW patch you've suggested but I'm not sure I'll be able to make it, I don't have any SMD resistors and they are to small to work with for me. I'll need to give it a try anyway.

                  Thanks again and merry christmas btw :santa:

                  YveauxY 1 Reply Last reply
                  1
                  • ร รอเรือ

                    @yveaux said in CDEBYTE's new NRF24 modules are great! (and cheap):

                    This patch makes both regular and amplified nRF24 modules work correctly!

                    Dear @Yveaux

                    Thanks for all the work you've put into investigating this issue.

                    I have a different brand of the Nano IO Shield but the quality is equally very low. I guess I'll need to inspect them carefully before I use them. I guess I have 10 of them and I will try to apply the HW patch you've suggested but I'm not sure I'll be able to make it, I don't have any SMD resistors and they are to small to work with for me. I'll need to give it a try anyway.

                    Thanks again and merry christmas btw :santa:

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

                    @รอเร-อ shorting the mentioned resistors (with eg a solder blob) will probably also work, but then you'll exceed the maximum 3.3v on the CE line for amplified modules. However, many people run amplified modules at 5v signal level without issues.

                    Merry Christmas to you too!

                    http://yveaux.blogspot.nl

                    ร 1 Reply Last reply
                    1
                    • YveauxY Yveaux

                      @รอเร-อ shorting the mentioned resistors (with eg a solder blob) will probably also work, but then you'll exceed the maximum 3.3v on the CE line for amplified modules. However, many people run amplified modules at 5v signal level without issues.

                      Merry Christmas to you too!

                      ร Offline
                      ร Offline
                      รอเรือ
                      wrote on last edited by
                      #30

                      @yveaux

                      I've managed to replace the SMD resistors according to your suggested hack described above. It wasn't easy though. Anyway, it seems to work well. Thanks!!!

                      YveauxY 1 Reply Last reply
                      0
                      • ร รอเรือ

                        @yveaux

                        I've managed to replace the SMD resistors according to your suggested hack described above. It wasn't easy though. Anyway, it seems to work well. Thanks!!!

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

                        @รอเร-อ great to hear you managed and got it to work!
                        Thanks for reporting back :+1:

                        http://yveaux.blogspot.nl

                        1 Reply Last reply
                        1
                        • alowhumA Offline
                          alowhumA Offline
                          alowhum
                          Plugin Developer
                          wrote on last edited by alowhum
                          #32

                          They are getting really expensive now.

                          Are there any good cheap modules to recommend now?

                          Perhaps the RobotDyn modules? They are $1,80, plus $1,80 for shipping. If you buy a few this can save some money. Has anyone tried this one?

                          1 Reply Last reply
                          0
                          • gohanG Offline
                            gohanG Offline
                            gohan
                            Mod
                            wrote on last edited by
                            #33

                            That's still on the cheap side, it is still probably a clone. You can consider going with rfm69 radios, they work better

                            1 Reply Last reply
                            0
                            • alowhumA Offline
                              alowhumA Offline
                              alowhum
                              Plugin Developer
                              wrote on last edited by
                              #34

                              @gohan I'm building a system that allows beginners to create a MySensors installation without doing any soldering. Unfortunately there is no 'plug and play' version of the RFM69 (that I'm aware of) that can replace the NRF24.

                              1 Reply Last reply
                              0
                              • gohanG Offline
                                gohanG Offline
                                gohan
                                Mod
                                wrote on last edited by
                                #35

                                Rfm69 adapter still requires some soldering

                                1 Reply Last reply
                                0
                                • alowhumA Offline
                                  alowhumA Offline
                                  alowhum
                                  Plugin Developer
                                  wrote on last edited by
                                  #36

                                  @gohan Exactly, and the project I'm working on is "no soldering and no programming required (unless you want to)".

                                  I guess I'll try ordering one of these modules and see if it can handle full power.

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


                                  10

                                  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