New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
radio.write(...)
always returns false
#432
Comments
What kind of external power supply are you using? A linear 3.3V regulator from 5V? |
yes, 5v to 3.3v using a adjustable power supply to a breadboard power supply to get a steady 3.3v (also tried two AA battery's) , also
|
When I change the CE and CSN pin to 9 and 10. One node fails to write, but the other node still receives incoming messages (other way around does not work tho.) |
Try decoupling the power bus a bit more, see if that changes things. |
I added two 100uF capacitors in parallel but no effect... |
Okay, try disabling auto-ACK, lowering the power (PA) to minimum, and disable dynamic payloads. |
oke, i disabled auto-ACK and set the PA to min (also tried low) and disabled dynamic payloads but the message just won't arrive. It's fine sending now tho, it just fails on timeout (increased to 5 sec). I also tried it with an ATmega2560 but no luck. |
Are you modifying the examples in any other way? Did you make sure the radio numbers are different? |
the only modifications I have made are:
I also tried a different power source (power from the ATmega and mobile charger) and uploading directly from the arduino IDE instead of using PlatformIO. And using release 1.3.1 instead of pulling from master but the results are all the same. |
The radio might just be broken. Though, if you had an oscilloscope you could check the power rail for any fluctuations. But just for your own sake, are you sure that you're using the right pins? Arduino Mega's SPI pins differ compared to Arduino Uno, this is literally the most common and probable error. |
I got an oscilloscope and the 3.3v is an extremely flat line. I could also check the output of the RF24 but i don't know what to look for so instructions would be nice :) I used the pin-out as described in the documentation. I also shielded my RF24 for better signal |
hi, just started playing with those modules. Got the same issue so decided to start from scratch. I'd suggest to start from simple in order to figure out where it starts failing for you. |
@sergiokoval Thanks for your comment. I tried your repo, but no luck. Did it with 300uF (for both RF24's) tho. Gonna see if I can get my hands on a bigger one. Is that 1000uF you got in the picture really necessary? |
@NoeelMoeskops Pretty much, I've even gone 10000uF with a module or two. |
I have a similar issue. I have to nano with nRF24L01. On the sender, I am using the extra board with a separate 5V->3.3V regulator and extra caps. I have only one writing pipe open. The other nRF24L01 is also on a nano, running off the nano 3.3 line with a cap. |
Tengo el mismo problema con mis módulos NRF24l01 y 2 arduino Uno, al parecer "radio.write" sólo me da como respuesta "False", lograron solucionarlo? void loop(void)
|
The main reason for this issue is 3.3V supply. For me, the 3.3V supply from Arduino Uno was causing trouble, but when I used the 3.3V supply from NodeMCU (ESP-12E Module), the issue was resolved. |
Finalmente decidí optar por los modulos Xbee (zigbee) para la comunicación inalámbrica de mi proyecto. Igualmente muchas gracias por la información, haré una prueba con los ESP. |
Hi,
I can't seem to get my NRF24L01+PA/LNA to work. When i upload the gettingstarted script it always fails to write on the pipeline.
radio.write( &start_time, sizeof(unsigned long) )
always returns false. Iquadruplehextuple checked my wireing, but everything seems to be in order. I use an external power supply for the RF24 and my host in an Arduino Nano. Please note that I also tried maniacbugs lib with the same result. So it might be hardware related but I really don't know where to look.The text was updated successfully, but these errors were encountered: