Hello,
I'm new posting here, so please bear with me.
We're trying to establish a simple communication between an Arduino uno and a beaglebone black running debian.
We're making use of the nRF24L01 chip on both boards.
We're making us of the following library:
https://github.com/mlsorensen/RF24The library was the only one that was compatible with the arduino as well as the beagle bone.
Here is the link to both programs after making connections:
https://github.com/rahulraghu94/radio-transceiver/blob/master/reciever/receiver.chttps://github.com/rahulraghu94/radio-transceiver/blob/master/transmitter/transmitter.inoWe're attempting to send and receive simple string across. I hope the use case and scenario is not of relevance and that we can focus on just the fact that we are attempting to send across strings.
The radio.printDetails() shows us proper values for both boards.
Here is an excerpt:
STATUS = 0x0e RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0
RX_ADDR_P0-1 = 0x544d52687c 0xabcdabcd71
RX_ADDR_P2-5 = 0xc3 0xc4 0xc5 0xc6
TX_ADDR = 0x544d52687c
RX_PW_P0-6 = 0x01 0x01 0x00 0x00 0x00 0x00
EN_AA = 0x3f
EN_RXADDR = 0x02
RF_CH = 0x4c
RF_SETUP = 0x07
NRF_CONFIG = 0x0f
DYNPD/FEATURE = 0x03 0x06
Data Rate = 1MBPS
Model = nRF24L01+
CRC Length = 16 bits
PA Power = PA_MAX
Both receiver and transmitter seem to be functioning, so i think i'm going wrong with the program.
The sender keeps reporting failed and the receiver is getting nothing. They're sitting 10 feet apart at the moment.
I have made connections are requested on the docs listed in the respective github profile.
If you guys could please go through my code and tell me where i might be going wrong, or let me know if i'm doing anything wrong, I would appreciate it.
Thank you guys in advance :D