NRF24L01 just refuses to work

Hi,

I have trouble getting NRF24 to work.

I am using NRF24L01 with Arduino nano (168). My setup consists of PC->Powered usb hub->Arduino nano. Nano has an NRF24. I ve verified connections between nano and NRF many times. 22uf +100nf capacitors are soldered to 3v3 and Gnd on the NRF module berg pins. Vcc on nano is 4.32V. Vcc on NRF24 module is 3V32.

I used Gettingstarted sketch. I added printDetails as shown below

void setup()
{
Serial.begin(115200);
Serial.println(F("RF24/examples/GettingStarted"));
Serial.println(F("*** PRESS 'T' to begin transmitting to the other node"));

radio.begin();
Serial.print(radio.isPVariant());

// Set the PA Level low to prevent power supply related issues since this is a
// getting_started sketch, and the likelihood of close proximity of the devices. RF24_PA_MAX is default.
radio.setPALevel(RF24_PA_LOW);

// Open a writing and reading pipe on each radio, with opposite addresses
if(radioNumber)
{
radio.openWritingPipe(addresses[1]);
radio.openReadingPipe(1,addresses[0]);
}else
{
radio.openWritingPipe(addresses[0]);
radio.openReadingPipe(1,addresses[1]);
}

// Start the radio listening for data
radio.startListening();
radio.printDetails();
}

The output on serial port is
RF24/examples/GettingStarted
*** PRESS 'T' to begin transmitting to the other node
Sent response 0
Sent response 3774811904
Sent response 512
Sent response 4177493760
Sent response 2424907
Sent response 0
Sent response 0
Sent response 37
Sent response 65536
Sent response 37
Sent response 620757248
Sent response 620757248
Sent response 620757248
Sent response 33554688
Sent response 33554688
Sent response 0
Sent response 2130706687
Sent response 620756994
Sent response 4294967295

The following are the observations

  1. printDetails() does not print anything
  2. when the program starts it randomly prints "sent response" even though there is no transmitter on the other side.

I tried the below too

1)changed the NRF module
2)changed the nano
3)changed the jumper wires
4)moved to a different channel 108,120 etc
5)moved printDetails several lines up

Its been 3 days of trying out various things but I ve not been able to successfully communicate with the the NRF module yet.

Please help.
Thanks

I got my nRF24s working with this Tutorial

I suggest you use the TMRh20 version of the RF24 library - it solves some problems from the ManiacBug version

The pair of programs in this link may be useful.

...R
PS. Please modify your post and use the code button </> so your code looks like this and is easy to copy to a text editor. See How to use the Forum