Skip to content
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

Issue with nrf.send() of the example file #52

Closed
EGZB opened this issue Oct 22, 2023 · 3 comments
Closed

Issue with nrf.send() of the example file #52

EGZB opened this issue Oct 22, 2023 · 3 comments

Comments

@EGZB
Copy link

EGZB commented Oct 22, 2023

Hi.
I'm trying to test the simple_test file but in the function nrf.send() always return false, I'm loading the same code in 2 raspberrys, each of them has the NRF24L01 attached to it.
Thanks in advance for your help.

@2bndy5
Copy link
Member

2bndy5 commented Oct 22, 2023

If send() fails, then that usually means there's a hardware issue (typically power related). Did you see #19? It is almost the same issue with nRF24L01+PA/LNA modules.

@EGZB
Copy link
Author

EGZB commented Oct 22, 2023

Maybe I have to put the code of the master in one raspberry and the code of the slave in the other? How did you test it ? Maybe I'm doing the wrong connections? Can you give me a little scheme of the connections please ?

@2bndy5
Copy link
Member

2bndy5 commented Oct 22, 2023

Maybe I have to put the code of the master in one raspberry and the code of the slave in the other?

No. That's not it.

How did you test it ?

By running the examples and following the prompts.

Maybe I'm doing the wrong connections?

The pins used for examples on Raspberry Pi boards are shown in the first page of the docs; this library's examples use the SpiDev module on Linux boards. If you are able to instantiate the RF24 object without error, then the wires should be correct.


What exact radio are using?

@2bndy5 2bndy5 closed this as completed Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants