Arduino Forum

Products => MKR Boards => MKRWAN1300 => Topic started by: lucdes on Mar 02, 2018, 10:34 am

Title: Choose the SF
Post by: lucdes on Mar 02, 2018, 10:34 am
Hi,
I want to know if some of you know how to choose the spreading factor on the MKRWAN ?
Thanks for your help !  :)
Title: Re: Choose the SF
Post by: MA_thias on Apr 10, 2018, 01:08 pm
Hey,

that interests me too.
Does anyone have a solution for this?
Title: Re: Choose the SF
Post by: dan0h on Apr 10, 2018, 02:49 pm
Need this information myself :)
Title: Re: Choose the SF
Post by: thebakker on Feb 28, 2019, 11:12 am
You can do this by setting the data rate: bool dataRate(uint8_t dr)
dr can be between 0-6 (I have tested this, and 6 doesn't work, but all the rest does)
/*
   DataRate    Modulation    SF    BW    bit/s
   0    LoRa    12    125    250
   1    LoRa    11    125    440
   2    LoRa    10    125    980
   3    LoRa    9    125    1'760
   4    LoRa    8    125    3'125
   5    LoRa    7    125    5'470
   6    LoRa    7    250    11'000
*/
Title: Re: Choose the SF
Post by: MITEL on Feb 28, 2019, 09:55 pm
But also check this issue (https://github.com/arduino/mkrwan1300-fw/issues/6) (SF does not change if you do not set ADR on).