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

Summary

Details

Page properties
Content
... ... @@ -45,44 +45,114 @@
45 45  
46 46  == 1.2  Specifications ==
47 47  
48 +(((
48 48  **Hardware System:**
50 +)))
49 49  
50 -* STM32L072CZT6 MCU
51 -* SX1276/78 Wireless Chip 
52 -* Power Consumption:
53 -** Idle: 4mA@12v
54 -** 20dB Transmit: 34mA@12v
52 +* (((
53 +STM32L072CZT6 MCU
54 +)))
55 +* (((
56 +SX1276/78 Wireless Chip 
57 +)))
58 +* (((
59 +(((
60 +Power Consumption:
61 +)))
55 55  
63 +* (((
64 +Idle: 4mA@12v
65 +)))
66 +* (((
67 +20dB Transmit: 34mA@12v
68 +)))
69 +)))
70 +
71 +(((
56 56  **Interface for Model: LT22222-L:**
73 +)))
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. 
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 +)))
64 64  
94 +(((
65 65  **LoRa Spec:**
96 +)))
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.
98 +* (((
99 +(((
100 +Frequency Range:
101 +)))
85 85  
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 +
86 86  == 1.3 Features ==
87 87  
88 88  * LoRaWAN Class A & Class C protocol
... ... @@ -129,13 +129,21 @@
129 129  
130 130  == 3.1 How it works? ==
131 131  
202 +(((
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. 
204 +)))
133 133  
206 +(((
134 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.
208 +)))
135 135  
210 +(((
136 136  3.2 Example to join LoRaWAN network
212 +)))
137 137  
214 +(((
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. 
216 +)))
139 139  
140 140  [[image:image-20220523172350-1.png||height="266" width="864"]]
141 141  
... ... @@ -235,7 +235,9 @@
235 235  
236 236  **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins.
237 237  
316 +(((
238 238  Total : 11 bytes payload
318 +)))
239 239  
240 240  [[image:image-20220523180452-3.png]]
241 241  
... ... @@ -249,53 +249,77 @@
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  
332 +(((
252 252  (% style="color:red" %)Note: DO3 bit is not valid for LT-22222-L.
334 +)))
253 253  
336 +(((
254 254  **To use counting mode, please run:**
338 +)))
255 255  
256 256  (% class="box infomessage" %)
257 257  (((
342 +(((
258 258  **AT+MOD=2**
259 259  )))
345 +)))
260 260  
261 261  (% class="box infomessage" %)
262 262  (((
349 +(((
263 263  **ATZ**
264 264  )))
352 +)))
265 265  
354 +(((
266 266  (% style="color:#4f81bd" %)**AT Commands for counting:**
356 +)))
267 267  
358 +(((
268 268  **For LT22222-L:**
360 +)))
269 269  
270 270  (% class="box infomessage" %)
271 271  (((
364 +(((
272 272  **AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) **
273 273  )))
367 +)))
274 274  
275 275  (% class="box infomessage" %)
276 276  (((
371 +(((
277 277  **AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) **
278 278  )))
374 +)))
279 279  
280 280  (% class="box infomessage" %)
281 281  (((
378 +(((
282 282  **AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) **
283 283  )))
381 +)))
284 284  
285 285  (% class="box infomessage" %)
286 286  (((
385 +(((
287 287  **AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) **
288 288  )))
388 +)))
289 289  
290 290  (% class="box infomessage" %)
291 291  (((
392 +(((
292 292  **AT+SETCNT=1,60   (Set COUNT1 value to 60)**
293 293  )))
395 +)))
294 294  
295 295  (% class="box infomessage" %)
296 296  (((
399 +(((
297 297  **AT+SETCNT=2,60   (Set COUNT2 value to 60)**
298 298  )))
402 +)))
299 299  
300 300  === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI ===
301 301  
... ... @@ -313,21 +313,31 @@
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  
420 +(((
316 316  (% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
422 +)))
317 317  
424 +(((
318 318  **To use counting mode, please run:**
426 +)))
319 319  
320 320  (% class="box infomessage" %)
321 321  (((
430 +(((
322 322  **AT+MOD=3**
323 323  )))
433 +)))
324 324  
325 325  (% class="box infomessage" %)
326 326  (((
437 +(((
327 327  **ATZ**
328 328  )))
440 +)))
329 329  
442 +(((
330 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]].
444 +)))
331 331  
332 332  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
333 333  
... ... @@ -347,44 +347,67 @@
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  
464 +(((
350 350  (% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
466 +)))
351 351  
468 +(((
352 352  **To use this mode, please run:**
470 +)))
353 353  
354 354  (% class="box infomessage" %)
355 355  (((
474 +(((
356 356  **AT+MOD=4**
357 357  )))
477 +)))
358 358  
359 359  (% class="box infomessage" %)
360 360  (((
481 +(((
361 361  **ATZ**
362 362  )))
484 +)))
363 363  
486 +(((
487 +
488 +)))
364 364  
490 +(((
365 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]].
492 +)))
366 366  
494 +(((
367 367  **Plus below command for AVI1 Counting:**
496 +)))
368 368  
369 369  (% class="box infomessage" %)
370 370  (((
500 +(((
371 371  **AT+SETCNT=3,60   (set AVI Count to 60)**
372 372  )))
503 +)))
373 373  
374 374  (% class="box infomessage" %)
375 375  (((
507 +(((
376 376  **AT+VOLMAX=20000   (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
377 377  )))
510 +)))
378 378  
379 379  (% class="box infomessage" %)
380 380  (((
514 +(((
381 381  **AT+VOLMAX=20000,0   (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)**
382 382  )))
517 +)))
383 383  
384 384  (% class="box infomessage" %)
385 385  (((
521 +(((
386 386  **AT+VOLMAX=20000,1   (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)**
387 387  )))
524 +)))
388 388  
389 389  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
390 390  
... ... @@ -398,23 +398,35 @@
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.
538 +* (((
539 +DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
540 +)))
402 402  
542 +(((
403 403  (% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
544 +)))
404 404  
546 +(((
405 405  **To use this mode, please run:**
548 +)))
406 406  
407 407  (% class="box infomessage" %)
408 408  (((
552 +(((
409 409  **AT+MOD=5**
410 410  )))
555 +)))
411 411  
412 412  (% class="box infomessage" %)
413 413  (((
559 +(((
414 414  **ATZ**
415 415  )))
562 +)))
416 416  
564 +(((
417 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]].
566 +)))
418 418  
419 419  === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
420 420  
... ... @@ -822,8 +822,10 @@
822 822  
823 823  (% class="box infomessage" %)
824 824  (((
974 +(((
825 825  **0xA9 aa bb cc     ~/~/ Set DO1/DO2/DO3 output with time control**
826 826  )))
977 +)))
827 827  
828 828  This is to control the digital output time of DO pin. Include four bytes:
829 829  
... ... @@ -1040,7 +1040,6 @@
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.
... ... @@ -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.
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.**
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.**
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.**
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.
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.
1119 1119  
1120 1120  
1121 1121  **Example3**: Connect to a 220v high active sensor.
... ... @@ -1127,7 +1127,7 @@
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.**
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.**
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  
... ... @@ -1186,7 +1186,9 @@
1186 1186  
1187 1187  [[image:1653358238933-385.png]]
1188 1188  
1339 +(((
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:
1341 +)))
1190 1190  
1191 1191  [[image:1653358355238-883.png]]
1192 1192  
... ... @@ -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  
1663 +(((
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.
1669 +)))
1516 1516  
1517 1517   [[image:image-20220524103407-12.png]]
1518 1518  
... ... @@ -1558,10 +1558,15 @@
1558 1558  [[image:1653360231087-571.png||height="401" width="727"]]
1559 1559  )))
1560 1560  
1715 +(((
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.
1717 +)))
1562 1562  
1719 +(((
1563 1563  (% style="color:#4f81bd" %)**Step2**(%%)**: **Run AT Command to make LT work in Single frequency & ABP mode. Below is the AT commands:
1721 +)))
1564 1564  
1723 +(((
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,8 +1572,11 @@
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
1734 +)))
1575 1575  
1736 +(((
1576 1576  As shown in below:
1738 +)))
1577 1577  
1578 1578  [[image:1653360498588-932.png||height="485" width="726"]]
1579 1579  
... ... @@ -1584,7 +1584,7 @@
1584 1584  )))
1585 1585  
1586 1586  (((
1587 -= 6. Trouble Shooting  =
1749 += 6. Trouble Shooting =
1588 1588  )))
1589 1589  
1590 1590  (((
... ... @@ -1643,33 +1643,58 @@
1643 1643  )))
1644 1644  )))
1645 1645  
1808 +(((
1646 1646  * (((
1647 1647  (% style="color:#4f81bd" %)**EU433**(%%): LT with frequency bands EU433
1648 1648  )))
1812 +)))
1813 +
1814 +(((
1649 1649  * (((
1650 1650  (% style="color:#4f81bd" %)**EU868**(%%): LT with frequency bands EU868
1651 1651  )))
1818 +)))
1819 +
1820 +(((
1652 1652  * (((
1653 1653  (% style="color:#4f81bd" %)**KR920**(%%): LT with frequency bands KR920
1654 1654  )))
1824 +)))
1825 +
1826 +(((
1655 1655  * (((
1656 1656  (% style="color:#4f81bd" %)**CN470**(%%): LT with frequency bands CN470
1657 1657  )))
1830 +)))
1831 +
1832 +(((
1658 1658  * (((
1659 1659  (% style="color:#4f81bd" %)**AS923**(%%): LT with frequency bands AS923
1660 1660  )))
1836 +)))
1837 +
1838 +(((
1661 1661  * (((
1662 1662  (% style="color:#4f81bd" %)**AU915**(%%): LT with frequency bands AU915
1663 1663  )))
1842 +)))
1843 +
1844 +(((
1664 1664  * (((
1665 1665  (% style="color:#4f81bd" %)**US915**(%%): LT with frequency bands US915
1666 1666  )))
1848 +)))
1849 +
1850 +(((
1667 1667  * (((
1668 1668  (% style="color:#4f81bd" %)**IN865**(%%): LT with frequency bands IN865
1669 1669  )))
1854 +)))
1670 1670  
1671 1671  (((
1672 -* (% style="color:#4f81bd" %)**CN779**(%%): LT with frequency bands CN779
1857 +* (((
1858 +(% style="color:#4f81bd" %)**CN779**(%%): LT with frequency bands CN779
1859 +)))
1673 1673  
1674 1674  = 8. Packing Info =
1675 1675  )))
... ... @@ -1682,7 +1682,7 @@
1682 1682  
1683 1683  (((
1684 1684  (((
1685 -* LT I/O Controller x 1
1872 +* LT-22222-L I/O Controller x 1
1686 1686  * Stick Antenna for LoRa RF part x 1
1687 1687  * Bracket for controller x1
1688 1688  * Program cable x 1
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0