Troubleshooting LoRa Communication

I am currently working on a project which involves 3 LoRa E32-433T30D modules, as well as 1 arduino uno, 1 arduino mega2560, and 1 arduino mini pro. The uno is the transmitter with 2 switches, each will control 1 of the other arduino board. When I flip 1 of the switches, I want the corresponding board (which has an led wired to it) to light up, and then turn off when the switch is turned off. I feel that my code is fine and my switches work as intended, however neither of my receiving arduinos react when the switches are flipped. I will attach my code as well as a diagram for connections. Any help would be wonderful, as I am relatively new to using LoRa modules.




I am aware that some pins in my code will have to change for each board. If it makes it easier to visualize, just imagine 1 receiver board instead of 2.

Please tell us about your testing with only one receiver board. Did it work properly? When you used only the other receiver board, did it work properly?

The place to start would be to study library examples for communication between two such modules, and get them running on your setup. Did you look for such examples?

Please follow the forum rules, and do not post useless pictures of code and text. See the "How to get the best out of this forum" post for instructions, linked at the head of every forum category.

First thing I would do is to check if the transmitter is actually transmitting.

A low cost SDR would be good enough.

Also important to check that the transmitter and receive all have the same confuguration, radio rates etc and appropriate addressing.

This example is one of my favourites. A month or 2 ago before I got the switches and a 3rd module involved I was able to make this work. For whatever reason I can't get it to work using switches (even just 1 switch). I am hoping I didn't fry one of the LoRas by accident while testing with switches.

I suggest to fix that problem first, before moving to three nodes. The stuff you posted above is a poor start.

I have read about reconfiguring the LoRas, but I can't seem to find the software for this, do you have any recommendations for where I could buy an SDR. Amazon, best buy, etc.?

I haven't been able to get any sort of functionality when testing with 1 or both of them. I can see in my serial monitor that the switch is being flipped but I get nothing on the receiving end. That's with both and each individually

Never used those Ebyte modules to be honest, although the radio part is a LoRa device, the interface is a propriatry UART one and far removed from normal SPI based LoRa devices.

It does sound a bit odd, using something like an SDR to check there is a transmission, but if I am testing conventional LoRa devices, testing with a UHF radio or SDR is the first thing I do if there is no receiving. Buy from wherever, the Realtek SDRs are quite cheap and handy if you doing RF stuff.

Is there not notes on configuring in the library ?

Of course if it works, no need to check with a radio ...............

1 Like

I will buy one and test it, Thanks

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.