wikiroute

networking recipes

User Tools

Site Tools


deploying_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
deploying_lorawan [2017/04/29 18:04] – [1.1. Autonomo with LoRaBee] samerdeploying_lorawan [2017/04/30 11:59] samer
Line 16: Line 16:
     - Add the following library {{ :sodaq_rn2483_2.zip |}} to your Arduino IDE as explained in [[https://www.arduino.cc/en/guide/libraries]].     - Add the following library {{ :sodaq_rn2483_2.zip |}} to your Arduino IDE as explained in [[https://www.arduino.cc/en/guide/libraries]].
  
-Now you are ready to write a sketch for the device.+Now you are ready to write a sketch for the device. Here is one example sketch {{ :test-lorawan-combined-loraserver-example.zip |}} where the autonomo is connected to three sensors: light, moisture, and temperature. Let us analyse some extracts of the code: 
 + 
 +<code c++> 
 +// USE YOUR OWN KEYS! 
 +const uint8_t devEUI[8] = 
 +{ }; 
 + 
 +// USE YOUR OWN KEYS! 
 +const uint8_t appEUI[8] = 
 +{ }; 
 + 
 +const uint8_t appKey[16] = 
 +{ }; 
 +</code> 
 + 
 + a light sensor on pin A0, A2 (moisture sensor), and D0 (temperature sensor). 
 +  * OTA join method 
 +  * Frequency channels 
 +  * Message sending 
 + 
 ==== -. Arduino with Dragino Shield ==== ==== -. Arduino with Dragino Shield ====
  
deploying_lorawan.txt · Last modified: 2021/08/28 09:50 by samer