Problems with NRF24L01

Hello,
I'm trying to make an RC prototype with a remote control and a receiver. To do this, I have an NRF24L01+PA+LNA board (the big one with antennas) connected to its power supply board (which takes 5V and outputs a stable 3.3V).

On the receiver side, I have a simple NRF24L01 (the small one without antennas), but I've connected it in bypass with a 100 microfarads capacitor.

I'm using two arduino nano.

I have two problems:

1- The cards communicate well for a while, but after a while (from a few seconds to 1 minute), nothing happens. They get lost (the cards are static on my desk). At first, I thought it was a connection problem, as I had the impression that this was happening when I was manipulating my joysticks (which are read by the Arduino before being sent by the board). But in the end, I don't think so, because I've redone all the connections, and sometimes it works when I'm turning around, and sometimes it gets lost when I'm not touching anything.

When it gets lost, all I have to do is unplug/replug the transmitter and (usually) it's back on. Sometimes I have to restart both. Sometimes it gets lost if I change the power supply (from USB to battery). In short, I can't really isolate the source of the problem.

2- I can't get them to communicate with anything other than setPALevel(RF24_PA_MIN) and setDataRate(RF24_1MBPS), when my goal would rather be to set RF24_PA_MAX and RF24_250KBPS to maximize range. But I've tried all the values, and nothing works other than min and 1mbps.

Do you have any advice or solutions?

If needed, I can give the code and my assembly diagrams.

Thank you for your help.

How far are the transmitter and receiver from each other?

1 Like

for my tests, they are on either side of my pc. That's about 1 meter

More distance would help. What you are describing is what generally happens if they are not connected to an adequate power supply. Post links to the ones you are using and a simple sketch showing how these are connected.

the transmitter is plug on that https://fr.aliexpress.com/item/4000587243566.html


but it seems to work better with distance. It must have been saturated

Now I have to struggle to get my esc to work.

Check your schematic, the NRF24L01 should run on 3V3 which the Arduino is not capable of properly supplying. It works for some but that is very iffy at best. Over voltage can cause over heating which will cause the chip to fail. If yours are working you are lucky,

The 3.3V pin of the arduino with a capacitor to smooth things out isn't enough?

1 Like

If you have another Arduino board, you can change the board to see if the problem still persists.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.