Hi,
I found the failure. I haven't seen the Pin changeing to :
#define MY_RF24_CE_PIN 49
#define MY_RF24_CS_PIN 53
Now, the debug looks good.
Thank U!
Hi,
I found the failure. I haven't seen the Pin changeing to :
#define MY_RF24_CE_PIN 49
#define MY_RF24_CS_PIN 53
Now, the debug looks good.
Thank U!
Thanks for the help.
I have made a new install with developement branch, but after the "make", I get this error:
gcc -MT build/drivers/BCM/bcm2835.o -MMD -MP -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -DMY_RADIO_NRF24 -DMY_GATEWAY_LINUX -DMY_DEBUG -DLINU X_SPI_BCM -DLINUX_ARCH_RASPBERRYPI -DMY_PORT=5003 -Ofast -g -Wall -Wextra -I. -I./core -I./drivers/Linux -I./drivers/BCM -c drivers/BCM/bcm2835.c -o build/dri vers/BCM/bcm2835.o
drivers/BCM/bcm2835.c: In function ‘bcm2835_delayMicroseconds’:
drivers/BCM/bcm2835.c:441:40: error: expected ‘)’ before ‘PRIu64’
printf("bcm2835_delayMicroseconds %" PRIu64 "\n", micros);
^~~~~~
drivers/BCM/bcm2835.c:441:37: warning: spurious trailing ‘%’ in format [-Wformat =]
printf("bcm2835_delayMicroseconds %" PRIu64 "\n", micros);
^
Makefile:102: recipe for target 'build/drivers/BCM/bcm2835.o' failed
make: *** [build/drivers/BCM/bcm2835.o] Error 1
pi@raspberrypi:~/MySensors $ sudo ./bin/mysgw -d
sudo: ./bin/mysgw: command not found
SPI is activated.
Thanks for the answer.
Sorry, I'm new to Mysensors and I don't understand what is meaning with "development branch".
Hello everybody,
I try to make a Rapberry Pi Ethernet Gateway with an NRF24 card. The NRF has a 220uf capacitor, soldering direct on the board.
The problem is, the RPI does not detect the NRF24. On an arduino, the NRF24 is working fine as a serial Gateway. I have tested it with two different NRF and on a RPi 1 and a RPI 2 and different cable.
All is made like in this Tutorial.
Exactly what I have done:
sudo su
git clone https://github.com/mysensors/MySensors.git --branch master
cd MySensors
./configure --my-transport=nrf24
./configure --my-gateway=ethernet --my-port=5003
raspi-config
SPI activated and reboot......
make
sudo ./bin/mysgw -d
Now I get everytime:
root@raspberrypi:/home/pi/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
mysgw: TSM:FAIL:RE-INIT
mysgw: TSM:INIT
mysgw: !TSM:INIT:TSP FAIL
mysgw: TSM:FAIL:CNT=3
mysgw: TSM:FAIL:PDT
Does someone know, what else could wrong?
Kind regards
Hi,
I found the failure. I haven't seen the Pin changeing to :
#define MY_RF24_CE_PIN 49
#define MY_RF24_CS_PIN 53
Now, the debug looks good.
Thank U!
Hi,
thanks for the answer.
Yes, I have see the different assignment and checked the cable many many times. It is correct.
Hello,
I've tried to use a Mega 2560 and a NRF24 as a Serial Gateway. I took the sketch from this page and connected the Gateway to a raspberry PI with ioBroker on it. Therere no errors in ioBroker and the adapter say, that the Gateway is connected succesfully.
But I get no connection to a Sensor. I have noticed the pin assignment for a Mega instead to a Nano. Is there something I have to change?
I made this with a Arduino Nano a hole time ago. This worked perfect, but I can't find the Nano right now. Or can I took a Pro Mini like a Nano without changes?
Thanks 4 help!