deploying_lorawan
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
deploying_lorawan [2017/04/30 14:37] – [1.1. Autonomo with LoRaBee] samer | deploying_lorawan [2017/04/30 14:43] – [1.2. Arduino with Dragino Shield] samer | ||
---|---|---|---|
Line 65: | Line 65: | ||
==== -. Arduino with Dragino Shield ==== | ==== -. Arduino with Dragino Shield ==== | ||
- | Devices in the LoRaWAN platform can also be used 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]]. As for the Autonomo device, you can download the following sketch {{ : | + | Devices in the LoRaWAN platform can also be implemented |
- | Do not forget | + | The pin mapping corresponds |
<code c++> | <code c++> | ||
const lmic_pinmap lmic_pins = { | const lmic_pinmap lmic_pins = { | ||
Line 77: | Line 77: | ||
</ | </ | ||
- | The send function is called upon after each transmission complete event: | + | The send function is rescheduled TX_INTERVAL seconds |
<code c++> | <code c++> | ||
case EV_TXCOMPLETE: | case EV_TXCOMPLETE: | ||
Line 92: | Line 92: | ||
</ | </ | ||
- | This is explicitly the send function | + | This send function |
<code c++> | <code c++> | ||
LMIC_setTxData2(1, | LMIC_setTxData2(1, | ||
</ | </ | ||
- | You can modify the spreading factor here (Adaptive | + | The adaptive |
<code c++> | <code c++> | ||
LMIC_setDrTxpow(DR_SF7, | LMIC_setDrTxpow(DR_SF7, | ||
</ | </ | ||
- | Schedule the send function: | + | The send function |
<code c++> | <code c++> | ||
do_send(& | do_send(& |
deploying_lorawan.txt · Last modified: 2021/08/28 09:50 by samer