<
From version < 66.19 >
edited by Xiaoling
on 2022/05/24 13:51
To version < 68.19 >
edited by Xiaoling
on 2022/05/25 15:28
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -41,48 +41,122 @@
41 41  
42 42  (((
43 43  [[image:1653295757274-912.png]]
44 +
45 +
44 44  )))
45 45  
46 46  == 1.2  Specifications ==
47 47  
50 +(((
48 48  **Hardware System:**
52 +)))
49 49  
50 -* STM32L072CZT6 MCU
51 -* SX1276/78 Wireless Chip 
52 -* Power Consumption:
53 -** Idle: 4mA@12v
54 -** 20dB Transmit: 34mA@12v
54 +* (((
55 +STM32L072CZT6 MCU
56 +)))
57 +* (((
58 +SX1276/78 Wireless Chip 
59 +)))
60 +* (((
61 +(((
62 +Power Consumption:
63 +)))
55 55  
65 +* (((
66 +Idle: 4mA@12v
67 +)))
68 +* (((
69 +20dB Transmit: 34mA@12v
70 +)))
71 +)))
72 +
73 +(((
56 56  **Interface for Model: LT22222-L:**
75 +)))
57 57  
58 -* 2 x Digital dual direction Input (Detect High/Low signal, Max: 50v, or 220v with optional external resistor)
59 -* 2 x Digital Output (NPN output. Max pull up voltage 36V,450mA)
60 -* 2 x Relay Output (5A@250VAC / 30VDC)
61 -* 2 x 0~~20mA Analog Input (res:0.01mA)
62 -* 2 x 0~~30V Analog Input (res:0.01v)
63 -* Power Input 7~~ 24V DC. 
77 +* (((
78 +2 x Digital dual direction Input (Detect High/Low signal, Max: 50v, or 220v with optional external resistor)
79 +)))
80 +* (((
81 +2 x Digital Output (NPN output. Max pull up voltage 36V,450mA)
82 +)))
83 +* (((
84 +2 x Relay Output (5A@250VAC / 30VDC)
85 +)))
86 +* (((
87 +2 x 0~~20mA Analog Input (res:0.01mA)
88 +)))
89 +* (((
90 +2 x 0~~30V Analog Input (res:0.01v)
91 +)))
92 +* (((
93 +Power Input 7~~ 24V DC. 
94 +)))
64 64  
96 +(((
65 65  **LoRa Spec:**
98 +)))
66 66  
67 -* Frequency Range:
68 -** Band 1 (HF): 862 ~~ 1020 Mhz
69 -** Band 2 (LF): 410 ~~ 528 Mhz
70 -* 168 dB maximum link budget.
71 -* +20 dBm - 100 mW constant RF output vs.
72 -* +14 dBm high efficiency PA.
73 -* Programmable bit rate up to 300 kbps.
74 -* High sensitivity: down to -148 dBm.
75 -* Bullet-proof front end: IIP3 = -12.5 dBm.
76 -* Excellent blocking immunity.
77 -* Low RX current of 10.3 mA, 200 nA register retention.
78 -* Fully integrated synthesizer with a resolution of 61 Hz.
79 -* FSK, GFSK, MSK, GMSK, LoRaTM and OOK modulation.
80 -* Built-in bit synchronizer for clock recovery.
81 -* Preamble detection.
82 -* 127 dB Dynamic Range RSSI.
83 -* Automatic RF Sense and CAD with ultra-fast AFC.
84 -* Packet engine up to 256 bytes with CRC.
100 +* (((
101 +(((
102 +Frequency Range:
103 +)))
85 85  
105 +* (((
106 +Band 1 (HF): 862 ~~ 1020 Mhz
107 +)))
108 +* (((
109 +Band 2 (LF): 410 ~~ 528 Mhz
110 +)))
111 +)))
112 +* (((
113 +168 dB maximum link budget.
114 +)))
115 +* (((
116 ++20 dBm - 100 mW constant RF output vs.
117 +)))
118 +* (((
119 ++14 dBm high efficiency PA.
120 +)))
121 +* (((
122 +Programmable bit rate up to 300 kbps.
123 +)))
124 +* (((
125 +High sensitivity: down to -148 dBm.
126 +)))
127 +* (((
128 +Bullet-proof front end: IIP3 = -12.5 dBm.
129 +)))
130 +* (((
131 +Excellent blocking immunity.
132 +)))
133 +* (((
134 +Low RX current of 10.3 mA, 200 nA register retention.
135 +)))
136 +* (((
137 +Fully integrated synthesizer with a resolution of 61 Hz.
138 +)))
139 +* (((
140 +FSK, GFSK, MSK, GMSK, LoRaTM and OOK modulation.
141 +)))
142 +* (((
143 +Built-in bit synchronizer for clock recovery.
144 +)))
145 +* (((
146 +Preamble detection.
147 +)))
148 +* (((
149 +127 dB Dynamic Range RSSI.
150 +)))
151 +* (((
152 +Automatic RF Sense and CAD with ultra-fast AFC.
153 +)))
154 +* (((
155 +Packet engine up to 256 bytes with CRC.
156 +
157 +
158 +)))
159 +
86 86  == 1.3 Features ==
87 87  
88 88  * LoRaWAN Class A & Class C protocol
... ... @@ -93,6 +93,7 @@
93 93  * Firmware upgradable via program port
94 94  * Counting
95 95  
170 +
96 96  == 1.4  Applications ==
97 97  
98 98  * Smart Buildings & Home Automation
... ... @@ -102,6 +102,7 @@
102 102  * Smart Cities
103 103  * Smart Factory
104 104  
180 +
105 105  == 1.5 Hardware Variants ==
106 106  
107 107  (% border="1" style="background-color:#f7faff; width:500px" %)
... ... @@ -115,6 +115,8 @@
115 115  * 1 x Counting Port
116 116  )))
117 117  
194 +
195 +
118 118  = 2. Power ON Device =
119 119  
120 120  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.
... ... @@ -125,21 +125,29 @@
125 125  
126 126  [[image:1653297104069-180.png]]
127 127  
206 +
128 128  = 3. Operation Mode =
129 129  
130 130  == 3.1 How it works? ==
131 131  
211 +(((
132 132  The LT is configured as LoRaWAN OTAA Class C mode by default. It has OTAA keys to join network. To connect a local LoRaWAN network, user just need to input the OTAA keys in the network server and power on the LT. It will auto join the network via OTAA. For LT-22222-L, the LED will show the Join status: After power on **TX LED** will fast blink 5 times, LT-22222-L will enter working mode and start to JOIN LoRaWAN network. **TX LED** will be on for 5 seconds after joined in network. When there is message from server, the **RX LED** will be on for 1 second. 
213 +)))
133 133  
134 -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>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H4.UseATCommand]] to set the keys in the devices.
215 +(((
216 +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.
135 135  
136 -3.2 Example to join LoRaWAN network
218 +
219 +)))
137 137  
221 +== 3.2 Example to join LoRaWAN network ==
222 +
223 +(((
138 138  This chapter shows an example for how to join the TTN LoRaWAN Network. Below is the network structure, we use our LG308 as LoRaWAN gateway here. 
225 +)))
139 139  
140 140  [[image:image-20220523172350-1.png||height="266" width="864"]]
141 141  
142 -
143 143  (((
144 144  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:
145 145  )))
... ... @@ -160,10 +160,12 @@
160 160  
161 161  [[image:1653297955910-247.png||height="321" width="716"]]
162 162  
249 +
163 163  Add APP KEY and DEV EUI
164 164  
165 165  [[image:1653298023685-319.png]]
166 166  
254 +
167 167  (((
168 168  **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.
169 169  )))
... ... @@ -170,6 +170,7 @@
170 170  
171 171  [[image:1653298044601-602.png||height="405" width="709"]]
172 172  
261 +
173 173  == 3.3 Uplink Payload ==
174 174  
175 175  There are five working modes + one interrupt mode on LT for different type application:
... ... @@ -181,6 +181,7 @@
181 181  * **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO
182 182  * **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5
183 183  
273 +
184 184  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
185 185  
186 186  The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default.
... ... @@ -216,6 +216,7 @@
216 216  * [1] RO1 relay channel is close and the RO1 LED is ON.
217 217  * [0] RO2 relay channel is open and RO2 LED is OFF;
218 218  
309 +
219 219  **LT22222-L:**
220 220  
221 221  * [1] DI2 channel is high input and DI2 LED is ON;
... ... @@ -231,11 +231,14 @@
231 231  ** DO1 is high in case there is load between DO1 and V+.
232 232  ** DO1 LED is off in both case
233 233  
325 +
234 234  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
235 235  
236 236  **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins.
237 237  
330 +(((
238 238  Total : 11 bytes payload
332 +)))
239 239  
240 240  [[image:image-20220523180452-3.png]]
241 241  
... ... @@ -249,54 +249,79 @@
249 249  * FIRST: Indicate this is the first packet after join network.
250 250  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
251 251  
346 +(((
252 252  (% style="color:red" %)Note: DO3 bit is not valid for LT-22222-L.
348 +)))
253 253  
350 +(((
254 254  **To use counting mode, please run:**
352 +)))
255 255  
256 256  (% class="box infomessage" %)
257 257  (((
356 +(((
258 258  **AT+MOD=2**
259 259  )))
359 +)))
260 260  
261 261  (% class="box infomessage" %)
262 262  (((
363 +(((
263 263  **ATZ**
264 264  )))
366 +)))
265 265  
368 +(((
266 266  (% style="color:#4f81bd" %)**AT Commands for counting:**
370 +)))
267 267  
372 +(((
268 268  **For LT22222-L:**
374 +)))
269 269  
270 270  (% class="box infomessage" %)
271 271  (((
378 +(((
272 272  **AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) **
273 273  )))
381 +)))
274 274  
275 275  (% class="box infomessage" %)
276 276  (((
385 +(((
277 277  **AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) **
278 278  )))
388 +)))
279 279  
280 280  (% class="box infomessage" %)
281 281  (((
392 +(((
282 282  **AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) **
283 283  )))
395 +)))
284 284  
285 285  (% class="box infomessage" %)
286 286  (((
399 +(((
287 287  **AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) **
288 288  )))
402 +)))
289 289  
290 290  (% class="box infomessage" %)
291 291  (((
406 +(((
292 292  **AT+SETCNT=1,60   (Set COUNT1 value to 60)**
293 293  )))
409 +)))
294 294  
295 295  (% class="box infomessage" %)
296 296  (((
413 +(((
297 297  **AT+SETCNT=2,60   (Set COUNT2 value to 60)**
298 298  )))
416 +)))
299 299  
418 +
300 300  === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI ===
301 301  
302 302  **LT22222-L**: This mode the DI1 is used as a counting pin.
... ... @@ -313,22 +313,34 @@
313 313  * FIRST: Indicate this is the first packet after join network.
314 314  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
315 315  
435 +(((
316 316  (% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
437 +)))
317 317  
439 +(((
318 318  **To use counting mode, please run:**
441 +)))
319 319  
320 320  (% class="box infomessage" %)
321 321  (((
445 +(((
322 322  **AT+MOD=3**
323 323  )))
448 +)))
324 324  
325 325  (% class="box infomessage" %)
326 326  (((
452 +(((
327 327  **ATZ**
328 328  )))
455 +)))
329 329  
330 -Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.2AT2BMOD3D22C28DoubleDICounting29]].
457 +(((
458 +Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
331 331  
460 +
461 +)))
462 +
332 332  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
333 333  
334 334  **LT22222-L**: This mode the DI1 is used as a counting pin.
... ... @@ -347,45 +347,69 @@
347 347  * FIRST: Indicate this is the first packet after join network.
348 348  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
349 349  
481 +(((
350 350  (% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
483 +)))
351 351  
485 +(((
352 352  **To use this mode, please run:**
487 +)))
353 353  
354 354  (% class="box infomessage" %)
355 355  (((
491 +(((
356 356  **AT+MOD=4**
357 357  )))
494 +)))
358 358  
359 359  (% class="box infomessage" %)
360 360  (((
498 +(((
361 361  **ATZ**
362 362  )))
501 +)))
363 363  
503 +(((
504 +
505 +)))
364 364  
365 -Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.2AT2BMOD3D22C28DoubleDICounting29]].
507 +(((
508 +Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
509 +)))
366 366  
511 +(((
367 367  **Plus below command for AVI1 Counting:**
513 +)))
368 368  
369 369  (% class="box infomessage" %)
370 370  (((
517 +(((
371 371  **AT+SETCNT=3,60   (set AVI Count to 60)**
372 372  )))
520 +)))
373 373  
374 374  (% class="box infomessage" %)
375 375  (((
524 +(((
376 376  **AT+VOLMAX=20000   (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
377 377  )))
527 +)))
378 378  
379 379  (% class="box infomessage" %)
380 380  (((
531 +(((
381 381  **AT+VOLMAX=20000,0   (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)**
382 382  )))
534 +)))
383 383  
384 384  (% class="box infomessage" %)
385 385  (((
538 +(((
386 386  **AT+VOLMAX=20000,1   (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)**
387 387  )))
541 +)))
388 388  
543 +
389 389  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
390 390  
391 391  **LT22222-L**: This mode the DI1 is used as a counting pin.
... ... @@ -398,24 +398,38 @@
398 398  
399 399  * RO is for relay. ROx=1 : close,ROx=0 always open.
400 400  * FIRST: Indicate this is the first packet after join network.
401 -* DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
556 +* (((
557 +DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
558 +)))
402 402  
560 +(((
403 403  (% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
562 +)))
404 404  
564 +(((
405 405  **To use this mode, please run:**
566 +)))
406 406  
407 407  (% class="box infomessage" %)
408 408  (((
570 +(((
409 409  **AT+MOD=5**
410 410  )))
573 +)))
411 411  
412 412  (% class="box infomessage" %)
413 413  (((
577 +(((
414 414  **ATZ**
415 415  )))
580 +)))
416 416  
417 -Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.2AT2BMOD3D22C28DoubleDICounting29]].
582 +(((
583 +Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
418 418  
585 +
586 +)))
587 +
419 419  === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
420 420  
421 421  (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.**
... ... @@ -536,10 +536,13 @@
536 536  
537 537  When device got this command, it will send the MOD6 payload.
538 538  
708 +
539 539  === 3.3.7 Payload Decoder ===
540 540  
541 541  (((
542 542  **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/]]
713 +
714 +
543 543  )))
544 544  
545 545  == 3.4 ​Configure LT via AT or Downlink ==
... ... @@ -554,10 +554,12 @@
554 554  
555 555  * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
556 556  
729 +
557 557  === 3.4.1 Common Commands ===
558 558  
559 -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>>http://8.211.40.43:8080/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/]]
732 +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]]
560 560  
734 +
561 561  === 3.4.2 Sensor related commands ===
562 562  
563 563  ==== 3.4.2.1 Set Transmit Interval ====
... ... @@ -580,6 +580,7 @@
580 580  **0x01 aa bb cc     ~/~/ Same as AT+TDC=0x(aa bb cc)**
581 581  )))
582 582  
757 +
583 583  ==== 3.4.2.2 Set Work Mode (AT+MOD) ====
584 584  
585 585  Set work mode.
... ... @@ -600,6 +600,7 @@
600 600  **0x0A aa     ~/~/ Same as AT+MOD=aa**
601 601  )))
602 602  
778 +
603 603  ==== 3.4.2.3 Poll an uplink ====
604 604  
605 605  * AT Command:
... ... @@ -615,6 +615,7 @@
615 615  
616 616  **Example**: 0x08FF, ask device to send an Uplink
617 617  
794 +
618 618  ==== 3.4.2.4 Enable Trigger Mode ====
619 619  
620 620  Use of trigger mode, please check [[ADDMOD6>>path:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]]
... ... @@ -637,6 +637,7 @@
637 637  **0x0A 06 aa     ~/~/ Same as AT+ADDMOD6=aa,**
638 638  )))
639 639  
817 +
640 640  ==== 3.4.2.5 Poll trigger settings ====
641 641  
642 642  Poll trigger settings,
... ... @@ -652,6 +652,7 @@
652 652  **0xAB 06  ~/~/ Poll trigger settings, device will uplink trigger settings once receive this command**
653 653  )))
654 654  
833 +
655 655  ==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ====
656 656  
657 657  Enable Disable DI1/DI2/DI2 as trigger,
... ... @@ -674,6 +674,7 @@
674 674  **0xAA 02 aa bb  ~/~/ Same as AT+DTRI=aa,bb**
675 675  )))
676 676  
856 +
677 677  ==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ====
678 678  
679 679  Set DI1 or DI3(for LT-33222-L) trigger.
... ... @@ -700,6 +700,7 @@
700 700  **0x09 01 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)**
701 701  )))
702 702  
883 +
703 703  ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ====
704 704  
705 705  Set DI2 trigger.
... ... @@ -726,6 +726,7 @@
726 726  **0x09 02 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)**
727 727  )))
728 728  
910 +
729 729  ==== 3.4.2.9 Trigger – Set AC (current) as trigger ====
730 730  
731 731  Set current trigger , base on AC port. See [[trigger mode>>path:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]]
... ... @@ -744,6 +744,7 @@
744 744  **0x AA 01 aa bb cc dd ee ff gg hh ~/~/ same as AT+ACLIM See [[trigger mode>>url:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]]**
745 745  )))
746 746  
929 +
747 747  ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ====
748 748  
749 749  Set current trigger , base on AV port. See [[trigger mode>>url:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]]
... ... @@ -762,6 +762,7 @@
762 762  **0x AA 00 aa bb cc dd ee ff gg hh ~/~/ same as AT+AVLIM See [[trigger mode>>url:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]] **
763 763  )))
764 764  
948 +
765 765  ==== 3.4.2.11 Trigger – Set minimum interval ====
766 766  
767 767  Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger.
... ... @@ -780,6 +780,7 @@
780 780  **0x AC aa bb ~/~/ same as AT+ATDC=0x(aa bb)   . Unit (min)**
781 781  )))
782 782  
967 +
783 783  ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ====
784 784  
785 785  * AT Command:
... ... @@ -822,8 +822,10 @@
822 822  
823 823  (% class="box infomessage" %)
824 824  (((
1010 +(((
825 825  **0xA9 aa bb cc     ~/~/ Set DO1/DO2/DO3 output with time control**
826 826  )))
1013 +)))
827 827  
828 828  This is to control the digital output time of DO pin. Include four bytes:
829 829  
... ... @@ -968,6 +968,7 @@
968 968  **0xA5 aa bb cc   ~/~/ Same as AT+VOLMAX=(aa bb),cc**
969 969  )))
970 970  
1158 +
971 971  ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ====
972 972  
973 973  * AT Command:
... ... @@ -992,6 +992,7 @@
992 992  **0x A8 aa bb cc dd ee     ~/~/ same as AT+SETCNT=aa,(bb cc dd ee)**
993 993  )))
994 994  
1183 +
995 995  ==== 3.4.2.18 Counting ~-~- Clear Counting ====
996 996  
997 997  Clear counting for counting mode
... ... @@ -1010,6 +1010,7 @@
1010 1010  **0x A6 01     ~/~/ clear all counting,**
1011 1011  )))
1012 1012  
1202 +
1013 1013  ==== 3.4.2.19 Counting ~-~- Change counting mode save time ====
1014 1014  
1015 1015  * AT Command:
... ... @@ -1026,21 +1026,28 @@
1026 1026  **0x A7 aa bb cc     ~/~/ same as AT+COUTIME =aa bb cc,**
1027 1027  )))
1028 1028  
1219 +(((
1029 1029  range: aa bb cc:0 to 16777215,  (unit:second)
1030 1030  
1222 +
1223 +)))
1224 +
1031 1031  == 3.5 Integrate with Mydevice ==
1032 1032  
1033 1033  Mydevices provides a human friendly interface to show the sensor data, once we have data in TTN, we can use Mydevices to connect to TTN and see the data in Mydevices. Below are the steps:
1034 1034  
1229 +(((
1035 1035  **Step 1**: Be sure that your device is programmed and properly connected to the network at this time.
1231 +)))
1036 1036  
1233 +(((
1037 1037  **Step 2**: To configure the Application to forward data to Mydevices you will need to add integration. To add the Mydevices integration, perform the following steps:
1235 +)))
1038 1038  
1039 1039  [[image:1653356737703-362.png||height="232" width="732"]]
1040 1040  
1041 1041  [[image:image-20220524094641-11.png||height="390" width="723"]]
1042 1042  
1043 -
1044 1044  [[image:image-20220524094641-12.png||height="402" width="718"]]
1045 1045  
1046 1046  **Step 3**: Create an account or log in Mydevices.
... ... @@ -1051,6 +1051,7 @@
1051 1051  
1052 1052  [[image:1653356838789-523.png||height="337" width="740"]]
1053 1053  
1251 +
1054 1054  After added, the sensor data arrive TTN, it will also arrive and show in Mydevices.
1055 1055  
1056 1056  [[image:image-20220524094909-1.png||height="335" width="729"]]
... ... @@ -1063,6 +1063,7 @@
1063 1063  
1064 1064  [[image:image-20220524094909-5.png||height="341" width="734"]]
1065 1065  
1264 +
1066 1066  == 3.6 Interface Detail ==
1067 1067  
1068 1068  === 3.6.1 Digital Input Port: DI1/DI2 /DI3 ( For LT-33222-L, low active ) ===
... ... @@ -1071,6 +1071,7 @@
1071 1071  
1072 1072  [[image:1653356991268-289.png]]
1073 1073  
1273 +
1074 1074  === 3.6.2 Digital Input Port: DI1/DI2 ( For LT-22222-L) ===
1075 1075  
1076 1076  (((
... ... @@ -1099,7 +1099,7 @@
1099 1099  
1100 1100  So when sensor active, the current between NEC2501 pin1 and pin2 is: ​​
1101 1101  
1102 - //IF// = DI1+ / 1K.
1302 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]]** [[image:image-20220524095628-8.png]] = DI1+ / 1K.**
1103 1103  
1104 1104  If DI1+ = 12v, the //IF// = 12mA , So the LT-22222-L will be able to detect this active signal.
1105 1105  
... ... @@ -1113,9 +1113,9 @@
1113 1113  
1114 1114  So when sensor active, the current between NEC2501 pin1 and pin2 is:
1115 1115  
1116 -[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]][[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]]** [[image:image-20220524095628-8.png]]= DI1+ / 1K.**
1316 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]]** [[image:image-20220524095628-8.png]]= DI1+ / 1K.**
1117 1117  
1118 -If **DI1+ = 24v**, the [[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]][[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]]**[[image:image-20220524095628-8.png]]** = 24mA , So the LT-22222-L will be able to detect this high active signal.
1318 +If **DI1+ = 24v**, the [[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]]**[[image:image-20220524095628-8.png]]** = 24mA , So the LT-22222-L will be able to detect this high active signal.
1119 1119  
1120 1120  
1121 1121  **Example3**: Connect to a 220v high active sensor.
... ... @@ -1127,10 +1127,11 @@
1127 1127  
1128 1128  So when sensor active, the current between NEC2501 pin1 and pin2 is:
1129 1129  
1130 - [[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]][[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]]**[[image:image-20220524095628-8.png]] = DI1+ / 51K.**
1330 + [[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]]**[[image:image-20220524095628-8.png]] = DI1+ / 51K.**
1131 1131  
1132 1132  If sensor output is 220v, the (% id="cke_bm_243359S" style="display:none" %)[[image:image-20220524095628-8.png]](%%) = DI1+ / 51K.  = 4.3mA , So the LT-22222-L will be able to detect this high active signal safely.
1133 1133  
1334 +
1134 1134  === 3.6.3 Digital Output Port: DO1/DO2 /DO3 ===
1135 1135  
1136 1136  NPN output: GND or Float. Max voltage can apply to output pin is 36v.
... ... @@ -1137,6 +1137,7 @@
1137 1137  
1138 1138  [[image:1653357531600-905.png]]
1139 1139  
1341 +
1140 1140  === 3.6.4 Analog Input Interface ===
1141 1141  
1142 1142  The analog input interface is as below. The LT will measure the IN2 voltage so to calculate the current pass the Load. The formula is:
... ... @@ -1164,6 +1164,7 @@
1164 1164  
1165 1165  [[image:1653357648330-671.png||height="155" width="733"]]
1166 1166  
1369 +
1167 1167  === 3.6.5 Relay Output ===
1168 1168  
1169 1169  (((
... ... @@ -1174,10 +1174,12 @@
1174 1174  
1175 1175  [[image:image-20220524100215-10.png||height="382" width="723"]]
1176 1176  
1380 +
1177 1177  == 3.7 LEDs Indicators ==
1178 1178  
1179 1179  [[image:image-20220524100748-11.png]]
1180 1180  
1385 +
1181 1181  = 4. Use AT Command =
1182 1182  
1183 1183  == 4.1 Access AT Command ==
... ... @@ -1186,11 +1186,15 @@
1186 1186  
1187 1187  [[image:1653358238933-385.png]]
1188 1188  
1394 +(((
1189 1189  In PC, User needs to set (% style="color:#4f81bd" %)**serial tool**(%%)(such as [[putty>>url:https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]], SecureCRT) baud rate to (% style="color:green" %)**9600**(%%) to access to access serial console for LT. The AT commands are disable by default and need to enter password (default:(% style="color:green" %)**123456**)(%%) to active it. As shown below:
1396 +)))
1190 1190  
1191 1191  [[image:1653358355238-883.png]]
1192 1192  
1400 +(((
1193 1193  More detail AT Command manual can be found at [[AT Command Manual>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/]]
1402 +)))
1194 1194  
1195 1195  (((
1196 1196  AT+<CMD>?        : Help on <CMD>
... ... @@ -1374,6 +1374,8 @@
1374 1374  
1375 1375  (((
1376 1376  AT+CFG: Print all settings
1586 +
1587 +
1377 1377  )))
1378 1378  
1379 1379  == 4.2 Common AT Command Sequence ==
... ... @@ -1415,6 +1415,8 @@
1415 1415  
1416 1416  (((
1417 1417  (% style="background-color:#dcdcdc" %)ATZ
1629 +
1630 +
1418 1418  )))
1419 1419  
1420 1420  === 4.2.2 Single-channel ABP mode (Use with LG01/LG02) ===
... ... @@ -1496,6 +1496,7 @@
1496 1496  (% style="background-color:#dcdcdc" %)AT+CLASS=A
1497 1497  ATZ
1498 1498  
1712 +
1499 1499  = 5. FAQ =
1500 1500  
1501 1501  == 5.1 How to upgrade the image? ==
... ... @@ -1508,11 +1508,13 @@
1508 1508  Below shows the hardware connection for how to upload an image to the LT:
1509 1509  * [[image:1653359603330-121.png]]
1510 1510  
1725 +(((
1511 1511  **Step1:** Download [[flash loader>>url:https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/flasher-stm32.html]].
1512 1512  **Step2**: Download the [[LT Image files>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]].
1513 1513  **Step3: **Open flashloader; choose the correct COM port to update.
1514 1514  **For LT-22222-L**:
1515 1515  Hold down the PRO button and then momentarily press the RST reset button and the **DO1 led** will change from OFF to ON. When **DO1 LED** is on, it means the device is in download mode.
1731 +)))
1516 1516  
1517 1517   [[image:image-20220524103407-12.png]]
1518 1518  
... ... @@ -1524,6 +1524,7 @@
1524 1524  
1525 1525  [[image:1653360054704-518.png||height="186" width="745"]]
1526 1526  
1743 +
1527 1527  (((
1528 1528  (((
1529 1529  == 5.2 How to change the LoRa Frequency Bands/Region? ==
... ... @@ -1531,7 +1531,9 @@
1531 1531  )))
1532 1532  
1533 1533  (((
1534 -User can follow the introduction for [[how to upgrade image>>path:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H5.1Howtoupgradetheimage3F]]. When download the images, choose the required image file for download.
1751 +User can follow the introduction for [[how to upgrade image>>||anchor="H5.1Howtoupgradetheimage3F"]]. When download the images, choose the required image file for download.
1752 +
1753 +
1535 1535  )))
1536 1536  
1537 1537  (((
... ... @@ -1558,10 +1558,15 @@
1558 1558  [[image:1653360231087-571.png||height="401" width="727"]]
1559 1559  )))
1560 1560  
1780 +(((
1561 1561  (% style="color:red" %)Note: user just need to make sure above three keys match, User can change either in TTN or Device to make then match. In TTN, NETSKEY and APPSKEY can be configured by user in setting page, but Device Addr is generated by TTN.
1782 +)))
1562 1562  
1784 +(((
1563 1563  (% style="color:#4f81bd" %)**Step2**(%%)**: **Run AT Command to make LT work in Single frequency & ABP mode. Below is the AT commands:
1786 +)))
1564 1564  
1788 +(((
1565 1565  (% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access.
1566 1566  (% style="background-color:#dcdcdc" %)AT+FDR  (%%) Reset Parameters to Factory Default, Keys Reserve
1567 1567  (% style="background-color:#dcdcdc" %)123456  (%%) Enter Password to have AT access.
... ... @@ -1572,19 +1572,25 @@
1572 1572  (% style="background-color:#dcdcdc" %)AT+CHS=868400000 (%%)Set transmit frequency to 868.4Mhz
1573 1573  (% style="background-color:#dcdcdc" %)AT+DADDR=26 01 1A F1(%%) Set Device Address to 26 01 1A F1
1574 1574  (% style="background-color:#dcdcdc" %)ATZ                (%%)Reset MCU
1799 +)))
1575 1575  
1801 +(((
1576 1576  As shown in below:
1803 +)))
1577 1577  
1578 1578  [[image:1653360498588-932.png||height="485" width="726"]]
1579 1579  
1807 +
1580 1580  == 5.4 Can I see counting event in Serial? ==
1581 1581  
1582 1582  (((
1583 1583  User can run AT+DEBUG command to see the counting event in serial. If firmware too old and doesn’t support AT+DEBUG. User can update to latest firmware first.
1812 +
1813 +
1584 1584  )))
1585 1585  
1586 1586  (((
1587 -= 6. Trouble Shooting  =
1817 += 6. Trouble Shooting =
1588 1588  )))
1589 1589  
1590 1590  (((
... ... @@ -1594,13 +1594,11 @@
1594 1594  )))
1595 1595  
1596 1596  (((
1597 -Please see this link for how to debug:
1827 +Please see this link for how to debug:
1598 1598  
1599 -[[http:~~/~~/8.211.40.43:8080/xwiki/bin/view/Main/LoRaWAN%20Communication%20Debug/>>http://8.211.40.43:8080/xwiki/bin/view/Main/LoRaWAN%20Communication%20Debug/]]
1600 -)))
1829 +[[http:~~/~~/wiki1.dragino.com/xwiki/bin/view/Main/LoRaWAN%20Communication%20Debug/#H5.1Howitwork>>http://wiki1.dragino.com/xwiki/bin/view/Main/LoRaWAN%20Communication%20Debug/#H5.1Howitwork]]
1601 1601  
1602 -(((
1603 -[[http:~~/~~/wiki.dragino.com/index.php?title=LoRaWAN_Communication_Debug#How_it_work>>url:http://wiki.dragino.com/index.php?title=LoRaWAN_Communication_Debug#How_it_work]]
1831 +
1604 1604  )))
1605 1605  
1606 1606  (((
... ... @@ -1609,10 +1609,12 @@
1609 1609  
1610 1610  (((
1611 1611  See this link for trouble shooting:
1840 +
1841 +[[http:~~/~~/wiki1.dragino.com/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/>>http://wiki1.dragino.com/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/]]
1612 1612  )))
1613 1613  
1614 1614  (((
1615 -[[http:~~/~~/wiki.dragino.com/index.php?title=Firmware_Upgrade_Trouble_Shooting#UART_upgrade_trouble_shooting>>url:http://wiki.dragino.com/index.php?title=Firmware_Upgrade_Trouble_Shooting#UART_upgrade_trouble_shooting]]
1845 +
1616 1616  )))
1617 1617  
1618 1618  (((
... ... @@ -1621,10 +1621,12 @@
1621 1621  
1622 1622  (((
1623 1623  It might be about the channels mapping. Please see this link for detail:
1854 +
1855 +[[http:~~/~~/wiki1.dragino.com/xwiki/bin/view/Main/LoRaWAN%20Communication%20Debug/#H2.NoticeofUS9152FCN4702FAU915Frequencyband>>http://wiki1.dragino.com/xwiki/bin/view/Main/LoRaWAN%20Communication%20Debug/#H2.NoticeofUS9152FCN4702FAU915Frequencyband]]
1624 1624  )))
1625 1625  
1626 1626  (((
1627 -[[http:~~/~~/wiki.dragino.com/index.php?title=LoRaWAN_Communication_Debug#Notice_of_US915.2FCN470.2FAU915_Frequency_band>>url:http://wiki.dragino.com/index.php?title=LoRaWAN_Communication_Debug#Notice_of_US915.2FCN470.2FAU915_Frequency_band]]
1859 +
1628 1628  )))
1629 1629  
1630 1630  (((
... ... @@ -1643,34 +1643,61 @@
1643 1643  )))
1644 1644  )))
1645 1645  
1878 +(((
1646 1646  * (((
1647 1647  (% style="color:#4f81bd" %)**EU433**(%%): LT with frequency bands EU433
1648 1648  )))
1882 +)))
1883 +
1884 +(((
1649 1649  * (((
1650 1650  (% style="color:#4f81bd" %)**EU868**(%%): LT with frequency bands EU868
1651 1651  )))
1888 +)))
1889 +
1890 +(((
1652 1652  * (((
1653 1653  (% style="color:#4f81bd" %)**KR920**(%%): LT with frequency bands KR920
1654 1654  )))
1894 +)))
1895 +
1896 +(((
1655 1655  * (((
1656 1656  (% style="color:#4f81bd" %)**CN470**(%%): LT with frequency bands CN470
1657 1657  )))
1900 +)))
1901 +
1902 +(((
1658 1658  * (((
1659 1659  (% style="color:#4f81bd" %)**AS923**(%%): LT with frequency bands AS923
1660 1660  )))
1906 +)))
1907 +
1908 +(((
1661 1661  * (((
1662 1662  (% style="color:#4f81bd" %)**AU915**(%%): LT with frequency bands AU915
1663 1663  )))
1912 +)))
1913 +
1914 +(((
1664 1664  * (((
1665 1665  (% style="color:#4f81bd" %)**US915**(%%): LT with frequency bands US915
1666 1666  )))
1918 +)))
1919 +
1920 +(((
1667 1667  * (((
1668 1668  (% style="color:#4f81bd" %)**IN865**(%%): LT with frequency bands IN865
1669 1669  )))
1924 +)))
1670 1670  
1671 1671  (((
1672 -* (% style="color:#4f81bd" %)**CN779**(%%): LT with frequency bands CN779
1927 +* (((
1928 +(% style="color:#4f81bd" %)**CN779**(%%): LT with frequency bands CN779
1673 1673  
1930 +
1931 +)))
1932 +
1674 1674  = 8. Packing Info =
1675 1675  )))
1676 1676  
... ... @@ -1701,6 +1701,8 @@
1701 1701  * Device Weight: 105g
1702 1702  * Package Size / pcs : 14.5 x 8 x 5 cm
1703 1703  * Weight / pcs : 170g
1963 +
1964 +
1704 1704  )))
1705 1705  )))
1706 1706  
... ... @@ -1722,6 +1722,8 @@
1722 1722  (((
1723 1723  (((
1724 1724   [[support@dragino.com>>url:file:///D:/市场资料/说明书/LoRa/LT系列/support@dragino.com]]
1986 +
1987 +
1725 1725  )))
1726 1726  
1727 1727  (((
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0