Changes for page DMT01

Last modified by Mengting Qiu on 2025/08/11 18:25

From version 31.1
edited by Mengting Qiu
on 2025/08/04 16:53
Change comment: There is no comment for this version
To version 30.2
edited by Mengting Qiu
on 2025/08/04 16:51
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -189,88 +189,13 @@
189 189  )))
190 190  
191 191  
192 -== 2.2  How it works? ==
193 193  
194 -(((
195 -(((
196 -
197 -)))
198 198  
199 -The LTC2-LB is configured as (% style="color:#037691" %)**LoRaWAN OTAA Class A**(%%) mode by default. It has OTAA keys to join LoRaWAN network. To connect a local LoRaWAN network, you need to input the OTAA keys in the LoRaWAN IoT server and press the button to activate the LTC2-LB. It will automatically join the network via OTAA and start to send the sensor value. The default uplink interval is **20 minutes**.
200 200  
201 -(((
202 -On each uplink, LTC2-LB will check its two ADC Interfaces and get the temperature from the sensor and send out to server.
203 -)))
204 -)))
205 205  
206 206  
207 -== 2.3 ​Quick guide to connect to LoRaWAN server (OTAA) ==
208 208  
209 209  
210 -Following is an example for how to join the [[TTN v3 LoRaWAN Network>>url:https://console.cloud.thethings.network/]]. Below is the network structure; we use the [[LPS8v2>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/228-lps8v2.html]] as a LoRaWAN gateway in this example.
211 -
212 -The LPS8V2 is already set to connected to [[TTN network >>url:https://console.cloud.thethings.network/]], so what we need to now is configure the TTN server.
213 -
214 -[[image:image-20240905150538-1.png||height="275" width="730"]]
215 -
216 -
217 -(% style="color:blue" %)**Step 1:**(%%) Create a device in TTN with the OTAA keys from LTC2-LB.
218 -
219 -Each LTC2-LB is shipped with a sticker with the default device EUI as below:
220 -
221 -[[image:image-20250328135423-1.jpeg||height="192" width="413"]](% style="display:none" %)
222 -
223 -You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot:(% style="display:none" %)
224 -
225 -(% style="color:blue" %)**Create the application.**
226 -
227 -[[image:image-20240907111048-1.png||height="183" width="1001"]]
228 -
229 -[[image:image-20240907111305-2.png||height="572" width="1000"]]
230 -
231 -(% style="color:blue" %)**Add devices to the created Application.**
232 -
233 -[[image:image-20240907111659-3.png||height="185" width="977"]]
234 -
235 -[[image:image-20240907111820-5.png||height="377" width="975"]]
236 -
237 -(% style="color:blue" %)**Enter end device specifics manually.**
238 -
239 -[[image:image-20240907112136-6.png||height="687" width="697"]]
240 -
241 -(% style="color:blue" %)**Add DevEUI and AppKey.**
242 -
243 -(% style="color:blue" %)**Customize a platform ID for the device.**
244 -
245 -[[image:image-20240907112427-7.png]]
246 -
247 -
248 -(% style="color:blue" %)**Step 2: **(%%)Add decoder
249 -
250 -In TTN, user can add a custom payload so it shows friendly reading.
251 -
252 -Click this link to get the decoder: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder/tree/main/>>url:https://github.com/dragino/dragino-end-node-decoder/tree/main/]]
253 -
254 -Below is TTN screen shot:
255 -
256 -[[image:image-20240907113746-8.png||height="567" width="1166"]]
257 -
258 -[[image:image-20240907115849-10.png||height="615" width="1038"]]
259 -
260 -(% style="color:blue" %)**Step 3:**(%%) Activate on LTC2-LB
261 -
262 -Press the button for 5 seconds to activate the LTC2-LB.
263 -
264 -(% style="color:green" %)**Green led**(%%) will fast blink 5 times, device will enter (% style="color:blue" %)**OTA mode**(%%) for 3 seconds. And then start to JOIN LoRaWAN network. (% style="color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after joined in network.
265 -
266 -After join success, it will start to upload messages to TTN and you can see the messages in the panel.
267 -
268 -
269 -
270 -
271 -
272 -
273 -
274 274  == 2.3 LoRaWAN Payload ==
275 275  
276 276