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,9 +207,7 @@ 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 -((( 211 -3.2 Example to join LoRaWAN network 212 -))) 210 +== 3.2 Example to join LoRaWAN network == 213 213 214 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. ... ... @@ -217,7 +217,6 @@ 217 217 218 218 [[image:image-20220523172350-1.png||height="266" width="864"]] 219 219 220 - 221 221 ((( 222 222 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: 223 223 ))) ... ... @@ -417,21 +417,31 @@ 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 417 +((( 420 420 (% style="color:red" %)Note: DO3 is not valid for LT-22222-L. 419 +))) 421 421 421 +((( 422 422 **To use counting mode, please run:** 423 +))) 423 423 424 424 (% class="box infomessage" %) 425 425 ((( 427 +((( 426 426 **AT+MOD=3** 427 427 ))) 430 +))) 428 428 429 429 (% class="box infomessage" %) 430 430 ((( 434 +((( 431 431 **ATZ** 432 432 ))) 437 +))) 433 433 439 +((( 434 434 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]]. 441 +))) 435 435 436 436 === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 437 437 ... ... @@ -451,44 +451,67 @@ 451 451 * FIRST: Indicate this is the first packet after join network. 452 452 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 453 453 461 +((( 454 454 (% style="color:red" %)Note: DO3 is not valid for LT-22222-L. 463 +))) 455 455 465 +((( 456 456 **To use this mode, please run:** 467 +))) 457 457 458 458 (% class="box infomessage" %) 459 459 ((( 471 +((( 460 460 **AT+MOD=4** 461 461 ))) 474 +))) 462 462 463 463 (% class="box infomessage" %) 464 464 ((( 478 +((( 465 465 **ATZ** 466 466 ))) 481 +))) 467 467 483 +((( 484 + 485 +))) 468 468 487 +((( 469 469 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]]. 489 +))) 470 470 491 +((( 471 471 **Plus below command for AVI1 Counting:** 493 +))) 472 472 473 473 (% class="box infomessage" %) 474 474 ((( 497 +((( 475 475 **AT+SETCNT=3,60 (set AVI Count to 60)** 476 476 ))) 500 +))) 477 477 478 478 (% class="box infomessage" %) 479 479 ((( 504 +((( 480 480 **AT+VOLMAX=20000 (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 481 481 ))) 507 +))) 482 482 483 483 (% class="box infomessage" %) 484 484 ((( 511 +((( 485 485 **AT+VOLMAX=20000,0 (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)** 486 486 ))) 514 +))) 487 487 488 488 (% class="box infomessage" %) 489 489 ((( 518 +((( 490 490 **AT+VOLMAX=20000,1 (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)** 491 491 ))) 521 +))) 492 492 493 493 === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 494 494 ... ... @@ -502,23 +502,35 @@ 502 502 503 503 * RO is for relay. ROx=1 : close,ROx=0 always open. 504 504 * FIRST: Indicate this is the first packet after join network. 505 -* DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 535 +* ((( 536 +DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 537 +))) 506 506 539 +((( 507 507 (% style="color:red" %)Note: DO3 is not valid for LT-22222-L. 541 +))) 508 508 543 +((( 509 509 **To use this mode, please run:** 545 +))) 510 510 511 511 (% class="box infomessage" %) 512 512 ((( 549 +((( 513 513 **AT+MOD=5** 514 514 ))) 552 +))) 515 515 516 516 (% class="box infomessage" %) 517 517 ((( 556 +((( 518 518 **ATZ** 519 519 ))) 559 +))) 520 520 561 +((( 521 521 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]]. 563 +))) 522 522 523 523 === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) === 524 524 ... ... @@ -926,8 +926,10 @@ 926 926 927 927 (% class="box infomessage" %) 928 928 ((( 971 +((( 929 929 **0xA9 aa bb cc ~/~/ Set DO1/DO2/DO3 output with time control** 930 930 ))) 974 +))) 931 931 932 932 This is to control the digital output time of DO pin. Include four bytes: 933 933 ... ... @@ -1144,7 +1144,6 @@ 1144 1144 1145 1145 [[image:image-20220524094641-11.png||height="390" width="723"]] 1146 1146 1147 - 1148 1148 [[image:image-20220524094641-12.png||height="402" width="718"]] 1149 1149 1150 1150 **Step 3**: Create an account or log in Mydevices. ... ... @@ -1203,7 +1203,7 @@ 1203 1203 1204 1204 So when sensor active, the current between NEC2501 pin1 and pin2 is: 1205 1205 1206 - IF// = DI1+ / 1K.1249 +[[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.** 1207 1207 1208 1208 If DI1+ = 12v, the //IF// = 12mA , So the LT-22222-L will be able to detect this active signal. 1209 1209 ... ... @@ -1217,9 +1217,9 @@ 1217 1217 1218 1218 So when sensor active, the current between NEC2501 pin1 and pin2 is: 1219 1219 1220 -[[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.**1263 +[[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.** 1221 1221 1222 -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.1265 +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. 1223 1223 1224 1224 1225 1225 **Example3**: Connect to a 220v high active sensor. ... ... @@ -1231,7 +1231,7 @@ 1231 1231 1232 1232 So when sensor active, the current between NEC2501 pin1 and pin2 is: 1233 1233 1234 - [[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.**1277 + [[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.** 1235 1235 1236 1236 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. 1237 1237 ... ... @@ -1290,7 +1290,9 @@ 1290 1290 1291 1291 [[image:1653358238933-385.png]] 1292 1292 1336 +((( 1293 1293 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: 1338 +))) 1294 1294 1295 1295 [[image:1653358355238-883.png]] 1296 1296 ... ... @@ -1612,11 +1612,13 @@ 1612 1612 Below shows the hardware connection for how to upload an image to the LT: 1613 1613 * [[image:1653359603330-121.png]] 1614 1614 1660 +((( 1615 1615 **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]]. 1616 1616 **Step2**: Download the [[LT Image files>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]]. 1617 1617 **Step3: **Open flashloader; choose the correct COM port to update. 1618 1618 **For LT-22222-L**: 1619 1619 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. 1666 +))) 1620 1620 1621 1621 [[image:image-20220524103407-12.png]] 1622 1622 ... ... @@ -1662,10 +1662,15 @@ 1662 1662 [[image:1653360231087-571.png||height="401" width="727"]] 1663 1663 ))) 1664 1664 1712 +((( 1665 1665 (% 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. 1714 +))) 1666 1666 1716 +((( 1667 1667 (% style="color:#4f81bd" %)**Step2**(%%)**: **Run AT Command to make LT work in Single frequency & ABP mode. Below is the AT commands: 1718 +))) 1668 1668 1720 +((( 1669 1669 (% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access. 1670 1670 (% style="background-color:#dcdcdc" %)AT+FDR (%%) Reset Parameters to Factory Default, Keys Reserve 1671 1671 (% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access. ... ... @@ -1676,8 +1676,11 @@ 1676 1676 (% style="background-color:#dcdcdc" %)AT+CHS=868400000 (%%)Set transmit frequency to 868.4Mhz 1677 1677 (% style="background-color:#dcdcdc" %)AT+DADDR=26 01 1A F1(%%) Set Device Address to 26 01 1A F1 1678 1678 (% style="background-color:#dcdcdc" %)ATZ (%%)Reset MCU 1731 +))) 1679 1679 1733 +((( 1680 1680 As shown in below: 1735 +))) 1681 1681 1682 1682 [[image:1653360498588-932.png||height="485" width="726"]] 1683 1683 ... ... @@ -1747,33 +1747,58 @@ 1747 1747 ))) 1748 1748 ))) 1749 1749 1805 +((( 1750 1750 * ((( 1751 1751 (% style="color:#4f81bd" %)**EU433**(%%): LT with frequency bands EU433 1752 1752 ))) 1809 +))) 1810 + 1811 +((( 1753 1753 * ((( 1754 1754 (% style="color:#4f81bd" %)**EU868**(%%): LT with frequency bands EU868 1755 1755 ))) 1815 +))) 1816 + 1817 +((( 1756 1756 * ((( 1757 1757 (% style="color:#4f81bd" %)**KR920**(%%): LT with frequency bands KR920 1758 1758 ))) 1821 +))) 1822 + 1823 +((( 1759 1759 * ((( 1760 1760 (% style="color:#4f81bd" %)**CN470**(%%): LT with frequency bands CN470 1761 1761 ))) 1827 +))) 1828 + 1829 +((( 1762 1762 * ((( 1763 1763 (% style="color:#4f81bd" %)**AS923**(%%): LT with frequency bands AS923 1764 1764 ))) 1833 +))) 1834 + 1835 +((( 1765 1765 * ((( 1766 1766 (% style="color:#4f81bd" %)**AU915**(%%): LT with frequency bands AU915 1767 1767 ))) 1839 +))) 1840 + 1841 +((( 1768 1768 * ((( 1769 1769 (% style="color:#4f81bd" %)**US915**(%%): LT with frequency bands US915 1770 1770 ))) 1845 +))) 1846 + 1847 +((( 1771 1771 * ((( 1772 1772 (% style="color:#4f81bd" %)**IN865**(%%): LT with frequency bands IN865 1773 1773 ))) 1851 +))) 1774 1774 1775 1775 ((( 1776 -* (% style="color:#4f81bd" %)**CN779**(%%): LT with frequency bands CN779 1854 +* ((( 1855 +(% style="color:#4f81bd" %)**CN779**(%%): LT with frequency bands CN779 1856 +))) 1777 1777 1778 1778 = 8. Packing Info = 1779 1779 )))