<
From version < 77.80 >
edited by Xiaoling
on 2022/06/10 09:25
To version < 77.110 >
edited by Xiaoling
on 2022/06/10 09:36
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -162,6 +162,9 @@
162 162  
163 163  )))
164 164  
165 +
166 +
167 +
165 165  == 1.3 Features ==
166 166  
167 167  * LoRaWAN Class A & Class C protocol
... ... @@ -172,6 +172,9 @@
172 172  * Firmware upgradable via program port
173 173  * Counting
174 174  
178 +
179 +
180 +
175 175  == 1.4  Applications ==
176 176  
177 177  * Smart Buildings & Home Automation
... ... @@ -181,6 +181,9 @@
181 181  * Smart Cities
182 182  * Smart Factory
183 183  
190 +
191 +
192 +
184 184  == 1.5 Hardware Variants ==
185 185  
186 186  (% border="1" style="background-color:#f7faff; width:500px" %)
... ... @@ -194,6 +194,8 @@
194 194  * 1 x Counting Port
195 195  )))
196 196  
206 +
207 +
197 197  = 2. Power ON Device =
198 198  
199 199  The LT controller can be powered by 7 ~~ 24V DC power source. Connect VIN to Power Input V+ and GND to power input V- to power the LT controller.
... ... @@ -216,12 +216,9 @@
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 -
221 221  )))
222 222  
223 223  
224 -
225 225  == 3.2 Example to join LoRaWAN network ==
226 226  
227 227  (((
... ... @@ -230,12 +230,13 @@
230 230  
231 231  [[image:image-20220523172350-1.png||height="266" width="864"]]
232 232  
241 +
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 -**Step 1**: Create a device in TTN with the OTAA keys from LT IO controller.
247 +(% style="color:blue" %)**Step 1**(%%): Create a device in TTN with the OTAA keys from LT IO controller.
239 239  )))
240 240  
241 241  (((
... ... @@ -244,6 +244,7 @@
244 244  
245 245  [[image:1653297924498-393.png]]
246 246  
256 +
247 247  Input these keys in the LoRaWAN Server portal. Below is TTN screen shot:
248 248  
249 249  Add APP EUI in the application.
... ... @@ -257,7 +257,7 @@
257 257  
258 258  
259 259  (((
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.
270 +(% 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.
261 261  )))
262 262  
263 263  [[image:1653298044601-602.png||height="405" width="709"]]
... ... @@ -275,6 +275,8 @@
275 275  * **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO
276 276  * **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5
277 277  
288 +
289 +
278 278  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
279 279  
280 280  The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default.
... ... @@ -282,6 +282,8 @@
282 282  [[image:image-20220523174024-3.png]]
283 283  
284 284  (((
297 +
298 +
285 285  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
286 286  )))
287 287  
... ... @@ -295,6 +295,7 @@
295 295  
296 296  For example if payload is: [[image:image-20220523175847-2.png]]
297 297  
312 +
298 298  **The value for the interface is:  **
299 299  
300 300  AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V
... ... @@ -310,6 +310,7 @@
310 310  * [1] RO1 relay channel is close and the RO1 LED is ON.
311 311  * [0] RO2 relay channel is open and RO2 LED is OFF;
312 312  
328 +
313 313  **LT22222-L:**
314 314  
315 315  * [1] DI2 channel is high input and DI2 LED is ON;
... ... @@ -325,8 +325,11 @@
325 325  ** DO1 is high in case there is load between DO1 and V+.
326 326  ** DO1 LED is off in both case
327 327  
344 +
345 +
328 328  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
329 329  
348 +
330 330  **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins.
331 331  
332 332  (((
... ... @@ -335,6 +335,7 @@
335 335  
336 336  [[image:image-20220523180452-3.png]]
337 337  
357 +
338 338  (((
339 339  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below
340 340  )))
... ... @@ -350,6 +350,8 @@
350 350  )))
351 351  
352 352  (((
373 +
374 +
353 353  **To use counting mode, please run:**
354 354  )))
355 355  
... ... @@ -368,6 +368,8 @@
368 368  )))
369 369  
370 370  (((
393 +
394 +
371 371  (% style="color:#4f81bd" %)**AT Commands for counting:**
372 372  )))
373 373  
... ... @@ -464,9 +464,9 @@
464 464  )))
465 465  
466 466  
467 -
468 468  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
469 469  
493 +
470 470  **LT22222-L**: This mode the DI1 is used as a counting pin.
471 471  
472 472  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.
... ... @@ -473,6 +473,7 @@
473 473  
474 474  [[image:image-20220523181903-8.png]]
475 475  
500 +
476 476  (((
477 477  (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
478 478  )))
... ... @@ -553,6 +553,7 @@
553 553  
554 554  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
555 555  
581 +
556 556  **LT22222-L**: This mode the DI1 is used as a counting pin.
557 557  
558 558  [[image:image-20220523182334-9.png]]
... ... @@ -601,6 +601,7 @@
601 601  
602 602  === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
603 603  
630 +
604 604  (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.**
605 605  
606 606  For example, if user has configured below commands:
... ... @@ -608,7 +608,6 @@
608 608  * **AT+MOD=1 ** **~-~->** The normal working mode
609 609  * **AT+ADDMOD6=1**   **~-~->** Enable trigger
610 610  
611 -
612 612  LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases:
613 613  
614 614  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
... ... @@ -628,6 +628,7 @@
628 628  AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
629 629  
630 630  
657 +
631 631  (% style="color:#4f81bd" %)**Trigger base on current**:
632 632  
633 633  Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH>
... ... @@ -637,6 +637,7 @@
637 637  AT+ACLIM=10000,15000,0,0   (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink)
638 638  
639 639  
667 +
640 640  (% style="color:#4f81bd" %)**Trigger base on DI status**:
641 641  
642 642  DI status trigger Flag.
... ... @@ -643,12 +643,13 @@
643 643  
644 644  Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >
645 645  
674 +
646 646  **Example:**
647 647  
648 648  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
649 649  
650 650  
651 -**Downlink Command to set Trigger Condition**
680 +**Downlink Command to set Trigger Condition:**
652 652  
653 653  Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM**
654 654  
... ... @@ -677,6 +677,7 @@
677 677  Same as AT+ DTRI =1,0  (Enable DI1 trigger / disable DI2 trigger)
678 678  
679 679  
709 +
680 680  (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:**
681 681  
682 682  MOD6 Payload : total 11 bytes payload
... ... @@ -735,6 +735,8 @@
735 735  === 3.3.7 Payload Decoder ===
736 736  
737 737  (((
768 +
769 +
738 738  **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/]]
739 739  
740 740  
... ... @@ -755,7 +755,6 @@
755 755  * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
756 756  
757 757  
758 -
759 759  === 3.4.1 Common Commands ===
760 760  
761 761  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