0

I am using two Arduino Unos, NRF24L01+ transceivers, and a few components as per this site on which I am following the second tutorial on this page: Arduino Wireless Communication – NRF24L01 Tutorial.

I am using the exact code from the page as well - and have set everything up as per the diagrams, however everything stops working after a short amount of time. Usually between 15 and 30 seconds, everything stays powered but it seems like the transceivers stop communicating. A reset of the Transmitting board (the one with the potentiometer) will fix the problem until it again stops 15 or 30 seconds later.

Any idea what might be going on?

  • I can say that a lot of the problems with these modules can be avoided with hefty decoupling of power going in to the modules. So could you please solder a 5000uF-10000uF electrolytic and a smaller ceramic capacitor directly to the GND and VCC of the module. It would also help to know which nRFs you have, exact pictures if possible please. – Avamander Jul 18 '18 at 14:09
1

Your question does not provide much information to go on. Setting up as given in the tutorial is a good start, but does not guarantee that there will be no problems. It can still either be a problem due to hardware or firmware.

Firmware problems:

  • The radio data may be getting corrupted after some time, which shows up as a failed radio transaction
  • You inadvertently change the register settings of the radio

Hardware problems:

  • There is noise interference on the radio channel you are using due to the urban environment (wifi, etc). Does the system work any better on a different channel?
  • The radio drains too much power and browns out, then will revert to default settings on the IC rather than the ones set by your Arduino sketch.
1

There are few possible reasons:

First: If you soldered a capacitor it's capacity may bee too big , then if brownout appear radio module will not recover from it because of your big sized capacitor.

Second: it could be wrong config. use RF24_PA_LOW, RF24_PA_HIGH and RF24_PA_MAX but not MIN because it is not correctly supported by all RF24 modules.

Third: it could be brownout which is causing arduino board to fail (not the radio module). Then use alternative power source for radio module. But don't forget to leave ground cable of radio module connected to arduino (for data).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.