lora_rf
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
lora_rf [2023/11/15 09:00] – river | lora_rf [2024/07/31 14:45] (current) – river | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== LoRa: RF Paramaters, Power, Regulations ====== | + | ====== LoRa: RF Parameters, Power, Regulations ====== |
+ | |||
+ | ===== Parameters ===== | ||
+ | |||
+ | ==== Spreading factor (SF)==== | ||
- | Spreading factors: | ||
According to SX1276 datasheet: | According to SX1276 datasheet: | ||
- | At SF 6, SNR of -5dB is required | + | * At SF 6, SNR of -5dB is required |
- | At SF 12, -20dB. | + | |
- | 2.5dB change between SFs. | + | |
- | ===== Experimental | + | ===== Data Rate ===== |
- | During a test with Heltec Wireless Tracker, I received on the edge of the usable range: | + | Varies |
- | RSSI: -123dBm, SNR:-17.3dB | + | |
- | SNR(dB) = sig(dB) - noise(dB) | + | At 250kHz BW, data rate maybe between 10.94 kbps and 366 bps. The default from Meshtastic gives 1.07 kbps. |
- | -noise = SNR - sig | + | |
- | noise = sig - SNR | + | |
- | noise = -123dBm + 17.3dB = -105.7dBm | + | |
- | Meshtastic was on the default LongFast setting, which uses: | + | Assuming 1kbps, and 10% duty cycle, each radio can send 100bps on average. |
+ | 60 mins * 60 secs * 100 bps / 8 = 45 kBytes / hour. | ||
- | TX power 27dBm (500mW). | + | In a mesh, this must include traffic |
- | SF 11 | + | |
- | Link budget (from meshtastic docs): 148.5dB | + | |
- | "The link budget used by these calculations assumes a transmit power of 17dBm and an antenna with 0dB gain" | + | |
- | SF 11 requires -17.5dB SNR, so SNR was just acceptable by spec. | + | This is all assuming the channel is fully utilised by this system, without interference or any retransmissions needed. With CSMA, actual channel utilisation will be much less than 100%, perhaps 50% - 80% depending on number of nodes and details of CSMA algorithm. It would be safer to design a system that is useful at about 2kB/h. |
- | In a later test, with VeryLongSlow, | + | N.B. Headers have yet to be allowed for. I have also not allowed for any network / mesh management overhead, or admin messages. |
+ | With good clear line of sight over the water it may be possible to use a smaller spreading factor, which would give higher data rate and reduce interference with Meshtastic or other systems using slower spreading factors. In case SF7 was usable, we would get x10 data rate, so 20kB/h. | ||
+ | |||
+ | In the US regime, there is much more bandwidth to play with, and no duty cycle limit. It could be worth looking at using multiple channels. | ||
+ | |||
+ | What can be done with 2kB/h? | ||
+ | |||
+ | 12 SMS messages. | ||
+ | |||
+ | A custom weather report message might be squashed into 15 - 20 bytes. | ||
====== Regulation ====== | ====== Regulation ====== | ||
Line 39: | Line 45: | ||
[[https:// | [[https:// | ||
+ | |||
+ | There is no note about bandwidth limit there, as there is in some other parts, so presumably can use all of it, giving 250kHz BW centred on 869.525 MHz. Meshtastic defaults to 869.525 MHz, 250kHz BW. | ||
Further limits on usage in relation to LoRa one may see are probably just rules of The Things Network. | Further limits on usage in relation to LoRa one may see are probably just rules of The Things Network. | ||
- | The Things Network uses channels defined by LoRaWAN people, with max 16dBm (40mW) eirp. Most of the frequencies I see in the linked | + | The Things Network uses channels defined by LoRaWAN people, with max 16dBm (40mW) eirp. Most of the frequencies I see in the linked |
===== 433 MHz UK / EU ===== | ===== 433 MHz UK / EU ===== | ||
Line 63: | Line 71: | ||
===== LoRa WAN ===== | ===== LoRa WAN ===== | ||
- | LoRa WAN is a network built ontop of LoRa. The standard does not apply to general LoRa use, but maybe of interest to see what frequencies, | + | LoRa WAN is a network built on top of LoRa. The standard does not apply to general LoRa use, but maybe of interest to see what frequencies, |
[[https:// | [[https:// | ||
Line 71: | Line 79: | ||
[[https:// | [[https:// | ||
+ | |||
+ | |||
+ | ===== Bibliography ===== | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | [[https:// |
lora_rf.1700038838.txt.gz · Last modified: 2023/11/15 09:00 by river