wikiroute

networking recipes

User Tools

Site Tools


exploring_lorawan

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_lorawan [2017/11/24 14:33] – [IoTLabs: Exploring LoRaWAN] samerexploring_lorawan [2017/11/24 20:16] – [4. Applications] samer
Line 5: Line 5:
 ===== -. Platform ===== ===== -. Platform =====
  
-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:+During this lab, 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 15: Line 15:
  
 <WRAP center round help 100%> <WRAP center round help 100%>
-  * Where is the LoRa modulation implemented on the platform? 
-  * What are the advantages of the LoRa modulation? 
-  * How LoRa is compatible with LPWAN requirements and constraints? 
   * What is LoRaWAN? What is the difference between LoRaWAN and LoRa?   * What is LoRaWAN? What is the difference between LoRaWAN and LoRa?
   * Illustrate the protocol stacks on the LoRaWAN platform.   * Illustrate the protocol stacks on the LoRaWAN platform.
Line 27: Line 24:
 [{{ :app-loraserver.png?direct&600 | Figure 2. Loraserver web interface}}] [{{ :app-loraserver.png?direct&600 | Figure 2. Loraserver web interface}}]
  
-Start by choosing the application named ''NTRE-1617'' to create a new node. You should provide the following information: +Start by choosing the application named ''RCTE-1718'' to create a new node. You should provide the following information: 
-  * A unique node name: ''NTRE-GX'' (where ''X'' is your group number)+  * A unique node name: ''RCTE-GX'' (where ''X'' is your group number)
   * 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/]]
Line 44: Line 41:
 ===== -. Devices ===== ===== -. 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 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 [[exploring_lora|Exploring LoRa lab]]. 
  
-Start by verifying the installation on your PC of the latest Arduino IDE. Drop the Arduino LMIC library in the corresponding folder. These tools are provided at the beginning of the challengeOpen the example sketch ''example-code-ntre-iot-challenge.ino'' with Arduino IDE. +Start by verifying the installation on your PC of the latest Arduino IDE. Unzip the Arduino {{ :arduino-lmic-master.zip |LMIC library}} and copy it to your sketchbook library folder as detailed in [[https://www.arduino.cc/en/Guide/Libraries]]. Then, download and open the example sketch {{ :example-code-rcte-iot-lab.zip |example-code-rcte-iot-lab.ino}} with Arduino IDE.
- +
-<WRAP left round help 100%> +
-  * Give the characteristics of the Arduino you are using: model, 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>+
  
 Now you should configure your device with the same identifiers ''APPEUI'', ''DEVEUI'', and ''APPKEY'' as in the backend: Now you should configure your device with the same identifiers ''APPEUI'', ''DEVEUI'', and ''APPKEY'' as in the backend:
Line 140: Line 131:
 } }
 </code> </code>
 +
 +<WRAP left round tip 100%>
 +The payload sent by the MQTT client must be encoded in Base64.
 +</WRAP>
 ===== -. Day One Challenges ===== ===== -. Day One Challenges =====
  
Line 159: Line 154:
 ==== -. The Sensor Challenge ==== ==== -. The Sensor Challenge ====
 I can use different sensors to send data from the device: PIR, moisture, temperature, light, etc.  I can use different sensors to send data from the device: PIR, moisture, temperature, light, etc. 
- 
-===== -. Day Two Challenges ===== 
- 
-==== -. The Wind Rises ==== 
- 
-This is a mandatory challenge. It consists of using [[https://nodered.org|Node-RED]] to receive data from the sensors (via MQTT) and send it to [[https://emoncms.org|emoncms]] for visualization. 
- 
-^ Provided material ^ 
-| VM with Node-RED installed |     
-| Node-RED example flow | 
-| [[https://emoncms.org/dashboard/view&id=37655|Dashboard example]] | 
- 
-^ Required skills ^ 
-| Basic javascript |     
-| GUI configuration | 
-| Two drops of IoT design | 
-==== -. Nausicaa Challenge ==== 
- 
-You have to take control on the devices. Use some scripting to send commands or tune some parameters on the devices. 
- 
-^ Required skills ^ 
-| Basic scripting (for example python) | 
-| Basic electronics | 
-| Two drops of IoT autocracy | 
- 
-==== -. Totoro Challenge ==== 
- 
-You have to store the sensor data in a database. Use Node-RED to inject data in a (influx) database. 
- 
-^ Required skills ^ 
-| Basic database | 
-| Two drops of IoT resilience | 
- 
-==== -. Kiki Challenge ==== 
- 
-You have to implement a radio coverage test on the campus.  
- 
-^ Required skills ^ 
-| Basic scripting |  
-| Two drops of IoT ubiquity |  
-==== -. Mononoke Challenge ==== 
- 
-You have to implement a chat bot designed for working with Google Hangouts. The bot answers requests and reveals sensors data. 
  
  
-^ Required skills ^ 
-| Basic scripting with python |  
-| Two drops of IoT robot attitude |  
exploring_lorawan.txt · Last modified: 2021/11/02 06:31 by samer