Simple nRF24L01+ 2.4GHz transceiver demo

Thanks for this fantastic guide Robin, having a simple sent/receive program is really useful.
I have a strange issue when trying to use the NRF24L01 radios. I have it all wired up, but whenever my sketch calls the radio.write function the program freezes. I've used Serial.print to debug and can see that the program steps through correctly all the way until it reaches the radio.write call, and then it jut stops working completely.
I've also tried commenting out the radio.write call and the program works fine- obviously it gives a 'Tx failed' response, but that is to be expected.
This error persists in both your example sketch and all of the examples that come with the library.
Do you have any thoughts on what could be causing this? It is doing my head in.
EDIT: I should say that I am powering the radio module with an LM3940 regulator with plenty of bypass and filtering capacitance.

1 Like