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

Initialization failed #9

Closed
JBravo2323 opened this issue Mar 5, 2017 · 5 comments
Closed

Initialization failed #9

JBravo2323 opened this issue Mar 5, 2017 · 5 comments

Comments

@JBravo2323
Copy link

I set up two Lora radios using the RH_RF95 library. I used two Arduino MKR1000 and two Adafruit RFM95W radios. My system works but I found your Library much cleaner and easier to use. But when I installed it and set the pins LoRa.setPins(7,2,1); which is the same setting I used for the other library and run the program I get: "Starting LoRa failed!".
Can you help me debug/determine what is wrong?
Thanks

@JBravo2323
Copy link
Author

img_1811
I am pretty sure my wiring is OK since the radios work with the other Library (RH_RF95) but just in case here is a high res photo of one of the radios (both are identical)
Thanks

@sandeepmistry
Copy link
Owner

Hey @JBravo2323,

Just to confirm

  • 7 is connected to NSS
  • 2 is connected to NRESET
  • 1 DIO0

It's a bit tricky to look at the photo as the MKR1000 has the pin labels on the bottom.

@sandeepmistry
Copy link
Owner

Also, could you please add a Serial.println(version, HEX) statement here: https://github.com/sandeepmistry/arduino-LoRa/blob/master/src/LoRa.cpp#L79 and let us know what the reported version is.

@sandeepmistry
Copy link
Owner

Closing this for now due to lack of feedback.

@mayankgour13
Copy link

Try using short length wires for SPI connection. It solved my problem.

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