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

Arduino example #25

Open
tomzi1 opened this issue Oct 19, 2014 · 7 comments
Open

Arduino example #25

tomzi1 opened this issue Oct 19, 2014 · 7 comments

Comments

@tomzi1
Copy link

tomzi1 commented Oct 19, 2014

Hello Nate!

I've been struggling for days now to get the communication working between raspberry pi and arduino, found almost all the issues listed here, but something still didn't work properly. Downloaded the latest lib from here: http://tmrh20.github.io/RF24/index.html. Can you please provide a working arduino example? I've been trying to get it work with your test.js, so if you have an updated version of it that would be appreciated too.

Thanks in advance.

@andreabellucci
Copy link

I have been struggling for over a week with a the library too. At first I tought the problem was in different DYNPD/FEATURE values in RPi and Arduino. But it wasn't that. The solution for me was to enable dynamic payloads on the Arduino sketch. For instance you can try to use the pingpair example from the RF24 Arduino library and instead of radio.setPayloadSize(8); use radio.enableDynamicPayloads();

@tomzi1
Copy link
Author

tomzi1 commented Oct 30, 2014

Hello andreabellucci!

Thanks for the answer! Can you please check out the new version of the RF24 arduino lib (link in the previous post)? It doesn't have the old pingpair anymore, but pingpair_ack, pingpair_dyn and pingpair_irq. Tried all of them with no success. I could also imagine that something changed in the lib itself that breaks the communication between arduino and raspberry. Are you using the IRQ pin on the arduino?

@andreabellucci
Copy link

No IRQ pin. Tomorrow I can send you the version of the library I am using
and the node.js code for the rpi.

Andrea

@tomzi1
Copy link
Author

tomzi1 commented Oct 30, 2014

Thank you, that will be really helpful.

@andreabellucci
Copy link

Send me your private email.

@kieferm
Copy link

kieferm commented Oct 31, 2014

Could you please post the library version and node.js code? I am interested in seeing this too.

@tomzi1
Copy link
Author

tomzi1 commented Oct 31, 2014

szemuvegesindian [at] gmail

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

3 participants