<
From version < 66.30 >
edited by Xiaoling
on 2022/05/24 14:14
To version < 66.22 >
edited by Xiaoling
on 2022/05/24 13:56
>
Change comment: There is no comment for this version

Summary

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. 
... ... @@ -215,6 +215,7 @@
215 215  
216 216  [[image:image-20220523172350-1.png||height="266" width="864"]]
217 217  
220 +
218 218  (((
219 219  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:
220 220  )))
... ... @@ -326,77 +326,53 @@
326 326  * FIRST: Indicate this is the first packet after join network.
327 327  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
328 328  
329 -(((
330 330  (% style="color:red" %)Note: DO3 bit is not valid for LT-22222-L.
331 -)))
332 332  
333 -(((
334 334  **To use counting mode, please run:**
335 -)))
336 336  
337 337  (% class="box infomessage" %)
338 338  (((
339 -(((
340 340  **AT+MOD=2**
341 341  )))
342 -)))
343 343  
344 344  (% class="box infomessage" %)
345 345  (((
346 -(((
347 347  **ATZ**
348 348  )))
349 -)))
350 350  
351 -(((
352 352  (% style="color:#4f81bd" %)**AT Commands for counting:**
353 -)))
354 354  
355 -(((
356 356  **For LT22222-L:**
357 -)))
358 358  
359 359  (% class="box infomessage" %)
360 360  (((
361 -(((
362 362  **AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) **
363 363  )))
364 -)))
365 365  
366 366  (% class="box infomessage" %)
367 367  (((
368 -(((
369 369  **AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) **
370 370  )))
371 -)))
372 372  
373 373  (% class="box infomessage" %)
374 374  (((
375 -(((
376 376  **AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) **
377 377  )))
378 -)))
379 379  
380 380  (% class="box infomessage" %)
381 381  (((
382 -(((
383 383  **AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) **
384 384  )))
385 -)))
386 386  
387 387  (% class="box infomessage" %)
388 388  (((
389 -(((
390 390  **AT+SETCNT=1,60   (Set COUNT1 value to 60)**
391 391  )))
392 -)))
393 393  
394 394  (% class="box infomessage" %)
395 395  (((
396 -(((
397 397  **AT+SETCNT=2,60   (Set COUNT2 value to 60)**
398 398  )))
399 -)))
400 400  
401 401  === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI ===
402 402  
... ... @@ -414,31 +414,21 @@
414 414  * FIRST: Indicate this is the first packet after join network.
415 415  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
416 416  
417 -(((
418 418  (% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
419 -)))
420 420  
421 -(((
422 422  **To use counting mode, please run:**
423 -)))
424 424  
425 425  (% class="box infomessage" %)
426 426  (((
427 -(((
428 428  **AT+MOD=3**
429 429  )))
430 -)))
431 431  
432 432  (% class="box infomessage" %)
433 433  (((
434 -(((
435 435  **ATZ**
436 436  )))
437 -)))
438 438  
439 -(((
440 440  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 -)))
442 442  
443 443  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
444 444  
... ... @@ -458,67 +458,44 @@
458 458  * FIRST: Indicate this is the first packet after join network.
459 459  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
460 460  
461 -(((
462 462  (% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
463 -)))
464 464  
465 -(((
466 466  **To use this mode, please run:**
467 -)))
468 468  
469 469  (% class="box infomessage" %)
470 470  (((
471 -(((
472 472  **AT+MOD=4**
473 473  )))
474 -)))
475 475  
476 476  (% class="box infomessage" %)
477 477  (((
478 -(((
479 479  **ATZ**
480 480  )))
481 -)))
482 482  
483 -(((
484 -
485 -)))
486 486  
487 -(((
488 488  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 -)))
490 490  
491 -(((
492 492  **Plus below command for AVI1 Counting:**
493 -)))
494 494  
495 495  (% class="box infomessage" %)
496 496  (((
497 -(((
498 498  **AT+SETCNT=3,60   (set AVI Count to 60)**
499 499  )))
500 -)))
501 501  
502 502  (% class="box infomessage" %)
503 503  (((
504 -(((
505 505  **AT+VOLMAX=20000   (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
506 506  )))
507 -)))
508 508  
509 509  (% class="box infomessage" %)
510 510  (((
511 -(((
512 512  **AT+VOLMAX=20000,0   (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)**
513 513  )))
514 -)))
515 515  
516 516  (% class="box infomessage" %)
517 517  (((
518 -(((
519 519  **AT+VOLMAX=20000,1   (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)**
520 520  )))
521 -)))
522 522  
523 523  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
524 524  
... ... @@ -532,35 +532,23 @@
532 532  
533 533  * RO is for relay. ROx=1 : close,ROx=0 always open.
534 534  * FIRST: Indicate this is the first packet after join network.
535 -* (((
536 -DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
537 -)))
481 +* DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
538 538  
539 -(((
540 540  (% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
541 -)))
542 542  
543 -(((
544 544  **To use this mode, please run:**
545 -)))
546 546  
547 547  (% class="box infomessage" %)
548 548  (((
549 -(((
550 550  **AT+MOD=5**
551 551  )))
552 -)))
553 553  
554 554  (% class="box infomessage" %)
555 555  (((
556 -(((
557 557  **ATZ**
558 558  )))
559 -)))
560 560  
561 -(((
562 562  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 -)))
564 564  
565 565  === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
566 566  
... ... @@ -968,10 +968,8 @@
968 968  
969 969  (% class="box infomessage" %)
970 970  (((
971 -(((
972 972  **0xA9 aa bb cc     ~/~/ Set DO1/DO2/DO3 output with time control**
973 973  )))
974 -)))
975 975  
976 976  This is to control the digital output time of DO pin. Include four bytes:
977 977  
... ... @@ -1180,18 +1180,15 @@
1180 1180  
1181 1181  Mydevices provides a human friendly interface to show the sensor data, once we have data in TTN, we can use Mydevices to connect to TTN and see the data in Mydevices. Below are the steps:
1182 1182  
1183 -(((
1184 1184  **Step 1**: Be sure that your device is programmed and properly connected to the network at this time.
1185 -)))
1186 1186  
1187 -(((
1188 1188  **Step 2**: To configure the Application to forward data to Mydevices you will need to add integration. To add the Mydevices integration, perform the following steps:
1189 -)))
1190 1190  
1191 1191  [[image:1653356737703-362.png||height="232" width="732"]]
1192 1192  
1193 1193  [[image:image-20220524094641-11.png||height="390" width="723"]]
1194 1194  
1123 +
1195 1195  [[image:image-20220524094641-12.png||height="402" width="718"]]
1196 1196  
1197 1197  **Step 3**: Create an account or log in Mydevices.
... ... @@ -1250,7 +1250,7 @@
1250 1250  
1251 1251  So when sensor active, the current between NEC2501 pin1 and pin2 is: ​​
1252 1252  
1253 -[[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.
1254 1254  
1255 1255  If DI1+ = 12v, the //IF// = 12mA , So the LT-22222-L will be able to detect this active signal.
1256 1256  
... ... @@ -1264,9 +1264,9 @@
1264 1264  
1265 1265  So when sensor active, the current between NEC2501 pin1 and pin2 is:
1266 1266  
1267 -[[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.**
1268 1268  
1269 -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.
1270 1270  
1271 1271  
1272 1272  **Example3**: Connect to a 220v high active sensor.
... ... @@ -1278,7 +1278,7 @@
1278 1278  
1279 1279  So when sensor active, the current between NEC2501 pin1 and pin2 is:
1280 1280  
1281 - [[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.**
1282 1282  
1283 1283  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.
1284 1284  
... ... @@ -1337,9 +1337,7 @@
1337 1337  
1338 1338  [[image:1653358238933-385.png]]
1339 1339  
1340 -(((
1341 1341  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:
1342 -)))
1343 1343  
1344 1344  [[image:1653358355238-883.png]]
1345 1345  
... ... @@ -1661,13 +1661,11 @@
1661 1661  Below shows the hardware connection for how to upload an image to the LT:
1662 1662  * [[image:1653359603330-121.png]]
1663 1663  
1664 -(((
1665 1665  **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]].
1666 1666  **Step2**: Download the [[LT Image files>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]].
1667 1667  **Step3: **Open flashloader; choose the correct COM port to update.
1668 1668  **For LT-22222-L**:
1669 1669  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.
1670 -)))
1671 1671  
1672 1672   [[image:image-20220524103407-12.png]]
1673 1673  
... ... @@ -1713,15 +1713,10 @@
1713 1713  [[image:1653360231087-571.png||height="401" width="727"]]
1714 1714  )))
1715 1715  
1716 -(((
1717 1717  (% 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.
1718 -)))
1719 1719  
1720 -(((
1721 1721  (% style="color:#4f81bd" %)**Step2**(%%)**: **Run AT Command to make LT work in Single frequency & ABP mode. Below is the AT commands:
1722 -)))
1723 1723  
1724 -(((
1725 1725  (% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access.
1726 1726  (% style="background-color:#dcdcdc" %)AT+FDR  (%%) Reset Parameters to Factory Default, Keys Reserve
1727 1727  (% style="background-color:#dcdcdc" %)123456  (%%) Enter Password to have AT access.
... ... @@ -1732,11 +1732,8 @@
1732 1732  (% style="background-color:#dcdcdc" %)AT+CHS=868400000 (%%)Set transmit frequency to 868.4Mhz
1733 1733  (% style="background-color:#dcdcdc" %)AT+DADDR=26 01 1A F1(%%) Set Device Address to 26 01 1A F1
1734 1734  (% style="background-color:#dcdcdc" %)ATZ                (%%)Reset MCU
1735 -)))
1736 1736  
1737 -(((
1738 1738  As shown in below:
1739 -)))
1740 1740  
1741 1741  [[image:1653360498588-932.png||height="485" width="726"]]
1742 1742  
... ... @@ -1806,58 +1806,33 @@
1806 1806  )))
1807 1807  )))
1808 1808  
1809 -(((
1810 1810  * (((
1811 1811  (% style="color:#4f81bd" %)**EU433**(%%): LT with frequency bands EU433
1812 1812  )))
1813 -)))
1814 -
1815 -(((
1816 1816  * (((
1817 1817  (% style="color:#4f81bd" %)**EU868**(%%): LT with frequency bands EU868
1818 1818  )))
1819 -)))
1820 -
1821 -(((
1822 1822  * (((
1823 1823  (% style="color:#4f81bd" %)**KR920**(%%): LT with frequency bands KR920
1824 1824  )))
1825 -)))
1826 -
1827 -(((
1828 1828  * (((
1829 1829  (% style="color:#4f81bd" %)**CN470**(%%): LT with frequency bands CN470
1830 1830  )))
1831 -)))
1832 -
1833 -(((
1834 1834  * (((
1835 1835  (% style="color:#4f81bd" %)**AS923**(%%): LT with frequency bands AS923
1836 1836  )))
1837 -)))
1838 -
1839 -(((
1840 1840  * (((
1841 1841  (% style="color:#4f81bd" %)**AU915**(%%): LT with frequency bands AU915
1842 1842  )))
1843 -)))
1844 -
1845 -(((
1846 1846  * (((
1847 1847  (% style="color:#4f81bd" %)**US915**(%%): LT with frequency bands US915
1848 1848  )))
1849 -)))
1850 -
1851 -(((
1852 1852  * (((
1853 1853  (% style="color:#4f81bd" %)**IN865**(%%): LT with frequency bands IN865
1854 1854  )))
1855 -)))
1856 1856  
1857 1857  (((
1858 -* (((
1859 -(% style="color:#4f81bd" %)**CN779**(%%): LT with frequency bands CN779
1860 -)))
1752 +* (% style="color:#4f81bd" %)**CN779**(%%): LT with frequency bands CN779
1861 1861  
1862 1862  = 8. Packing Info =
1863 1863  )))
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0