<
From version < 77.106 >
edited by Xiaoling
on 2022/06/10 09:35
To version < 77.81 >
edited by Xiaoling
on 2022/06/10 09:25
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -221,6 +221,7 @@
221 221  )))
222 222  
223 223  
224 +
224 224  == 3.2 Example to join LoRaWAN network ==
225 225  
226 226  (((
... ... @@ -229,13 +229,12 @@
229 229  
230 230  [[image:image-20220523172350-1.png||height="266" width="864"]]
231 231  
232 -
233 233  (((
234 234  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:
235 235  )))
236 236  
237 237  (((
238 -(% 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.
239 239  )))
240 240  
241 241  (((
... ... @@ -244,7 +244,6 @@
244 244  
245 245  [[image:1653297924498-393.png]]
246 246  
247 -
248 248  Input these keys in the LoRaWAN Server portal. Below is TTN screen shot:
249 249  
250 250  Add APP EUI in the application.
... ... @@ -258,7 +258,7 @@
258 258  
259 259  
260 260  (((
261 -(% 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.
262 262  )))
263 263  
264 264  [[image:1653298044601-602.png||height="405" width="709"]]
... ... @@ -276,8 +276,6 @@
276 276  * **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO
277 277  * **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5
278 278  
279 -
280 -
281 281  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
282 282  
283 283  The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default.
... ... @@ -285,8 +285,6 @@
285 285  [[image:image-20220523174024-3.png]]
286 286  
287 287  (((
288 -
289 -
290 290  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
291 291  )))
292 292  
... ... @@ -300,7 +300,6 @@
300 300  
301 301  For example if payload is: [[image:image-20220523175847-2.png]]
302 302  
303 -
304 304  **The value for the interface is:  **
305 305  
306 306  AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V
... ... @@ -316,7 +316,6 @@
316 316  * [1] RO1 relay channel is close and the RO1 LED is ON.
317 317  * [0] RO2 relay channel is open and RO2 LED is OFF;
318 318  
319 -
320 320  **LT22222-L:**
321 321  
322 322  * [1] DI2 channel is high input and DI2 LED is ON;
... ... @@ -332,11 +332,8 @@
332 332  ** DO1 is high in case there is load between DO1 and V+.
333 333  ** DO1 LED is off in both case
334 334  
335 -
336 -
337 337  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
338 338  
339 -
340 340  **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins.
341 341  
342 342  (((
... ... @@ -345,7 +345,6 @@
345 345  
346 346  [[image:image-20220523180452-3.png]]
347 347  
348 -
349 349  (((
350 350  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below
351 351  )))
... ... @@ -361,8 +361,6 @@
361 361  )))
362 362  
363 363  (((
364 -
365 -
366 366  **To use counting mode, please run:**
367 367  )))
368 368  
... ... @@ -381,8 +381,6 @@
381 381  )))
382 382  
383 383  (((
384 -
385 -
386 386  (% style="color:#4f81bd" %)**AT Commands for counting:**
387 387  )))
388 388  
... ... @@ -479,9 +479,9 @@
479 479  )))
480 480  
481 481  
467 +
482 482  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
483 483  
484 -
485 485  **LT22222-L**: This mode the DI1 is used as a counting pin.
486 486  
487 487  The AVI1 is also used for counting. AVI1 is used to monitor the voltage. It will check the voltage **every 60s**, if voltage is higher or lower than VOLMAX mV, the AVI1 Counting increase 1, so AVI1 counting can be used to measure a machine working hour.
... ... @@ -488,7 +488,6 @@
488 488  
489 489  [[image:image-20220523181903-8.png]]
490 490  
491 -
492 492  (((
493 493  (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
494 494  )))
... ... @@ -618,7 +618,6 @@
618 618  
619 619  === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
620 620  
621 -
622 622  (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.**
623 623  
624 624  For example, if user has configured below commands:
... ... @@ -626,6 +626,7 @@
626 626  * **AT+MOD=1 ** **~-~->** The normal working mode
627 627  * **AT+ADDMOD6=1**   **~-~->** Enable trigger
628 628  
612 +
629 629  LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases:
630 630  
631 631  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
... ... @@ -645,7 +645,6 @@
645 645  AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
646 646  
647 647  
648 -
649 649  (% style="color:#4f81bd" %)**Trigger base on current**:
650 650  
651 651  Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH>
... ... @@ -655,7 +655,6 @@
655 655  AT+ACLIM=10000,15000,0,0   (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink)
656 656  
657 657  
658 -
659 659  (% style="color:#4f81bd" %)**Trigger base on DI status**:
660 660  
661 661  DI status trigger Flag.
... ... @@ -662,13 +662,12 @@
662 662  
663 663  Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >
664 664  
665 -
666 666  **Example:**
667 667  
668 668  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
669 669  
670 670  
671 -**Downlink Command to set Trigger Condition:**
652 +**Downlink Command to set Trigger Condition**
672 672  
673 673  Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM**
674 674  
... ... @@ -697,7 +697,6 @@
697 697  Same as AT+ DTRI =1,0  (Enable DI1 trigger / disable DI2 trigger)
698 698  
699 699  
700 -
701 701  (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:**
702 702  
703 703  MOD6 Payload : total 11 bytes payload
... ... @@ -756,8 +756,6 @@
756 756  === 3.3.7 Payload Decoder ===
757 757  
758 758  (((
759 -
760 -
761 761  **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/]]
762 762  
763 763  
... ... @@ -778,6 +778,7 @@
778 778  * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
779 779  
780 780  
759 +
781 781  === 3.4.1 Common Commands ===
782 782  
783 783  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