Good afternoon guys, first time poster here
So I'm going to jump straight into where I started in terms of meeting problems. I have configured the Arduino Nano and RPI with a RF24 module each and used the getting started example from maniacbug's github (GitHub - nRF24/RF24: OSI Layer 2 driver for nRF24L01 on Arduino & Raspberry Pi/Linux Devices).
I have them both with the config as shown below:
Raspberry Pi -
pi@raspberrypi ~/rf24libs/RF24/examples_RPi $ sudo ./gettingstarted
RF24/examples/GettingStarted/
================ SPI Configuration ================
CSN Pin      = CE0 (PI Hardware Driven)
CE Pin      = Custom GPIO22
Clock Speed    = 8 Mhz
================ NRF Configuration ================
STATUS Â Â Â Â Â = 0x0e RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0
RX_ADDR_P0-1 Â Â = 0x65646f4e32 0x65646f4e31
RX_ADDR_P2-5 Â Â = 0x33 0xce 0x3e 0xe3
TX_ADDR Â Â Â Â Â = 0x65646f4e32
RX_PW_P0-6 Â Â Â = 0x20 0x20 0x20 0x20 0x20 0x20
EN_AA Â Â Â Â Â Â = 0x3e
EN_RXADDR Â Â Â Â = 0x3e
RF_CH Â Â Â Â Â Â = 0x4c
RF_SETUP Â Â Â Â = 0x07
CONFIG Â Â Â Â Â = 0x0e
DYNPD/FEATURE Â Â = 0x00 0x00
Data Rate     = 1MBPS
Model       = nRF24L01+
CRC Length    = 16 bits
PA Power     = PA_MAX
************ Role Setup ***********
Choose a role: Enter 0 for pong_back, 1 for ping_out (CTRL+C to exit)
>0
Role: Pong Back, awaiting transmission
Arduino -
RF24/examples/GettingStarted/
*** PRESS 'T' to begin transmitting to the other node
STATUS = 0x0e RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0
RX_ADDR_P0-1 = 0x65646f4e32 0x65646f4e31
RX_ADDR_P2-5 = 0xc3 0xc4 0xc5 0xc6
TX_ADDR = 0x65646f4e32
RX_PW_P0-6 = 0x20 0x20 0x00 0x00 0x00 0x00
EN_AA = 0x3f
EN_RXADDR = 0x03
RF_CH = 0x4c
RF_SETUP = 0x07
CONFIG = 0x0f
DYNPD/FEATURE = 0x00 0x00
Data Rate = 1MBPS
Model = nRF24L01+
CRC Length = 16 bits
PA Power = PA_MAX
I then return back to the Raspberry pi to find that there are very few packets being received in relation to those being sent out, with both systems showing the following results over around 3 minutes of testing:
Raspberry Pi -
************ Role Setup ***********
Choose a role: Enter 0 for pong_back, 1 for ping_out (CTRL+C to exit)
>0
Role: Pong Back, awaiting transmission
Got payload(4) 26384992...
Got payload(4) 39111664...
Got payload(4) 48020348...
Got payload(4) 74702184...
Got payload(4) 81065536...
Got payload(4) 115378964...
Got payload(4) 122988696...
Got payload(4) 140802128...
Got payload(4) 143298848...
Got payload(4) 144567592...
Got payload(4) 170020936...
Got payload(4) 178903316...
Got payload(4) 191626084...
Got payload(4) 201754348...
Got payload(4) 222054984...
Got payload(4) 224565104...
Got payload(4) 235952660...
Got payload(4) 262625624...
Got payload(4) 265113420...
Got payload(4) 275223824...
Got payload(4) 278975384...
Arduino (This continues to just show the same result for the whole 3 minutes-
*** CHANGING TO TRANSMIT ROLE -- PRESS 'R' TO SWITCH BACK
Now sending
failed.
Failed, response timed out.
Now sending
failed.
Failed, response timed out.
Now sending
failed.
Failed, response timed out.
Now sending
failed.
Failed, response timed out.
Now sending
failed.
Failed, response timed out.
Now sending
failed.
Failed, response timed out.
Now sending
failed.
Failed, response timed out.
Now sending
failed.
Failed, response timed out.
Now sending
failed.
Failed, response timed out.
Now sending
failed.
Failed, response timed out.
Now sending
failed.
Failed, response timed out.
Now sending
failed.
Failed, response timed out.
So from here I decided to try out the 'Scanner' example in the github I provided at the start to see if the timeouts were caused from interference and got the following from the Arduino:
RF24/examples/scanner/
00000000000000001111111111111111222222222222222233333333333333334444444444444444555555555555555566666666666666667777777777777777
0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
00011212213224233232100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00022212213213333232100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00022212212113233232100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00022322212113233243200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00023323212113233243200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00023323212112122242200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00023323112132122242300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00023324223122123242300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00024324223122121132300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Now, from guess work I'm guessing that this printout shows that I'm receiving some interference from channels 0 and 1. But like I said, I'm guessing. If someone could help me out here I would really appreciate it!
Thanks in advance, Sam.