NRF24L01 troubleshooting

Hello,
recently, I've been building a RC plane with an Arduino Nano Every. I had some issues with the power supply of the Arduino and the motor but I solved it in another forum:
Arduino Nano Every won't work properly with battery - #18 by alto777
Now, I have a problem with the NRF24L01 module. When I turn on the Arduino everything seems fine and the servos move as I move my joysticks, but when I power the motor and control the speed with the Joystick, both servos start to make rapid random movements. They don't move a lot but they flicker randomly. (Note: I power my servos from a different power supply and not the Arduino just for testing) After some time everything stops moving when I move the joysticks and the LED I have attached to tell me that the connection between the 2 modules has been lost turns on, which means exactly that. Only when I reset the Arduino everything start to work again. Does anyone have an idea why this happens? I would appreciate your help.

Schematic of the Receiver:

You could post your code both the sender and the receiver sketches.

But you describe noise or other power related issues.

Can you look at the voltage your Lipo is delivering when you ask it to power the motor?

What happens if you only run the motor very slowly? Does it take lon gee to stop,working, or even just keep on working?

Can you run your receiver sketch without the motor in the circuit? You could use an LED with series limiting resistor instead, which should get brighter and dimmer where the moto would have gone faster or slower,

I bet it will work fine for as long as you want.

Report on any of that kind of experiment. If it agrees with my theories we can start to ask for advices from ppl who will know the best next step.

a7

Also, the 3.3volt pin of the Nano Every delivers only 50mA according to this: Arduino Nano Every — Arduino Official Store
This is not enough even for the simple NRF24L01 modules which do not have a power amplifier and external antenna.

Designed power adaptors are as cheap as chips and it beats me why peolple refuse to use them.
Adaptor

1 Like

Verify the silkscreen names on the pins. On 1 batch I had some the names were wrong. It worked fine once I figured that out.

Hope I saved someone a few hours. :slightly_smiling_face:

The Lipo delivers 7,4V steady thanks to the capacitors.

Yes, it takes longer to stop working

Thanks for replying but thats not the problem. It's probably noise.

I did it and it worked without problems.

From information I found on the internet I think it is probably noise but does someone know how to fix? Either with software or hardware.

Yes, noise is eliminated by tracking it down and eliminating or isolating the source or by making your circuit immune. Can be a tedious task at times but a scope would help.

The power adaptor you sent will help prevent noise?

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