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
Suggested Topics
-
[Solved] NRF24L01+ Serial Gateway not starting ( Sanity check failed )
Troubleshooting • 28 Nov 2016, 16:22 • 19Dani92 28 Nov 2016, 20:08 -
💬 Arduino Nano NRF24L01+ Shield
OpenHardware.io • 5 Jul 2019, 09:41 • openhardware.io 5 Nov 2019, 07:23 -
Finally, progress! (evidence based radio testing method) (and capacitors)
Troubleshooting • 7 Jun 2020, 17:03 • TRS-80 30 Jun 2020, 05:28 -
Having trouble getting 2.0.1-beta running on Raspberry Pi2 as gateway and controller
Troubleshooting • 24 Oct 2016, 13:55 • micah 24 Oct 2016, 17:11 -
pimatic-mysensors controller plugin
pimatic • 9 Jan 2015, 10:21 • Dheeraj 26 Jul 2019, 12:25 -
💬 Single board computer UPS
OpenHardware.io • 3 Apr 2018, 14:11 • openhardware.io 28 Jul 2018, 12:33 -
RFM73 experience
Hardware • 21 Aug 2014, 14:44 • Yveaux 20 Sept 2014, 05:12 -
nrf24 raspi gateway & controller
Troubleshooting • 20 Mar 2019, 00:43 • fipster 24 Mar 2019, 10:53