OPEnSLab-OSU / Loom

Arduino library for Internet of Things Rapid Prototyping in environmental sensing
GNU General Public License v3.0
26 stars 3 forks source link

LoRa bandwidth setting #145

Closed BGoto808 closed 3 years ago

BGoto808 commented 3 years ago

Describe the bug While the LoRa code currently works functionally, it's not set up so that it's ideal for sensor deployment projects. Currently, the bandwidth is set for fast data transmissions with short range which is not ideal. Rather, we would want slow data transmission rate with long range.

Additional context I've already changed the Loom code in my own local files. It involves changing the function from driver.setModemConfig(RH_RF95::Bw500Cr45Sf128) to driver.setModemConfig(RH_RF95::Bw125Cr45Sf128) in the LoRa.cpp file on line 61.

BGoto808 commented 3 years ago

LoRa settings changed in Loom V3. Bandwidth changed to 125kHz, spreading factor = 1024, coding rate = 4/8