-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
nrf.send( ) sending successfully but return failed or time out #19
Comments
Usually this symptom means that the what type of nRF24L01 modules are you using (store link please)? I ask because recent testing for the nRF24L01+PA+LNA modules don't work as |
Thanks for getting back on this. |
@adamedan thanks for the store link. Those modules will most definitely require a separate power source. The RPi's 5V and 3V pins do not provide enough current for TX operations with that specific module (I spent a lot of time trying to make those work before releasing v1.2.0 of this library). You need to wire up a 3V regulator with a current limit of more than 500 mA to a separate power source. It is IMPORTANT that you remember to tie the RPis GND pin with the 3V regulators GND pin. If you feel that wiring a 3V regulator is beyond your skill level, you can use a specially designed breakout board for the nRF24L01+PA+LNA modules. Those breakout boards use a AMS1117 3V regulator. I recently purchased a pack from amazon, but they haven't come in yet (I'm not a prime member and I opted for the cheapest shipping 😄 ). Be careful to not purchase a breakout board designed for the ESP8266-01 modules as it doesn't look like they have a 3V regulator soldiered in (and the pinout concerning VCC & GND pins is incompatible with the nRF24L01 anyway). Shielding is also required even with a 3V regulator. You're the first person to raise this common issue on this library. Would you find it more helpful if I added a note to the repo's README? I just want this info to be known before other people raise the same issue. |
@adamedan Did you run |
Hi @2bndy5 Many thanks |
Yes! I often recommend TMRh20's library as an alternative to this CircuitPython library. I've also recently started helping that library. HINT: I've written an example script that demonstrates how to use this library with the TMRh20 library, but the v1.2.3 updates to that example have more explanations (about different library behaviors) in the comments.
I still highly recommend to add shielding (it would only improve performance). I used electrical tape with foil wrapped around the electrical tape. Be sure that the foil does not touch any current carrying parts (like the GPIO pins and the soldier joints for the antenna and the antenna connector). |
Hi @2bndy5. amazing many thanks very clear shielding instruction. |
@adamedan can I close this? Did you have any further questions? I have pinned this issue so it can still attract attention (even if it is closed). |
Awesome library, I am using it with RPi 4 and RPi zero and all fine. however, when i was testing with the master mode ( sending ) in simple test script I always get send() failed or timed out dispite the fact that the sending is successful. Any Idea why this is happening?
many thanks
Adam
The text was updated successfully, but these errors were encountered: