Skip to main content
4 votes
Accepted

Possible SPI issues around NRF24 operations post RPi system update?

I have exactly the same problem. Two different NRF24L01 modules. Raspbian stretch worked in the beginning, since the last update no more. I use https://github.com/Gadgetoid//py-spidev/archive/master....
debAm's user avatar
  • 56
3 votes
Accepted

Crash on radio.begin() (for NRF24 Module )

Looks like the device interaction needs root access. I got help from the github community, from the authors. I have to use sudo ./gettingstarted
P0W's user avatar
  • 141
3 votes

Getting a NRF24L01 module running with Java

Answer (1) After googling a bit, I have decided to start with Rpi BlueJ Java IDE, and the first Java programs will be on: (a) GPIO LED/Button programming, (b) SPI programming. (2) Next step is to ...
tlfong01's user avatar
  • 4,705
2 votes

RF24L01 - RF24 Creation Segmentation Fault in Raspberry

I just ran into the same issue, and discovered that it will segfault if you do not run the program as root (sudo). It would be great if it could be more helpful, but alas. Try putting sudo in front of ...
Paul's user avatar
  • 121
2 votes

NRF24L01 with USB-TTL converter

You need to ask the vendor. The NRF24L01 only supports a SPI interface. There must be firmware on your linked module which is converting serial commands into SPI commands and vice versa. The vendor ...
joan's user avatar
  • 71.2k
1 vote

Run application with other user than root

You used make to create gettingstarted so I assume it is compiled to an executable file and not only a script for an interpreter (bash, python, etc.). Having this you are able to use the setuid or ...
Ingo's user avatar
  • 42.2k
1 vote

Run application with other user than root

Nope you have to run as root if you don't want to use sudo you could just do sudo bash and then run your commands. This will put you into the root user in the terminal. Alternatively, you could create ...
dinomite59's user avatar
1 vote

Getting a NRF24L01 module running with Java

A few days have passed and I decided to kinda "rewrite" this lib. (I copied a lot) Its not as extensive, but it works well for me. If anyone is interested to try it out: Here. I didn't add tons of ...
Gereon99's user avatar
  • 141
1 vote
Accepted

Raspberry Pi 4 Spidev Problems with NRF24L01 (AttributeError: module 'spidev' has no attribute 'spiDev')

Python is case sensitive. Linux is case sensitive. https://pypi.org/project/spidev/ Try spidev.SpiDev() not spidev.spiDev().
joan's user avatar
  • 71.2k
1 vote

Rpi SPI nRF24L01+ 2.4GHz Transceiver Module Send Message to Arduino Problem

This fixed my issues with Raspberry Pi 3 B+ and Raspberry Pi 4 In lib_nrf24.py in function: def begin(self, csn_pin ... after self.spidev.openadd: self.spidev.max_speed_hz = 4000000 Did you find ...
Thomas's user avatar
  • 11
1 vote

Raspberry Pi 3 B+ was connected to NRF24L01 in the following manner as in diagram but Raspberry pie not working after that why?

It sounds like you have destroyed the Pi and will need to buy a new one. The most likely explanation is you connected 5V to the Pi's 3V3 pin through the NRF24L01.
joan's user avatar
  • 71.2k
1 vote
Accepted

Why won't my Raspberry Pi connect using SSH when NRF24L01 or ATTiny85 are Connected via SPI?

For whatever it's worth, I've determined that it must be a power-supply issue. I bought a new power-supply out of desperation and the problem went away. I guess my old power-supply was on it's last-...
jump's user avatar
  • 11
1 vote

NRF24 only works after reboot of Raspberry

This answer fixed my issues In lib_nrf24.py in function: def begin(self, csn_pin ... after self.spidev.open add: self.spidev.max_speed_hz = 4000000
Jak's user avatar
  • 131
1 vote

NRF24l01+ Arduino to Raspberry - Receving working randomly

Added a delay (>20ms) before radio.write() (arduino side) solved the issue. radio.startListening() seems to be very slow in python and as a result, the pi miss the reply (most of the time).
Lake's user avatar
  • 11
1 vote

NRF24L01 Arduino and raspberry

This answer fixed my issues In lib_nrf24.py in function: def begin(self, csn_pin ... after self.spidev.open add: self.spidev.max_speed_hz = 4000000
Jak's user avatar
  • 131
1 vote

NRF24L01 Arduino and raspberry

Try to correct your PA Power levels, on both sites must be the same. Try to correct your CRC Length, on both sites must be the same. Check if addreses are correctly set: on RPI TX addr must be same as ...
Łukasz Jakubek's user avatar
1 vote
Accepted

Is there any RF24 (non +) library working (tested) with Raspberry Pi 3?

I wrote some code for my pigpio library. I posted the code as an answer to a similar question. It was tested between a PiB and Pi3B. It requires the pigpio library and the pigpio daemon to be ...
joan's user avatar
  • 71.2k
1 vote
Accepted

RF24L01 - RF24 Creation Segmentation Fault in Raspberry

First, I noticed that building the library as told on the documentation with: sudo make install -B Run inside another configure, which deletes yours. That said, what I did was, from my $~ directory: ...
Btc Sources's user avatar
1 vote

Configuring NRF24l01 Radio using TMRh20 library takes no effect

This answer fixed my issues In lib_nrf24.py in function: def begin(self, csn_pin ... after self.spidev.open add: self.spidev.max_speed_hz = 4000000
Jak's user avatar
  • 131
1 vote

Can't receive data from Arduino to Raspberry via nrf24l01+

I also faced the same problem. What I found is the data send by Arduino has difference in trigger clock when it reaches raspberry Pi. As a result we get garbage values. To overcome this problem we ...
jay's user avatar
  • 11
1 vote

Can't receive data from Arduino to Raspberry via nrf24l01+

I found it rather confusing that the nRF24 library (at least the Arduino one from TMRh20) already configuers the module in the constructor. I could not find any documentation about it but found it in ...
kwasmich's user avatar
  • 2,702

Only top scored, non community-wiki answers of a minimum length are eligible