lora sensitivity
lora_sensitivityCalculates LoRa receiver sensitivity from spreading factor, bandwidth, and noise figure using the Semtech SX1276 datasheet SNR thresholds. Computes the noise floor from thermal noise density (-174 dBm/Hz), channel bandwidth, and receiver noise figure, then adds the spreading-factor-dependent minimum demodulation SNR. Returns sensitivity in dBm, noise floor, required SNR, and thermal noise reference. Essential for link budget planning in LoRaWAN and Meshtastic networks. Feeds sensitivity_dbm to link_budget and lora_range_estimate for end-to-end coverage analysis.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sf | No | LoRa spreading factor (7-12). Higher SF = better sensitivity but slower data rate. | |
| bw_khz | No | LoRa channel bandwidth in kHz. Lower bandwidth = better sensitivity. | |
| noise_figure_db | No | Receiver noise figure in dB. Typical LoRa radio NF is 6 dB (SX1276). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| noise_floor_dbm | Yes | Receiver noise floor in dBm, computed from thermal noise, bandwidth, and noise figure. | |
| required_snr_db | Yes | Minimum SNR required for LoRa demodulation at the given spreading factor. | |
| sensitivity_dbm | Yes | Receiver sensitivity in dBm. The minimum signal power for successful demodulation. | |
| thermal_noise_dbm | Yes | Thermal noise power density at room temperature: -174 dBm/Hz. |