Confirm I have: swapped cables swapped LoRa Modules swapped Grove Pro mini LP Tx/Rx modules Reloaded git hub code Tx and Rx Tried seed studio code rf95_client (adjusting SoftwareSerial ss(5,6) to 6,7 or 8,9
The rest of the RX code seems to work(device appears as 8c on i2c bus)
RHS Tx module in Grove D6/D7 LHS Rx module in Grove D8/D9
I used the seeed github examples for rf95_client, rf95_server, rf95_reliable_datagram_client on both SDL pro mini boards plus arduino mega, and leonardo. This was one of the first tests I did and I have just repeated for continuity. Substituting softserial ports as appropriate. Same fail in all circumstances.
Connect LoRa to J4 (D8/D9)
// Singleton instance of the radio driver //SoftwareSerial ss(5, 6); SoftwareSerial ss(8, 9); RH_RF95 rf95(ss); Result
RF95 client test. init failed
I have ordered 2 additional boards 433 LoRa and seeduino direct from Seeed (plus a few other bits) to build out an additional project. After I have tested these units I will advise next steps
So I have looked back through several of the Radiohead supplied libraries. They all seem to use spi interface and no UART function for Grove. This only appears in the seeed library.
At this time I have isolated several problems. And the only difference I can see is the use of the seeed library.
1. Transmission and then arbitrary shutdown after 30-40 messages and then maybe restart after 1-2 hours and then some transmissions. (works a bit more reliably with DS3231 but still stops sending for a while.) 2. Arbitrary reception of messages, may receive 3-4 messages then nothing for 20 minutes - hours then receive again.
Could you provide or point to some detailed instructions on how you use the radiohead library with the Arduino ide. Also can you post the a compiled build for the Lora RX and TX mini pro modules.
Yes that is what I am doing, however the only library that seems to get past the init problem is the seeed library with the grove modules. It appears the current radiohead library that you reference in your documentation cannot work as it does not use UART. So exactly which library are you linking when you build? perhaps the zip of that library is what I need.
In the meantime as my results are wildly different to yours for operational time perhaps at least the compiled code you load to Tx and RX boards that you ship will also help find whats going on. I am currently testing with an SDR unit and can see the packets stop sending after a relatively short period. .../alex