Help needed
-
Hi guys , I'm really newby for my sensors community. I'm trying to do a little network with one distance sensor and a serial gateway,follow my configuration:
Distance node: Arduino Pro Mini Clone + NRF24L01+(There's write on the chip) + HC-SR04.
Serial gateway: Arduino Uno + NRF24L01+.So with a simple sketch implemented with only RF24 library I managed to establish a communication between the node and gateway.
But using the mysensors library v1.5 I read "radio init fail"
Following this thread
http://forum.mysensors.org/topic/1728/uno-ethernet-shield-radio-init-fail-solved/22
I seems on the serial monitor that the gateway is OK (Gateway StartupComplete) also the distance node but I can't read anything on the gateway.
-
Are you getting the same error on both gateway and sensor node?
Edit. ok.. didn't read the last sentence...
You should probably start checking the wiring on the radio.
-
Ok.
I try to explain all steps done.On the serial Gateway:
Arduino UNO, NRF24L01+, 3,3 V supplied by Arduino UNO board- Need set DATA_RATE on 1MPS (without I have "radio init fail") in Myconfig.h
2)Uncomment #define SOFTSPI in Myconfig.h
Result:
0;0;3;0;9;gateway started, id=0, parent=0, distance=0 0;0;3;0;14;Gateway startup complete.
On the Distance Sensor :
Configuration: Arduino Pro Mini Clone, NRF24L01+, 3,3 V supplied by Arduino UNO board- Need set DATA_RATE on 1MPS (without I have "radio init fail") in Myconfig.h
2)Comment #define SOFTSPI in Myconfig.h - Comment isPVariant() check in MyTransportNRF24() (without I have "radio init fail")
Result on the node:
find parent send: 201-201-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc: Ping: 3 cm
I'm using the same transceiver for both boards.
This is the transceiver :
image url)
- Need set DATA_RATE on 1MPS (without I have "radio init fail") in Myconfig.h