-
Notifications
You must be signed in to change notification settings - Fork 3
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
Problem with mesh , RF24 HARDWARE FAIL: Radio not responding, verify pin connections, wiring, etc. #16
Comments
This is very strange. The error message must be comming from the RF24 library, but you say it only happens when you use the mesh layer?! This error normally happens when the wires are too long or mis-configured in code (pin numbers). There is also a chance that you have to decrease the SPI speed. Try this: # set spi speed to 4MHz (parameter 3)
radio = RF24(22, 0, 4000000) |
Are you able to test with the C++ driver to see if the error still occurs with RF24Mesh? |
@naty6458 Can you also post the setup code you use when this error shows up? I'm going to try and reproduce this on my setup, but I'm curious what your code looks like (especially |
I can't reproduce this error. I highly suspect that you are not importing 🚫 BADfrom RF24 import RF24 # not using pyrf24!! Here you are using the RF24 C++ lib wrapper
from pyrf24 import RF24Network, RF24Mesh ✔️ GOODfrom pyrf24 import (
RF24,
RF24Network,
RF24Mesh,
) OtherwiseIf you uninstall the C++ RF24 lib and you still get this error, then I would recommend you check whatever user permission changes you made (referring to discussion in #15). |
Hello everyone ,
So after we managed to solve the GPIO permissions problem,
I found another problem when trying to run the MESH library on RPI.
And on the other hand, the NODE on Arduino.
My RPi system is:
Raspberry Pi 3 Model B Plus Rev 1.3 PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)" NAME="Raspbian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)"
I install the library with this command:
git clone --recurse-submodules https://github.com/nRF24/pyRF24.git ; cd pyRF24 ; python -m pip install . -v
I turn on the MASTER and everything works fine, but as soon as I turn on the NODE, I get the error "RF24 HARDWARE FAIL: Radio not responding, verify pin connections, wiring, etc." on the side of the MASTER.
The strange part of the story is that the example of the GettingStarted.ino on the Arduino side and the getting_started.py work perfectly (I added picture)
I would love that together we can find and solve the problem, thank you very much!
Edit: I just checked the NETWORK library and it works fine, the problem is only with the MESH
The text was updated successfully, but these errors were encountered: