Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. Radio setup give: "check wires"

Radio setup give: "check wires"

Scheduled Pinned Locked Moved Troubleshooting
94 Posts 17 Posters 59.7k Views 3 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.
  • O olaeke

    I have modified the excelent "ping/pong test" program from maniacbug so it compiles with the RF24 lib. that comes with MySensors 1.4

    With this program it is very easy to test your radio if it works or maybe if it works bad (many timeouts) and you also get this info printed if it is a + or non + chip.

    • Download attached zip
    • Build ino file
    • Uppload on two nodes
    • Connect serial monitor (115200 baud)
    • Press T in serial monitor and then you should se "
      Now sending 29788...ok...Got response 29788, round-trip delay: 23"

    For the printout of chip details you need to comment out #define MINIMAL in RF24_config.h. I also recommend comment SERIAL_DEBUG so you get less debuginfo on serial.
    MySensorsPingPongTst.zip

    M Offline
    M Offline
    MLs
    wrote on last edited by
    #58

    @olaeke

    I can not get it to work.

    The pins I use on nRF24L01 + / nRF24L01

    Arduino NRF24L01 Radio Ethernet module
    GND GND
    3.3V VCC
    13 SCK
    12 MISO
    11 MOSI
    6 CSN
    5 CE

    And what I get is this

    STATUS = 0x00 RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=0 TX_FULL=0
    RX_ADDR_P0-1 = 0x0000000000 0x0000000000
    RX_ADDR_P2-5 = 0x00 0x00 0x00 0x00
    TX_ADDR = 0x0000000000
    RX_PW_P0-6 = 0x00 0x00 0x00 0x00 0x00 0x00
    EN_AA = 0x00
    EN_RXADDR = 0x00
    RF_CH = 0x00
    RF_SETUP = 0x00
    CONFIG = 0x00
    DYNPD/FEATURE = 0x00 0x00
    Data Rate = 1MBPS
    Model = nRF24L01
    CRC Length = Disabled
    PA Power = PA_MIN

    What am I doing wrong?

    axillentA 1 Reply Last reply
    0
    • M MLs

      @olaeke

      I can not get it to work.

      The pins I use on nRF24L01 + / nRF24L01

      Arduino NRF24L01 Radio Ethernet module
      GND GND
      3.3V VCC
      13 SCK
      12 MISO
      11 MOSI
      6 CSN
      5 CE

      And what I get is this

      STATUS = 0x00 RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=0 TX_FULL=0
      RX_ADDR_P0-1 = 0x0000000000 0x0000000000
      RX_ADDR_P2-5 = 0x00 0x00 0x00 0x00
      TX_ADDR = 0x0000000000
      RX_PW_P0-6 = 0x00 0x00 0x00 0x00 0x00 0x00
      EN_AA = 0x00
      EN_RXADDR = 0x00
      RF_CH = 0x00
      RF_SETUP = 0x00
      CONFIG = 0x00
      DYNPD/FEATURE = 0x00 0x00
      Data Rate = 1MBPS
      Model = nRF24L01
      CRC Length = Disabled
      PA Power = PA_MIN

      What am I doing wrong?

      axillentA Offline
      axillentA Offline
      axillent
      Mod
      wrote on last edited by
      #59

      @MLs what else is connected to arduino?

      i had the same result yesterday trying to build ethernet gateway using ENC based shield. I'm faced a conflict between radio and ethernet

      sense and drive

      M 1 Reply Last reply
      0
      • axillentA axillent

        @MLs what else is connected to arduino?

        i had the same result yesterday trying to build ethernet gateway using ENC based shield. I'm faced a conflict between radio and ethernet

        M Offline
        M Offline
        MLs
        wrote on last edited by MLs
        #60

        @axillent

        Four Dallas temp sensor.

        But what I am interested in is the model I have (nRF24L01 + / nRF24L01) and not to send / receive data.

        axillentA 1 Reply Last reply
        0
        • M MLs

          @axillent

          Four Dallas temp sensor.

          But what I am interested in is the model I have (nRF24L01 + / nRF24L01) and not to send / receive data.

          axillentA Offline
          axillentA Offline
          axillent
          Mod
          wrote on last edited by
          #61

          @MLs if you have original nordic you will see + for the plus version
          IMG_2048.JPG

          sense and drive

          M 1 Reply Last reply
          0
          • axillentA axillent

            @MLs if you have original nordic you will see + for the plus version
            IMG_2048.JPG

            M Offline
            M Offline
            MLs
            wrote on last edited by
            #62

            @axillent

            I bought them through the store available here at Mysensors

            axillentA 1 Reply Last reply
            0
            • M MLs

              @axillent

              I bought them through the store available here at Mysensors

              axillentA Offline
              axillentA Offline
              axillent
              Mod
              wrote on last edited by
              #63

              @MLs it should be OK
              the old version is out of production for years

              sense and drive

              M hekH 2 Replies Last reply
              0
              • axillentA axillent

                @MLs it should be OK
                the old version is out of production for years

                M Offline
                M Offline
                MLs
                wrote on last edited by
                #64

                @axillent

                Possible, but now I wanted to read it out of the hardware to be sure.

                axillentA 1 Reply Last reply
                0
                • M MLs

                  @axillent

                  Possible, but now I wanted to read it out of the hardware to be sure.

                  axillentA Offline
                  axillentA Offline
                  axillent
                  Mod
                  wrote on last edited by
                  #65

                  @MLs said:

                  Possible, but now I wanted to read it out of the hardware to be sure.

                  that is easy))) check wires

                  sense and drive

                  M 1 Reply Last reply
                  0
                  • axillentA axillent

                    @MLs said:

                    Possible, but now I wanted to read it out of the hardware to be sure.

                    that is easy))) check wires

                    M Offline
                    M Offline
                    MLs
                    wrote on last edited by
                    #66

                    @axillent

                    As I wrote earlier, it is linked and I have also measured the cables to minimize errors.

                    axillentA 1 Reply Last reply
                    0
                    • M MLs

                      @axillent

                      As I wrote earlier, it is linked and I have also measured the cables to minimize errors.

                      axillentA Offline
                      axillentA Offline
                      axillent
                      Mod
                      wrote on last edited by
                      #67

                      @MLs disconnect all from arduino

                      connect radio as stated here http://www.mysensors.org/build/connect_radio
                      get example GetStarted sketch from RF24 library and see the output

                      it should be OK
                      otherwise most probably the radio is broken

                      sense and drive

                      1 Reply Last reply
                      0
                      • axillentA axillent

                        @MLs it should be OK
                        the old version is out of production for years

                        hekH Offline
                        hekH Offline
                        hek
                        Admin
                        wrote on last edited by
                        #68

                        @axillent said:

                        the old version is out of production for years

                        But they still seem to pop up. See a bit up in the thread.

                        axillentA 1 Reply Last reply
                        0
                        • hekH hek

                          @axillent said:

                          the old version is out of production for years

                          But they still seem to pop up. See a bit up in the thread.

                          axillentA Offline
                          axillentA Offline
                          axillent
                          Mod
                          wrote on last edited by
                          #69

                          @hek you knew from our conversation last night that I also got "check wires" and was ready to think that all my modules are the old ones

                          but finally my issue has nothing to do with version of the chip. It is exactly "check wires" issue and issue of the conflicts with other staff,
                          and my modules were purchased about two years ago

                          is it any confirmed case with the old version?

                          sense and drive

                          hekH 1 Reply Last reply
                          0
                          • axillentA axillent

                            @hek you knew from our conversation last night that I also got "check wires" and was ready to think that all my modules are the old ones

                            but finally my issue has nothing to do with version of the chip. It is exactly "check wires" issue and issue of the conflicts with other staff,
                            and my modules were purchased about two years ago

                            is it any confirmed case with the old version?

                            hekH Offline
                            hekH Offline
                            hek
                            Admin
                            wrote on last edited by
                            #70

                            @axillent
                            Yep, if you look at the pictures above they're missing +

                            axillentA 1 Reply Last reply
                            0
                            • hekH hek

                              @axillent
                              Yep, if you look at the pictures above they're missing +

                              axillentA Offline
                              axillentA Offline
                              axillent
                              Mod
                              wrote on last edited by
                              #71

                              @hek you are right
                              but it seams that only @sonicblaze is owner of this rare thing

                              sense and drive

                              O 1 Reply Last reply
                              0
                              • axillentA axillent

                                @hek you are right
                                but it seams that only @sonicblaze is owner of this rare thing

                                O Offline
                                O Offline
                                olaeke
                                wrote on last edited by
                                #72

                                @axillent And me! I started the thread so I have got 10 of the them, maybe something for the MySensors museum!

                                axillentA 1 Reply Last reply
                                0
                                • O olaeke

                                  @axillent And me! I started the thread so I have got 10 of the them, maybe something for the MySensors museum!

                                  axillentA Offline
                                  axillentA Offline
                                  axillent
                                  Mod
                                  wrote on last edited by
                                  #73

                                  @olaeke said:

                                  @axillent And me! I started the thread so I have got 10 of the them, maybe something for the MySensors museum!

                                  hm. are the + is missing on top of the nordic chip?

                                  it can be probably still used for mysensors in case of:

                                  • switching data rate to 1Mbs or 2MBs (old version do not support 250Kbs - default to 1.4)
                                  • comment out "check wires" check inside Mysensors library

                                  sense and drive

                                  O 1 Reply Last reply
                                  0
                                  • axillentA axillent

                                    @olaeke said:

                                    @axillent And me! I started the thread so I have got 10 of the them, maybe something for the MySensors museum!

                                    hm. are the + is missing on top of the nordic chip?

                                    it can be probably still used for mysensors in case of:

                                    • switching data rate to 1Mbs or 2MBs (old version do not support 250Kbs - default to 1.4)
                                    • comment out "check wires" check inside Mysensors library
                                    O Offline
                                    O Offline
                                    olaeke
                                    wrote on last edited by
                                    #74

                                    @axillent Yes there is no + on those.
                                    I have tried using them but without success. I couldn't get them to work at all on the gateway but if I replaced the gateway with + variant and non + on the node then it "almost" worked. I couldn't get the "Auto Id" function to work. I think it has something with Ack to do, i will remember that I have read somewhere that the hardware ack is only implemented in the + variant.

                                    1 Reply Last reply
                                    1
                                    • eimisE Offline
                                      eimisE Offline
                                      eimis
                                      wrote on last edited by
                                      #75

                                      Hello,

                                      I'am a new one on this forum, and I've stepped on the same rake like others. So there are some recommendations for other newbies and questions for developers:

                                      1. I've wasted some hours because this library uses serial baud rate 115200, not 9600, what is default for other projects - it should be mentioned in proper place, sorry, if it is, but I've not noticed it.

                                      2. Next step for all users, that want to use this great project, should be sketch that outputs NRF24L01 version: my history is, that I've bought 10 NRF's from the same seller (alice***) 2-3 months ago, on chips there is "+" sign, but sketch says, that there is NRF24L01 without "+" :(

                                      3. What to do for those unlucky, that bought wrong version: maybe it's possible to use these modules with some restrictions, while right modules will arrive? I saw recommendations about sensor node to change speed and comment out while()1) after "check cables", but what to do for gateway node?

                                      4. I'm not a geek developer, maybe it is possible to use #define SOFTSPI in main sketch, before including other libraries? It would be simpler, than editing file RF24_config.h for gateway node and sensor node?

                                      Thanks!

                                      hekH 1 Reply Last reply
                                      0
                                      • eimisE eimis

                                        Hello,

                                        I'am a new one on this forum, and I've stepped on the same rake like others. So there are some recommendations for other newbies and questions for developers:

                                        1. I've wasted some hours because this library uses serial baud rate 115200, not 9600, what is default for other projects - it should be mentioned in proper place, sorry, if it is, but I've not noticed it.

                                        2. Next step for all users, that want to use this great project, should be sketch that outputs NRF24L01 version: my history is, that I've bought 10 NRF's from the same seller (alice***) 2-3 months ago, on chips there is "+" sign, but sketch says, that there is NRF24L01 without "+" :(

                                        3. What to do for those unlucky, that bought wrong version: maybe it's possible to use these modules with some restrictions, while right modules will arrive? I saw recommendations about sensor node to change speed and comment out while()1) after "check cables", but what to do for gateway node?

                                        4. I'm not a geek developer, maybe it is possible to use #define SOFTSPI in main sketch, before including other libraries? It would be simpler, than editing file RF24_config.h for gateway node and sensor node?

                                        Thanks!

                                        hekH Offline
                                        hekH Offline
                                        hek
                                        Admin
                                        wrote on last edited by
                                        #76

                                        @eimis said:

                                        I've wasted some hours because this library uses serial baud rate 115200, not 9600, what is default for other projects - it should be mentioned in proper place, sorry, if it is, but I've not noticed it.

                                        It is mentioned at a few places on the main site. Anywhere particular place it is missing?

                                        I'm not a geek developer, maybe it is possible to use #define SOFTSPI in main sketch, before including other libraries? It would be simpler, than editing file RF24_config.h for gateway node and sensor node?

                                        Unfortunately the Arduino IDE build system is f**cked up and does not allow this. But I agree that DEBUG and SOFTSPI would had been great to add in the sketch itself.

                                        eimisE 1 Reply Last reply
                                        0
                                        • hekH hek

                                          @eimis said:

                                          I've wasted some hours because this library uses serial baud rate 115200, not 9600, what is default for other projects - it should be mentioned in proper place, sorry, if it is, but I've not noticed it.

                                          It is mentioned at a few places on the main site. Anywhere particular place it is missing?

                                          I'm not a geek developer, maybe it is possible to use #define SOFTSPI in main sketch, before including other libraries? It would be simpler, than editing file RF24_config.h for gateway node and sensor node?

                                          Unfortunately the Arduino IDE build system is f**cked up and does not allow this. But I agree that DEBUG and SOFTSPI would had been great to add in the sketch itself.

                                          eimisE Offline
                                          eimisE Offline
                                          eimis
                                          wrote on last edited by
                                          #77

                                          @hek said:

                                          @eimis said:

                                          I've wasted some hours because this library uses serial baud rate 115200, not 9600, what is default for other projects - it should be mentioned in proper place, sorry, if it is, but I've not noticed it.

                                          It is mentioned at a few places on the main site. Anywhere particular place it is missing?

                                          I've started from "Building Ethernet Gateway" and finished on "MQTT Gateway", as I use OpenHAB as Controller.

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


                                          9

                                          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