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.
  • B Offline
    B Offline
    boozz
    wrote on last edited by
    #48

    @olaeke

    Yes I got the non-plus versions to work at 1MBPS but the distance is much better with the +- version.
    Writing this I realize that I had a problem with the serial gateway. Somehow it needed a plus-version for this specific sketch to get the network running. Max distance in house approx. 6 meters (through walls, no line of Sight.

    Regards,

    Boozz

    1 Reply Last reply
    0
    • O Offline
      O Offline
      olaeke
      wrote on last edited by
      #49

      I can confirm that you can get non + variant to work on nodes but on the gateway you must have a + variant.

      But it is not worth the effort, if you have got non + variant from the China, throw them away and by new one (and cross your fingers that you get correct next time)

      S 1 Reply Last reply
      0
      • sonicblazeS Offline
        sonicblazeS Offline
        sonicblaze
        wrote on last edited by
        #50

        I finally got some + versions from AliExpress. Plugged them in, and everything came to life immediately. Amazing what happens when you receive the right parts.

        1 Reply Last reply
        0
        • O olaeke

          I can confirm that you can get non + variant to work on nodes but on the gateway you must have a + variant.

          But it is not worth the effort, if you have got non + variant from the China, throw them away and by new one (and cross your fingers that you get correct next time)

          S Offline
          S Offline
          Squint
          wrote on last edited by
          #51

          @olaeke Can you explain why the controller needs to be "+" ?

          If we follow the speed change from the post above, does it also effect the Controller speed?

          I've just managed to get a sensor going ( non+, via the hack here at 1MB ).. ( My Chip actually shows a +, but printDetails(); shows no +
          My Controller/Gateway also is supposed to be "+", however printDetails(); shows its not + either..

          Is there a chance, I have it setup wrong and it defaults to non+ in the printDetails() output?
          The Controller doest startup and say "Started!"..

          O 1 Reply Last reply
          0
          • hekH Offline
            hekH Offline
            hek
            Admin
            wrote on last edited by
            #52

            You don't have to have the + variant.

            To get the none+ variant started I guess you have to remove the sanity check ("check wires") in MySensor.cpp (besides changing the transfer speed to 1Mbit in MyConfig.h).

            1 Reply Last reply
            0
            • S Squint

              @olaeke Can you explain why the controller needs to be "+" ?

              If we follow the speed change from the post above, does it also effect the Controller speed?

              I've just managed to get a sensor going ( non+, via the hack here at 1MB ).. ( My Chip actually shows a +, but printDetails(); shows no +
              My Controller/Gateway also is supposed to be "+", however printDetails(); shows its not + either..

              Is there a chance, I have it setup wrong and it defaults to non+ in the printDetails() output?
              The Controller doest startup and say "Started!"..

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

              @Squint I have problem with Ack and I have assumed that it has to do with the non + . I have a + variant on my gateway but non puls on my sensor node.

              S 1 Reply Last reply
              0
              • O olaeke

                @Squint I have problem with Ack and I have assumed that it has to do with the non + . I have a + variant on my gateway but non puls on my sensor node.

                S Offline
                S Offline
                Squint
                wrote on last edited by
                #54

                @olaeke I believe this is how I have mine setup as well.. Oddly enough both modules have the "+" printed on the chip but I cannot get the sensor code to initialize unless i take out the PVariant check. printDetails shows the following:

                Gateway:
                Data Rate = 2MBPS
                Model = nRF24L01+

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

                The odd part is, on the sensor - all of the values in printDetails(); are 0's.. So I suspect I have something wired incorrectly?
                I've double & tripple checked the wiring..

                Thanks.

                O 1 Reply Last reply
                0
                • S Squint

                  @olaeke I believe this is how I have mine setup as well.. Oddly enough both modules have the "+" printed on the chip but I cannot get the sensor code to initialize unless i take out the PVariant check. printDetails shows the following:

                  Gateway:
                  Data Rate = 2MBPS
                  Model = nRF24L01+

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

                  The odd part is, on the sensor - all of the values in printDetails(); are 0's.. So I suspect I have something wired incorrectly?
                  I've double & tripple checked the wiring..

                  Thanks.

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

                  @Squint That seem even more tricky that the have printed + on the chip and then it still is non plus.

                  I really don't remember now if I run the getstatus() on the sensor node or it was only on the gateway, but it sound strange that you get zeros on all information. The only thing I can think of is either is the radio broken or is there som more #define in the code you have to comment out the get the status info to print correctly.

                  I will also remember that I had to fix some more issue in the code to get the non plus to work, I think a made a hack in the process method in the MySensor class, and still the acknowledge didn't work. But I'm not totally shure, I have had a lot of problem with my sensors and my Vera Edge.

                  Yesterday I received my new radios (yes + variant) and my Ethernet shield. I have now replaced my radios, replaced the serial gateway with Ethernet (the serial port is not working on Vera Egde, good work Mi Casa Verde!) replaced all my hacked library code with fresh from MySensors.org and...

                  NOW IT WORKS!

                  I will take the old non plus radio and burn them in the garden tomorrow!

                  FYI as sonicblaze wrote is Alice breaking point to give them bad feedback then they contact you within a week and offer you refund,.

                  S 1 Reply Last reply
                  0
                  • O olaeke

                    @Squint That seem even more tricky that the have printed + on the chip and then it still is non plus.

                    I really don't remember now if I run the getstatus() on the sensor node or it was only on the gateway, but it sound strange that you get zeros on all information. The only thing I can think of is either is the radio broken or is there som more #define in the code you have to comment out the get the status info to print correctly.

                    I will also remember that I had to fix some more issue in the code to get the non plus to work, I think a made a hack in the process method in the MySensor class, and still the acknowledge didn't work. But I'm not totally shure, I have had a lot of problem with my sensors and my Vera Edge.

                    Yesterday I received my new radios (yes + variant) and my Ethernet shield. I have now replaced my radios, replaced the serial gateway with Ethernet (the serial port is not working on Vera Egde, good work Mi Casa Verde!) replaced all my hacked library code with fresh from MySensors.org and...

                    NOW IT WORKS!

                    I will take the old non plus radio and burn them in the garden tomorrow!

                    FYI as sonicblaze wrote is Alice breaking point to give them bad feedback then they contact you within a week and offer you refund,.

                    S Offline
                    S Offline
                    Squint
                    wrote on last edited by
                    #56

                    @olaeke It turns out mine were actually + models. I had the sensors wired incorrectly because I had SOFTSPI enabled.. Once I realized the correct pinout ( After about 3 days of trial/error/code-digging ) its now reporting the + as it should and the radios are working as intended.

                    Thanks!

                    1 Reply Last reply
                    0
                    • 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
                      #57
                      This post is deleted!
                      1 Reply Last reply
                      0
                      • 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
                                          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