Arduino + RPI + nRF24L01

Hi,

I'm trying to make a Raspberry PI 2 chat with an Arduino for days now. I'm facing a problem with the RPI, I can't send data to the Arduino. I succeed to send data from the Arduino to the RPI.

The Arduino use the lib RF24 and the RPI use the lib node-nrf.

I got the error "[Error: Packet timeout, transmit queue flushed.]" each time I try to write in the tx pipe.

You can find all my code here: https://github.com/pirquessa/RPI-and-Arduino-nRF24L01P.

Here are the details of the connection:

For the Arduino:

For the Raspberry:

Do you have any idea where can be the problem ?

Thanks a lot for your help.

I just add the wiring of my test in my repo if it can help someone...

I don't know about that node-nrf stuff, but my advice is start simple:

Don't enable the fancy stuff on the chip, just send and receive raw packets
without any auto-retry or filtering.

Only then try the fancy stuff.

[ I thinks called something chronic like "SuperBurst", its never needed as you can
add your own much more flexible protocol in its place and not be limited by its
limits]

[ edit: even worse, its called ShockBurst!! Actually that's not the issue,
its the 1:6 star network thing and auto-retry that are unnecessarily complex
and might be causing issues, turn everything to the simplest mode first, then
progress step by step - unless you have some expensive RF test equipment its
the only way to proceed..]

Yea, I tried & started with simple stuff: sending data to the raspberry from the arduino. Now I'm trying to do the same from the RPI to the Arduino. That's where I'm stuck :frowning:

Get another arduino, and try to send and receive from arduino to arduino.

The outcome of this experiment might be a clue to whether the problem is in your rpi software or your arduino software.

Also, try swapping your two radio modules. Maybe, one of them in broken in one direction.

Well I tried my two modules on two Arduinos, one is still not able to send data. The problem must be with one of the module that can't send or the other that can't receive. I've ordered a new module and some capacitors, I'll try both solutions...

Adding capacitors (47uF) solve the situation ! \o/