wikiroute

networking recipes

User Tools

Site Tools


exploring_lora

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
exploring_lora [2018/09/27 10:32] – [5. Theoretical Analysis] samerexploring_lora [2018/09/27 10:33] samer
Line 45: Line 45:
 For Arduino Mega 2560, additional drivers for Microsoft Windows can be installed from [[http://wch.cn/download/CH341SER_ZIP.html]]. For Arduino Mega 2560, additional drivers for Microsoft Windows can be installed from [[http://wch.cn/download/CH341SER_ZIP.html]].
 </WRAP> </WRAP>
-===== -. Running Basic Sketches ===== 
-Start by setting the central frequency of the LoRa modules. For this, open the ''RH_RF95.cpp'' file locate in the ''RadioHead'' folder and change the frequency to 868.10 (Group 1), 868.30 (Group 2), and 868.50 MHz (Group 3). 
  
-<file cpp RH_RF95.cpp> 
-setFrequency(868.X); 
-</file> 
- 
-Download the {{ :example-lora-sketch.zip | basic sketches}} that implement a reliable LoRa communication between the two modules. Open the sketches with Arduino IDE, compile and upload on the two arduino modules, respectively. On the serial interfaces, you should obtain similar results as in Fig. 2 and Fig. 3. The client sends a short message and waits for an acknowledgement message from the server. Both modules output the RSSI (received power in dBm) for each received message. 
- 
-[{{ :client-iotlab1.png?direct&600 ||Figure 2. Client serial monitor}}] 
-[{{ :server-iotlab1.png?direct&600 ||Figure 3. Server serial monitor}}] 
 ===== -. Theoretical Analysis ===== ===== -. Theoretical Analysis =====
  
Line 67: Line 57:
   * Compare the computed sensitivity to that provided by the {{ :an1200.22.pdf |Semtech Application Note AN1200.22}} for the same parameters.   * Compare the computed sensitivity to that provided by the {{ :an1200.22.pdf |Semtech Application Note AN1200.22}} for the same parameters.
 </WRAP> </WRAP>
 +
 +===== -. Running Basic Sketches =====
 +Start by setting the central frequency of the LoRa modules. For this, open the ''RH_RF95.cpp'' file locate in the ''RadioHead'' folder and change the frequency to 868.10 (Group 1), 868.30 (Group 2), and 868.50 MHz (Group 3).
 +
 +<file cpp RH_RF95.cpp>
 +setFrequency(868.X);
 +</file>
 +
 +Download the {{ :example-lora-sketch.zip | basic sketches}} that implement a reliable LoRa communication between the two modules. Open the sketches with Arduino IDE, compile and upload on the two arduino modules, respectively. On the serial interfaces, you should obtain similar results as in Fig. 2 and Fig. 3. The client sends a short message and waits for an acknowledgement message from the server. Both modules output the RSSI (received power in dBm) for each received message.
 +
 +[{{ :client-iotlab1.png?direct&600 ||Figure 2. Client serial monitor}}]
 +[{{ :server-iotlab1.png?direct&600 ||Figure 3. Server serial monitor}}]
 +
 ===== -. Modifying the Radio Parameters ===== ===== -. Modifying the Radio Parameters =====
  
Line 81: Line 84:
  
 In the remainder of this lab, you will conduct measurements to validate the obtained theoretical receiver sensitivity. In the remainder of this lab, you will conduct measurements to validate the obtained theoretical receiver sensitivity.
 +
 ===== -. Performance Evaluation ===== ===== -. Performance Evaluation =====
 In the following, you will design and implement a set of scenarios that enable to evaluate the performance of the LoRa modulation. As you will deal with scientific assessment, you are required to use scientific tools to show the results. You have the choice between [[http://www.gnuplot.info | gnuplot]], [[https://matplotlib.org/index.html#|matplotlib]] with Python, and MATLAB. Take some time to become familiar with one of these software as you will be required to use them in different occasions of your academic programme. In the following, you will design and implement a set of scenarios that enable to evaluate the performance of the LoRa modulation. As you will deal with scientific assessment, you are required to use scientific tools to show the results. You have the choice between [[http://www.gnuplot.info | gnuplot]], [[https://matplotlib.org/index.html#|matplotlib]] with Python, and MATLAB. Take some time to become familiar with one of these software as you will be required to use them in different occasions of your academic programme.
 +
 ==== -. Time on Air ==== ==== -. Time on Air ====
  
Line 103: Line 108:
   * What type of mathematical models enables to theoretically compute the PER?   * What type of mathematical models enables to theoretically compute the PER?
 </WRAP> </WRAP>
 +
 ==== -. Coverage ==== ==== -. Coverage ====
  
exploring_lora.txt · Last modified: 2021/10/20 12:52 by samer