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.
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.
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.
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.