<
From version < 66.24 >
edited by Xiaoling
on 2022/05/24 13:58
To version < 68.3 >
edited by Xiaoling
on 2022/05/25 14:33
>
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  )))
... ... @@ -971,8 +971,10 @@
971 971  
972 972  (% class="box infomessage" %)
973 973  (((
971 +(((
974 974  **0xA9 aa bb cc     ~/~/ Set DO1/DO2/DO3 output with time control**
975 975  )))
974 +)))
976 976  
977 977  This is to control the digital output time of DO pin. Include four bytes:
978 978  
... ... @@ -1175,21 +1175,26 @@
1175 1175  **0x A7 aa bb cc     ~/~/ same as AT+COUTIME =aa bb cc,**
1176 1176  )))
1177 1177  
1177 +(((
1178 1178  range: aa bb cc:0 to 16777215,  (unit:second)
1179 +)))
1179 1179  
1180 1180  == 3.5 Integrate with Mydevice ==
1181 1181  
1182 1182  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:
1183 1183  
1185 +(((
1184 1184  **Step 1**: Be sure that your device is programmed and properly connected to the network at this time.
1187 +)))
1185 1185  
1189 +(((
1186 1186  **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 +)))
1187 1187  
1188 1188  [[image:1653356737703-362.png||height="232" width="732"]]
1189 1189  
1190 1190  [[image:image-20220524094641-11.png||height="390" width="723"]]
1191 1191  
1192 -
1193 1193  [[image:image-20220524094641-12.png||height="402" width="718"]]
1194 1194  
1195 1195  **Step 3**: Create an account or log in Mydevices.
... ... @@ -1248,7 +1248,7 @@
1248 1248  
1249 1249  So when sensor active, the current between NEC2501 pin1 and pin2 is: ​​
1250 1250  
1251 - //IF// = 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:/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.**
1252 1252  
1253 1253  If DI1+ = 12v, the //IF// = 12mA , So the LT-22222-L will be able to detect this active signal.
1254 1254  
... ... @@ -1262,9 +1262,9 @@
1262 1262  
1263 1263  So when sensor active, the current between NEC2501 pin1 and pin2 is:
1264 1264  
1265 -[[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.**
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:/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 1266  
1267 -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.
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:/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 1268  
1269 1269  
1270 1270  **Example3**: Connect to a 220v high active sensor.
... ... @@ -1276,7 +1276,7 @@
1276 1276  
1277 1277  So when sensor active, the current between NEC2501 pin1 and pin2 is:
1278 1278  
1279 - [[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.**
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:/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 1280  
1281 1281  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.
1282 1282  
... ... @@ -1335,11 +1335,15 @@
1335 1335  
1336 1336  [[image:1653358238933-385.png]]
1337 1337  
1342 +(((
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:
1344 +)))
1339 1339  
1340 1340  [[image:1653358355238-883.png]]
1341 1341  
1348 +(((
1342 1342  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 +)))
1343 1343  
1344 1344  (((
1345 1345  AT+<CMD>?        : Help on <CMD>
... ... @@ -1657,11 +1657,13 @@
1657 1657  Below shows the hardware connection for how to upload an image to the LT:
1658 1658  * [[image:1653359603330-121.png]]
1659 1659  
1668 +(((
1660 1660  **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]].
1661 1661  **Step2**: Download the [[LT Image files>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]].
1662 1662  **Step3: **Open flashloader; choose the correct COM port to update.
1663 1663  **For LT-22222-L**:
1664 1664  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 +)))
1665 1665  
1666 1666   [[image:image-20220524103407-12.png]]
1667 1667  
... ... @@ -1680,7 +1680,7 @@
1680 1680  )))
1681 1681  
1682 1682  (((
1683 -User can follow the introduction for [[how to upgrade image>>path:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H5.1Howtoupgradetheimage3F]]. When download the images, choose the required image file for download.
1693 +User can follow the introduction for [[how to upgrade image>>||anchor="H5.1Howtoupgradetheimage3F"]]. When download the images, choose the required image file for download.
1684 1684  )))
1685 1685  
1686 1686  (((
... ... @@ -1707,10 +1707,15 @@
1707 1707  [[image:1653360231087-571.png||height="401" width="727"]]
1708 1708  )))
1709 1709  
1720 +(((
1710 1710  (% 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 +)))
1711 1711  
1724 +(((
1712 1712  (% style="color:#4f81bd" %)**Step2**(%%)**: **Run AT Command to make LT work in Single frequency & ABP mode. Below is the AT commands:
1726 +)))
1713 1713  
1728 +(((
1714 1714  (% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access.
1715 1715  (% style="background-color:#dcdcdc" %)AT+FDR  (%%) Reset Parameters to Factory Default, Keys Reserve
1716 1716  (% style="background-color:#dcdcdc" %)123456  (%%) Enter Password to have AT access.
... ... @@ -1721,8 +1721,11 @@
1721 1721  (% style="background-color:#dcdcdc" %)AT+CHS=868400000 (%%)Set transmit frequency to 868.4Mhz
1722 1722  (% style="background-color:#dcdcdc" %)AT+DADDR=26 01 1A F1(%%) Set Device Address to 26 01 1A F1
1723 1723  (% style="background-color:#dcdcdc" %)ATZ                (%%)Reset MCU
1739 +)))
1724 1724  
1741 +(((
1725 1725  As shown in below:
1743 +)))
1726 1726  
1727 1727  [[image:1653360498588-932.png||height="485" width="726"]]
1728 1728  
... ... @@ -1733,7 +1733,7 @@
1733 1733  )))
1734 1734  
1735 1735  (((
1736 -= 6. Trouble Shooting =
1754 += 6. Trouble Shooting =
1737 1737  )))
1738 1738  
1739 1739  (((
... ... @@ -1743,13 +1743,11 @@
1743 1743  )))
1744 1744  
1745 1745  (((
1746 -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"]]
1747 1747  
1748 -[[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/]]
1749 -)))
1766 +[[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]]
1750 1750  
1751 -(((
1752 -[[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]]
1768 +
1753 1753  )))
1754 1754  
1755 1755  (((
... ... @@ -1758,10 +1758,12 @@
1758 1758  
1759 1759  (((
1760 1760  See this link for trouble shooting:
1777 +
1778 +[[http:~~/~~/wiki1.dragino.com/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/>>http://wiki1.dragino.com/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/]]
1761 1761  )))
1762 1762  
1763 1763  (((
1764 -[[http:~~/~~/wiki.dragino.com/index.php?title=Firmware_Upgrade_Trouble_Shooting#UART_upgrade_trouble_shooting>>url:http://wiki.dragino.com/index.php?title=Firmware_Upgrade_Trouble_Shooting#UART_upgrade_trouble_shooting]]
1782 +
1765 1765  )))
1766 1766  
1767 1767  (((
... ... @@ -1770,10 +1770,12 @@
1770 1770  
1771 1771  (((
1772 1772  It might be about the channels mapping. Please see this link for detail:
1791 +
1792 +[[http:~~/~~/wiki1.dragino.com/xwiki/bin/view/Main/LoRaWAN%20Communication%20Debug/#H2.NoticeofUS9152FCN4702FAU915Frequencyband>>http://wiki1.dragino.com/xwiki/bin/view/Main/LoRaWAN%20Communication%20Debug/#H2.NoticeofUS9152FCN4702FAU915Frequencyband]]
1773 1773  )))
1774 1774  
1775 1775  (((
1776 -[[http:~~/~~/wiki.dragino.com/index.php?title=LoRaWAN_Communication_Debug#Notice_of_US915.2FCN470.2FAU915_Frequency_band>>url:http://wiki.dragino.com/index.php?title=LoRaWAN_Communication_Debug#Notice_of_US915.2FCN470.2FAU915_Frequency_band]]
1796 +
1777 1777  )))
1778 1778  
1779 1779  (((
... ... @@ -1792,33 +1792,58 @@
1792 1792  )))
1793 1793  )))
1794 1794  
1815 +(((
1795 1795  * (((
1796 1796  (% style="color:#4f81bd" %)**EU433**(%%): LT with frequency bands EU433
1797 1797  )))
1819 +)))
1820 +
1821 +(((
1798 1798  * (((
1799 1799  (% style="color:#4f81bd" %)**EU868**(%%): LT with frequency bands EU868
1800 1800  )))
1825 +)))
1826 +
1827 +(((
1801 1801  * (((
1802 1802  (% style="color:#4f81bd" %)**KR920**(%%): LT with frequency bands KR920
1803 1803  )))
1831 +)))
1832 +
1833 +(((
1804 1804  * (((
1805 1805  (% style="color:#4f81bd" %)**CN470**(%%): LT with frequency bands CN470
1806 1806  )))
1837 +)))
1838 +
1839 +(((
1807 1807  * (((
1808 1808  (% style="color:#4f81bd" %)**AS923**(%%): LT with frequency bands AS923
1809 1809  )))
1843 +)))
1844 +
1845 +(((
1810 1810  * (((
1811 1811  (% style="color:#4f81bd" %)**AU915**(%%): LT with frequency bands AU915
1812 1812  )))
1849 +)))
1850 +
1851 +(((
1813 1813  * (((
1814 1814  (% style="color:#4f81bd" %)**US915**(%%): LT with frequency bands US915
1815 1815  )))
1855 +)))
1856 +
1857 +(((
1816 1816  * (((
1817 1817  (% style="color:#4f81bd" %)**IN865**(%%): LT with frequency bands IN865
1818 1818  )))
1861 +)))
1819 1819  
1820 1820  (((
1821 -* (% style="color:#4f81bd" %)**CN779**(%%): LT with frequency bands CN779
1864 +* (((
1865 +(% style="color:#4f81bd" %)**CN779**(%%): LT with frequency bands CN779
1866 +)))
1822 1822  
1823 1823  = 8. Packing Info =
1824 1824  )))
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0