wikiroute

networking recipes

User Tools

Site Tools


esib_iot_challenge

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
esib_iot_challenge [2017/05/17 14:45] – [ESIB IoT Challenge] sameresib_iot_challenge [2017/05/17 15:52] – [3. Backend] samer
Line 5: Line 5:
 ===== -. What is a LoRaWAN Platform? ===== ===== -. What is a LoRaWAN Platform? =====
  
-In this challenge, you will benefit from the first experimental platform implementing an end-to-end LoRaWAN solution in Lebanon. The platform consists of the following elements:+During this challenge, you will benefit from the first experimental platform implementing an end-to-end LoRaWAN solution in Lebanon. The platform consists of the following elements:
  
   * Devices that communicate to one or more gateways via a wireless interface using single hop LoRa and implementing the LoRaWAN protocol. These devices are physically connected to sensors that generate data.    * Devices that communicate to one or more gateways via a wireless interface using single hop LoRa and implementing the LoRaWAN protocol. These devices are physically connected to sensors that generate data. 
Line 14: Line 14:
 [{{ :lora-pilot-architecture.png?direct&650 | Figure 1. Architecture of the LoRaWAN Platform}}] [{{ :lora-pilot-architecture.png?direct&650 | Figure 1. Architecture of the LoRaWAN Platform}}]
  
-<WRAP center help 100%> +<WRAP left help 100%> 
-  * Illustrate the protocol tacks on the LoRaWAN platform. +  * Where is the LoRa modulation implemented on the platform? 
-  * LoRa +  * What are the advantages of the LoRa modulation? 
-  * LoRaWAN +  * How LoRa is compatible with LPWAN requirements and constraints? 
-  * UDP+  * What is LoRaWAN? What is the difference between LoRaWAN and LoRa? 
 +  * Where is LoRaWAN implemented in the platform? 
 +  * Where does the IP layer start in the platform? Comment your answer considering the trends in IoT.  
 +  * Illustrate the protocol stacks on the LoRaWAN platform.
 </WRAP> </WRAP>
 +===== -. Devices =====
  
 +Devices in the LoRaWAN platform are implemented on Arduino boards with Dragino shields. The combined module as well as the basic configuration steps are presented in [[simple_lora_prototype|Simple Prototype of LoRa Communications]]. 
  
-===== -Devices =====+Start by verifying the installation on your PC of the latest Arduino IDE and place the Arduino LMIC library in the corresponding folder
  
-In orde to program the LoRaWAN devices, you should verify the installation one your PC of the following software:+<WRAP left round help 100%> 
 +  * Give the characteristics of the Arduino you are using: number of pins, type of pins, memory sizes, etc. 
 +  * Give the main characteristics of the LoRa shield from Dragino (www.dragino.com). 
 +  * What type of Antenna are you using? Explain the corresponding characteristics.  
 +</WRAP>
  
-  * Arduino IDE 
-  * LMIC Library 
  
-Devices in the LoRaWAN platform are implemented on Arduino boards with Dragino shields. The combined module as well as the basic configuration steps are presented in [[simple_lora_prototype|Simple Prototype of LoRa Communications]]. You can download the following sketch {{ :test-loraserver-comb-loraserver-dragino.zip |}} and modify it according to your preferences. Below you can find somme commented extracts of the sketch.+Download the example sketch, open it with Arduino IDE and compile it. 
 +  
 +You can download the following sketch {{ :test-loraserver-comb-loraserver-dragino.zip |}} and modify it according to your preferences. Below you can find somme commented extracts of the sketch.
  
 +Verify that you have the latest Arduino IDE from https://www.arduino.cc/en/Main/Software on your computer.
 +Install the board files as noted in http://support.sodaq.com/sodaq-one/autonomо/getting-started-autonomo/.
 +Add the following library sodaq_rn2483_2.zip to your Arduino IDE as explained in https://www.arduino.cc/en/guide/libraries.
 +
 +In order to program the LoRaWAN devices, you should verify the installation one your PC of the following software:
 +
 +  * Arduino IDE
 +  * LMIC Library
 +  * 
 The pin mapping corresponds to the Dragino electronic schematic: The pin mapping corresponds to the Dragino electronic schematic:
 <code c++> <code c++>
Line 75: Line 93:
   * Security   * Security
 </WRAP> </WRAP>
- 
- 
 ===== -. Backend ===== ===== -. Backend =====
-The Loraserver has a web interface for configuring the applications and devices on the platform. Full details for installing the software are provided on [[https://www.loraserver.io]]+The Loraserver has a web interface for configuring the applications and devices on the platform.
  
 [{{ :app-loraserver.png?direct&400 | Figure 5. Loraserver web interface}}] [{{ :app-loraserver.png?direct&400 | Figure 5. Loraserver web interface}}]
  
-Start by creating and application as in Figure 5. Then create a node in this application and provide the following information: +Go to the application named ''NTRE-1617''. Then create a node by providing the following information: 
-  * A unique node name+  * A unique node name: ''NTRE-GX''
   * The node description   * The node description
   * A unique device EUI on 64 bits: Random identifiers can be generated on [[https://www.random.org/bytes/]]   * A unique device EUI on 64 bits: Random identifiers can be generated on [[https://www.random.org/bytes/]]
-  * The application EUI on 64 bits: this can be a common identifier for all nodes using the same application+  * The application EUI on 64 bits: ''0badde1cafe2deca''
-  * A unique application key on 128 bits+  * A unique application key on 128 bits also obtained by random generation.
  
-In order to enable OTAA join methodyou have to make sure that the ''ABP activation'' button is unchecked+Go to advanced network settingsand choose the receive window RX2.
  
 +In order to enable OTAA join method, you have to make sure that the ''ABP activation'' button is unchecked. 
 ===== -. Applications ===== ===== -. Applications =====
 ==== -. mqtt-spy ==== ==== -. mqtt-spy ====
esib_iot_challenge.txt · Last modified: 2021/08/28 09:53 by samer