Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; AntiBotCaptcha has a deprecated constructor in /homepages/8/d680172117/htdocs/QA/qa-plugin/q2a-captcha-antibot-master/AntiBotCaptcha.php on line 22
Arduino NRF24 Test Code only updates values when I reset either the transmitter or receiver - Electronoobs Q&A

6 Online
1 Member And 5 Guest
Members present at the site
Today Visits : 1419
Yesterday Visits : 2755
All Visits : 99854

Welcome to Electronoobs Q&A, where you can ask questions and receive answers from other members of the community.



Categories


+1 vote
I'm not sure what I'm doing wrong, I've copied the test code and have uploaded it to my Arduino Nano's - but the value on the serial monitor only updates if I reset one of the Nano's - then it updates and only sends/receives that value until I reset one of them again.

I'm using the NRF24L01+ if that would make a difference.
asked in Arduino by (160 points)

1 Answer

0 votes
 
Best answer
Maybe the 3.3V regulator is not powerfull enough.

Try:

1. use external 3.3V regulator not the one from the Arduino.

2. Wind GND around MOSI and MISO wire sto remove noise (this is important). Also try usiong short wires for the SPI communications since those can get a lot of noise.

3. Add a 10uF capacitor between GND and 3.3V pins of the NRF24.

4. Solder a thin wire to the PCB antenna of the NRF24 (12cm aprox).

Hope this will help
answered by (32.1k points)
...