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 09:17] – [2.1. Autonomo with LoRaBee] sameresib_iot_challenge [2017/05/17 10:24] – [2.2. Arduino with Dragino Shield] samer
Line 15: Line 15:
  
 ===== -. Devices ===== ===== -. Devices =====
 +
 +==== -. PC Configuration ====
 +In orde to program the LoRaWAN devices, you should verify the installation one your PC of the following software:
 +
 +  * Arduino IDE
 +  * LMIC Library
  
 ==== -. Arduino with Dragino Shield ==== ==== -. Arduino with Dragino Shield ====
-=== -. Periodic Message Sending === 
  
-Devices in the LoRaWAN platform can also be 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]]. Similarly to the Autonomo device, 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.+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.
  
 The pin mapping corresponds to the Dragino electronic schematic: The pin mapping corresponds to the Dragino electronic schematic:
Line 51: Line 56:
 </code> </code>
  
-The message containing the sensor values is transmitted on one of the radio channels (as in the Autonomo case):+The message containing the sensor values is transmitted on one of the radio channels:
 <code c++> <code c++>
 LMIC_setTxData2(1, (uint8_t*) buffer, message.length() , 0); LMIC_setTxData2(1, (uint8_t*) buffer, message.length() , 0);
-</code> 
- 
-The adaptive data rate is not supported, and the spreading factor is configured as follows:  
-<code c++> 
-LMIC_setDrTxpow(DR_SF7,14); 
 </code> </code>
  
esib_iot_challenge.txt · Last modified: 2021/08/28 09:53 by samer