-
Notifications
You must be signed in to change notification settings - Fork 31
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
Problems getting node-nrf on Rasp Pi to talk to tmrh20 on Arduino Uno. #57
Comments
Also I haven't installed the c++ lib on the Raspberry Pi so that known bug shouldn't be an issue. |
I have same problem as yours, and don't know what is wrong. Below is my printDetails display:
After checked the resisters in list, I think maybe the |
@HapCoderWei Thanks for the report. I think if you are using the dynamic payloads you do not need to worry about RX_PW_Pn registers but you can set a fixed size when creating your pipe e.g. |
@runia1 @HapCoderWei anyone of you got this solved? Just spent a day troubleshooting the same... RPi registers (listener):
Arduino (transmitter):
|
@ipatalas I don't see anything obviously wrong based on your config (see notes below). You might try set On your RasPi you have:
Config is On the Arduino you have:
Config is (Via some handy nRF24L01 – Firmware content but didn't cross-check it with the official datasheet.) |
Thanks for explaining what lies beneath the config register and those other two. |
Turning debug mode doesn't ring any bells for me.
Based on the link you provided it seems like it's in RX mode which is good (PRIM_RX in CONFIG register is 1 (receiver enabled), CE is high. The radio can receive packets.). I've been trying today for another couple of hours and failed again :( Tried different settings (data rate, crc, PA level). Checked the other chip select pin on RPi or even completely replaced RF24 module with another one (have some spare items) but still no luck. One side of my connection just in case somebody can spot something I wasn't able to: |
Not seeing anything obvious, but it's been a bit since I had one set up myself. Hope to take a closer look soon. |
My goal is being able to send commands from my nodejs script and have the arduino pick up the command and do something. As a proof of concept, I'm just trying to get the Arduino to print out a message when data comes in.
My devices:
This runs without errors, and appears to send out data but I never receive anything on my Arduino. When I uncomment the printDetails() I get this:
Which leads me to believe the Pi has a good connection to the NRF chip (It's able to assign the address and other configs.)
Results of the printDetails()
So I'm pretty sure the wiring is correct on the arduino as well, as I'm able to set the address and other configs.
Troubleshooting I've tried
Any help is appreciated, I'm not really sure where to go from here. Maybe I'm not writing to the tx stream correctly? I'm new to nodejs streams but I'm pretty sure you just have to do a
tx.write("some data");
to send out some data correct?The text was updated successfully, but these errors were encountered: