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 revision
Previous revision
Next revisionBoth sides next revision
exploring_lora [2019/10/06 13:03] – [5. Coverage Challenge] samerexploring_lora [2020/11/19 22:31] – [5. Coverage Challenge] samer
Line 73: Line 73:
 ==== -. Modifying the Radio Parameters ==== ==== -. Modifying the Radio Parameters ====
  
-Download the {{ :sketch-1819.zip | basic sketches}} that implement a simple LoRa communication between two devices: a client and a server. Open the sketches with Arduino IDE. Make sure to choose the correct ''Board'' and ''Port'' in the ''Tools'' menu. +Download the {{ :sketch-1819.zip | basic sketches}} that implement a simple LoRa communication between two devices: a client and a server. Open the sketches with Arduino IDE (it is preferable to run Arduino IDE as administrator). Make sure to choose the correct ''Board'' and ''Port'' in the ''Tools'' menu. 
  
 Take a look at the source code in ''rf95_client.ino'' and ''rf95_server.ino''. Particularly, the following extract from the ''setup'' function configures the radio parameters of your LoRa devices: Take a look at the source code in ''rf95_client.ino'' and ''rf95_server.ino''. Particularly, the following extract from the ''setup'' function configures the radio parameters of your LoRa devices:
Line 134: Line 134:
 As for the theoretical computation of the ToA, you can refer to the the following documents :  As for the theoretical computation of the ToA, you can refer to the the following documents : 
  
-  * The Semtech [[http://semtech.com/uploads/documents/DS_SX1276-7-8-9_W_APP_V5.pdf| specification]] (section 4.1.1.6) +  * The Semtech {{ :ds_sx1276-7-8-9_w_app_v5.pdf |specification}} (section 4.1.1.6) 
   * An explanatory video: https://www.youtube.com/watch?v=C_Rh5GSENA4    * An explanatory video: https://www.youtube.com/watch?v=C_Rh5GSENA4 
   * Various calculation tools available online: https://www.loratools.nl/#/airtime, [[https://docs.google.com/spreadsheets/d/1voGAtQAjC1qBmaVuP1ApNKs1ekgUjavHuVQIXyYSvNc/edit?usp=sharing |Spreadsheet]]   * Various calculation tools available online: https://www.loratools.nl/#/airtime, [[https://docs.google.com/spreadsheets/d/1voGAtQAjC1qBmaVuP1ApNKs1ekgUjavHuVQIXyYSvNc/edit?usp=sharing |Spreadsheet]]
Line 151: Line 151:
   * Visualise the experimental results by plotting the ToA as a function of each one of the different parameters.   * Visualise the experimental results by plotting the ToA as a function of each one of the different parameters.
   * Analyze the obtained results and compare with the theoretical computations. You can superpose the theoretical results and the experimental ones on the same graph.   * Analyze the obtained results and compare with the theoretical computations. You can superpose the theoretical results and the experimental ones on the same graph.
-</WRAP> 
-==== -. Coverage ==== 
- 
-In this section, you will measure the coverage of LoRa under different radio configurations. 
- 
-Start by identifying a set of five geographical locations or Test Points (TP). These TPs should be astutely chosen to explore the limits of LoRa coverage. Then, you should implement a function on the server that measures the ratio of successfully delivered packets or PDR (Packet Delivery Ratio). Now, you should run the experiment for three different radio configurations: such configurations should provide different reliability levels (high, medium, and low reliability).  
- 
-<WRAP center round help 100%> 
-  * Draw the test points on a map and motivate your choices. 
-  * Describe the radio configurations you selected and their impact on the reliability of the transmission.   
-  * Visualise the experimental results by plotting the PDR for each TP and each radio configuration.  
-  * Analyze the obtained results. 
 </WRAP> </WRAP>
 ==== -. [Classroom activity] Collisions and Packet Delivery Ratio ==== ==== -. [Classroom activity] Collisions and Packet Delivery Ratio ====
  
-In this section, you will measure the impact of the packet arrival rate on the collision rate and consequently the PDR.+In this section, you will measure the impact of the packet arrival rate on the collision rate and consequently the Packet Delivery Ratio (PDR).
  
 The setting for this experiment is unique: The setting for this experiment is unique:
   * Only one server is required in the classroom. This server should compute the ratio of successfully delivered packets or PDR.   * Only one server is required in the classroom. This server should compute the ratio of successfully delivered packets or PDR.
   * All groups are required to use the same frequency, spreading factor, and coding rate.   * All groups are required to use the same frequency, spreading factor, and coding rate.
-  * The average packet arrival rate is equal for all clients. The delay between two packets is drawn uniformly in a predefined interval.+  * The average packet arrival rate is equal for all clients.
  
 <WRAP center round help 100%> <WRAP center round help 100%>
Line 191: Line 179:
  
   * Direct transmission between the two devices is only considered.   * Direct transmission between the two devices is only considered.
-  * 3D distance is computed between devices. You can get the elevation from this [[ http://www.geocontext.org/publ/2010/04/profiler/en/ | site]].+  * 3D distance is computed between devices.
   * PDR must be higher than 10% as computed for 100 packets.    * PDR must be higher than 10% as computed for 100 packets. 
   * Supporting live video and screen capture should be used to authenticate the record.     * Supporting live video and screen capture should be used to authenticate the record.  
  
-You can use the [[https://cloudrf.com/ | Cloud RF]] online service to obtain information on the elevation, Fresnel zone, and estimated path loss.  +You can use [[https://cloudrf.com/ | Cloud RF]] or [[http://radiomobile.pe1mew.nl/index.php?Welcome... | Radio Mobile]] online service to obtain information on the elevation, Fresnel zone, and estimated path loss
- +
-<WRAP center round todo 60%> +
-Take a look at this tool [[http://radiomobile.pe1mew.nl/index.php?Welcome...]]. +
-</WRAP>+
  
 <WRAP center round help 100%> <WRAP center round help 100%>
-  * Compute the Fresnel zone for your transmission using [[https://cloudrf.com/ | Cloud RF]]. Comment the result.+  * Compute the Fresnel zone for your transmission. Comment the result.
   * Provide the expression of the link budget and compute the received power using two different path loss models (ITM, Line of sight) with Cloud RF.   * Provide the expression of the link budget and compute the received power using two different path loss models (ITM, Line of sight) with Cloud RF.
-  * Compare the received power obtained experimentally with the results of Cloud RF.+  * Compare the received power obtained experimentally with the results of the online simulators.
   * Prepare a short presentation (5 minutes pitch) to describe your experiment.   * Prepare a short presentation (5 minutes pitch) to describe your experiment.
 </WRAP> </WRAP>
exploring_lora.txt · Last modified: 2021/10/20 12:52 by samer