BBB with nRF24L01+: Cannot send/receive data

Hi guys,

I have difficulty controlling nRF24L01+ on BeagleBone Black using Python.

I use this library https://github.com/jpbarraca/pynrf24
Here is my code: http://pastie.org/10836500

Here is output of printDetails:

STATUS = 0x0e RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0
RX_ADDR_P0-1 = 0xe7e7e7e7e7 0xc2c2c2c2c2
RX_ADDR_P2-5 = 0xc3 0xc4 0xc5 0xc6
TX_ADDR = 0xe7e7e7e7e7
RX_PW_P0-6 = 0x08 0x08 0x00 0x00 0x00 0x00
EN_AA = 0x3f
EN_RXADDR = 0x02
RF_CH = 0x60
RF_SETUP = 0x06
SETUP_AW = 0x03
OBSERVE_TX = 0x00
CONFIG = 0x0c
FIFO_STATUS = 0x11
DYNPD = 0x00
FEATURE = 0x00
Data Rate = 1MBPS
Model = nRF24l01+
CRC Length = 16 bits
PA Power = PA_MAX

For the other side, we use Arduino.

The problem is that:

  • BeagleBone side cannot send to Arduino side, with error MAX_RT

  • BeagleBone side can receive data from Arduino side, but now cannot receive.

Do you have any notice for me to make it work?

I connect nRF24L01+ to SPI0 port of BeagleBone, so it should not have conflict with HDMI.

I get this error, any idea? thanks.

root@beaglebone:~# python send.py
Traceback (most recent call last):
File “send.py”, line 9, in
from nrf24 import NRF24
ImportError: No module named nrf24

It means that python is looking for a code module named nrf24.py, and it can not find it.
So, either you don’t have it, or you put it in the wrong place.

— Graham

On Fri, 3 Nov 2017 21:34:57 -0700 (PDT),
juanshhh@gmail.com declaimed the following:

I get this error, any idea? thanks.

root@beaglebone:~# python send.py
Traceback (most recent call last):
File "send.py", line 9, in <module>
   from nrf24 import NRF24
ImportError: No module named nrf24

  Have you installed the relevant library? (I think it may be:
GitHub - jpbarraca/pynrf24: Python port of the RF24 library for NRF24L01+ radios. )