<
From version < 15.2 >
edited by Xiaoling
on 2022/05/23 18:02
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.
... ... @@ -190,12 +190,13 @@
190 190  * DI is for digital input. DIx=1: high or float, DIx=0: low.
191 191  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
192 192  
193 -(% style="color:red" %)Note: DI3 and DO3 bit are not valid for LT-22222-L
194 +Note: DI3 and DO3 bit are not valid for LT-22222-L
194 194  
195 -For example if payload is: [[image:image-20220523175847-2.png]]
196 196  
197 -**The value for the interface is:  **
197 +For example if payload is: 04 AB 04 AC 13 10 13 00 AA FF 01
198 198  
199 +The value for the interface is:
200 +
199 199  AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V
200 200  
201 201  AVI2 channel voltage is 0x04AC/1000=1.196V
... ... @@ -209,11 +209,18 @@
209 209  * [1] RO1 relay channel is close and the RO1 LED is ON.
210 210  * [0] RO2 relay channel is open and RO2 LED is OFF;
211 211  
212 -**LT22222-L:**
214 +LT33222-L:
213 213  
216 +* [1] DI3 channel is high input and DI3 LED is OFF;
217 +* [0] DI2 channel is low input;
218 +* [1] DI1 channel is high input and DI1 LED is OFF;
219 +
220 +LT22222-L:
221 +
214 214  * [1] DI2 channel is high input and DI2 LED is ON;
215 215  * [0] DI1 channel is low input;
216 216  
225 +
217 217  * [0] DO3 channel output state
218 218  ** DO3 is float in case no load between DO3 and V+.;
219 219  ** DO3 is high in case there is load between DO3 and V+.
... ... @@ -224,13 +224,20 @@
224 224  ** DO1 is high in case there is load between DO1 and V+.
225 225  ** DO1 LED is off in both case
226 226  
227 -=== 3.3.2 AT+MOD~=2, (Double DI Counting) ===
228 228  
237 +
238 +1.
239 +11.
240 +111. AT+MOD=2, (Double DI Counting)
241 +
242 +**For LT-33222-L**: this mode the **DI3** is used as a counting pin. Counting on DI3 reflect in COUNT1.
243 +
229 229  **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins.
230 230  
246 +
231 231  Total : 11 bytes payload
232 232  
233 -(% border="1" style="background-color:#f7faff; height:10px; width:500px" %)
249 +(% border="1" style="background-color:#f7faff" %)
234 234  |Size(bytes)|4|4|1|1|1
235 235  |Value|COUNT1|COUNT2 |DIDORO*|(((
236 236  Reserve
... ... @@ -238,9 +238,10 @@
238 238  
239 239  )))|MOD
240 240  
257 +
241 241  **DIDORO** is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below
242 242  
243 -(% border="1" style="background-color:#f7faff; width:500px" %)
260 +(% border="1" style="background-color:#f7faff" %)
244 244  |bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
245 245  |RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1
246 246  
... ... @@ -314,6 +314,7 @@
314 314  Current
315 315  )))|DIDORO*|Reserve|MOD
316 316  
334 +
317 317  **DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
318 318  
319 319  (% border="1" style="background-color:#f7faff" %)
... ... @@ -359,6 +359,7 @@
359 359  
360 360  )))|MOD
361 361  
380 +
362 362  **DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
363 363  
364 364  (% border="1" style="background-color:#f7faff" %)
... ... @@ -398,6 +398,7 @@
398 398  11.
399 399  111. AT+MOD=5, Single DI Counting + 2 x AVI + 1 x ACI
400 400  
420 +
401 401  **LT33222-L**: This mode the DI3 is used as a counting pin.
402 402  
403 403  **LT22222-L**: This mode the DI1 is used as a counting pin.
... ... @@ -423,6 +423,8 @@
423 423  
424 424  )))|MOD
425 425  
446 +
447 +
426 426  **DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
427 427  
428 428  (% border="1" style="background-color:#f7faff" %)
... ... @@ -453,6 +453,7 @@
453 453  11.
454 454  111. AT+ADDMOD=6. (Trigger Mode, Optional)
455 455  
478 +
456 456  **This mode is an optional mode for trigger purpose. It can run together with other mode.**
457 457  
458 458  For example, if user has configured below commands:
... ... @@ -460,11 +460,13 @@
460 460  * AT+MOD=1   à The normal working mode
461 461  * AT+ADDMOD6=1    à Enable trigger
462 462  
486 +
463 463  LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases:
464 464  
465 465  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
466 466  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.**
467 467  
492 +
468 468  **AT Command to set Trigger Condition**:
469 469  
470 470  **Trigger base on voltage**:
... ... @@ -555,6 +555,8 @@
555 555  (6)
556 556  )))
557 557  
583 +
584 +
558 558  **TRI FLAG1** is a combination to show if trigger is set for this part. Totally 1byte as below
559 559  
560 560  (% border="1" style="background-color:#f7faff" %)
... ... @@ -676,6 +676,7 @@
676 676  11.
677 677  111. Payload Decoder
678 678  
706 +
679 679  **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/]]
680 680  
681 681  
... ... @@ -695,10 +695,12 @@
695 695  
696 696  * **Sensor Related Commands**: These commands are special designed for LT-22222-L.  User can see these commands below:
697 697  
726 +
698 698  1.
699 699  11.
700 700  111. Common Commands:
701 701  
731 +
702 702  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
703 703  
704 704  
... ... @@ -706,6 +706,7 @@
706 706  11.
707 707  111. Sensor related commands:
708 708  
739 +
709 709  ==== Set Transmit Interval ====
710 710  
711 711  Set device uplink interval.
... ... @@ -949,6 +949,7 @@
949 949  |0x00|DO1 set to high
950 950  |0x11|DO1 NO Action
951 951  
983 +
952 952  **Fourth Byte**: Control Method and Ports status:
953 953  
954 954  (% border="1" style="background-color:#f7faff" %)
... ... @@ -957,6 +957,7 @@
957 957  |0x00|DO2 set to high
958 958  |0x11|DO2 NO Action
959 959  
992 +
960 960  **Fifth Byte**: Control Method and Ports status:
961 961  
962 962  (% border="1" style="background-color:#f7faff" %)
... ... @@ -1061,6 +1061,7 @@
1061 1061  |0x02|RO1 to NC, RO2 No Action
1062 1062  |0x12|RO1 to NO, RO2 No Action
1063 1063  
1097 +
1064 1064  **Fourth / Fifth Bytes (cc)**: Latching time. Unit: ms
1065 1065  
1066 1066  Device will upload a packet if downlink code executes successfully.
... ... @@ -1165,6 +1165,7 @@
1165 1165  1.
1166 1166  11. Integrate with Mydevice
1167 1167  
1202 +
1168 1168  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:
1169 1169  
1170 1170  
... ... @@ -1209,7 +1209,7 @@
1209 1209  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image018.png]]
1210 1210  
1211 1211  
1212 -1.
1247 +1.
1213 1213  11. Interface Detail
1214 1214  111. Digital Input Port: DI1/DI2 /DI3 ( For LT-33222-L, low active )
1215 1215  
... ... @@ -1219,7 +1219,7 @@
1219 1219  
1220 1220  
1221 1221  
1222 -1.
1257 +1.
1223 1223  11.
1224 1224  111. Digital Input Port: DI1/DI2 ( For LT-22222-L)
1225 1225  
... ... @@ -1262,7 +1262,7 @@
1262 1262  
1263 1263  **Example3**: Connect to a 220v high active sensor.公司测试一下
1264 1264  
1265 -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 
1266 1266  
1267 1267  * Connect sensor’s output to DI1+ with a serial 50K resistor
1268 1268  * Connect sensor’s GND DI1-.
... ... @@ -1285,7 +1285,7 @@
1285 1285  
1286 1286  
1287 1287  
1288 -1.
1323 +1.
1289 1289  11.
1290 1290  111. Analog Input Interface
1291 1291  
... ... @@ -1318,7 +1318,7 @@
1318 1318  
1319 1319  
1320 1320  
1321 -1.
1356 +1.
1322 1322  11.
1323 1323  111. Relay Output
1324 1324  
... ... @@ -1333,9 +1333,10 @@
1333 1333  
1334 1334  
1335 1335  
1336 -1.
1371 +1.
1337 1337  11. LEDs Indicators
1338 1338  
1374 +
1339 1339  (% border="1" style="background-color:#f7faff" %)
1340 1340  |**LEDs**|**Feature**
1341 1341  |**PWR**|Always on if there is power
... ... @@ -1371,6 +1371,8 @@
1371 1371  |**RO2**|
1372 1372  
1373 1373  
1410 +
1411 +
1374 1374  1. Use AT Command
1375 1375  11. Access AT Command
1376 1376  
... ... @@ -1543,10 +1543,11 @@
1543 1543  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image031.png]]
1544 1544  
1545 1545  
1546 -1.
1584 +1.
1547 1547  11.
1548 1548  111. Change to Class A
1549 1549  
1588 +
1550 1550  If sensor JOINED
1551 1551  
1552 1552  AT+CLASS=A
... ... @@ -1559,6 +1559,7 @@
1559 1559  
1560 1560  1. FAQ
1561 1561  
1601 +
1562 1562  1.
1563 1563  11. How to upgrade the image?
1564 1564  
... ... @@ -1568,6 +1568,7 @@
1568 1568  * For bug fix
1569 1569  * Change LoRaWAN bands.
1570 1570  
1611 +
1571 1571  Below shows the hardware connection for how to upload an image to the LT:
1572 1572  
1573 1573  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image029.png]]
... ... @@ -1612,7 +1612,7 @@
1612 1612  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image038.png]]
1613 1613  
1614 1614  
1615 -1.
1656 +1.
1616 1616  11. How to change the LoRa Frequency Bands/Region?
1617 1617  
1618 1618  User can follow the introduction for [[how to upgrade image>>path:#upgrade_image]]. When download the images, choose the required image file for download.
... ... @@ -1661,7 +1661,7 @@
1661 1661  
1662 1662  
1663 1663  
1664 -1.
1705 +1.
1665 1665  11. Can I see counting event in Serial?
1666 1666  
1667 1667  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.
... ... @@ -1697,6 +1697,7 @@
1697 1697  
1698 1698  1. Order Info
1699 1699  
1741 +
1700 1700  **For LT-33222-L-XXX or LT-22222-L-XXX:**
1701 1701  
1702 1702  **XXX:**
... ... @@ -1711,6 +1711,7 @@
1711 1711  * **IN865**: LT with frequency bands IN865
1712 1712  * **CN779**: LT with frequency bands CN779
1713 1713  
1756 +
1714 1714  1. Packing Info
1715 1715  
1716 1716  **Package Includes**:
... ... @@ -1720,6 +1720,7 @@
1720 1720  * Bracket for controller x1
1721 1721  * Program cable x 1
1722 1722  
1766 +
1723 1723  **Dimension and weight**:
1724 1724  
1725 1725  * Device Size: 13.5 x 7 x 3 cm
... ... @@ -1727,6 +1727,7 @@
1727 1727  * Package Size / pcs : 14.5 x 8 x 5 cm
1728 1728  * Weight / pcs : 170g
1729 1729  
1774 +
1730 1730  1. Support
1731 1731  
1732 1732  * 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