NRF24L01 works on nano but not on uno

A couple of suggestions:

  1. The following tutorial is excellent. I had een wrestling with exactly the same problems as you for weeks until I found the following post. I studied it carefully and after understanding it, it took me less than an hour and about 6 lines of new or altered code and the 3 nRF's I'm using started communication:
    Simple nRF24L01+ 2.4GHz transceiver demo

  2. In my experience, the 10 microfarad capacitor is essential. Simply solder it across the power and gnd pins on the nRF board.

  3. Again, my experiece is that the modules work best when connected through the pinout socket board that can be purchased of AliExpress or similar for less than a dollar. If you use one of those you can then apply 5v to the pinout socket board because it has its own power regulator to pass on 3.3v to the module. That eliminated all of the issues that I was having with the Arduino 3v3 pin. The nRFL modules draw a lot of power at the start of each transmiossion and I suspect that it is really too much for the 3v3 pin?

  4. Very difficult to get an nRF to work if you are using a breadboard and jumper wires. All of the connections need to be robust - so I moved to experienting using made up (soldered connections) circuit boards.

  5. The default channel on the nRF is channel 76. My modules will not work at all on channel 76 - too much competing interference. In my environment I found that channel 120 works best but you need to play around with this to find out what works best in your situation.
    radio.setChannel(120); //select a channel (in which there is no noise!) 0 ... 125

  6. Most of the things I has to change to get mine working related to addresses and understanding how the ack protocol is works. The tutorial I have provided a link to explains this stuff very well.

  7. I also had to play around with the data rate and PAL level to refine things once the modules were talking . Initially the packet loss rate was very high but trying different data rates and PAL levels got me to the point where I am loosing perhaps 6 packets in two weeks - and my setup is writing about every 30 seconds.

Hope that helps

2 Likes