wikiroute

networking recipes

User Tools

Site Tools


simple_lora_prototype

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
simple_lora_prototype [2016/10/12 15:07] – created samersimple_lora_prototype [2017/10/01 19:21] – [6. Modifying the Radio Parameters] samer
Line 39: Line 39:
 Unzip the RadioHead library and copy it to your sketchbook library folder as detailed in [[https://www.arduino.cc/en/Guide/Libraries]]. Unzip the RadioHead library and copy it to your sketchbook library folder as detailed in [[https://www.arduino.cc/en/Guide/Libraries]].
  
 +<WRAP center round tip 60%>
 +For Arduino Mega 2560, additional drivers can be installed from [[http://wch.cn/download/CH341SER_ZIP.html]].
 +</WRAP>
  
 ===== -. Running Basic Sketches ===== ===== -. Running Basic Sketches =====
Line 53: Line 56:
 ===== -. Modifying the Radio Parameters ===== ===== -. Modifying the Radio Parameters =====
  
-The typical configuration for LoRa modules consists of 125 KHz sub-channels, a coding rate of 4/5, and a spreading factor equal to 7. This configuration ensures higher data rates but is more vulnerable in case of harsh radio conditions. If you want to ensure more robustness to noise on the radio channel or extend the coverage, you may change the module configuration to a stronger coding rate of 4/8 and a spreading factor of 12. This obviously comes at the expense of lower data rates ! The procedure is explained in the following.+The typical configuration for LoRa modules consists of 125 KHz sub-channels, a coding rate of 4/5, and a spreading factor equal to 7. This configuration ensures higher data rates but is more vulnerable in case of harsh radio conditions. If you want to ensure more robustness to noise on the radio channel or extend the coverage, you may change the module configuration to a stronger coding rate of 4/8 and a spreading factor of 12. This obviously comes at the expense of lower data rates! The procedure is explained in the following.
  
 Start by modifying the modem config in ''RH_RF95.cpp'': Start by modifying the modem config in ''RH_RF95.cpp'':
Line 77: Line 80:
 } }
 </file> </file>
 +
 +<WRAP center round todo 60%>
 +RHReliableDatagram class introduces acknowledgement messages. It may be preferable to use the basic class RH_RF95.
 +</WRAP>
simple_lora_prototype.txt · Last modified: 2021/08/28 01:47 by samer