exploring_lora
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
exploring_lora [2018/10/10 08:39] – [1.3. Installation] samer | exploring_lora [2019/10/10 11:03] – [4.2. [Classroom activity] Collisions and Packet Delivery Ratio] samer | ||
---|---|---|---|
Line 31: | Line 31: | ||
Unzip the RadioHead library and copy it to your sketchbook library folder as detailed in [[https:// | Unzip the RadioHead library and copy it to your sketchbook library folder as detailed in [[https:// | ||
+ | |||
+ | <WRAP center round tip 75%> | ||
+ | Make sure to restart your computer after the installation of Arduino IDE and run the software as administrator. | ||
+ | </ | ||
+ | |||
+ | |||
==== -. Installation ==== | ==== -. Installation ==== | ||
Line 67: | Line 73: | ||
==== -. Modifying the Radio Parameters ==== | ==== -. Modifying the Radio Parameters ==== | ||
- | Download the {{ : | + | Download the {{ : |
Take a look at the source code in '' | Take a look at the source code in '' | ||
Line 125: | Line 131: | ||
For example, the scenario for assessing the impact of the spreading factor on the ToA consists of sending 100 packets for three different spreading factors //e.g.,// 7, 9, and 10, and drawing the average ToA or the distribution in a boxplot for comparing the results. | For example, the scenario for assessing the impact of the spreading factor on the ToA consists of sending 100 packets for three different spreading factors //e.g.,// 7, 9, and 10, and drawing the average ToA or the distribution in a boxplot for comparing the results. | ||
+ | |||
+ | As for the theoretical computation of the ToA, you can refer to the the following documents : | ||
+ | |||
+ | * The Semtech [[http:// | ||
+ | * An explanatory video: https:// | ||
+ | * Various calculation tools available online: https:// | ||
+ | |||
+ | Note that all messages sent and received by the [[https:// | ||
+ | |||
+ | * 8 symbol PREAMBLE | ||
+ | * Explicit header with header CRC (handled internally by the radio) | ||
+ | * 4 octets HEADER: (TO, FROM, ID, FLAGS) | ||
+ | * 0 to 251 octets DATA | ||
+ | * CRC (handled internally by the radio) | ||
<WRAP center round help 100%> | <WRAP center round help 100%> | ||
Line 132: | Line 152: | ||
* 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. | ||
</ | </ | ||
- | ==== -. 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: | ||
- | |||
- | <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. | ||
- | </ | ||
==== -. [Classroom activity] Collisions and Packet Delivery Ratio ==== | ==== -. [Classroom activity] Collisions and Packet Delivery Ratio ==== | ||
Line 151: | Line 160: | ||
* 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 159: | Line 168: | ||
===== -. Coverage Challenge ===== | ===== -. Coverage Challenge ===== | ||
- | In this section, you are required to establish a record of LoRa coverage. You can certainly unleash your scientific imagination, | + | Start by identifying a set of three 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: |
+ | |||
+ | <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. | ||
+ | </ | ||
+ | |||
+ | You are now required to establish a record of LoRa coverage. You can certainly unleash your scientific imagination, | ||
* Direct transmission between the two devices is only considered. | * Direct transmission between the two devices is only considered. | ||
- | * 3D distance is computed between devices. | + | * 3D distance is computed between devices. You can get the elevation from this [[ http:// |
- | * 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. | ||
+ | |||
+ | You can use the [[https:// | ||
+ | |||
+ | <WRAP center round todo 60%> | ||
+ | Take a look at this tool [[http:// | ||
+ | </ | ||
<WRAP center round help 100%> | <WRAP center round help 100%> | ||
- | * Compute the Fresnel zone for your transmission. | + | * Compute the Fresnel zone for your transmission |
- | * Provide the expression of the link budget and compute the received power using two different | + | * Provide the expression of the link budget and compute the received power using two different |
- | * Compare the received power obtained experimentally with the theoretical | + | * Compare the received power obtained experimentally with the results |
- | * Prepare a short presentation to describe your experiment. | + | * Prepare a short presentation |
</ | </ | ||
exploring_lora.txt · Last modified: 2021/10/20 12:52 by samer