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. My Project
  3. nRF24Doctor

nRF24Doctor

Scheduled Pinned Locked Moved My Project
transmission delayscompare modulespower consumptionradio qualitydoctorrangegateway locationdiagnosenrf24 radio
44 Posts 14 Posters 8.1k Views 24 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.
  • B benbidouille

    @Yveaux

    IMG_2816.JPG

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

    @benbidouille great to hear you like it!
    Nice and compact build :+1:

    http://yveaux.blogspot.nl

    B 1 Reply Last reply
    0
    • YveauxY Yveaux

      @benbidouille great to hear you like it!
      Nice and compact build :+1:

      B Offline
      B Offline
      benbidouille
      wrote on last edited by
      #25

      @Yveaux
      Can you confirm your design is operating well with NRF24 radio modules with High Icc current consumption up to 150 mA like with PA modules ?

      I mean is clear Rds ON of MOSfet is chosen as low as possible, but the voltage drop across the 2.2ohm shunt might becomes critical especially along transcients when radio operates.

      I added Caps at Radio Supply rails ends and also Jumper for shorting shunt circuitry in case of.

      Again very nice and well engineered design.

      I used 20x2 display instead of 16x2, How painfull would you think it is to extend the graph display resolution ?

      YveauxY 1 Reply Last reply
      0
      • B benbidouille

        @Yveaux
        Can you confirm your design is operating well with NRF24 radio modules with High Icc current consumption up to 150 mA like with PA modules ?

        I mean is clear Rds ON of MOSfet is chosen as low as possible, but the voltage drop across the 2.2ohm shunt might becomes critical especially along transcients when radio operates.

        I added Caps at Radio Supply rails ends and also Jumper for shorting shunt circuitry in case of.

        Again very nice and well engineered design.

        I used 20x2 display instead of 16x2, How painfull would you think it is to extend the graph display resolution ?

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

        @benbidouille said in nRF24Doctor:

        I used 20x2 display instead of 16x2, How painfull would you think it is to extend the graph display resolution ?

        The number of columns of the LCD display can be changed here.
        You manually would have to change the lengths of fixed strings, like starting from here.
        Could very well be that you start running into memory issues then, as the AVR is pretty packed.

        Regarding current measurements; the design & calculations were done by @Technovation, maybe he can chip in.
        I can remember we struggled with grounding issues, as different Nanos have different quality in grounding, leading to deviations in measured current. We ended up manually patching a Nano to improve the ground layout.

        http://yveaux.blogspot.nl

        B 1 Reply Last reply
        0
        • YveauxY Yveaux

          @benbidouille said in nRF24Doctor:

          I used 20x2 display instead of 16x2, How painfull would you think it is to extend the graph display resolution ?

          The number of columns of the LCD display can be changed here.
          You manually would have to change the lengths of fixed strings, like starting from here.
          Could very well be that you start running into memory issues then, as the AVR is pretty packed.

          Regarding current measurements; the design & calculations were done by @Technovation, maybe he can chip in.
          I can remember we struggled with grounding issues, as different Nanos have different quality in grounding, leading to deviations in measured current. We ended up manually patching a Nano to improve the ground layout.

          B Offline
          B Offline
          benbidouille
          wrote on last edited by
          #27

          @Yveaux
          Thanks a lot for your feedback, and again very good collaborative job.

          The built-in starting and ending channel number capability even justifies to change nothing , it magnifies well the graph channel representation.

          Yes I fully agree, by experience ADC measure and ground reference are critical on NANO.
          Regards

          1 Reply Last reply
          0
          • T Offline
            T Offline
            Technovation
            wrote on last edited by
            #28

            @Yveaux:

            @Technovation, maybe he can chip in.
            I can remember we struggled with grounding issues, as different Nanos have different quality in grounding, leading to deviations in measured current. We ended up manually patching a Nano to improve the ground layout.

            Indeed the depending on the nano board you may experience ground layout problems which are generally a problem for any accurate ADC measurement. The nano boards have GND pins on both left and right pin headers. In the poor designs they have no ground plane and simply use a thin trace to those pins. If you then have a bit of (varying) current draw flowing through those GND pins, the burden voltage on that thin trace will swing your GND reference for your ADC measurement up and down.

            @benbidouille

            I mean is clear Rds ON of MOSfet is chosen as low as possible, but the voltage drop across the 2.2ohm shunt might becomes critical especially along transcients when radio operates.

            The 2.2Ohm was a balance between current measurement resolution and the maximum current draw of a module during transmit. The worst case power consumption I measured was for a PA+LNA module at POWER = MAX (0dBm) setting and it consumed around 200mA bursts during transmit (these bursts are short and if you use a filtering cap it will average out those spikes to for example the 150mA you measured).

            So a 2.2Ohm x 200mA = 0.44V drop.

            Design considerations

            • Drop out voltage nRF24:
              This 0.44V will subtract from the 3V3 supply voltage to the nRF24 chip, leaving about 2.8V. According to the datasheet the nRF chip allows operation down to 2.7V for input signals >3.6V (e.g. 5V nano).
            • 3V3 Regulation
              Also the voltage regulation to the nRF needs some attention. Using the 3V3 regulation from the nano itself may not suffice, because at some boards the voltage regulator will not be able to sustain a stable 3V3 at those current peaks. For that purpose there is the external regulator present. Here you may have to opt for a low drop-out regulator, because a "standard" regulators drop out voltage will typically be 1.2V or larger and will not have sufficient voltage available in combo with the 0.44V burden voltage is in this budget: 3V3 output regulation + 0.44Vdrop + 1.2V regulation margin > 5V input to regulator.

            So all and all the design should be able to handle the PA+LNA in the worst case conditions (max power) and it did with all the units I tested, but it may require a bit of attention in the regulation. However some attention to the supply regulation is in general required with the PA+LNA variants in any design.

            B 1 Reply Last reply
            1
            • T Technovation

              @Yveaux:

              @Technovation, maybe he can chip in.
              I can remember we struggled with grounding issues, as different Nanos have different quality in grounding, leading to deviations in measured current. We ended up manually patching a Nano to improve the ground layout.

              Indeed the depending on the nano board you may experience ground layout problems which are generally a problem for any accurate ADC measurement. The nano boards have GND pins on both left and right pin headers. In the poor designs they have no ground plane and simply use a thin trace to those pins. If you then have a bit of (varying) current draw flowing through those GND pins, the burden voltage on that thin trace will swing your GND reference for your ADC measurement up and down.

              @benbidouille

              I mean is clear Rds ON of MOSfet is chosen as low as possible, but the voltage drop across the 2.2ohm shunt might becomes critical especially along transcients when radio operates.

              The 2.2Ohm was a balance between current measurement resolution and the maximum current draw of a module during transmit. The worst case power consumption I measured was for a PA+LNA module at POWER = MAX (0dBm) setting and it consumed around 200mA bursts during transmit (these bursts are short and if you use a filtering cap it will average out those spikes to for example the 150mA you measured).

              So a 2.2Ohm x 200mA = 0.44V drop.

              Design considerations

              • Drop out voltage nRF24:
                This 0.44V will subtract from the 3V3 supply voltage to the nRF24 chip, leaving about 2.8V. According to the datasheet the nRF chip allows operation down to 2.7V for input signals >3.6V (e.g. 5V nano).
              • 3V3 Regulation
                Also the voltage regulation to the nRF needs some attention. Using the 3V3 regulation from the nano itself may not suffice, because at some boards the voltage regulator will not be able to sustain a stable 3V3 at those current peaks. For that purpose there is the external regulator present. Here you may have to opt for a low drop-out regulator, because a "standard" regulators drop out voltage will typically be 1.2V or larger and will not have sufficient voltage available in combo with the 0.44V burden voltage is in this budget: 3V3 output regulation + 0.44Vdrop + 1.2V regulation margin > 5V input to regulator.

              So all and all the design should be able to handle the PA+LNA in the worst case conditions (max power) and it did with all the units I tested, but it may require a bit of attention in the regulation. However some attention to the supply regulation is in general required with the PA+LNA variants in any design.

              B Offline
              B Offline
              benbidouille
              wrote on last edited by
              #29

              Many thanks for your highlights.

              Yes fully agreed that unfortunatly cheap NANO or PRO MINI does not have state of the art PCB design rules with ground planes.

              Supply of NRF24 is requiring also a lot of attention in power rails that shall be as much as possible decoupled from the digital supply of the Arduino, better to have an external low drop out voltage regulator as you mentionned earlier.

              For the 3.3V regulation and voltage drop, I do not follow you, to me we have 3.3V output regulation + 1,2V regulation margin which remains well under the 5V input of the regulator ( doesn't includes the 0,44v drop )

              The Voltage drop accross the 2,2 ohm shunt is on the ground path of the 3,3V regulator so the NRF24 is seing only 3,3V - 0,44V on worse case TX condition and considering rdson is neglectable against the shunt.

              From the NRF24, Radio can even operate with down to 1,9V supply, surprisingly very tolerant.

              In my circuit I placed a jumper for shorting the shunt and fullfill a 3.3V supply.

              After some trials today up to 154mA , I can confirm the voltage drop has absolutly no effect to radio TX/RX quality, so my jumper is useless, but I always prefer to put it in place for all expect power and sleep measurement.

              Again great job you all did.

              Just a question related to Statistics, What is the FAIL and NACK % corresponding to ?
              It never exceeds few % even so the transmission is continiously failing.

              T 1 Reply Last reply
              0
              • B benbidouille

                Many thanks for your highlights.

                Yes fully agreed that unfortunatly cheap NANO or PRO MINI does not have state of the art PCB design rules with ground planes.

                Supply of NRF24 is requiring also a lot of attention in power rails that shall be as much as possible decoupled from the digital supply of the Arduino, better to have an external low drop out voltage regulator as you mentionned earlier.

                For the 3.3V regulation and voltage drop, I do not follow you, to me we have 3.3V output regulation + 1,2V regulation margin which remains well under the 5V input of the regulator ( doesn't includes the 0,44v drop )

                The Voltage drop accross the 2,2 ohm shunt is on the ground path of the 3,3V regulator so the NRF24 is seing only 3,3V - 0,44V on worse case TX condition and considering rdson is neglectable against the shunt.

                From the NRF24, Radio can even operate with down to 1,9V supply, surprisingly very tolerant.

                In my circuit I placed a jumper for shorting the shunt and fullfill a 3.3V supply.

                After some trials today up to 154mA , I can confirm the voltage drop has absolutly no effect to radio TX/RX quality, so my jumper is useless, but I always prefer to put it in place for all expect power and sleep measurement.

                Again great job you all did.

                Just a question related to Statistics, What is the FAIL and NACK % corresponding to ?
                It never exceeds few % even so the transmission is continiously failing.

                T Offline
                T Offline
                Technovation
                wrote on last edited by
                #30

                @benbidouille

                I do not follow you, to me we have 3.3V output regulation + 1,2V regulation margin which remains well under the 5V input of the regulator ( doesn't includes the 0,44v drop )

                You're right. I knew there was something additional in the order of about that shunt voltage drop, but should have checked the layout to spark my memory a bit better. It is not the voltage drop of the shunt but if you use the 5V output from the nano board you may have to account for a reverse voltage protection diode that may be present (i.e. your 5V pin does not really 5V). That's why there is a jumper to directly supply from the Vin pin.

                What is the FAIL and NACK % corresponding to

                • As in the description with the first post it should report percentage of FAILED acknowledges for the first HOP transmit (if no repeater nodes are present, then the first HOP will be the Gateway). This is actually the confirmation at "nrf24 radio level" to report if the message was received by another radio.
                • NACK : The gateway is requested an ACK message for every message the node transmits. So that means the round trip of the message from NODE-> GATEWAY -> NODE.

                So it can be that you have no FAIL but a lot of NACK, which would mean that your test node can send out a message and was received by another radio, but never receives an ACK back for the transmitted message.

                B 1 Reply Last reply
                0
                • T Technovation

                  @benbidouille

                  I do not follow you, to me we have 3.3V output regulation + 1,2V regulation margin which remains well under the 5V input of the regulator ( doesn't includes the 0,44v drop )

                  You're right. I knew there was something additional in the order of about that shunt voltage drop, but should have checked the layout to spark my memory a bit better. It is not the voltage drop of the shunt but if you use the 5V output from the nano board you may have to account for a reverse voltage protection diode that may be present (i.e. your 5V pin does not really 5V). That's why there is a jumper to directly supply from the Vin pin.

                  What is the FAIL and NACK % corresponding to

                  • As in the description with the first post it should report percentage of FAILED acknowledges for the first HOP transmit (if no repeater nodes are present, then the first HOP will be the Gateway). This is actually the confirmation at "nrf24 radio level" to report if the message was received by another radio.
                  • NACK : The gateway is requested an ACK message for every message the node transmits. So that means the round trip of the message from NODE-> GATEWAY -> NODE.

                  So it can be that you have no FAIL but a lot of NACK, which would mean that your test node can send out a message and was received by another radio, but never receives an ACK back for the transmitted message.

                  B Offline
                  B Offline
                  benbidouille
                  wrote on last edited by benbidouille
                  #31

                  @Technovation
                  Many Thanks for your feedback, Yes we are fully in line, including the forward diode junction on the 5V.

                  About the NACK and FAIL this is very clear to me for the absolute value but I was wondering for Percentage value.

                  I'm actually doing transmission benchmarks ( combining different radios, radio shields etc .... under exact same conditions ) over periods of 5 minutes with payloads of 2 and 100 Msg/s, and I thought the percentage shown corresponds to Nbr_of_fail / Total_Counter, but it is not and i assume percentage is rather calculated over last X.

                  This is a very very good tools, I really appreciate, OEM NRF24 module are not all the same some are much better than others.
                  Best Regards

                  T 1 Reply Last reply
                  0
                  • B benbidouille

                    @Technovation
                    Many Thanks for your feedback, Yes we are fully in line, including the forward diode junction on the 5V.

                    About the NACK and FAIL this is very clear to me for the absolute value but I was wondering for Percentage value.

                    I'm actually doing transmission benchmarks ( combining different radios, radio shields etc .... under exact same conditions ) over periods of 5 minutes with payloads of 2 and 100 Msg/s, and I thought the percentage shown corresponds to Nbr_of_fail / Total_Counter, but it is not and i assume percentage is rather calculated over last X.

                    This is a very very good tools, I really appreciate, OEM NRF24 module are not all the same some are much better than others.
                    Best Regards

                    T Offline
                    T Offline
                    Technovation
                    wrote on last edited by
                    #32

                    @benbidouille said in nRF24Doctor:

                    I thought the percentage shown corresponds to Nbr_of_fail / Total_Counter, but it is not and i assume percentage is rather calculated over last X

                    It is indeed calculated over the last 100 msg's. In that way you have some "real-time" feedback on your connection quality (i.e. suppose you would have had 10.000 good msg's and it would start to fail - it will take +/-100 failed msg's to drop a single 1%).

                    You can calculate the percentage based on the total nr of msg's by getting the total MESSAGE COUNT displayed at Counters page and combine that with the values from FAIL and NACK on the Statistics page.

                    B 1 Reply Last reply
                    0
                    • T Technovation

                      @benbidouille said in nRF24Doctor:

                      I thought the percentage shown corresponds to Nbr_of_fail / Total_Counter, but it is not and i assume percentage is rather calculated over last X

                      It is indeed calculated over the last 100 msg's. In that way you have some "real-time" feedback on your connection quality (i.e. suppose you would have had 10.000 good msg's and it would start to fail - it will take +/-100 failed msg's to drop a single 1%).

                      You can calculate the percentage based on the total nr of msg's by getting the total MESSAGE COUNT displayed at Counters page and combine that with the values from FAIL and NACK on the Statistics page.

                      B Offline
                      B Offline
                      benbidouille
                      wrote on last edited by benbidouille
                      #33

                      @Technovation
                      Many thanks, I took opportunity of the only oversized 20x2 LCD device I had, to add the Nbr_of_fail / Total_Counter statistics display, very useful for cumulative % on long run in addition to original last 100 msg.

                      I also wanted to share with you importance of having a proper shielding (underneath green tape is aluminium film) where only Radio OEM module is exposed.

                      Under PA+LNA in the worst case conditions (max power), shielding significantly increases TX RX reliability (ideally OEM module body should also be shielded)
                      Cheers
                      IMG_2833.JPG

                      B 1 Reply Last reply
                      1
                      • B benbidouille

                        @Technovation
                        Many thanks, I took opportunity of the only oversized 20x2 LCD device I had, to add the Nbr_of_fail / Total_Counter statistics display, very useful for cumulative % on long run in addition to original last 100 msg.

                        I also wanted to share with you importance of having a proper shielding (underneath green tape is aluminium film) where only Radio OEM module is exposed.

                        Under PA+LNA in the worst case conditions (max power), shielding significantly increases TX RX reliability (ideally OEM module body should also be shielded)
                        Cheers
                        IMG_2833.JPG

                        B Offline
                        B Offline
                        benbidouille
                        wrote on last edited by benbidouille
                        #34

                        Hello,

                        This is me again
                        I intended to modify my existing W5100 GW to incorporate Doctor features, W5100 based on an Arduino NANO but I'm facing an architecture issue.

                        Mysensor recommends W5100 GW to use a Soft SPI for the NRF24 Radio as seems W5100 and NRF24 both on same SPI bus fails to operate.

                        GW Doctor requires IRQ which Soft SPI doesn't support, so sketch fails to compile with below error.

                        #error RF24 IRQ usage cannot be used with Soft SPI

                        Has somebody worked-around that situation and succeded to have a W5100 Doctor GW ?

                        Thanks in advance

                        YveauxY 1 Reply Last reply
                        0
                        • B benbidouille

                          Hello,

                          This is me again
                          I intended to modify my existing W5100 GW to incorporate Doctor features, W5100 based on an Arduino NANO but I'm facing an architecture issue.

                          Mysensor recommends W5100 GW to use a Soft SPI for the NRF24 Radio as seems W5100 and NRF24 both on same SPI bus fails to operate.

                          GW Doctor requires IRQ which Soft SPI doesn't support, so sketch fails to compile with below error.

                          #error RF24 IRQ usage cannot be used with Soft SPI

                          Has somebody worked-around that situation and succeded to have a W5100 Doctor GW ?

                          Thanks in advance

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

                          @benbidouille you can run W5100 with hardware spi but there are many revisions of the W5100 arduino shield available. Some of them eg require to have a defined state of the SD card select line before mySensors starts. Not a big problem, but you need to understand your hardware.
                          That's why soft spi is suggested.

                          http://yveaux.blogspot.nl

                          B 1 Reply Last reply
                          0
                          • YveauxY Yveaux

                            @benbidouille you can run W5100 with hardware spi but there are many revisions of the W5100 arduino shield available. Some of them eg require to have a defined state of the SD card select line before mySensors starts. Not a big problem, but you need to understand your hardware.
                            That's why soft spi is suggested.

                            B Offline
                            B Offline
                            benbidouille
                            wrote on last edited by benbidouille
                            #36

                            @Yveaux
                            Thanks a lot for your feedback.

                            I used very basic W5100 HW as on below link link text.

                            Why MySensor forum do mention "The W5100 ethernet module has problems sharing SPI with radio" recommending to use soft SPI with such unit without SD card ?

                            I must admit, I implemented sketch and wiring as recommended by MySensor forum with no brainer.

                            Lots of post like here link text seems also to confirm issues in the way W5100 handles SPI bus, a reel night mare, I haven't found any succesfull experience in forum yet.

                            Should you have further information or maybe working sketch to share, I would very much appreciate.

                            I have no logic analyzer so would prefer to avoid entering in long debug session but if you confirm W5100 and NRF on same SPI bus should work, i'll make a trial and rewire mine.
                            Regards

                            YveauxY 1 Reply Last reply
                            0
                            • B benbidouille

                              @Yveaux
                              Thanks a lot for your feedback.

                              I used very basic W5100 HW as on below link link text.

                              Why MySensor forum do mention "The W5100 ethernet module has problems sharing SPI with radio" recommending to use soft SPI with such unit without SD card ?

                              I must admit, I implemented sketch and wiring as recommended by MySensor forum with no brainer.

                              Lots of post like here link text seems also to confirm issues in the way W5100 handles SPI bus, a reel night mare, I haven't found any succesfull experience in forum yet.

                              Should you have further information or maybe working sketch to share, I would very much appreciate.

                              I have no logic analyzer so would prefer to avoid entering in long debug session but if you confirm W5100 and NRF on same SPI bus should work, i'll make a trial and rewire mine.
                              Regards

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

                              @benbidouille I've run multiple gateways using W5100 on hw spi with atmega328 and never had any issues apart from that SD card select line.
                              I'm not sure why the docs mention there would be a sharing issue.

                              http://yveaux.blogspot.nl

                              B TRS-80T 2 Replies Last reply
                              1
                              • YveauxY Yveaux

                                @benbidouille I've run multiple gateways using W5100 on hw spi with atmega328 and never had any issues apart from that SD card select line.
                                I'm not sure why the docs mention there would be a sharing issue.

                                B Offline
                                B Offline
                                benbidouille
                                wrote on last edited by benbidouille
                                #38

                                @Yveaux
                                Thanks so much for confirmation,
                                Seems a large community of people faced the issue here back in 2014 link text , and the recomendation comes from this past experience.

                                My undertanding is nobody re-challenged the recomendation and possibly are we the only one interested in getting IRQ with NRFDoctor.

                                So is a good news you confirm it works.
                                Can I assume you use same W5100 HW shield as mine and that you have for HW connections:

                                • W5100 (CS/MOSI/MISO/CLK) wired respectively on HW SPI (10,11,12,13)
                                • NRF24 also on HW SPI for (MOSI/MISO/CLK) only and differentiated CS/CE/IRQ on for instance respectively 6/5/2

                                Regards and thanks for these precious informations that will help me saving time.
                                Regards

                                1 Reply Last reply
                                0
                                • YveauxY Yveaux

                                  @benbidouille I've run multiple gateways using W5100 on hw spi with atmega328 and never had any issues apart from that SD card select line.
                                  I'm not sure why the docs mention there would be a sharing issue.

                                  TRS-80T Offline
                                  TRS-80T Offline
                                  TRS-80
                                  wrote on last edited by
                                  #39

                                  @Yveaux said in nRF24Doctor:

                                  I've run multiple gateways using W5100 on hw spi with atmega328 and never had any issues apart from that SD card select line.

                                  Very interesting. I just (few weeks ago) built an Ethernet gateway recently and at the time followed the recommendation for soft SPI. Then more recently I read about hardware SPI being required for MY_RX_MESSAGE_BUFFER_FEATURE which of course would be a valuable feature on a gateway.

                                  @benbidouille,

                                  Did you ever investigate further? Even if not, I will probably do so on my own, sooner or later, as I have a few of the various W5500 cheap modules here...

                                  1 Reply Last reply
                                  0
                                  • pw44P Offline
                                    pw44P Offline
                                    pw44
                                    wrote on last edited by
                                    #40

                                    Hya,

                                    correct me if i'm wrong.

                                    To make use of this, two units must be built. One for node and other for gateway.

                                    Is this undestanding correct? If not, how to use nRF24DoctorGateway and nRF24DoctorNode?

                                    Thx in advance.

                                    YveauxY 1 Reply Last reply
                                    0
                                    • pw44P pw44

                                      Hya,

                                      correct me if i'm wrong.

                                      To make use of this, two units must be built. One for node and other for gateway.

                                      Is this undestanding correct? If not, how to use nRF24DoctorGateway and nRF24DoctorNode?

                                      Thx in advance.

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

                                      @pw44 said in nRF24Doctor:

                                      Is this undestanding correct?

                                      Yes it is

                                      http://yveaux.blogspot.nl

                                      1 Reply Last reply
                                      0
                                      • C Offline
                                        C Offline
                                        canyouhearmenow
                                        wrote on last edited by
                                        #42

                                        I need some help.
                                        I just built an NRF24Doctor following the instruction in the post and on Github.

                                        • When no NRF24 module is connected, the device starts properly, displays the menu on the LCD, and when I try to select a menu item, it (correctly) displays "Radio init error. Replace radio".

                                        • When an NRF24 mode is connected (I tried several), the LCD is blank, the serial monitor shows "Channel:90 PaLevel:HIGH PaLevelGw:LOW DataRate:250KBPS Dest:0 Payload:2 Rate:10" in an endless loop.

                                        • when I run the older "nRf24L01+ connection quality meter" software, it starts ok and the LCD shows FAIL 0% and MISS 0% as expected.

                                        Any ideas for what might cause this problem? Almost looks like it resets in a loop, maybe because the watchdog triggers? or stack corruption?

                                        1 Reply Last reply
                                        0
                                        • L Offline
                                          L Offline
                                          lyubo.assenov
                                          wrote on last edited by
                                          #43

                                          Hello all,

                                          First things first - this is a great device, kudos to everybody involved!

                                          I built a buggy nrf24Doctor - it wasn't measuring the current consumption at all ("xxx Err" message). Trying to fix it led me to refactor the - splitting it into smaller "components" and adapting the project structure to VSCode/platform-io (ArduinoIDE is not my cup of tea).

                                          If someone is interested, the code can be found at github.

                                          Regards,
                                          L.

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


                                          13

                                          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