I’ve purchased 2 HopeRFs RFM95W-915S2 LoRa modules from Anarduino, got some adapter boards made based on Adafruits boards and solder it all together. The issue is I get a “failed init” command no matter what I do (so no SPI com).
I have tried the following:
Hardware - I don’t have a scope but can measure the level shifting 74HC4050 is functional and passing signal through, power on the board is regulated to 3.3V and signal is traveling from input pins to the LoRa board. I’ve also tried Arduino 328 Pro Minis, Arduino Uno, and arduino due.
Firmware - RadioHeads all variants, Adafruits RFM96 library and other misc found on the internet.
My question is where to go next/any suggestions?
Since the only unknown I have is really the adapter board I’ve considered desoldering the LoRa module and connecting it directly to the Due to see if I can get communication. Is there any way to test the SPI com?
The problem is probably either in your circuit or your code. In other words, the part you didn't post.
Did you read the "How to use this forum" sticky already? If not, do that first.
The problem is most likely in this 'adapter board'.
Or possibly you modified the various examples of code you found.
got some adapter boards made based on Adafruits boards and solder it all together.
Did you test the setup of the 'adapter board' on a breadboard first ?
Is there any way to test the SPI com?
Yes, with a working LoRa module.
It would also be unlikley that the SPI hardware on the Uno, Pro Minis and DUE are all faulty.
As a general point, its far easier to trroubleshoot stuff like this when you dont have the issue of logic level conversion to deal with.
Welcome to the forum.
Please read the first post in any forum entitled how to use this forum.
http://forum.arduino.cc/index.php/topic,148850.0.html . Then look down to item #7 about how to post your code.
It will be formatted in a scrolling window that makes it easier to read.
Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?