<
From version < 15.1 >
edited by Xiaoling
on 2022/05/23 17:58
To version < 13.3 >
edited by Xiaoling
on 2022/05/23 17:46
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -43,7 +43,7 @@
43 43  **Hardware System:**
44 44  
45 45  * STM32L072CZT6 MCU
46 -* SX1276/78 Wireless Chip 
46 +* SX1276/78 Wireless Chip
47 47  * Power Consumption:
48 48  ** Idle: 4mA@12v
49 49  ** 20dB Transmit: 34mA@12v
... ... @@ -55,7 +55,7 @@
55 55  * 2 x Relay Output (5A@250VAC / 30VDC)
56 56  * 2 x 0~~20mA Analog Input (res:0.01mA)
57 57  * 2 x 0~~30V Analog Input (res:0.01v)
58 -* Power Input 7~~ 24V DC. 
58 +* Power Input 7~~ 24V DC.
59 59  
60 60  **LoRa Spec:**
61 61  
... ... @@ -99,7 +99,7 @@
99 99  
100 100  == 1.5 Hardware Variants ==
101 101  
102 -(% border="1" style="background-color:#f7faff; width:500px" %)
102 +(% border="1" style="background-color:#f7faff; width:540px" %)
103 103  |(% style="width:103px" %)**Model**|(% style="width:131px" %)**Photo**|(% style="width:334px" %)**Description**
104 104  |(% style="width:103px" %)**LT22222-L**|(% style="width:131px" %)[[image:1653296302983-697.png]]|(% style="width:334px" %)(((
105 105  * 2 x Digital Input (Bi-direction)
... ... @@ -122,7 +122,7 @@
122 122  
123 123  = 3. Operation Mode =
124 124  
125 -== 3.1 How it works? ==
125 +== 3.1 How it works? ==
126 126  
127 127  The LT is configured as LoRaWAN OTAA Class C mode by default. It has OTAA keys to join network. To connect a local LoRaWAN network, user just need to input the OTAA keys in the network server and power on the LT. It will auto join the network via OTAA. For LT-22222-L, the LED will show the Join status: After power on **TX LED** will fast blink 5 times, LT-22222-L will enter working mode and start to JOIN LoRaWAN network. **TX LED** will be on for 5 seconds after joined in network. When there is message from server, the **RX LED** will be on for 1 second. 
128 128  
... ... @@ -130,7 +130,7 @@
130 130  
131 131  3.2 Example to join LoRaWAN network
132 132  
133 -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. 
133 +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.
134 134  
135 135  [[image:image-20220523172350-1.png||height="266" width="864"]]
136 136  
... ... @@ -153,7 +153,7 @@
153 153  
154 154  Add APP EUI in the application.
155 155  
156 -[[image:1653297955910-247.png||height="321" width="716"]]
156 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image007.png]][[image:1653297955910-247.png||height="321" width="716"]]
157 157  
158 158  Add APP KEY and DEV EUI
159 159  
... ... @@ -165,7 +165,7 @@
165 165  
166 166  [[image:1653298044601-602.png||height="405" width="709"]]
167 167  
168 -== 3.3 Uplink Payload ==
168 +== [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image009.png]]3.3 Uplink Payload ==
169 169  
170 170  There are five working modes + one interrupt mode on LT for different type application:
171 171  
... ... @@ -182,8 +182,9 @@
182 182  
183 183  [[image:image-20220523174024-3.png]]
184 184  
185 -(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
186 186  
186 +**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
187 +
187 187  [[image:image-20220523174254-4.png]]
188 188  
189 189  * RO is for relay. ROx=1 : close,ROx=0 always open.
... ... @@ -195,7 +195,7 @@
195 195  
196 196  For example if payload is: 04 AB 04 AC 13 10 13 00 AA FF 01
197 197  
198 -The value for the interface is: 
199 +The value for the interface is:
199 199  
200 200  AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V
201 201  
... ... @@ -221,6 +221,7 @@
221 221  * [1] DI2 channel is high input and DI2 LED is ON;
222 222  * [0] DI1 channel is low input;
223 223  
225 +
224 224  * [0] DO3 channel output state
225 225  ** DO3 is float in case no load between DO3 and V+.;
226 226  ** DO3 is high in case there is load between DO3 and V+.
... ... @@ -232,8 +232,9 @@
232 232  ** DO1 LED is off in both case
233 233  
234 234  
235 -1.
236 -11.
237 +
238 +1.
239 +11.
237 237  111. AT+MOD=2, (Double DI Counting)
238 238  
239 239  **For LT-33222-L**: this mode the **DI3** is used as a counting pin. Counting on DI3 reflect in COUNT1.
... ... @@ -243,7 +243,7 @@
243 243  
244 244  Total : 11 bytes payload
245 245  
246 -(% border="1" style="background-color:#f7faff; height:10px; width:500px" %)
249 +(% border="1" style="background-color:#f7faff" %)
247 247  |Size(bytes)|4|4|1|1|1
248 248  |Value|COUNT1|COUNT2 |DIDORO*|(((
249 249  Reserve
... ... @@ -251,6 +251,7 @@
251 251  
252 252  )))|MOD
253 253  
257 +
254 254  **DIDORO** is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below
255 255  
256 256  (% border="1" style="background-color:#f7faff" %)
... ... @@ -306,8 +306,8 @@
306 306  
307 307  
308 308  
309 -1.
310 -11.
313 +1.
314 +11.
311 311  111. AT+MOD=3, Single DI Counting + 2 x ACI
312 312  
313 313  **LT33222-L**: This mode the DI3 is used as a counting pin.
... ... @@ -327,6 +327,7 @@
327 327  Current
328 328  )))|DIDORO*|Reserve|MOD
329 329  
334 +
330 330  **DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
331 331  
332 332  (% border="1" style="background-color:#f7faff" %)
... ... @@ -352,8 +352,8 @@
352 352  
353 353  
354 354  
355 -1.
356 -11.
360 +1.
361 +11.
357 357  111. AT+MOD=4, Single DI Counting + 1 x Voltage Counting
358 358  
359 359  **LT33222-L**: This mode the DI3 is used as a counting pin.
... ... @@ -372,6 +372,7 @@
372 372  
373 373  )))|MOD
374 374  
380 +
375 375  **DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
376 376  
377 377  (% border="1" style="background-color:#f7faff" %)
... ... @@ -407,10 +407,11 @@
407 407  
408 408  
409 409  
410 -1.
411 -11.
416 +1.
417 +11.
412 412  111. AT+MOD=5, Single DI Counting + 2 x AVI + 1 x ACI
413 413  
420 +
414 414  **LT33222-L**: This mode the DI3 is used as a counting pin.
415 415  
416 416  **LT22222-L**: This mode the DI1 is used as a counting pin.
... ... @@ -437,6 +437,7 @@
437 437  )))|MOD
438 438  
439 439  
447 +
440 440  **DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
441 441  
442 442  (% border="1" style="background-color:#f7faff" %)
... ... @@ -463,10 +463,11 @@
463 463  
464 464  
465 465  
466 -1.
467 -11.
474 +1.
475 +11.
468 468  111. AT+ADDMOD=6. (Trigger Mode, Optional)
469 469  
478 +
470 470  **This mode is an optional mode for trigger purpose. It can run together with other mode.**
471 471  
472 472  For example, if user has configured below commands:
... ... @@ -474,11 +474,13 @@
474 474  * AT+MOD=1   à The normal working mode
475 475  * AT+ADDMOD6=1    à Enable trigger
476 476  
486 +
477 477  LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases:
478 478  
479 479  1. Periodically uplink (Base on TDC time). Payload is same as the normal MOD (MOD 1 for above command). This uplink uses LoRaWAN **unconfirmed** data type
480 480  1. Trigger uplink when meet the trigger condition. LT will sent two packets in this case, the first uplink use payload specify in this mod (mod=6), the second packets use the normal mod payload(MOD=1 for above settings). Both Uplinks use LoRaWAN **CONFIRMED data type.**
481 481  
492 +
482 482  **AT Command to set Trigger Condition**:
483 483  
484 484  **Trigger base on voltage**:
... ... @@ -570,6 +570,7 @@
570 570  )))
571 571  
572 572  
584 +
573 573  **TRI FLAG1** is a combination to show if trigger is set for this part. Totally 1byte as below
574 574  
575 575  (% border="1" style="background-color:#f7faff" %)
... ... @@ -687,10 +687,11 @@
687 687  When device got this command, it will send the MOD6 payload.
688 688  
689 689  
690 -1.
691 -11.
702 +1.
703 +11.
692 692  111. Payload Decoder
693 693  
706 +
694 694  **Decoder for TTN/loraserver/ChirpStack**: [[http:~~/~~/www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/Payload_decoder/>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/Payload_decoder/]]
695 695  
696 696  
... ... @@ -699,7 +699,7 @@
699 699  
700 700  
701 701  
702 -1.
715 +1.
703 703  11. ​Configure LT via AT or Downlink
704 704  
705 705  User can configure LT I/O Controller via [[AT Commands >>path:#_​Using_the_AT]]or LoRaWAN Downlink Commands
... ... @@ -710,17 +710,20 @@
710 710  
711 711  * **Sensor Related Commands**: These commands are special designed for LT-22222-L.  User can see these commands below:
712 712  
713 -1.
714 -11.
726 +
727 +1.
728 +11.
715 715  111. Common Commands:
716 716  
731 +
717 717  They should be available for each of Dragino Sensors, such as: change uplink interval, reset device. For firmware v1.5.4, user can find what common commands it supports: http:~/~/wiki.dragino.com/index.php?title=End_Device_AT_Commands_and_Downlink_Commands
718 718  
719 719  
720 -1.
721 -11.
735 +1.
736 +11.
722 722  111. Sensor related commands:
723 723  
739 +
724 724  ==== Set Transmit Interval ====
725 725  
726 726  Set device uplink interval.
... ... @@ -964,6 +964,7 @@
964 964  |0x00|DO1 set to high
965 965  |0x11|DO1 NO Action
966 966  
983 +
967 967  **Fourth Byte**: Control Method and Ports status:
968 968  
969 969  (% border="1" style="background-color:#f7faff" %)
... ... @@ -972,6 +972,7 @@
972 972  |0x00|DO2 set to high
973 973  |0x11|DO2 NO Action
974 974  
992 +
975 975  **Fifth Byte**: Control Method and Ports status:
976 976  
977 977  (% border="1" style="background-color:#f7faff" %)
... ... @@ -1076,6 +1076,7 @@
1076 1076  |0x02|RO1 to NC, RO2 No Action
1077 1077  |0x12|RO1 to NO, RO2 No Action
1078 1078  
1097 +
1079 1079  **Fourth / Fifth Bytes (cc)**: Latching time. Unit: ms
1080 1080  
1081 1081  Device will upload a packet if downlink code executes successfully.
... ... @@ -1177,9 +1177,10 @@
1177 1177  
1178 1178  
1179 1179  
1180 -1.
1199 +1.
1181 1181  11. Integrate with Mydevice
1182 1182  
1202 +
1183 1183  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:
1184 1184  
1185 1185  
... ... @@ -1224,7 +1224,7 @@
1224 1224  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image018.png]]
1225 1225  
1226 1226  
1227 -1.
1247 +1.
1228 1228  11. Interface Detail
1229 1229  111. Digital Input Port: DI1/DI2 /DI3 ( For LT-33222-L, low active )
1230 1230  
... ... @@ -1234,8 +1234,8 @@
1234 1234  
1235 1235  
1236 1236  
1237 -1.
1238 -11.
1257 +1.
1258 +11.
1239 1239  111. Digital Input Port: DI1/DI2 ( For LT-22222-L)
1240 1240  
1241 1241  The DI port of LT-22222-L can support NPN or PNP output sensor.
... ... @@ -1277,7 +1277,7 @@
1277 1277  
1278 1278  **Example3**: Connect to a 220v high active sensor.公司测试一下
1279 1279  
1280 -Assume user want to monitor an active signal higher than 220v, to make sure not burn the photocoupler  
1300 +Assume user want to monitor an active signal higher than 220v, to make sure not burn the photocoupler 
1281 1281  
1282 1282  * Connect sensor’s output to DI1+ with a serial 50K resistor
1283 1283  * Connect sensor’s GND DI1-.
... ... @@ -1289,8 +1289,8 @@
1289 1289  If sensor output is 220v, the //IF//[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image022.png]] = 4.3mA , So the LT-22222-L will be able to detect this high active signal safely.
1290 1290  
1291 1291  
1292 -1.
1293 -11.
1312 +1.
1313 +11.
1294 1294  111. Digital Output Port: DO1/DO2 /DO3
1295 1295  
1296 1296  NPN output: GND or Float. Max voltage can apply to output pin is 36v.
... ... @@ -1300,8 +1300,8 @@
1300 1300  
1301 1301  
1302 1302  
1303 -1.
1304 -11.
1323 +1.
1324 +11.
1305 1305  111. Analog Input Interface
1306 1306  
1307 1307  The analog input interface is as below. The LT will measure the IN2 voltage so to calculate the current pass the Load. The formula is:
... ... @@ -1333,8 +1333,8 @@
1333 1333  
1334 1334  
1335 1335  
1336 -1.
1337 -11.
1356 +1.
1357 +11.
1338 1338  111. Relay Output
1339 1339  
1340 1340  The LT serial controller has two relay interfaces; each interface uses two pins of the screw terminal. User can connect other device’s Power Line to in serial of RO1_1 and RO_2. Such as below:
... ... @@ -1348,9 +1348,10 @@
1348 1348  
1349 1349  
1350 1350  
1351 -1.
1371 +1.
1352 1352  11. LEDs Indicators
1353 1353  
1374 +
1354 1354  (% border="1" style="background-color:#f7faff" %)
1355 1355  |**LEDs**|**Feature**
1356 1356  |**PWR**|Always on if there is power
... ... @@ -1387,6 +1387,7 @@
1387 1387  
1388 1388  
1389 1389  
1411 +
1390 1390  1. Use AT Command
1391 1391  11. Access AT Command
1392 1392  
... ... @@ -1496,7 +1496,7 @@
1496 1496  
1497 1497  
1498 1498  
1499 -1.
1521 +1.
1500 1500  11. Common AT Command Sequence
1501 1501  111. Multi-channel ABP mode (Use with SX1301/LG308)
1502 1502  
... ... @@ -1519,8 +1519,8 @@
1519 1519  
1520 1520  ATZ
1521 1521  
1522 -1.
1523 -11.
1544 +1.
1545 +11.
1524 1524  111. Single-channel ABP mode (Use with LG01/LG02)
1525 1525  
1526 1526  123456   Enter Password to have AT access.
... ... @@ -1559,10 +1559,11 @@
1559 1559  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image031.png]]
1560 1560  
1561 1561  
1562 -1.
1563 -11.
1584 +1.
1585 +11.
1564 1564  111. Change to Class A
1565 1565  
1588 +
1566 1566  If sensor JOINED
1567 1567  
1568 1568  AT+CLASS=A
... ... @@ -1575,7 +1575,8 @@
1575 1575  
1576 1576  1. FAQ
1577 1577  
1578 -1.
1601 +
1602 +1.
1579 1579  11. How to upgrade the image?
1580 1580  
1581 1581  The LT LoRaWAN Controller is shipped with a 3.5mm cable, the cable is used to upload image to LT to:
... ... @@ -1584,6 +1584,7 @@
1584 1584  * For bug fix
1585 1585  * Change LoRaWAN bands.
1586 1586  
1611 +
1587 1587  Below shows the hardware connection for how to upload an image to the LT:
1588 1588  
1589 1589  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image029.png]]
... ... @@ -1628,13 +1628,13 @@
1628 1628  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image038.png]]
1629 1629  
1630 1630  
1631 -1.
1656 +1.
1632 1632  11. How to change the LoRa Frequency Bands/Region?
1633 1633  
1634 1634  User can follow the introduction for [[how to upgrade image>>path:#upgrade_image]]. When download the images, choose the required image file for download.
1635 1635  
1636 1636  
1637 -1.
1662 +1.
1638 1638  11. How to set up LT to work with Single Channel Gateway such as LG01/LG02?
1639 1639  
1640 1640  In this case, users need to set LT-33222-L to work in ABP mode & transmit in only one frequency.
... ... @@ -1677,7 +1677,7 @@
1677 1677  
1678 1678  
1679 1679  
1680 -1.
1705 +1.
1681 1681  11. Can I see counting event in Serial?
1682 1682  
1683 1683  User can run AT+DEBUG command to see the counting event in serial. If firmware too old and doesn’t support AT+DEBUG. User can update to latest firmware first.
... ... @@ -1693,7 +1693,7 @@
1693 1693  [[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]]
1694 1694  
1695 1695  
1696 -1.
1721 +1.
1697 1697  11. Have trouble to upload image.
1698 1698  
1699 1699  See this link for trouble shooting:
... ... @@ -1701,7 +1701,7 @@
1701 1701  [[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]]
1702 1702  
1703 1703  
1704 -1.
1729 +1.
1705 1705  11. Why I can’t join TTN in US915 /AU915 bands?
1706 1706  
1707 1707  It might be about the channels mapping. Please see this link for detail:
... ... @@ -1713,6 +1713,7 @@
1713 1713  
1714 1714  1. Order Info
1715 1715  
1741 +
1716 1716  **For LT-33222-L-XXX or LT-22222-L-XXX:**
1717 1717  
1718 1718  **XXX:**
... ... @@ -1727,6 +1727,7 @@
1727 1727  * **IN865**: LT with frequency bands IN865
1728 1728  * **CN779**: LT with frequency bands CN779
1729 1729  
1756 +
1730 1730  1. Packing Info
1731 1731  
1732 1732  **Package Includes**:
... ... @@ -1736,6 +1736,7 @@
1736 1736  * Bracket for controller x1
1737 1737  * Program cable x 1
1738 1738  
1766 +
1739 1739  **Dimension and weight**:
1740 1740  
1741 1741  * Device Size: 13.5 x 7 x 3 cm
... ... @@ -1743,6 +1743,7 @@
1743 1743  * Package Size / pcs : 14.5 x 8 x 5 cm
1744 1744  * Weight / pcs : 170g
1745 1745  
1774 +
1746 1746  1. Support
1747 1747  
1748 1748  * Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule.
image-20220523175754-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -3.8 KB
Content
image-20220523175847-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -2.0 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0