NRF24 i cant configure raspberry pi1
-
@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 -
@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-rfm69hwremember i use nrf24 no rfm69
-
@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-rfm69hwremember i use nrf24 no rfm69
-
@mfalkvidd
ok thank you so...i make this:1 git clone https://github.com/mysensors/MySensors.git --branch master
cd MySensors2 ./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:PDTwhat is the problem?
-
@mfalkvidd
ok thank you so...i make this:1 git clone https://github.com/mysensors/MySensors.git --branch master
cd MySensors2 ./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:PDTwhat is the problem?
-
@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 -
@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?
-
off course
-
@mfalkvidd ok no problem i waiting
-
@mfalkvidd ok no problem i waiting
-
@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
-
@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
-
@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 -dbut 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 pisudo reboot again...
after sudo ./bin/mysgw -dand the error is the same..... :(
-
@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.
-
Same problem here.
-
Same problem here.
@Juan-González-M. said in NRF24 i cant configure raspberry pi1:
Same problem here.
If you solve the problem please tell me.
-
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
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