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

Summary

Details

Page properties
Content
... ... @@ -313,7 +313,9 @@
313 313  
314 314  **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins.
315 315  
316 +(((
316 316  Total : 11 bytes payload
318 +)))
317 317  
318 318  [[image:image-20220523180452-3.png]]
319 319  
... ... @@ -327,53 +327,77 @@
327 327  * FIRST: Indicate this is the first packet after join network.
328 328  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
329 329  
332 +(((
330 330  (% style="color:red" %)Note: DO3 bit is not valid for LT-22222-L.
334 +)))
331 331  
336 +(((
332 332  **To use counting mode, please run:**
338 +)))
333 333  
334 334  (% class="box infomessage" %)
335 335  (((
342 +(((
336 336  **AT+MOD=2**
337 337  )))
345 +)))
338 338  
339 339  (% class="box infomessage" %)
340 340  (((
349 +(((
341 341  **ATZ**
342 342  )))
352 +)))
343 343  
354 +(((
344 344  (% style="color:#4f81bd" %)**AT Commands for counting:**
356 +)))
345 345  
358 +(((
346 346  **For LT22222-L:**
360 +)))
347 347  
348 348  (% class="box infomessage" %)
349 349  (((
364 +(((
350 350  **AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) **
351 351  )))
367 +)))
352 352  
353 353  (% class="box infomessage" %)
354 354  (((
371 +(((
355 355  **AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) **
356 356  )))
374 +)))
357 357  
358 358  (% class="box infomessage" %)
359 359  (((
378 +(((
360 360  **AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) **
361 361  )))
381 +)))
362 362  
363 363  (% class="box infomessage" %)
364 364  (((
385 +(((
365 365  **AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) **
366 366  )))
388 +)))
367 367  
368 368  (% class="box infomessage" %)
369 369  (((
392 +(((
370 370  **AT+SETCNT=1,60   (Set COUNT1 value to 60)**
371 371  )))
395 +)))
372 372  
373 373  (% class="box infomessage" %)
374 374  (((
399 +(((
375 375  **AT+SETCNT=2,60   (Set COUNT2 value to 60)**
376 376  )))
402 +)))
377 377  
378 378  === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI ===
379 379  
... ... @@ -391,21 +391,31 @@
391 391  * FIRST: Indicate this is the first packet after join network.
392 392  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
393 393  
420 +(((
394 394  (% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
422 +)))
395 395  
424 +(((
396 396  **To use counting mode, please run:**
426 +)))
397 397  
398 398  (% class="box infomessage" %)
399 399  (((
430 +(((
400 400  **AT+MOD=3**
401 401  )))
433 +)))
402 402  
403 403  (% class="box infomessage" %)
404 404  (((
437 +(((
405 405  **ATZ**
406 406  )))
440 +)))
407 407  
442 +(((
408 408  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 +)))
409 409  
410 410  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
411 411  
... ... @@ -425,44 +425,67 @@
425 425  * FIRST: Indicate this is the first packet after join network.
426 426  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
427 427  
464 +(((
428 428  (% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
466 +)))
429 429  
468 +(((
430 430  **To use this mode, please run:**
470 +)))
431 431  
432 432  (% class="box infomessage" %)
433 433  (((
474 +(((
434 434  **AT+MOD=4**
435 435  )))
477 +)))
436 436  
437 437  (% class="box infomessage" %)
438 438  (((
481 +(((
439 439  **ATZ**
440 440  )))
484 +)))
441 441  
486 +(((
487 +
488 +)))
442 442  
490 +(((
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]].
492 +)))
444 444  
494 +(((
445 445  **Plus below command for AVI1 Counting:**
496 +)))
446 446  
447 447  (% class="box infomessage" %)
448 448  (((
500 +(((
449 449  **AT+SETCNT=3,60   (set AVI Count to 60)**
450 450  )))
503 +)))
451 451  
452 452  (% class="box infomessage" %)
453 453  (((
507 +(((
454 454  **AT+VOLMAX=20000   (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
455 455  )))
510 +)))
456 456  
457 457  (% class="box infomessage" %)
458 458  (((
514 +(((
459 459  **AT+VOLMAX=20000,0   (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)**
460 460  )))
517 +)))
461 461  
462 462  (% class="box infomessage" %)
463 463  (((
521 +(((
464 464  **AT+VOLMAX=20000,1   (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)**
465 465  )))
524 +)))
466 466  
467 467  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
468 468  
... ... @@ -476,23 +476,35 @@
476 476  
477 477  * RO is for relay. ROx=1 : close,ROx=0 always open.
478 478  * FIRST: Indicate this is the first packet after join network.
479 -* 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 +)))
480 480  
542 +(((
481 481  (% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
544 +)))
482 482  
546 +(((
483 483  **To use this mode, please run:**
548 +)))
484 484  
485 485  (% class="box infomessage" %)
486 486  (((
552 +(((
487 487  **AT+MOD=5**
488 488  )))
555 +)))
489 489  
490 490  (% class="box infomessage" %)
491 491  (((
559 +(((
492 492  **ATZ**
493 493  )))
562 +)))
494 494  
564 +(((
495 495  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 +)))
496 496  
497 497  === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
498 498  
... ... @@ -900,8 +900,10 @@
900 900  
901 901  (% class="box infomessage" %)
902 902  (((
974 +(((
903 903  **0xA9 aa bb cc     ~/~/ Set DO1/DO2/DO3 output with time control**
904 904  )))
977 +)))
905 905  
906 906  This is to control the digital output time of DO pin. Include four bytes:
907 907  
... ... @@ -1118,7 +1118,6 @@
1118 1118  
1119 1119  [[image:image-20220524094641-11.png||height="390" width="723"]]
1120 1120  
1121 -
1122 1122  [[image:image-20220524094641-12.png||height="402" width="718"]]
1123 1123  
1124 1124  **Step 3**: Create an account or log in Mydevices.
... ... @@ -1177,7 +1177,7 @@
1177 1177  
1178 1178  So when sensor active, the current between NEC2501 pin1 and pin2 is: ​​
1179 1179  
1180 - //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.**
1181 1181  
1182 1182  If DI1+ = 12v, the //IF// = 12mA , So the LT-22222-L will be able to detect this active signal.
1183 1183  
... ... @@ -1191,9 +1191,9 @@
1191 1191  
1192 1192  So when sensor active, the current between NEC2501 pin1 and pin2 is:
1193 1193  
1194 -[[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:/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.**
1195 1195  
1196 -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:/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.
1197 1197  
1198 1198  
1199 1199  **Example3**: Connect to a 220v high active sensor.
... ... @@ -1205,7 +1205,7 @@
1205 1205  
1206 1206  So when sensor active, the current between NEC2501 pin1 and pin2 is:
1207 1207  
1208 - [[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:/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.**
1209 1209  
1210 1210  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.
1211 1211  
... ... @@ -1264,7 +1264,9 @@
1264 1264  
1265 1265  [[image:1653358238933-385.png]]
1266 1266  
1339 +(((
1267 1267  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 +)))
1268 1268  
1269 1269  [[image:1653358355238-883.png]]
1270 1270  
... ... @@ -1586,11 +1586,13 @@
1586 1586  Below shows the hardware connection for how to upload an image to the LT:
1587 1587  * [[image:1653359603330-121.png]]
1588 1588  
1663 +(((
1589 1589  **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]].
1590 1590  **Step2**: Download the [[LT Image files>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]].
1591 1591  **Step3: **Open flashloader; choose the correct COM port to update.
1592 1592  **For LT-22222-L**:
1593 1593  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 +)))
1594 1594  
1595 1595   [[image:image-20220524103407-12.png]]
1596 1596  
... ... @@ -1636,10 +1636,15 @@
1636 1636  [[image:1653360231087-571.png||height="401" width="727"]]
1637 1637  )))
1638 1638  
1715 +(((
1639 1639  (% 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 +)))
1640 1640  
1719 +(((
1641 1641  (% style="color:#4f81bd" %)**Step2**(%%)**: **Run AT Command to make LT work in Single frequency & ABP mode. Below is the AT commands:
1721 +)))
1642 1642  
1723 +(((
1643 1643  (% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access.
1644 1644  (% style="background-color:#dcdcdc" %)AT+FDR  (%%) Reset Parameters to Factory Default, Keys Reserve
1645 1645  (% style="background-color:#dcdcdc" %)123456  (%%) Enter Password to have AT access.
... ... @@ -1650,8 +1650,11 @@
1650 1650  (% style="background-color:#dcdcdc" %)AT+CHS=868400000 (%%)Set transmit frequency to 868.4Mhz
1651 1651  (% style="background-color:#dcdcdc" %)AT+DADDR=26 01 1A F1(%%) Set Device Address to 26 01 1A F1
1652 1652  (% style="background-color:#dcdcdc" %)ATZ                (%%)Reset MCU
1734 +)))
1653 1653  
1736 +(((
1654 1654  As shown in below:
1738 +)))
1655 1655  
1656 1656  [[image:1653360498588-932.png||height="485" width="726"]]
1657 1657  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0