<
From version < 66.25 >
edited by Xiaoling
on 2022/05/24 14:02
To version < 68.2 >
edited by Xiaoling
on 2022/05/25 14:26
>
Change comment: There is no comment for this version

Summary

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  )))
... ... @@ -1177,15 +1177,21 @@
1177 1177  **0x A7 aa bb cc     ~/~/ same as AT+COUTIME =aa bb cc,**
1178 1178  )))
1179 1179  
1177 +(((
1180 1180  range: aa bb cc:0 to 16777215,  (unit:second)
1179 +)))
1181 1181  
1182 1182  == 3.5 Integrate with Mydevice ==
1183 1183  
1184 1184  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:
1185 1185  
1185 +(((
1186 1186  **Step 1**: Be sure that your device is programmed and properly connected to the network at this time.
1187 +)))
1187 1187  
1189 +(((
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:
1191 +)))
1189 1189  
1190 1190  [[image:1653356737703-362.png||height="232" width="732"]]
1191 1191  
... ... @@ -1249,7 +1249,7 @@
1249 1249  
1250 1250  So when sensor active, the current between NEC2501 pin1 and pin2 is: ​​
1251 1251  
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.**
1255 +[[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:/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.**
1253 1253  
1254 1254  If DI1+ = 12v, the //IF// = 12mA , So the LT-22222-L will be able to detect this active signal.
1255 1255  
... ... @@ -1263,9 +1263,9 @@
1263 1263  
1264 1264  So when sensor active, the current between NEC2501 pin1 and pin2 is:
1265 1265  
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.**
1269 +[[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:/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.**
1267 1267  
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.
1271 +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:/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.
1269 1269  
1270 1270  
1271 1271  **Example3**: Connect to a 220v high active sensor.
... ... @@ -1277,7 +1277,7 @@
1277 1277  
1278 1278  So when sensor active, the current between NEC2501 pin1 and pin2 is:
1279 1279  
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.**
1283 + [[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:/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.**
1281 1281  
1282 1282  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.
1283 1283  
... ... @@ -1336,11 +1336,15 @@
1336 1336  
1337 1337  [[image:1653358238933-385.png]]
1338 1338  
1342 +(((
1339 1339  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:
1344 +)))
1340 1340  
1341 1341  [[image:1653358355238-883.png]]
1342 1342  
1348 +(((
1343 1343  More detail AT Command manual can be found at [[AT Command Manual>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/]]
1350 +)))
1344 1344  
1345 1345  (((
1346 1346  AT+<CMD>?        : Help on <CMD>
... ... @@ -1658,11 +1658,13 @@
1658 1658  Below shows the hardware connection for how to upload an image to the LT:
1659 1659  * [[image:1653359603330-121.png]]
1660 1660  
1668 +(((
1661 1661  **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]].
1662 1662  **Step2**: Download the [[LT Image files>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]].
1663 1663  **Step3: **Open flashloader; choose the correct COM port to update.
1664 1664  **For LT-22222-L**:
1665 1665  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.
1674 +)))
1666 1666  
1667 1667   [[image:image-20220524103407-12.png]]
1668 1668  
... ... @@ -1708,10 +1708,15 @@
1708 1708  [[image:1653360231087-571.png||height="401" width="727"]]
1709 1709  )))
1710 1710  
1720 +(((
1711 1711  (% 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.
1722 +)))
1712 1712  
1724 +(((
1713 1713  (% style="color:#4f81bd" %)**Step2**(%%)**: **Run AT Command to make LT work in Single frequency & ABP mode. Below is the AT commands:
1726 +)))
1714 1714  
1728 +(((
1715 1715  (% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access.
1716 1716  (% style="background-color:#dcdcdc" %)AT+FDR  (%%) Reset Parameters to Factory Default, Keys Reserve
1717 1717  (% style="background-color:#dcdcdc" %)123456  (%%) Enter Password to have AT access.
... ... @@ -1722,8 +1722,11 @@
1722 1722  (% style="background-color:#dcdcdc" %)AT+CHS=868400000 (%%)Set transmit frequency to 868.4Mhz
1723 1723  (% style="background-color:#dcdcdc" %)AT+DADDR=26 01 1A F1(%%) Set Device Address to 26 01 1A F1
1724 1724  (% style="background-color:#dcdcdc" %)ATZ                (%%)Reset MCU
1739 +)))
1725 1725  
1741 +(((
1726 1726  As shown in below:
1743 +)))
1727 1727  
1728 1728  [[image:1653360498588-932.png||height="485" width="726"]]
1729 1729  
... ... @@ -1734,7 +1734,7 @@
1734 1734  )))
1735 1735  
1736 1736  (((
1737 -= 6. Trouble Shooting =
1754 += 6. Trouble Shooting =
1738 1738  )))
1739 1739  
1740 1740  (((
... ... @@ -1744,13 +1744,14 @@
1744 1744  )))
1745 1745  
1746 1746  (((
1747 -Please see this link for how to debug:
1764 +Please see this link for how to debug: [[see how it work>>LoRaWAN_Communication_Debug||anchor="H5.1Howitwork:NO"]]
1748 1748  
1749 -[[http:~~/~~/8.211.40.43:8080/xwiki/bin/view/Main/LoRaWAN%20Communication%20Debug/>>http://8.211.40.43:8080/xwiki/bin/view/Main/LoRaWAN%20Communication%20Debug/]]
1750 -)))
1751 1751  
1752 -(((
1753 -[[http:~~/~~/wiki.dragino.com/index.php?title=LoRaWAN_Communication_Debug#How_it_work>>url:http://wiki.dragino.com/index.php?title=LoRaWAN_Communication_Debug#How_it_work]]
1767 +
1768 +
1769 +[[http:~~/~~/wiki1.dragino.com/xwiki/bin/view/Main/LoRaWAN%20Communication%20Debug/#H5.1Howitwork>>http://wiki1.dragino.com/xwiki/bin/view/Main/LoRaWAN%20Communication%20Debug/#H5.1Howitwork]]
1770 +
1771 +
1754 1754  )))
1755 1755  
1756 1756  (((
... ... @@ -1793,33 +1793,58 @@
1793 1793  )))
1794 1794  )))
1795 1795  
1814 +(((
1796 1796  * (((
1797 1797  (% style="color:#4f81bd" %)**EU433**(%%): LT with frequency bands EU433
1798 1798  )))
1818 +)))
1819 +
1820 +(((
1799 1799  * (((
1800 1800  (% style="color:#4f81bd" %)**EU868**(%%): LT with frequency bands EU868
1801 1801  )))
1824 +)))
1825 +
1826 +(((
1802 1802  * (((
1803 1803  (% style="color:#4f81bd" %)**KR920**(%%): LT with frequency bands KR920
1804 1804  )))
1830 +)))
1831 +
1832 +(((
1805 1805  * (((
1806 1806  (% style="color:#4f81bd" %)**CN470**(%%): LT with frequency bands CN470
1807 1807  )))
1836 +)))
1837 +
1838 +(((
1808 1808  * (((
1809 1809  (% style="color:#4f81bd" %)**AS923**(%%): LT with frequency bands AS923
1810 1810  )))
1842 +)))
1843 +
1844 +(((
1811 1811  * (((
1812 1812  (% style="color:#4f81bd" %)**AU915**(%%): LT with frequency bands AU915
1813 1813  )))
1848 +)))
1849 +
1850 +(((
1814 1814  * (((
1815 1815  (% style="color:#4f81bd" %)**US915**(%%): LT with frequency bands US915
1816 1816  )))
1854 +)))
1855 +
1856 +(((
1817 1817  * (((
1818 1818  (% style="color:#4f81bd" %)**IN865**(%%): LT with frequency bands IN865
1819 1819  )))
1860 +)))
1820 1820  
1821 1821  (((
1822 -* (% style="color:#4f81bd" %)**CN779**(%%): LT with frequency bands CN779
1863 +* (((
1864 +(% style="color:#4f81bd" %)**CN779**(%%): LT with frequency bands CN779
1865 +)))
1823 1823  
1824 1824  = 8. Packing Info =
1825 1825  )))
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0