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:04] – [4.2. Coverage] samerexploring_lora [2019/10/10 11:03] – [4.2. [Classroom activity] Collisions and Packet Delivery Ratio] 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 160: 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%>
exploring_lora.txt · Last modified: 2021/10/20 12:52 by samer