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. NRF24 i cant configure raspberry pi1

NRF24 i cant configure raspberry pi1

Scheduled Pinned Locked Moved Troubleshooting
25 Posts 4 Posters 5.4k Views 4 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.
  • Rodolfo VieiraR Offline
    Rodolfo VieiraR Offline
    Rodolfo Vieira
    wrote on last edited by
    #9

    @mfalkvidd
    ok thank you so...i make this:

    1 git clone https://github.com/mysensors/MySensors.git --branch master
    cd MySensors

    2 ./configure --my-transport=nrf24

    3 ./configure --my-gateway=ethernet --my-port=5003

    4 ./configure --my-gateway=ethernet --my-controller-ip-address=192.168.1.65

    5 make

    6 sudo ./bin/mysgw -h

    7 sudo ./bin/mysgw -d

    and i receive this:
    pi@hassbian:~/MySensors $ sudo ./bin/mysgw -d
    mysgw: Starting gateway...
    mysgw: Protocol version - 2.1.1
    mysgw: MCO:BGN:INIT GW,CP=RNNG---,VER=2.1.1
    mysgw: TSM:INIT
    mysgw: TSF:WUR:MS=0
    mysgw: !TSM:INIT:TSP FAIL
    mysgw: TSM:FAIL:CNT=1
    mysgw: TSM:FAIL:PDT
    mysgw: TSM:FAIL:RE-INIT
    mysgw: TSM:INIT
    mysgw: !TSM:INIT:TSP FAIL
    mysgw: TSM:FAIL:CNT=2
    mysgw: TSM:FAIL:PDT

    what is the problem?

    mfalkviddM 1 Reply Last reply
    0
    • Rodolfo VieiraR Rodolfo Vieira

      @mfalkvidd
      ok thank you so...i make this:

      1 git clone https://github.com/mysensors/MySensors.git --branch master
      cd MySensors

      2 ./configure --my-transport=nrf24

      3 ./configure --my-gateway=ethernet --my-port=5003

      4 ./configure --my-gateway=ethernet --my-controller-ip-address=192.168.1.65

      5 make

      6 sudo ./bin/mysgw -h

      7 sudo ./bin/mysgw -d

      and i receive this:
      pi@hassbian:~/MySensors $ sudo ./bin/mysgw -d
      mysgw: Starting gateway...
      mysgw: Protocol version - 2.1.1
      mysgw: MCO:BGN:INIT GW,CP=RNNG---,VER=2.1.1
      mysgw: TSM:INIT
      mysgw: TSF:WUR:MS=0
      mysgw: !TSM:INIT:TSP FAIL
      mysgw: TSM:FAIL:CNT=1
      mysgw: TSM:FAIL:PDT
      mysgw: TSM:FAIL:RE-INIT
      mysgw: TSM:INIT
      mysgw: !TSM:INIT:TSP FAIL
      mysgw: TSM:FAIL:CNT=2
      mysgw: TSM:FAIL:PDT

      what is the problem?

      mfalkviddM Offline
      mfalkviddM Offline
      mfalkvidd
      Mod
      wrote on last edited by mfalkvidd
      #10

      @Rodolfo-Vieira everything on a single line :)
      ./configure and then add all the options you want. Then press enter. Then run make.

      But it looks like the radio is not correctly wired. Could you post a photo?

      mfalkviddM 1 Reply Last reply
      0
      • Rodolfo VieiraR Offline
        Rodolfo VieiraR Offline
        Rodolfo Vieira
        wrote on last edited by Rodolfo Vieira
        #11

        @mfalkvidd lol ok, i am newbie sorry for the stupid acts.

        1 ./configure --my-transport=nrf24 --my-gateway=ethernet --my-port=5003 --my-gateway=ethernet --my-controller-ip-address=192.168.1.65

        2 make

        3 sudo ./bin/mysgw -h

        4 sudo ./bin/mysgw -d

        result:

        mysgw: Starting gateway...
        mysgw: Protocol version - 2.1.1
        mysgw: MCO:BGN:INIT GW,CP=RNNG---,VER=2.1.1
        mysgw: TSM:INIT
        mysgw: TSF:WUR:MS=0
        mysgw: !TSM:INIT:TSP FAIL
        mysgw: TSM:FAIL:CNT=1
        mysgw: TSM:FAIL:PDT

        1 Reply Last reply
        0
        • mfalkviddM mfalkvidd

          @Rodolfo-Vieira everything on a single line :)
          ./configure and then add all the options you want. Then press enter. Then run make.

          But it looks like the radio is not correctly wired. Could you post a photo?

          mfalkviddM Offline
          mfalkviddM Offline
          mfalkvidd
          Mod
          wrote on last edited by
          #12

          TSM:INIT:TSP FAIL means the software is unable to communicate with the radio. That is usually due to the radio not being correctly wired. Could you post a photo?

          1 Reply Last reply
          0
          • Rodolfo VieiraR Offline
            Rodolfo VieiraR Offline
            Rodolfo Vieira
            wrote on last edited by
            #13

            off course

            https://goo.gl/photos/WB7kkt9A4uxkSwr99

            mfalkviddM 1 Reply Last reply
            0
            • Rodolfo VieiraR Rodolfo Vieira

              off course

              https://goo.gl/photos/WB7kkt9A4uxkSwr99

              mfalkviddM Offline
              mfalkviddM Offline
              mfalkvidd
              Mod
              wrote on last edited by
              #14

              @Rodolfo-Vieira thanks. It will take me a while to compare to the wiring guide but I'll report as soon as I have mapped the colors.

              1 Reply Last reply
              0
              • Rodolfo VieiraR Offline
                Rodolfo VieiraR Offline
                Rodolfo Vieira
                wrote on last edited by
                #15

                @mfalkvidd ok no problem i waiting

                mfalkviddM 1 Reply Last reply
                0
                • Rodolfo VieiraR Rodolfo Vieira

                  @mfalkvidd ok no problem i waiting

                  mfalkviddM Offline
                  mfalkviddM Offline
                  mfalkvidd
                  Mod
                  wrote on last edited by mfalkvidd
                  #16

                  @Rodolfo-Vieira on raspberry pi 1, pin 15 is not gnd. Move it to pin 20 or one of the other gnd pins. Stop mysgw (ctrl+c) and start it again after you have switched pins.

                  1 Reply Last reply
                  0
                  • Rodolfo VieiraR Offline
                    Rodolfo VieiraR Offline
                    Rodolfo Vieira
                    wrote on last edited by Rodolfo Vieira
                    #17

                    @mfalkvidd you are correct. I confirm all the wires 5 times.
                    but the error is the same.

                    after that i changed my nrf for two other that i had, and the error is the same.

                    exist any way to confirm if the nrf24 is working fine? may be my nrf are damaged. i dont know.

                    edit: I tried to , connect POWER NRF24 to external power, and connect ground external power to ground raspberry pi.. and the result is the same.

                    TSM:INIT:TSP FAIL

                    mfalkviddM 1 Reply Last reply
                    0
                    • Rodolfo VieiraR Rodolfo Vieira

                      @mfalkvidd you are correct. I confirm all the wires 5 times.
                      but the error is the same.

                      after that i changed my nrf for two other that i had, and the error is the same.

                      exist any way to confirm if the nrf24 is working fine? may be my nrf are damaged. i dont know.

                      edit: I tried to , connect POWER NRF24 to external power, and connect ground external power to ground raspberry pi.. and the result is the same.

                      TSM:INIT:TSP FAIL

                      mfalkviddM Offline
                      mfalkviddM Offline
                      mfalkvidd
                      Mod
                      wrote on last edited by mfalkvidd
                      #18

                      @Rodolfo-Vieira do you mean that moving gnd on nrf24 from 19 to 20 on raspberry pi did not help?

                      1 Reply Last reply
                      0
                      • Rodolfo VieiraR Offline
                        Rodolfo VieiraR Offline
                        Rodolfo Vieira
                        wrote on last edited by Rodolfo Vieira
                        #19

                        @mfalkvidd
                        yes i changed gnd As you told me,,,and not work.
                        after that i confirm again all wires...and not work again.... then i connect more two nrf24...make sudo reboot
                        and run sudo ./bin/mysgw -d

                        but the error is the same,,, so a decide help with external source 3.3v

                        i connected wire power nrf24 ---> power external source
                        gnd powersource -------> other gnd raspberry pi

                        sudo reboot again...
                        after sudo ./bin/mysgw -d

                        and the error is the same..... :(

                        1 Reply Last reply
                        0
                        • mfalkviddM Offline
                          mfalkviddM Offline
                          mfalkvidd
                          Mod
                          wrote on last edited by mfalkvidd
                          #20

                          Sorry, I see now that I probably misinterpreted the photo.

                          Cross-referencing your colors with the official wiring instructions is very tedious.

                          But it looks like the wiring is indeed correct.

                          1 Reply Last reply
                          0
                          • mfalkviddM Offline
                            mfalkviddM Offline
                            mfalkvidd
                            Mod
                            wrote on last edited by
                            #21

                            Easiest way to check the nrf is probably to build a node, if you have a spare Arduino.

                            1 Reply Last reply
                            0
                            • Rodolfo VieiraR Offline
                              Rodolfo VieiraR Offline
                              Rodolfo Vieira
                              wrote on last edited by
                              #22

                              @mfalkvidd
                              may be all my nrf24 are damaged, i have 3.

                              Is there any way to check if they are good?
                              If the connections are well made should work correct?

                              And is an external source even necessary?

                              tomorrow i will test what do you say me now, because now have to go to work.

                              1 Reply Last reply
                              0
                              • J Offline
                                J Offline
                                Juan González M.
                                wrote on last edited by
                                #23

                                Same problem here.

                                Rodolfo VieiraR 1 Reply Last reply
                                0
                                • J Juan González M.

                                  Same problem here.

                                  Rodolfo VieiraR Offline
                                  Rodolfo VieiraR Offline
                                  Rodolfo Vieira
                                  wrote on last edited by
                                  #24

                                  @Juan-González-M. said in NRF24 i cant configure raspberry pi1:

                                  Same problem here.

                                  If you solve the problem please tell me.

                                  1 Reply Last reply
                                  0
                                  • H Offline
                                    H Offline
                                    HenkeP
                                    wrote on last edited by
                                    #25

                                    hi,

                                    I just did this setup last week and also had similar problems. I did run make without any options added. NRF24 is allready enabled by default.

                                    One thing I did was to enable SPI and then I think it worked better. There's options in "sudo raspi-config" (advanced menu) to enable I2C and SPI, could that be the issue?

                                    //Henrik

                                    1 Reply Last reply
                                    0

                                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                    With your input, this post could be even better 💗

                                    Register Login
                                    Reply
                                    • Reply as topic
                                    Log in to reply
                                    • Oldest to Newest
                                    • Newest to Oldest
                                    • Most Votes


                                    17

                                    Online

                                    12.0k

                                    Users

                                    11.2k

                                    Topics

                                    113.4k

                                    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