I have NRF24L01+'s and really weirdly, when I try to add more code to the Transmitter it like lags out...
I want to be able to control some motors between two Arduinos with two joysticks, and for the transmitter to display the positions of the joysticks on a 16 by 2 LCD Character Display. My code works, but occasionally the Transmitter stops transmission for about 15 to 20 milliseconds, and I can see that when I move the joysticks, the LCD display lags behind when I move them about. I've re-written the code, and its after that I put a few extra lines in for the LCD Display (after I had it displaying two values, and adding a third), that it starts to do this.
But when I change the Wireless module to NRF24L01+PA+LNA (what I thought was just a bigger aerial which also increases range) there's no "Lag"... ![]()
I am using an Arduino Mega 2560, and I have tried this code on other Arduinos and still the same outcome.
I'm wondering why the smaller NRF24L01+'s are doing this.
Much appreciated for answers.