<
From version < 66.26 >
edited by Xiaoling
on 2022/05/24 14:04
To version < 66.18 >
edited by Xiaoling
on 2022/05/24 13:50
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -45,114 +45,44 @@
45 45  
46 46  == 1.2  Specifications ==
47 47  
48 -(((
49 49  **Hardware System:**
50 -)))
51 51  
52 -* (((
53 -STM32L072CZT6 MCU
54 -)))
55 -* (((
56 -SX1276/78 Wireless Chip 
57 -)))
58 -* (((
59 -(((
60 -Power Consumption:
61 -)))
50 +* STM32L072CZT6 MCU
51 +* SX1276/78 Wireless Chip 
52 +* Power Consumption:
53 +** Idle: 4mA@12v
54 +** 20dB Transmit: 34mA@12v
62 62  
63 -* (((
64 -Idle: 4mA@12v
65 -)))
66 -* (((
67 -20dB Transmit: 34mA@12v
68 -)))
69 -)))
70 -
71 -(((
72 72  **Interface for Model: LT22222-L:**
73 -)))
74 74  
75 -* (((
76 -2 x Digital dual direction Input (Detect High/Low signal, Max: 50v, or 220v with optional external resistor)
77 -)))
78 -* (((
79 -2 x Digital Output (NPN output. Max pull up voltage 36V,450mA)
80 -)))
81 -* (((
82 -2 x Relay Output (5A@250VAC / 30VDC)
83 -)))
84 -* (((
85 -2 x 0~~20mA Analog Input (res:0.01mA)
86 -)))
87 -* (((
88 -2 x 0~~30V Analog Input (res:0.01v)
89 -)))
90 -* (((
91 -Power Input 7~~ 24V DC. 
92 -)))
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. 
93 93  
94 -(((
95 95  **LoRa Spec:**
96 -)))
97 97  
98 -* (((
99 -(((
100 -Frequency Range:
101 -)))
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.
102 102  
103 -* (((
104 -Band 1 (HF): 862 ~~ 1020 Mhz
105 -)))
106 -* (((
107 -Band 2 (LF): 410 ~~ 528 Mhz
108 -)))
109 -)))
110 -* (((
111 -168 dB maximum link budget.
112 -)))
113 -* (((
114 -+20 dBm - 100 mW constant RF output vs.
115 -)))
116 -* (((
117 -+14 dBm high efficiency PA.
118 -)))
119 -* (((
120 -Programmable bit rate up to 300 kbps.
121 -)))
122 -* (((
123 -High sensitivity: down to -148 dBm.
124 -)))
125 -* (((
126 -Bullet-proof front end: IIP3 = -12.5 dBm.
127 -)))
128 -* (((
129 -Excellent blocking immunity.
130 -)))
131 -* (((
132 -Low RX current of 10.3 mA, 200 nA register retention.
133 -)))
134 -* (((
135 -Fully integrated synthesizer with a resolution of 61 Hz.
136 -)))
137 -* (((
138 -FSK, GFSK, MSK, GMSK, LoRaTM and OOK modulation.
139 -)))
140 -* (((
141 -Built-in bit synchronizer for clock recovery.
142 -)))
143 -* (((
144 -Preamble detection.
145 -)))
146 -* (((
147 -127 dB Dynamic Range RSSI.
148 -)))
149 -* (((
150 -Automatic RF Sense and CAD with ultra-fast AFC.
151 -)))
152 -* (((
153 -Packet engine up to 256 bytes with CRC.
154 -)))
155 -
156 156  == 1.3 Features ==
157 157  
158 158  * LoRaWAN Class A & Class C protocol
... ... @@ -199,21 +199,13 @@
199 199  
200 200  == 3.1 How it works? ==
201 201  
202 -(((
203 203  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. 
204 -)))
205 205  
206 -(((
207 207  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.
208 -)))
209 209  
210 -(((
211 211  3.2 Example to join LoRaWAN network
212 -)))
213 213  
214 -(((
215 215  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. 
216 -)))
217 217  
218 218  [[image:image-20220523172350-1.png||height="266" width="864"]]
219 219  
... ... @@ -313,9 +313,7 @@
313 313  
314 314  **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins.
315 315  
316 -(((
317 317  Total : 11 bytes payload
318 -)))
319 319  
320 320  [[image:image-20220523180452-3.png]]
321 321  
... ... @@ -329,77 +329,53 @@
329 329  * FIRST: Indicate this is the first packet after join network.
330 330  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
331 331  
332 -(((
333 333  (% style="color:red" %)Note: DO3 bit is not valid for LT-22222-L.
334 -)))
335 335  
336 -(((
337 337  **To use counting mode, please run:**
338 -)))
339 339  
340 340  (% class="box infomessage" %)
341 341  (((
342 -(((
343 343  **AT+MOD=2**
344 344  )))
345 -)))
346 346  
347 347  (% class="box infomessage" %)
348 348  (((
349 -(((
350 350  **ATZ**
351 351  )))
352 -)))
353 353  
354 -(((
355 355  (% style="color:#4f81bd" %)**AT Commands for counting:**
356 -)))
357 357  
358 -(((
359 359  **For LT22222-L:**
360 -)))
361 361  
362 362  (% class="box infomessage" %)
363 363  (((
364 -(((
365 365  **AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) **
366 366  )))
367 -)))
368 368  
369 369  (% class="box infomessage" %)
370 370  (((
371 -(((
372 372  **AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) **
373 373  )))
374 -)))
375 375  
376 376  (% class="box infomessage" %)
377 377  (((
378 -(((
379 379  **AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) **
380 380  )))
381 -)))
382 382  
383 383  (% class="box infomessage" %)
384 384  (((
385 -(((
386 386  **AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) **
387 387  )))
388 -)))
389 389  
390 390  (% class="box infomessage" %)
391 391  (((
392 -(((
393 393  **AT+SETCNT=1,60   (Set COUNT1 value to 60)**
394 394  )))
395 -)))
396 396  
397 397  (% class="box infomessage" %)
398 398  (((
399 -(((
400 400  **AT+SETCNT=2,60   (Set COUNT2 value to 60)**
401 401  )))
402 -)))
403 403  
404 404  === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI ===
405 405  
... ... @@ -417,31 +417,21 @@
417 417  * FIRST: Indicate this is the first packet after join network.
418 418  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
419 419  
420 -(((
421 421  (% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
422 -)))
423 423  
424 -(((
425 425  **To use counting mode, please run:**
426 -)))
427 427  
428 428  (% class="box infomessage" %)
429 429  (((
430 -(((
431 431  **AT+MOD=3**
432 432  )))
433 -)))
434 434  
435 435  (% class="box infomessage" %)
436 436  (((
437 -(((
438 438  **ATZ**
439 439  )))
440 -)))
441 441  
442 -(((
443 443  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]].
444 -)))
445 445  
446 446  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
447 447  
... ... @@ -461,67 +461,44 @@
461 461  * FIRST: Indicate this is the first packet after join network.
462 462  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
463 463  
464 -(((
465 465  (% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
466 -)))
467 467  
468 -(((
469 469  **To use this mode, please run:**
470 -)))
471 471  
472 472  (% class="box infomessage" %)
473 473  (((
474 -(((
475 475  **AT+MOD=4**
476 476  )))
477 -)))
478 478  
479 479  (% class="box infomessage" %)
480 480  (((
481 -(((
482 482  **ATZ**
483 483  )))
484 -)))
485 485  
486 -(((
487 -
488 -)))
489 489  
490 -(((
491 491  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]].
492 -)))
493 493  
494 -(((
495 495  **Plus below command for AVI1 Counting:**
496 -)))
497 497  
498 498  (% class="box infomessage" %)
499 499  (((
500 -(((
501 501  **AT+SETCNT=3,60   (set AVI Count to 60)**
502 502  )))
503 -)))
504 504  
505 505  (% class="box infomessage" %)
506 506  (((
507 -(((
508 508  **AT+VOLMAX=20000   (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
509 509  )))
510 -)))
511 511  
512 512  (% class="box infomessage" %)
513 513  (((
514 -(((
515 515  **AT+VOLMAX=20000,0   (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)**
516 516  )))
517 -)))
518 518  
519 519  (% class="box infomessage" %)
520 520  (((
521 -(((
522 522  **AT+VOLMAX=20000,1   (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)**
523 523  )))
524 -)))
525 525  
526 526  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
527 527  
... ... @@ -535,35 +535,23 @@
535 535  
536 536  * RO is for relay. ROx=1 : close,ROx=0 always open.
537 537  * FIRST: Indicate this is the first packet after join network.
538 -* (((
539 -DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
540 -)))
401 +* DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
541 541  
542 -(((
543 543  (% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
544 -)))
545 545  
546 -(((
547 547  **To use this mode, please run:**
548 -)))
549 549  
550 550  (% class="box infomessage" %)
551 551  (((
552 -(((
553 553  **AT+MOD=5**
554 554  )))
555 -)))
556 556  
557 557  (% class="box infomessage" %)
558 558  (((
559 -(((
560 560  **ATZ**
561 561  )))
562 -)))
563 563  
564 -(((
565 565  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]].
566 -)))
567 567  
568 568  === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
569 569  
... ... @@ -971,10 +971,8 @@
971 971  
972 972  (% class="box infomessage" %)
973 973  (((
974 -(((
975 975  **0xA9 aa bb cc     ~/~/ Set DO1/DO2/DO3 output with time control**
976 976  )))
977 -)))
978 978  
979 979  This is to control the digital output time of DO pin. Include four bytes:
980 980  
... ... @@ -1191,6 +1191,7 @@
1191 1191  
1192 1192  [[image:image-20220524094641-11.png||height="390" width="723"]]
1193 1193  
1043 +
1194 1194  [[image:image-20220524094641-12.png||height="402" width="718"]]
1195 1195  
1196 1196  **Step 3**: Create an account or log in Mydevices.
... ... @@ -1249,7 +1249,7 @@
1249 1249  
1250 1250  So when sensor active, the current between NEC2501 pin1 and pin2 is: ​​
1251 1251  
1252 -[[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.**
1102 + //IF// = DI1+ / 1K.
1253 1253  
1254 1254  If DI1+ = 12v, the //IF// = 12mA , So the LT-22222-L will be able to detect this active signal.
1255 1255  
... ... @@ -1263,9 +1263,9 @@
1263 1263  
1264 1264  So when sensor active, the current between NEC2501 pin1 and pin2 is:
1265 1265  
1266 -[[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.**
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.**
1267 1267  
1268 -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.
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.
1269 1269  
1270 1270  
1271 1271  **Example3**: Connect to a 220v high active sensor.
... ... @@ -1277,7 +1277,7 @@
1277 1277  
1278 1278  So when sensor active, the current between NEC2501 pin1 and pin2 is:
1279 1279  
1280 - [[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.**
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.**
1281 1281  
1282 1282  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.
1283 1283  
... ... @@ -1336,9 +1336,7 @@
1336 1336  
1337 1337  [[image:1653358238933-385.png]]
1338 1338  
1339 -(((
1340 1340  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:
1341 -)))
1342 1342  
1343 1343  [[image:1653358355238-883.png]]
1344 1344  
... ... @@ -1660,13 +1660,11 @@
1660 1660  Below shows the hardware connection for how to upload an image to the LT:
1661 1661  * [[image:1653359603330-121.png]]
1662 1662  
1663 -(((
1664 1664  **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]].
1665 1665  **Step2**: Download the [[LT Image files>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]].
1666 1666  **Step3: **Open flashloader; choose the correct COM port to update.
1667 1667  **For LT-22222-L**:
1668 1668  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.
1669 -)))
1670 1670  
1671 1671   [[image:image-20220524103407-12.png]]
1672 1672  
... ... @@ -1712,15 +1712,10 @@
1712 1712  [[image:1653360231087-571.png||height="401" width="727"]]
1713 1713  )))
1714 1714  
1715 -(((
1716 1716  (% 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.
1717 -)))
1718 1718  
1719 -(((
1720 1720  (% style="color:#4f81bd" %)**Step2**(%%)**: **Run AT Command to make LT work in Single frequency & ABP mode. Below is the AT commands:
1721 -)))
1722 1722  
1723 -(((
1724 1724  (% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access.
1725 1725  (% style="background-color:#dcdcdc" %)AT+FDR  (%%) Reset Parameters to Factory Default, Keys Reserve
1726 1726  (% style="background-color:#dcdcdc" %)123456  (%%) Enter Password to have AT access.
... ... @@ -1731,11 +1731,8 @@
1731 1731  (% style="background-color:#dcdcdc" %)AT+CHS=868400000 (%%)Set transmit frequency to 868.4Mhz
1732 1732  (% style="background-color:#dcdcdc" %)AT+DADDR=26 01 1A F1(%%) Set Device Address to 26 01 1A F1
1733 1733  (% style="background-color:#dcdcdc" %)ATZ                (%%)Reset MCU
1734 -)))
1735 1735  
1736 -(((
1737 1737  As shown in below:
1738 -)))
1739 1739  
1740 1740  [[image:1653360498588-932.png||height="485" width="726"]]
1741 1741  
... ... @@ -1746,7 +1746,7 @@
1746 1746  )))
1747 1747  
1748 1748  (((
1749 -= 6. Trouble Shooting =
1587 += 6. Trouble Shooting  =
1750 1750  )))
1751 1751  
1752 1752  (((
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0