I swapped my modified nrf24L01 radios with a couple of sma/pa ones with antennas and the sketches stop working. They Initialize but no data is transmitted. Any idea what could be the fault? Swapping the old ones back restores the data transmission.
If you are using aa try increasing the delay between transmit retries, this worked for me when i upgraded to stronger modules. I assume you use rf24 library as that is the most common, i hardly ever use it any more but this is from rf24.h so i think you just need to add radio.setRetries(5, 10); in setup try a few different delays and see if it will work for ya (this needs to be on the transmitter side)
Set the number and delay of retries upon failed submit
@param delay How long to wait between each retry, in multiples of 250us,
max is 15. 0 means 250us, 15 means 4000us.
@param count How many retries before giving up, max 15
*/
void setRetries(uint8_t delay, uint8_t count);
This for example will set the retry delay to 250+(250*5)=1500us and 10 retries
radio.setRetries(5, 10);
Also if you haven't done it already make sure the power to the nrf are good enough and that you have sufficient caps(100uf+).
To reduce coupling, tilt the two antennas so they are perpendicular to each other. Try swapping units to see if the problem moves to the other side. Replace one PA version with a low power version one at a time.
When the receiver first starts up I get 3 delivered packets on the transmitter, but no sign of life on the receiver. The receiver sits idle after the listening serial write.
How I know they were delivered is cause the transmitter reads the status code of the radio.write().
I am using my old radios.
Edit. Now my receiver is rebooting after radio.available () at the first sign of a Serial.println() for serial debugging. But the transmitter is getting 100% success rate.
Further edit. Buffer overrun reading received text into char array of size smaller than actual buffer. Thank you.
My only experience is with the nRF24L01+ modules with PCB antennas.
The obsolete nRF24L01 modules are significantly different and if @dhtmldude has those he needs to study the Nordic datasheets carefully. The nRF24L01+ datasheet mentions interaction with the older chips but I did not study that as it was not relevant for me.