LoRa receiver / decoder SW for SDR dongles?

880 views
Skip to first unread message

mclane

unread,
Dec 19, 2015, 4:41:26 AM12/19/15
to UKHAS
Hello,

since we are in the bad weather period, here is a question to the SW gurus within the HAB community:

Currently, as I know, LoRa receivers are based on the LoRa transceiver chips (RFM98 etc.) and just process the decoded information from that chip. I would be interested in an SDR dongle (RTLSDR or FunCube) based decoder SW (with upload possbility to habitat?). I would love to have that integrated into GQRX for example (being a Linux user).

Any feedbck would be appreciated.

Best regards,

--mclane

Steve Aerospace

unread,
Dec 19, 2015, 5:15:17 AM12/19/15
to uk...@googlegroups.com
Just point me a the protocol specification and I’ll do it! ;-)

Steve G8KHW
> --
> You received this message because you are subscribed to the Google Groups "UKHAS" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to ukhas+un...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Steve Randall
Random Engineering Ltd
st...@randomaerospace.com
+44 7802 242135



stuart....@catvog.org

unread,
Dec 19, 2015, 11:07:03 AM12/19/15
to UKHAS

Semtech has not as far as I know said much about how exactly LoRa works.

But out of interest, there must be spread spectrum below noise methods for which the protocol is known, have any of these been decoded with SDR dongles ?

Ed Moore

unread,
Dec 19, 2015, 11:10:21 AM12/19/15
to uk...@googlegroups.com
Yes, for example GPS (though I added a pre-amp and filter).

Leo Bodnar

unread,
Dec 19, 2015, 11:24:51 AM12/19/15
to uk...@googlegroups.com
There are some initial efforts to reverse-engineer LoRa: https://github.com/hexameron/rtl-sdrangelove/tree/master/plugins/channel/lora

The protocol is reasonably transparent - http://leobodnar.com/balloons/files/LoRa/LoRa-2.gif, you just need to spend some time observing known transmission sequences.

fabrice faure

unread,
Dec 19, 2015, 11:31:59 AM12/19/15
to uk...@googlegroups.com
Hello,

Please find below an implementation of LoRa decoder for SDR that I have found :
https://github.com/f4exb/sdrangel/tree/master/plugins/channel/lora
I have not yet succeeded to use it, but I'm sure with some tweaking we can use it with specific LoRa modulation parameters used by the TX (for ex 20.8khz bandwith, SF X, explicit mode),..

Fabrice

2015-12-19 17:14 GMT+01:00 fabrice faure <fab4...@gmail.com>:
Hello,
Please find below an implementation of LoRa decoder for SDR:

David Brooke

unread,
Dec 19, 2015, 11:32:04 AM12/19/15
to uk...@googlegroups.com
On Sat, Dec 19, 2015 at 01:41:25AM -0800, mclane wrote:
>
> Currently, as I know, LoRa receivers are based on the LoRa transceiver chips (RFM98 etc.) and just process the decoded information from that chip. I would be interested in an SDR dongle (RTLSDR or FunCube) based decoder SW (with upload possbility to habitat?). I would love to have that integrated into GQRX for example (being a Linux user).

This was mentioned on IRC a while ago:

https://github.com/hexameron/rtl-sdrangelove/blob/master/plugins/channel/lora/lorabits.h

I don't know if it's functional or useful.

David

MikeB

unread,
Dec 20, 2015, 5:35:39 AM12/20/15
to UKHAS
I can understand why its worth the development effort to substitute a cheap SDR dongle for a relatively expensive SSB receiver but why repeat this exercise for a LoRa module costing only a few UKP?

There have been a number of suggestions on this forum about how LoRa receivers could be interfaced to HABITAT, including FSK modulating their output to feed into a PC mic input.

mclane

unread,
Dec 21, 2015, 2:50:33 PM12/21/15
to UKHAS
Using a LoRa module and uploading to habitat is not the issue, I have that up and running.

I am using a tracker which is transmitting classical RTTY (as a backup) and LoRa intermittendly and I just would like to use one single antenna / receiver (SDR).

I will try the references mentioned and report as soon as I have something to report ;-)

Thanks to every body for the hints.

-- mclane

stuart....@catvog.org

unread,
Dec 22, 2015, 12:42:18 PM12/22/15
to UKHAS
On Saturday, December 19, 2015 at 9:41:26 AM UTC, mclane wrote:
I can see that in some circumstances listening to LoRa on a SDR could be useful, and it could be the only receiver you have.

For me the significant benefit of LoRa is that it is two way technology, transmit and receive. So I prefer to use an antenna switch with the antenna going to the LoRa device in one position and the SDR or FT817 in another.

You could use both LoRa TX\RX device and SDR on the same antenna (without a switch) by fitting a limiter on the SDR but you’re going to get signal loss as the signal is split.

I would be interested in knowing how you get on with LoRa on an SDR, in particular how sensitive the SDR is as receiving LoRa. I have some software to test this, a command and control link to a remote LoRa device (can be a HAB tracker) that will allow you to run tests at whatever LoRa modes you choose or standard FSK\AFSK RTTY. I recently used the software to run a comparison of FSK RTTY versus LoRa. This was from the same transmitter setup and with the FSK RTTY being received on a FT817 and the LoRa on a RFM98 with the same antenna (using the antenna switch). The results were that at the same data rate, circa 100baud, the LoRa had a signal advantage of around 7dB, so covering around twice the distance for the same TX power.

One thing does puzzle me, what is the format of the data that the SDR would put out to a PC so it could be sent to Habitat ?
Reply all
Reply to author
Forward
0 new messages