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 4.2k 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 Rodolfo Vieira
    #1

    hello everbody, i need your help.
    I connect my NRF to Raspberrypi according the tutorial: https://www.mysensors.org/build/raspberry

    1 step i installed that line:
    git clone https://github.com/mysensors/MySensors.git --branch master

    OK

    2 step i wrote: cd MySensors

    but when i tried 3 step

    pi@hassbian:~ $ cd MySensors
    pi@hassbian:~/MySensors $ --my-transport=nrf24

    give this error:

    -bash: --my-transport=nrf24: command not found

    what can i do?

    thanks

    mfalkviddM 1 Reply Last reply
    0
    • Rodolfo VieiraR Rodolfo Vieira

      hello everbody, i need your help.
      I connect my NRF to Raspberrypi according the tutorial: https://www.mysensors.org/build/raspberry

      1 step i installed that line:
      git clone https://github.com/mysensors/MySensors.git --branch master

      OK

      2 step i wrote: cd MySensors

      but when i tried 3 step

      pi@hassbian:~ $ cd MySensors
      pi@hassbian:~/MySensors $ --my-transport=nrf24

      give this error:

      -bash: --my-transport=nrf24: command not found

      what can i do?

      thanks

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

      @Rodolfo-Vieira enter ./configure before you add all the parameters

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

        @mfalkvidd

        pi@hassbian:~/MySensors $ ./configure
        [SECTION] Detecting target machine.
        [OK] machine detected: SoC=unknown, Type=unknown, CPU=armv6l.
        [SECTION] Checking GPIO Sysfs.
        [OK] /sys/class/gpio/export found
        [SECTION] Detecting SPI driver.
        [WARNING] No supported SPI driver detected.
        [SECTION] Detecting init system.
        [OK] init system detected: systemd.
        [SECTION] Saving configuration.
        [SECTION] Cleaning previous builds.
        [OK] Finished.
        pi@hassbian:~/MySensors $ --my-transport=nrf24
        -bash: --my-transport=nrf24: command not found

        the error continues

        mfalkviddM 1 Reply Last reply
        0
        • Rodolfo VieiraR Rodolfo Vieira

          @mfalkvidd

          pi@hassbian:~/MySensors $ ./configure
          [SECTION] Detecting target machine.
          [OK] machine detected: SoC=unknown, Type=unknown, CPU=armv6l.
          [SECTION] Checking GPIO Sysfs.
          [OK] /sys/class/gpio/export found
          [SECTION] Detecting SPI driver.
          [WARNING] No supported SPI driver detected.
          [SECTION] Detecting init system.
          [OK] init system detected: systemd.
          [SECTION] Saving configuration.
          [SECTION] Cleaning previous builds.
          [OK] Finished.
          pi@hassbian:~/MySensors $ --my-transport=nrf24
          -bash: --my-transport=nrf24: command not found

          the error continues

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

          @Rodolfo-Vieira put everything on the same line before you press enter :)

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

            @Rodolfo-Vieira said in NRF24 i cant configure raspberry pi1:

            [SECTION] Detecting SPI driver.
            [WARNING] No supported SPI driver detected

            @mfalkvidd ahhhh ok :) sorry, now i can solve this problem:
            [SECTION] Detecting SPI driver.
            [WARNING] No supported SPI driver detected

            mfalkviddM 1 Reply Last reply
            0
            • Rodolfo VieiraR Rodolfo Vieira

              @Rodolfo-Vieira said in NRF24 i cant configure raspberry pi1:

              [SECTION] Detecting SPI driver.
              [WARNING] No supported SPI driver detected

              @mfalkvidd ahhhh ok :) sorry, now i can solve this problem:
              [SECTION] Detecting SPI driver.
              [WARNING] No supported SPI driver detected

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

              @Rodolfo-Vieira that is just a warning. What does it say after?

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

                @mfalkvidd
                ok, already actived SPY
                [SECTION] Detecting target machine.
                [OK] machine detected: SoC=unknown, Type=unknown, CPU=armv6l.
                [SECTION] Checking GPIO Sysfs.
                [OK] /sys/class/gpio/export found
                [SECTION] Detecting SPI driver.
                [OK] SPI driver detected:SPIDEV.
                [SECTION] Detecting init system.
                [OK] init system detected: systemd.
                [SECTION] Saving configuration.
                [SECTION] Cleaning previous builds.
                [OK] Finished.

                now what the frequency i should in this line:
                --my-transport=rfm69 --my-rfm69-frequency=868 --my-is-rfm69hw

                remember i use nrf24 no rfm69

                mfalkviddM 1 Reply Last reply
                0
                • Rodolfo VieiraR Rodolfo Vieira

                  @mfalkvidd
                  ok, already actived SPY
                  [SECTION] Detecting target machine.
                  [OK] machine detected: SoC=unknown, Type=unknown, CPU=armv6l.
                  [SECTION] Checking GPIO Sysfs.
                  [OK] /sys/class/gpio/export found
                  [SECTION] Detecting SPI driver.
                  [OK] SPI driver detected:SPIDEV.
                  [SECTION] Detecting init system.
                  [OK] init system detected: systemd.
                  [SECTION] Saving configuration.
                  [SECTION] Cleaning previous builds.
                  [OK] Finished.

                  now what the frequency i should in this line:
                  --my-transport=rfm69 --my-rfm69-frequency=868 --my-is-rfm69hw

                  remember i use nrf24 no rfm69

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

                  @Rodolfo-Vieira none of the rfm parameters are applicable if you use the nrf24 radio.

                  1 Reply Last reply
                  0
                  • 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
                                          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