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
48 Posts 16 Posters 9.3k Views 26 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
    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
                • B Offline
                  B Offline
                  broomnest
                  Banned
                  wrote on last edited by
                  #44

                  The output of the display could also be sent over serial, but the whole idea is you can walk around with the doctor and improve your results as you go.

                  1 Reply Last reply
                  0
                  • ben999B Offline
                    ben999B Offline
                    ben999
                    wrote last edited by ben999
                    #45

                    Sorry to necro this old post :(
                    I have just uploaded @yveaux's version of nRF24 doctor to a Nano.

                    @Yveaux said in nRF24Doctor:

                    https://github.com/TechNovation01/nRF24Doctor/blob/master/pcb/nRFDoctor_1.1_sch.pdf

                    I got all the right libraries installed into IDE (especially LCDMenuLib2.h version 1.2.7, i also tried several other versions close to 1.2.7 just to be sure).
                    But when compiling i get the following errors :

                    /tmp/ccMpih6l.ltrans0.ltrans.o: In function `global constructors keyed to 65535_0_nRF24QualityMeter03.ino.cpp.o.3416':
                    <artificial>:(.text.startup+0x19a): undefined reference to `lcdml_menu_display()'
                    <artificial>:(.text.startup+0x19c): undefined reference to `lcdml_menu_display()'
                    <artificial>:(.text.startup+0x1a6): undefined reference to `lcdml_menu_clear()'
                    <artificial>:(.text.startup+0x1a8): undefined reference to `lcdml_menu_clear()'
                    collect2: error: ld returned 1 exit status
                    exit status 1
                    Erreur de compilation pour la carte Arduino Nano
                    

                    That is a bit above my knowledge. Could someone please point me into the right direction? Could it be just a case of "wrong naming" of variables ?

                    ben999B 1 Reply Last reply
                    0
                    • ben999B ben999

                      Sorry to necro this old post :(
                      I have just uploaded @yveaux's version of nRF24 doctor to a Nano.

                      @Yveaux said in nRF24Doctor:

                      https://github.com/TechNovation01/nRF24Doctor/blob/master/pcb/nRFDoctor_1.1_sch.pdf

                      I got all the right libraries installed into IDE (especially LCDMenuLib2.h version 1.2.7, i also tried several other versions close to 1.2.7 just to be sure).
                      But when compiling i get the following errors :

                      /tmp/ccMpih6l.ltrans0.ltrans.o: In function `global constructors keyed to 65535_0_nRF24QualityMeter03.ino.cpp.o.3416':
                      <artificial>:(.text.startup+0x19a): undefined reference to `lcdml_menu_display()'
                      <artificial>:(.text.startup+0x19c): undefined reference to `lcdml_menu_display()'
                      <artificial>:(.text.startup+0x1a6): undefined reference to `lcdml_menu_clear()'
                      <artificial>:(.text.startup+0x1a8): undefined reference to `lcdml_menu_clear()'
                      collect2: error: ld returned 1 exit status
                      exit status 1
                      Erreur de compilation pour la carte Arduino Nano
                      

                      That is a bit above my knowledge. Could someone please point me into the right direction? Could it be just a case of "wrong naming" of variables ?

                      ben999B Offline
                      ben999B Offline
                      ben999
                      wrote last edited by ben999
                      #46

                      I might be able to answer that myself !

                      Looks like i have forgotten to "combine" a .ino file (CharLcdMenu.ino) with the main one (nRF24DoctorNode.ino), which seems to be a bit like a sub-program.

                      edit: that's it. Just had to create a second TAB with that sub-program, compile and success.

                      Please forgive my lack of vocabulary and knowldge, i am a "copy-paste" engineer :D

                      1 Reply Last reply
                      1
                      • OldSurferDudeO Offline
                        OldSurferDudeO Offline
                        OldSurferDude
                        wrote last edited by
                        #47

                        It's great when a project can be brought to life after 8 years!

                        ben999B 1 Reply Last reply
                        1
                        • OldSurferDudeO OldSurferDude

                          It's great when a project can be brought to life after 8 years!

                          ben999B Offline
                          ben999B Offline
                          ben999
                          wrote last edited by
                          #48

                          @OldSurferDude as long as we’re using nRFs this project is still relevant :D

                          Great little tool to check for efficiency of modules

                          I can even « aim » a pcb antenna to get the best result !

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


                          17

                          Online

                          11.7k

                          Users

                          11.2k

                          Topics

                          113.2k

                          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