I'm trying to build a US plastic ant combat robot controlled with NRF modules, but I'm having a hell of a time getting them working. The system worked for two days. Then it just stopped functioning. One of two things was happening. Either the transmitter was sending the wrong joystick data to the receiver, or the receiver wasn't reading the data correctly. Either way, the system was connected, but something didn't work. Thinking this was a hardware issue, I replaced all of the parts on the controller, and suddenly the problem changed. Now, whenever the controller is instructed to send data to the transmitter, it refuses, and the code stops running. I won't say how I tested this unless someone asks because it was quite complicated. The receiver doesn't connect at all. Thinking this was a problem with the new Arduino in the transmitter, I switched back to the old one, and the problem persisted. I'm now just trying the simple task of sending a single number from TX to RX, and it still doesn't work.
I have a few questions. What on God's Earth am I doing wrong? It's so inconsistent. Should I just use RF Nanos?
I'm using modified code to send the number from the transmitter to the receiver like I mentioned, but I don't have access to it right now. I based the framework off of this instructable.