Getting the NRF24L01+ to work on the RPi
-
Hi there,
Can someone please point met to a walkthrough for getting my NRF24L01+ to work on my RPi.
I found several but when I start testing i get something like "cant find the device" .I'm a noob regarding any of this, so a working guide would really get me going.
(It might be that, due to testing multiple walkthroughs, I messed up my Raspbian)Al Help is welcome.
Groetjes Mark
PS. What software could you recommend for logging temperature on a RPi (coming from my nano..) ?
-
I can not guarantee it will work but but have a look at this Optimized High Speed NRF24L01+ Driver.
-
To save you some troubles, I would recommend building a serial gateway which you attach to the RPi.
http://www.mysensors.org/controller/vera#building-a-usb-connected-gateway
Then use the serial protocol to communicate with your sensor network.
-
Thnx, Ill look into it!
And now I need to find some time again...
-
agree with @hek. better go with serial gateway.. I had tried running NRF24 with pi. its works sometime and ack fails many a times. kind of one way communication from sensor to gateway.
Also, make sure you don't overclock your pi, if you want to give it a try.
-
@hek said:
To save you some troubles, I would recommend building a serial gateway which you attach to the RPi.
http://www.mysensors.org/build/vera#building-a-usb-connected-gateway
Then use the serial protocol to communicate with your sensor network.
hek, there's nothing on that page
-
Updated link above. Reorganized main site a bit and the controller pages was moved.
-
My experience is that NRF24L01 can be connected directly to Raspberry Pi GPIO. I've been running EasyIoT server on Raspberry Pi with directly connected NRF24L01 and it works couple of months without any problems.
-
@EasyIoT .. good to hear you were able to run NRF24Lo1 with pi. it will good if you could share your setup. In my case was getting st=fail ack message many a times..
-
@Dheeraj I've checked. I'm using the same library and it works for me. There are no special tricks...
-
@EasyIoT which library are you refering to here ? and any tutorials to explain mysensor on the raspberry pi?
-
Just a note, if the CE and CS pins are connected wrong, the radio will sometimes have one-way communication, and/or behave oddly as far as acks etc. The RF24 lib has been tested extensively with RPi, and there are no reported bugs or issues with direct RPi -> NRF24l01.
-
I faced similar issue and @TMRh20Projects replied in arduino forum. My issue was beacuse of cheap NRF modules chinese clones. After I replaced with good genuine ones, everything worked like a charm. Please check the NRF modules you are using. I wasted three days to figure out if there was some code issue, when at the end it was the NRF which created all the mess