DzikuVx / QuadMeUp_Crossbow

Cheap DIY RC link based on LoRa 868MHz modules
Mozilla Public License 2.0
115 stars 29 forks source link

RF settings description #28

Closed dontsovcmc closed 6 years ago

dontsovcmc commented 6 years ago

Can you write something about RF settings? It's very important for reliable, delay and radius.. Thanks

uint32_t frequency = 867000000;
uint32_t loraBandwidth = 250000;
uint8_t loraSpreadingFactor = 7;
uint8_t loraCodingRate = 6;

Why you don't change TxPower?

LoRa.setTxPower(17); //2-17

Thanks!

DzikuVx commented 6 years ago

Those value seems to be working pretty well. It's a compromise between range and delay. At 25mW (14dBm) I was able to test at 3km range on the ground with few dB of budget link still to spare. At few meters above the ground.

For the second question, default is 50mW (17dBm) at it is the strongest allowed output power for SX1276 without duty cycle limitation

DzikuVx commented 6 years ago

Let's say solved in 8ffaccbd5fdc0b2bb4a06b334f99e6f50e6e6bbb