<
From version < 77.107 >
edited by Xiaoling
on 2022/06/10 09:35
To version < 77.82 >
edited by Xiaoling
on 2022/06/10 09:26
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -216,9 +216,12 @@
216 216  
217 217  (((
218 218  In case user can’t set the OTAA keys in the network server and has to use the existing keys from server. User can [[use AT Command>>||anchor="H4.UseATCommand"]] to set the keys in the devices.
219 +
220 +
219 219  )))
220 220  
221 221  
224 +
222 222  == 3.2 Example to join LoRaWAN network ==
223 223  
224 224  (((
... ... @@ -227,13 +227,12 @@
227 227  
228 228  [[image:image-20220523172350-1.png||height="266" width="864"]]
229 229  
230 -
231 231  (((
232 232  The LG308 is already set to connect to [[TTN network >>url:https://www.thethingsnetwork.org/]]. So what we need to do now is only configure register this device to TTN:
233 233  )))
234 234  
235 235  (((
236 -(% style="color:blue" %)**Step 1**(%%): Create a device in TTN with the OTAA keys from LT IO controller.
238 +**Step 1**: Create a device in TTN with the OTAA keys from LT IO controller.
237 237  )))
238 238  
239 239  (((
... ... @@ -242,7 +242,6 @@
242 242  
243 243  [[image:1653297924498-393.png]]
244 244  
245 -
246 246  Input these keys in the LoRaWAN Server portal. Below is TTN screen shot:
247 247  
248 248  Add APP EUI in the application.
... ... @@ -256,7 +256,7 @@
256 256  
257 257  
258 258  (((
259 -(% style="color:blue" %)**Step 2**(%%): Power on LT and it will auto join to the TTN network. After join success, it will start to upload message to TTN and user can see in the panel.
260 +**Step 2**: Power on LT and it will auto join to the TTN network. After join success, it will start to upload message to TTN and user can see in the panel.
260 260  )))
261 261  
262 262  [[image:1653298044601-602.png||height="405" width="709"]]
... ... @@ -274,8 +274,6 @@
274 274  * **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO
275 275  * **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5
276 276  
277 -
278 -
279 279  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
280 280  
281 281  The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default.
... ... @@ -283,8 +283,6 @@
283 283  [[image:image-20220523174024-3.png]]
284 284  
285 285  (((
286 -
287 -
288 288  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
289 289  )))
290 290  
... ... @@ -298,7 +298,6 @@
298 298  
299 299  For example if payload is: [[image:image-20220523175847-2.png]]
300 300  
301 -
302 302  **The value for the interface is:  **
303 303  
304 304  AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V
... ... @@ -314,7 +314,6 @@
314 314  * [1] RO1 relay channel is close and the RO1 LED is ON.
315 315  * [0] RO2 relay channel is open and RO2 LED is OFF;
316 316  
317 -
318 318  **LT22222-L:**
319 319  
320 320  * [1] DI2 channel is high input and DI2 LED is ON;
... ... @@ -330,11 +330,8 @@
330 330  ** DO1 is high in case there is load between DO1 and V+.
331 331  ** DO1 LED is off in both case
332 332  
333 -
334 -
335 335  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
336 336  
337 -
338 338  **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins.
339 339  
340 340  (((
... ... @@ -343,7 +343,6 @@
343 343  
344 344  [[image:image-20220523180452-3.png]]
345 345  
346 -
347 347  (((
348 348  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below
349 349  )))
... ... @@ -359,8 +359,6 @@
359 359  )))
360 360  
361 361  (((
362 -
363 -
364 364  **To use counting mode, please run:**
365 365  )))
366 366  
... ... @@ -379,8 +379,6 @@
379 379  )))
380 380  
381 381  (((
382 -
383 -
384 384  (% style="color:#4f81bd" %)**AT Commands for counting:**
385 385  )))
386 386  
... ... @@ -477,6 +477,7 @@
477 477  )))
478 478  
479 479  
467 +
480 480  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
481 481  
482 482  
... ... @@ -616,7 +616,6 @@
616 616  
617 617  === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
618 618  
619 -
620 620  (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.**
621 621  
622 622  For example, if user has configured below commands:
... ... @@ -624,6 +624,7 @@
624 624  * **AT+MOD=1 ** **~-~->** The normal working mode
625 625  * **AT+ADDMOD6=1**   **~-~->** Enable trigger
626 626  
614 +
627 627  LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases:
628 628  
629 629  1. Periodically uplink (Base on TDC time). Payload is same as the normal MOD (MOD 1 for above command). This uplink uses LoRaWAN (% style="color:#4f81bd" %)**unconfirmed**(%%) data type
... ... @@ -643,7 +643,6 @@
643 643  AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
644 644  
645 645  
646 -
647 647  (% style="color:#4f81bd" %)**Trigger base on current**:
648 648  
649 649  Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH>
... ... @@ -653,7 +653,6 @@
653 653  AT+ACLIM=10000,15000,0,0   (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink)
654 654  
655 655  
656 -
657 657  (% style="color:#4f81bd" %)**Trigger base on DI status**:
658 658  
659 659  DI status trigger Flag.
... ... @@ -660,13 +660,12 @@
660 660  
661 661  Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >
662 662  
663 -
664 664  **Example:**
665 665  
666 666  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
667 667  
668 668  
669 -**Downlink Command to set Trigger Condition:**
654 +**Downlink Command to set Trigger Condition**
670 670  
671 671  Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM**
672 672  
... ... @@ -695,7 +695,6 @@
695 695  Same as AT+ DTRI =1,0  (Enable DI1 trigger / disable DI2 trigger)
696 696  
697 697  
698 -
699 699  (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:**
700 700  
701 701  MOD6 Payload : total 11 bytes payload
... ... @@ -754,8 +754,6 @@
754 754  === 3.3.7 Payload Decoder ===
755 755  
756 756  (((
757 -
758 -
759 759  **Decoder for TTN/loraserver/ChirpStack**: [[http:~~/~~/www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/Payload_decoder/>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/Payload_decoder/]]
760 760  
761 761  
... ... @@ -776,6 +776,7 @@
776 776  * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
777 777  
778 778  
761 +
779 779  === 3.4.1 Common Commands ===
780 780  
781 781  They should be available for each of Dragino Sensors, such as: change uplink interval, reset device. For firmware v1.5.4, user can find what common commands it supports: [[End Device AT Commands and Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]]
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0