Changes for page LT-22222-L -- LoRa I/O Controller User Manual
Last modified by Saxer Lin on 2025/04/15 17:24
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -207,7 +207,9 @@ 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 208 ))) 209 209 210 -== 3.2 Example to join LoRaWAN network == 210 +((( 211 +3.2 Example to join LoRaWAN network 212 +))) 211 211 212 212 ((( 213 213 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. ... ... @@ -327,77 +327,53 @@ 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 330 -((( 331 331 (% style="color:red" %)Note: DO3 bit is not valid for LT-22222-L. 332 -))) 333 333 334 -((( 335 335 **To use counting mode, please run:** 336 -))) 337 337 338 338 (% class="box infomessage" %) 339 339 ((( 340 -((( 341 341 **AT+MOD=2** 342 342 ))) 343 -))) 344 344 345 345 (% class="box infomessage" %) 346 346 ((( 347 -((( 348 348 **ATZ** 349 349 ))) 350 -))) 351 351 352 -((( 353 353 (% style="color:#4f81bd" %)**AT Commands for counting:** 354 -))) 355 355 356 -((( 357 357 **For LT22222-L:** 358 -))) 359 359 360 360 (% class="box infomessage" %) 361 361 ((( 362 -((( 363 363 **AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) ** 364 364 ))) 365 -))) 366 366 367 367 (% class="box infomessage" %) 368 368 ((( 369 -((( 370 370 **AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) ** 371 371 ))) 372 -))) 373 373 374 374 (% class="box infomessage" %) 375 375 ((( 376 -((( 377 377 **AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) ** 378 378 ))) 379 -))) 380 380 381 381 (% class="box infomessage" %) 382 382 ((( 383 -((( 384 384 **AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) ** 385 385 ))) 386 -))) 387 387 388 388 (% class="box infomessage" %) 389 389 ((( 390 -((( 391 391 **AT+SETCNT=1,60 (Set COUNT1 value to 60)** 392 392 ))) 393 -))) 394 394 395 395 (% class="box infomessage" %) 396 396 ((( 397 -((( 398 398 **AT+SETCNT=2,60 (Set COUNT2 value to 60)** 399 399 ))) 400 -))) 401 401 402 402 === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI === 403 403 ... ... @@ -415,31 +415,21 @@ 415 415 * FIRST: Indicate this is the first packet after join network. 416 416 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 417 417 418 -((( 419 419 (% style="color:red" %)Note: DO3 is not valid for LT-22222-L. 420 -))) 421 421 422 -((( 423 423 **To use counting mode, please run:** 424 -))) 425 425 426 426 (% class="box infomessage" %) 427 427 ((( 428 -((( 429 429 **AT+MOD=3** 430 430 ))) 431 -))) 432 432 433 433 (% class="box infomessage" %) 434 434 ((( 435 -((( 436 436 **ATZ** 437 437 ))) 438 -))) 439 439 440 -((( 441 441 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]]. 442 -))) 443 443 444 444 === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 445 445 ... ... @@ -459,67 +459,44 @@ 459 459 * FIRST: Indicate this is the first packet after join network. 460 460 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 461 461 462 -((( 463 463 (% style="color:red" %)Note: DO3 is not valid for LT-22222-L. 464 -))) 465 465 466 -((( 467 467 **To use this mode, please run:** 468 -))) 469 469 470 470 (% class="box infomessage" %) 471 471 ((( 472 -((( 473 473 **AT+MOD=4** 474 474 ))) 475 -))) 476 476 477 477 (% class="box infomessage" %) 478 478 ((( 479 -((( 480 480 **ATZ** 481 481 ))) 482 -))) 483 483 484 -((( 485 - 486 -))) 487 487 488 -((( 489 489 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]]. 490 -))) 491 491 492 -((( 493 493 **Plus below command for AVI1 Counting:** 494 -))) 495 495 496 496 (% class="box infomessage" %) 497 497 ((( 498 -((( 499 499 **AT+SETCNT=3,60 (set AVI Count to 60)** 500 500 ))) 501 -))) 502 502 503 503 (% class="box infomessage" %) 504 504 ((( 505 -((( 506 506 **AT+VOLMAX=20000 (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 507 507 ))) 508 -))) 509 509 510 510 (% class="box infomessage" %) 511 511 ((( 512 -((( 513 513 **AT+VOLMAX=20000,0 (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)** 514 514 ))) 515 -))) 516 516 517 517 (% class="box infomessage" %) 518 518 ((( 519 -((( 520 520 **AT+VOLMAX=20000,1 (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)** 521 521 ))) 522 -))) 523 523 524 524 === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 525 525 ... ... @@ -533,35 +533,23 @@ 533 533 534 534 * RO is for relay. ROx=1 : close,ROx=0 always open. 535 535 * FIRST: Indicate this is the first packet after join network. 536 -* ((( 537 -DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 538 -))) 481 +* DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 539 539 540 -((( 541 541 (% style="color:red" %)Note: DO3 is not valid for LT-22222-L. 542 -))) 543 543 544 -((( 545 545 **To use this mode, please run:** 546 -))) 547 547 548 548 (% class="box infomessage" %) 549 549 ((( 550 -((( 551 551 **AT+MOD=5** 552 552 ))) 553 -))) 554 554 555 555 (% class="box infomessage" %) 556 556 ((( 557 -((( 558 558 **ATZ** 559 559 ))) 560 -))) 561 561 562 -((( 563 563 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]]. 564 -))) 565 565 566 566 === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) === 567 567 ... ... @@ -969,10 +969,8 @@ 969 969 970 970 (% class="box infomessage" %) 971 971 ((( 972 -((( 973 973 **0xA9 aa bb cc ~/~/ Set DO1/DO2/DO3 output with time control** 974 974 ))) 975 -))) 976 976 977 977 This is to control the digital output time of DO pin. Include four bytes: 978 978 ... ... @@ -1189,6 +1189,7 @@ 1189 1189 1190 1190 [[image:image-20220524094641-11.png||height="390" width="723"]] 1191 1191 1123 + 1192 1192 [[image:image-20220524094641-12.png||height="402" width="718"]] 1193 1193 1194 1194 **Step 3**: Create an account or log in Mydevices. ... ... @@ -1247,7 +1247,7 @@ 1247 1247 1248 1248 So when sensor active, the current between NEC2501 pin1 and pin2 is: 1249 1249 1250 - [[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.**1182 + //IF// = DI1+ / 1K. 1251 1251 1252 1252 If DI1+ = 12v, the //IF// = 12mA , So the LT-22222-L will be able to detect this active signal. 1253 1253 ... ... @@ -1261,9 +1261,9 @@ 1261 1261 1262 1262 So when sensor active, the current between NEC2501 pin1 and pin2 is: 1263 1263 1264 -[[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.** 1196 +[[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.** 1265 1265 1266 -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. 1198 +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. 1267 1267 1268 1268 1269 1269 **Example3**: Connect to a 220v high active sensor. ... ... @@ -1275,7 +1275,7 @@ 1275 1275 1276 1276 So when sensor active, the current between NEC2501 pin1 and pin2 is: 1277 1277 1278 - [[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.** 1210 + [[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.** 1279 1279 1280 1280 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. 1281 1281 ... ... @@ -1334,9 +1334,7 @@ 1334 1334 1335 1335 [[image:1653358238933-385.png]] 1336 1336 1337 -((( 1338 1338 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: 1339 -))) 1340 1340 1341 1341 [[image:1653358355238-883.png]] 1342 1342 ... ... @@ -1658,13 +1658,11 @@ 1658 1658 Below shows the hardware connection for how to upload an image to the LT: 1659 1659 * [[image:1653359603330-121.png]] 1660 1660 1661 -((( 1662 1662 **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]]. 1663 1663 **Step2**: Download the [[LT Image files>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]]. 1664 1664 **Step3: **Open flashloader; choose the correct COM port to update. 1665 1665 **For LT-22222-L**: 1666 1666 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. 1667 -))) 1668 1668 1669 1669 [[image:image-20220524103407-12.png]] 1670 1670 ... ... @@ -1710,15 +1710,10 @@ 1710 1710 [[image:1653360231087-571.png||height="401" width="727"]] 1711 1711 ))) 1712 1712 1713 -((( 1714 1714 (% 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. 1715 -))) 1716 1716 1717 -((( 1718 1718 (% style="color:#4f81bd" %)**Step2**(%%)**: **Run AT Command to make LT work in Single frequency & ABP mode. Below is the AT commands: 1719 -))) 1720 1720 1721 -((( 1722 1722 (% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access. 1723 1723 (% style="background-color:#dcdcdc" %)AT+FDR (%%) Reset Parameters to Factory Default, Keys Reserve 1724 1724 (% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access. ... ... @@ -1729,11 +1729,8 @@ 1729 1729 (% style="background-color:#dcdcdc" %)AT+CHS=868400000 (%%)Set transmit frequency to 868.4Mhz 1730 1730 (% style="background-color:#dcdcdc" %)AT+DADDR=26 01 1A F1(%%) Set Device Address to 26 01 1A F1 1731 1731 (% style="background-color:#dcdcdc" %)ATZ (%%)Reset MCU 1732 -))) 1733 1733 1734 -((( 1735 1735 As shown in below: 1736 -))) 1737 1737 1738 1738 [[image:1653360498588-932.png||height="485" width="726"]] 1739 1739 ... ... @@ -1803,58 +1803,33 @@ 1803 1803 ))) 1804 1804 ))) 1805 1805 1806 -((( 1807 1807 * ((( 1808 1808 (% style="color:#4f81bd" %)**EU433**(%%): LT with frequency bands EU433 1809 1809 ))) 1810 -))) 1811 - 1812 -((( 1813 1813 * ((( 1814 1814 (% style="color:#4f81bd" %)**EU868**(%%): LT with frequency bands EU868 1815 1815 ))) 1816 -))) 1817 - 1818 -((( 1819 1819 * ((( 1820 1820 (% style="color:#4f81bd" %)**KR920**(%%): LT with frequency bands KR920 1821 1821 ))) 1822 -))) 1823 - 1824 -((( 1825 1825 * ((( 1826 1826 (% style="color:#4f81bd" %)**CN470**(%%): LT with frequency bands CN470 1827 1827 ))) 1828 -))) 1829 - 1830 -((( 1831 1831 * ((( 1832 1832 (% style="color:#4f81bd" %)**AS923**(%%): LT with frequency bands AS923 1833 1833 ))) 1834 -))) 1835 - 1836 -((( 1837 1837 * ((( 1838 1838 (% style="color:#4f81bd" %)**AU915**(%%): LT with frequency bands AU915 1839 1839 ))) 1840 -))) 1841 - 1842 -((( 1843 1843 * ((( 1844 1844 (% style="color:#4f81bd" %)**US915**(%%): LT with frequency bands US915 1845 1845 ))) 1846 -))) 1847 - 1848 -((( 1849 1849 * ((( 1850 1850 (% style="color:#4f81bd" %)**IN865**(%%): LT with frequency bands IN865 1851 1851 ))) 1852 -))) 1853 1853 1854 1854 ((( 1855 -* ((( 1856 -(% style="color:#4f81bd" %)**CN779**(%%): LT with frequency bands CN779 1857 -))) 1752 +* (% style="color:#4f81bd" %)**CN779**(%%): LT with frequency bands CN779 1858 1858 1859 1859 = 8. Packing Info = 1860 1860 )))