<
From version < 4.4 >
edited by Xiaoling
on 2022/05/23 17:08
To version < 23.2 >
edited by Xiaoling
on 2022/05/24 08:43
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -4,8 +4,13 @@
4 4  **LT-22222-L LoRa IO Controller User Manual **
5 5  
6 6  
7 +**Table of Contents:**
7 7  
9 +{{toc/}}
8 8  
11 +
12 +
13 +
9 9  = 1.Introduction =
10 10  
11 11  == 1.1 What is LT Series I/O Controller ==
... ... @@ -43,7 +43,7 @@
43 43  **Hardware System:**
44 44  
45 45  * STM32L072CZT6 MCU
46 -* SX1276/78 Wireless Chip
51 +* 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.
63 +* 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:540px" %)
107 +(% border="1" style="background-color:#f7faff; width:500px" %)
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)
... ... @@ -110,138 +110,94 @@
110 110  * 1 x Counting Port
111 111  )))
112 112  
118 += 2. Power ON Device =
113 113  
114 -
115 -1.
116 -11. Firmware Change log
117 -
118 -[[**LT Image files**>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]]**:**
119 -
120 -http:~/~/www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/
121 -
122 -
123 -**Change log:**
124 -
125 -[[http:~~/~~/www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/&file=changelog>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/&file=changelog]]
126 -
127 -
128 -
129 -1. Power ON Device
130 -
131 -
132 132  The LT controller can be powered by 7 ~~ 24V DC power source. Connect VIN to Power Input V+ and GND to power input V- to power the LT controller.
133 133  
122 +(((
134 134  PWR will on when device is properly powered.
124 +)))
135 135  
136 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image004.png]]
126 +[[image:1653297104069-180.png]]
137 137  
128 += 3. Operation Mode =
138 138  
130 +== 3.1 How it works? ==
139 139  
132 +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. 
140 140  
141 -
142 -1. Operation Mode
143 -11. How it works?
144 -
145 -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. 
146 -
147 -
148 148  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:#AT_Command]] to set the keys in the devices.
149 149  
136 +3.2 Example to join LoRaWAN network
150 150  
151 -1.
152 -11. Example to join LoRaWAN network
138 +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. 
153 153  
154 -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.
140 +[[image:image-20220523172350-1.png||height="266" width="864"]]
155 155  
156 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image005.png]]
157 157  
158 -
143 +(((
159 159  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:
145 +)))
160 160  
147 +(((
161 161  **Step 1**: Create a device in TTN with the OTAA keys from LT IO controller.
149 +)))
162 162  
151 +(((
163 163  Each LT is shipped with a sticker with the default device EUI as below:
153 +)))
164 164  
165 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image006.png]]
155 +[[image:1653297924498-393.png]]
166 166  
167 -
168 -
169 -
170 170  Input these keys in the LoRaWAN Server portal. Below is TTN screen shot:
171 171  
172 172  Add APP EUI in the application.
173 173  
174 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image007.png]]
161 +[[image:1653297955910-247.png||height="321" width="716"]]
175 175  
176 176  Add APP KEY and DEV EUI
177 177  
178 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image008.png]]
165 +[[image:1653298023685-319.png]]
179 179  
167 +(((
180 180  **Step 2**: Power on LT and it will auto join to the TTN network. After join success, it will start to upload message to TTN and user can see in the panel.
169 +)))
181 181  
182 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image009.png]]
171 +[[image:1653298044601-602.png||height="405" width="709"]]
183 183  
173 +== 3.3 Uplink Payload ==
184 184  
185 -1.
186 -11. Uplink Payload
187 -
188 188  There are five working modes + one interrupt mode on LT for different type application:
189 189  
190 -* [[MOD1>>path:#MOD1]]: (default setting): 2 x ACI + 2AVI + DI + DO + RO
191 -* [[MOD2>>path:#MOD2]]: Double DI Counting + DO + RO
192 -* [[MOD3>>path:#MOD3]]: Single DI Counting + 2 x ACI + DO + RO
193 -* [[MOD4>>path:#MOD4]]: Single DI Counting + 1 x Voltage Counting + DO + RO
194 -* [[MOD5>>path:#MOD5]]: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO
195 -* [[ADDMOD6>>path:#MOD6]]: Trigger Mode, Optional, used together with MOD1 ~~ MOD5
177 +* **MOD1**: (default setting): 2 x ACI + 2AVI + DI + DO + RO
178 +* **MOD2**: Double DI Counting + DO + RO
179 +* **MOD3**: Single DI Counting + 2 x ACI + DO + RO
180 +* **MOD4**: Single DI Counting + 1 x Voltage Counting + DO + RO
181 +* **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO
182 +* **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5
196 196  
184 +=== 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
197 197  
198 -1.
199 -11.
200 -111. AT+MOD=1, 2ACI+2AVI
201 -
202 202  The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default.
203 203  
188 +[[image:image-20220523174024-3.png]]
204 204  
205 -|Size(bytes)|2|2|2|2|1|1|1
206 -|Value|(((
207 -AVI1
190 +(((
191 +(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
192 +)))
208 208  
209 -voltage
210 -)))|(((
211 -AVI2
194 +[[image:image-20220523174254-4.png]]
212 212  
213 -voltage
214 -)))|(((
215 -ACI1
216 -
217 -Current
218 -)))|(((
219 -ACI2
220 -
221 -Current
222 -)))|DIDORO*|(((
223 -Reserve
224 -
225 -
226 -)))|MOD
227 -
228 -
229 -**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
230 -
231 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
232 -|RO1|RO2|DI3|DI2|DI1|DO3|DO2|DO1
233 -
234 234  * RO is for relay. ROx=1 : close,ROx=0 always open.
235 235  * DI is for digital input. DIx=1: high or float, DIx=0: low.
236 236  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
237 237  
238 -Note: DI3 and DO3 bit are not valid for LT-22222-L
200 +(% style="color:red" %)Note: DI3 and DO3 bit are not valid for LT-22222-L
239 239  
202 +For example if payload is: [[image:image-20220523175847-2.png]]
240 240  
241 -For example if payload is: 04 AB 04 AC 13 10 13 00 AA FF 01
204 +**The value for the interface is:  **
242 242  
243 -The value for the interface is:
244 -
245 245  AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V
246 246  
247 247  AVI2 channel voltage is 0x04AC/1000=1.196V
... ... @@ -255,18 +255,11 @@
255 255  * [1] RO1 relay channel is close and the RO1 LED is ON.
256 256  * [0] RO2 relay channel is open and RO2 LED is OFF;
257 257  
258 -LT33222-L:
219 +**LT22222-L:**
259 259  
260 -* [1] DI3 channel is high input and DI3 LED is OFF;
261 -* [0] DI2 channel is low input;
262 -* [1] DI1 channel is high input and DI1 LED is OFF;
263 -
264 -LT22222-L:
265 -
266 266  * [1] DI2 channel is high input and DI2 LED is ON;
267 267  * [0] DI1 channel is low input;
268 268  
269 -
270 270  * [0] DO3 channel output state
271 271  ** DO3 is float in case no load between DO3 and V+.;
272 272  ** DO3 is high in case there is load between DO3 and V+.
... ... @@ -277,241 +277,194 @@
277 277  ** DO1 is high in case there is load between DO1 and V+.
278 278  ** DO1 LED is off in both case
279 279  
234 +=== 3.3.2 AT+MOD~=2, (Double DI Counting) ===
280 280  
281 -
282 -1.
283 -11.
284 -111. AT+MOD=2, (Double DI Counting)
285 -
286 -**For LT-33222-L**: this mode the **DI3** is used as a counting pin. Counting on DI3 reflect in COUNT1.
287 -
288 288  **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins.
289 289  
290 -
291 291  Total : 11 bytes payload
292 292  
293 -|Size(bytes)|4|4|1|1|1
294 -|Value|COUNT1|COUNT2 |DIDORO*|(((
295 -Reserve
240 +[[image:image-20220523180452-3.png]]
296 296  
297 -
298 -)))|MOD
242 +(((
243 +(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below
244 +)))
299 299  
246 +[[image:image-20220523180506-4.png]]
300 300  
301 -**DIDORO** is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below
302 -
303 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
304 -|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1
305 -
306 306  * RO is for relay. ROx=1 : close,ROx=0 always open.
307 307  * FIRST: Indicate this is the first packet after join network.
308 308  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
309 309  
310 -Note: DO3 bit is not valid for LT-22222-L.
252 +(% style="color:red" %)Note: DO3 bit is not valid for LT-22222-L.
311 311  
254 +**To use counting mode, please run:**
312 312  
313 -To use counting mode, please run:
256 +(% class="box infomessage" %)
257 +(((
258 +**AT+MOD=2**
259 +)))
314 314  
315 -AT+MOD=2
261 +(% class="box infomessage" %)
262 +(((
263 +**ATZ**
264 +)))
316 316  
317 -ATZ
266 +(% style="color:#4f81bd" %)**AT Commands for counting:**
318 318  
319 -
320 -AT Commands for counting:
321 -
322 -**For LT33222-L:**
323 -
324 -AT+TRIG1=0,100 (set DI3 port to trigger on low level, valid signal is 100ms)
325 -
326 -AT+TRIG1=1,100 (set DI3 port to trigger on high level, valid signal is 100ms )
327 -
328 -AT+SETCNT=1,60   (Set COUNT1 value to 60)
329 -
330 -
331 331  **For LT22222-L:**
332 332  
333 -AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms)
270 +(% class="box infomessage" %)
271 +(((
272 +**AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) **
273 +)))
334 334  
335 -AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms )
275 +(% class="box infomessage" %)
276 +(((
277 +**AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) **
278 +)))
336 336  
337 -AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms)
280 +(% class="box infomessage" %)
281 +(((
282 +**AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) **
283 +)))
338 338  
339 -AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms )
285 +(% class="box infomessage" %)
286 +(((
287 +**AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) **
288 +)))
340 340  
290 +(% class="box infomessage" %)
291 +(((
292 +**AT+SETCNT=1,60   (Set COUNT1 value to 60)**
293 +)))
341 341  
342 -AT+SETCNT=1,60   (Set COUNT1 value to 60)
295 +(% class="box infomessage" %)
296 +(((
297 +**AT+SETCNT=2,60   (Set COUNT2 value to 60)**
298 +)))
343 343  
344 -AT+SETCNT=2,60   (Set COUNT2 value to 60)
300 +=== 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI ===
345 345  
346 -
347 -**For both LT22222-L & LT33222-L**:
348 -
349 -AT+CLRCOUNT clear all countings
350 -
351 -AT+COUTIME=60  Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)
352 -
353 -
354 -
355 -1.
356 -11.
357 -111. AT+MOD=3, Single DI Counting + 2 x ACI
358 -
359 -**LT33222-L**: This mode the DI3 is used as a counting pin.
360 -
361 361  **LT22222-L**: This mode the DI1 is used as a counting pin.
362 362  
304 +[[image:image-20220523181246-5.png]]
363 363  
364 -|Size(bytes)|4|2|2|1|1|1
365 -|Value|COUNT1|(((
366 -ACI1
306 +(((
307 +(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
308 +)))
367 367  
368 -Current
369 -)))|(((
370 -ACI2
310 +[[image:image-20220523181301-6.png]]
371 371  
372 -Current
373 -)))|DIDORO*|Reserve|MOD
374 -
375 -
376 -**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
377 -
378 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
379 -|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1
380 -
381 381  * RO is for relay. ROx=1 : close,ROx=0 always open.
382 382  * FIRST: Indicate this is the first packet after join network.
383 383  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
384 384  
385 -Note: DO3 is not valid for LT-22222-L.
316 +(% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
386 386  
318 +**To use counting mode, please run:**
387 387  
388 -To use counting mode, please run:
320 +(% class="box infomessage" %)
321 +(((
322 +**AT+MOD=3**
323 +)))
389 389  
390 -AT+MOD=3
325 +(% class="box infomessage" %)
326 +(((
327 +**ATZ**
328 +)))
391 391  
392 -ATZ
393 -
394 -
395 395  Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]].
396 396  
332 +=== 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
397 397  
398 -
399 -
400 -1.
401 -11.
402 -111. AT+MOD=4, Single DI Counting + 1 x Voltage Counting
403 -
404 -**LT33222-L**: This mode the DI3 is used as a counting pin.
405 -
406 406  **LT22222-L**: This mode the DI1 is used as a counting pin.
407 407  
408 -
409 409  The AVI1 is also used for counting. AVI1 is used to monitor the voltage. It will check the voltage **every 60s**, if voltage is higher or lower than VOLMAX mV, the AVI1 Counting increase 1, so AVI1 counting can be used to measure a machine working hour.
410 410  
338 +[[image:image-20220523181903-8.png]]
411 411  
412 -|Size(bytes)|4|4|1|1|1
413 -|Value|COUNT1|AVI1 Counting|DIDORO*|(((
414 -Reserve
340 +(((
341 +(% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
342 +)))
415 415  
416 -
417 -)))|MOD
344 +[[image:image-20220523181727-7.png]]
418 418  
419 -
420 -**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
421 -
422 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
423 -|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1
424 -
425 425  * RO is for relay. ROx=1 : close,ROx=0 always open.
426 426  * FIRST: Indicate this is the first packet after join network.
427 427  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
428 428  
429 -Note: DO3 is not valid for LT-22222-L.
350 +(% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
430 430  
352 +**To use this mode, please run:**
431 431  
432 -To use this mode, please run:
354 +(% class="box infomessage" %)
355 +(((
356 +**AT+MOD=4**
357 +)))
433 433  
434 -AT+MOD=4
359 +(% class="box infomessage" %)
360 +(((
361 +**ATZ**
362 +)))
435 435  
436 -ATZ
437 437  
438 -
439 -
440 440  Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]].
441 441  
442 -Plus below command for AVI1 Counting:
367 +**Plus below command for AVI1 Counting:**
443 443  
444 -AT+SETCNT=3,60   (set AVI Count to 60)
369 +(% class="box infomessage" %)
370 +(((
371 +**AT+SETCNT=3,60   (set AVI Count to 60)**
372 +)))
445 445  
446 -AT+VOLMAX=20000   (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)
374 +(% class="box infomessage" %)
375 +(((
376 +**AT+VOLMAX=20000   (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
377 +)))
447 447  
448 -AT+VOLMAX=20000,0   (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)
379 +(% class="box infomessage" %)
380 +(((
381 +**AT+VOLMAX=20000,0   (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)**
382 +)))
449 449  
450 -AT+VOLMAX=20000,1   (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)
384 +(% class="box infomessage" %)
385 +(((
386 +**AT+VOLMAX=20000,1   (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)**
387 +)))
451 451  
389 +=== 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
452 452  
453 -
454 -1.
455 -11.
456 -111. AT+MOD=5, Single DI Counting + 2 x AVI + 1 x ACI
457 -
458 -
459 -**LT33222-L**: This mode the DI3 is used as a counting pin.
460 -
461 461  **LT22222-L**: This mode the DI1 is used as a counting pin.
462 462  
393 +[[image:image-20220523182334-9.png]]
463 463  
464 -|Size(bytes)|2|2|2|2|1|1|1
465 -|Value|(((
466 -AVI1
395 +(((
396 +(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
397 +)))
467 467  
468 -voltage
469 -)))|(((
470 -AVI2
471 471  
472 -voltage
473 -)))|(((
474 -ACI1
475 -
476 -Current
477 -)))|COUNT1|DIDORO*|(((
478 -Reserve
479 -
480 -
481 -)))|MOD
482 -
483 -
484 -
485 -**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
486 -
487 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
488 -|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1
489 -
490 490  * RO is for relay. ROx=1 : close,ROx=0 always open.
491 491  * FIRST: Indicate this is the first packet after join network.
492 492  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
493 493  
494 -Note: DO3 is not valid for LT-22222-L.
404 +(% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
495 495  
406 +**To use this mode, please run:**
496 496  
497 -To use this mode, please run:
408 +(% class="box infomessage" %)
409 +(((
410 +**AT+MOD=5**
411 +)))
498 498  
499 -AT+MOD=5
413 +(% class="box infomessage" %)
414 +(((
415 +**ATZ**
416 +)))
500 500  
501 -ATZ
502 -
503 -
504 504  Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]].
505 505  
420 +=== 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
506 506  
507 -
508 -
509 -
510 -1.
511 -11.
512 -111. AT+ADDMOD=6. (Trigger Mode, Optional)
513 -
514 -
515 515  **This mode is an optional mode for trigger purpose. It can run together with other mode.**
516 516  
517 517  For example, if user has configured below commands:
... ... @@ -519,13 +519,11 @@
519 519  * AT+MOD=1   à The normal working mode
520 520  * AT+ADDMOD6=1    à Enable trigger
521 521  
522 -
523 523  LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases:
524 524  
525 525  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
526 526  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.**
527 527  
528 -
529 529  **AT Command to set Trigger Condition**:
530 530  
531 531  **Trigger base on voltage**:
... ... @@ -596,6 +596,7 @@
596 596  
597 597  MOD6 Payload : total 11 bytes payload
598 598  
504 +(% border="1" style="background-color:#f7faff" %)
599 599  |Size(bytes)|1|1|1|6|1|1
600 600  |Value|(((
601 601  TRI_A
... ... @@ -615,10 +615,9 @@
615 615  (6)
616 616  )))
617 617  
618 -
619 -
620 620  **TRI FLAG1** is a combination to show if trigger is set for this part. Totally 1byte as below
621 621  
526 +(% border="1" style="background-color:#f7faff" %)
622 622  |bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
623 623  |(((
624 624  AV1_
... ... @@ -663,6 +663,7 @@
663 663  
664 664  **TRI Status1** is a combination to show which condition is trigger. Totally 1byte as below
665 665  
571 +(% border="1" style="background-color:#f7faff" %)
666 666  |bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
667 667  |(((
668 668  AV1_
... ... @@ -709,6 +709,7 @@
709 709  
710 710  **TRI_DI FLAG+STA **is a combination to show which condition is trigger. Totally 1byte as below
711 711  
618 +(% border="1" style="background-color:#f7faff" %)
712 712  |bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
713 713  |N/A|N/A|N/A|N/A|DI2_STATUS|DI2_FLAG|DI1_STATUS|DI1_FLAG
714 714  
... ... @@ -735,7 +735,6 @@
735 735  11.
736 736  111. Payload Decoder
737 737  
738 -
739 739  **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/]]
740 740  
741 741  
... ... @@ -755,12 +755,10 @@
755 755  
756 756  * **Sensor Related Commands**: These commands are special designed for LT-22222-L.  User can see these commands below:
757 757  
758 -
759 759  1.
760 760  11.
761 761  111. Common Commands:
762 762  
763 -
764 764  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
765 765  
766 766  
... ... @@ -768,7 +768,6 @@
768 768  11.
769 769  111. Sensor related commands:
770 770  
771 -
772 772  ==== Set Transmit Interval ====
773 773  
774 774  Set device uplink interval.
... ... @@ -968,6 +968,7 @@
968 968  
969 969  01: Low,  00: High ,  11: No action
970 970  
874 +(% border="1" style="background-color:#f7faff" %)
971 971  |Downlink Code|DO1|DO2|DO3
972 972  |02  01  00  11|Low|High|No Action
973 973  |02  00  11  01|High|No Action|Low
... ... @@ -1005,22 +1005,23 @@
1005 1005  
1006 1006  **Third Byte**: Control Method and Ports status:
1007 1007  
912 +(% border="1" style="background-color:#f7faff" %)
1008 1008  |Second Byte|Status
1009 1009  |0x01|DO1 set to low
1010 1010  |0x00|DO1 set to high
1011 1011  |0x11|DO1 NO Action
1012 1012  
1013 -
1014 1014  **Fourth Byte**: Control Method and Ports status:
1015 1015  
920 +(% border="1" style="background-color:#f7faff" %)
1016 1016  |Second Byte|Status
1017 1017  |0x01|DO2 set to low
1018 1018  |0x00|DO2 set to high
1019 1019  |0x11|DO2 NO Action
1020 1020  
1021 -
1022 1022  **Fifth Byte**: Control Method and Ports status:
1023 1023  
928 +(% border="1" style="background-color:#f7faff" %)
1024 1024  |Second Byte|Status
1025 1025  |0x01|DO3 set to low
1026 1026  |0x00|DO3 set to high
... ... @@ -1073,6 +1073,7 @@
1073 1073  
1074 1074  01: Close ,  00: Open , 11: No action
1075 1075  
981 +(% border="1" style="background-color:#f7faff" %)
1076 1076  |Downlink Code|RO1|RO2
1077 1077  |03  00  11|Open|No Action
1078 1078  |03  01  11|Close|No Action
... ... @@ -1110,6 +1110,7 @@
1110 1110  
1111 1111  **Third Byte(bb)**: Control Method and Ports status:
1112 1112  
1019 +(% border="1" style="background-color:#f7faff" %)
1113 1113  |Value|Status
1114 1114  |0x11|RO1 and RO2 to NO
1115 1115  |0x10|RO2 to NO, RO1 to NC
... ... @@ -1120,7 +1120,6 @@
1120 1120  |0x02|RO1 to NC, RO2 No Action
1121 1121  |0x12|RO1 to NO, RO2 No Action
1122 1122  
1123 -
1124 1124  **Fourth / Fifth Bytes (cc)**: Latching time. Unit: ms
1125 1125  
1126 1126  Device will upload a packet if downlink code executes successfully.
... ... @@ -1225,7 +1225,6 @@
1225 1225  1.
1226 1226  11. Integrate with Mydevice
1227 1227  
1228 -
1229 1229  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:
1230 1230  
1231 1231  
... ... @@ -1270,7 +1270,7 @@
1270 1270  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image018.png]]
1271 1271  
1272 1272  
1273 -1.
1178 +1.
1274 1274  11. Interface Detail
1275 1275  111. Digital Input Port: DI1/DI2 /DI3 ( For LT-33222-L, low active )
1276 1276  
... ... @@ -1280,7 +1280,7 @@
1280 1280  
1281 1281  
1282 1282  
1283 -1.
1188 +1.
1284 1284  11.
1285 1285  111. Digital Input Port: DI1/DI2 ( For LT-22222-L)
1286 1286  
... ... @@ -1323,7 +1323,7 @@
1323 1323  
1324 1324  **Example3**: Connect to a 220v high active sensor.公司测试一下
1325 1325  
1326 -Assume user want to monitor an active signal higher than 220v, to make sure not burn the photocoupler 
1231 +Assume user want to monitor an active signal higher than 220v, to make sure not burn the photocoupler  
1327 1327  
1328 1328  * Connect sensor’s output to DI1+ with a serial 50K resistor
1329 1329  * Connect sensor’s GND DI1-.
... ... @@ -1346,7 +1346,7 @@
1346 1346  
1347 1347  
1348 1348  
1349 -1.
1254 +1.
1350 1350  11.
1351 1351  111. Analog Input Interface
1352 1352  
... ... @@ -1379,7 +1379,7 @@
1379 1379  
1380 1380  
1381 1381  
1382 -1.
1287 +1.
1383 1383  11.
1384 1384  111. Relay Output
1385 1385  
... ... @@ -1394,10 +1394,10 @@
1394 1394  
1395 1395  
1396 1396  
1397 -1.
1302 +1.
1398 1398  11. LEDs Indicators
1399 1399  
1400 -
1305 +(% border="1" style="background-color:#f7faff" %)
1401 1401  |**LEDs**|**Feature**
1402 1402  |**PWR**|Always on if there is power
1403 1403  |**SYS**|After device is powered on, the SYS will **fast blink in GREEN** for 5 times, means RS485-LN start to join LoRaWAN network. If join success, SYS will be **on GREEN for 5 seconds. **SYS will **blink Blue** on every upload and **blink Green** once receive a downlink message.
... ... @@ -1431,9 +1431,6 @@
1431 1431  |**RO1**|
1432 1432  |**RO2**|
1433 1433  
1434 -
1435 -
1436 -
1437 1437  1. Use AT Command
1438 1438  11. Access AT Command
1439 1439  
... ... @@ -1606,11 +1606,10 @@
1606 1606  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image031.png]]
1607 1607  
1608 1608  
1609 -1.
1511 +1.
1610 1610  11.
1611 1611  111. Change to Class A
1612 1612  
1613 -
1614 1614  If sensor JOINED
1615 1615  
1616 1616  AT+CLASS=A
... ... @@ -1623,7 +1623,6 @@
1623 1623  
1624 1624  1. FAQ
1625 1625  
1626 -
1627 1627  1.
1628 1628  11. How to upgrade the image?
1629 1629  
... ... @@ -1633,7 +1633,6 @@
1633 1633  * For bug fix
1634 1634  * Change LoRaWAN bands.
1635 1635  
1636 -
1637 1637  Below shows the hardware connection for how to upload an image to the LT:
1638 1638  
1639 1639  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image029.png]]
... ... @@ -1678,7 +1678,7 @@
1678 1678  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image038.png]]
1679 1679  
1680 1680  
1681 -1.
1580 +1.
1682 1682  11. How to change the LoRa Frequency Bands/Region?
1683 1683  
1684 1684  User can follow the introduction for [[how to upgrade image>>path:#upgrade_image]]. When download the images, choose the required image file for download.
... ... @@ -1727,7 +1727,7 @@
1727 1727  
1728 1728  
1729 1729  
1730 -1.
1629 +1.
1731 1731  11. Can I see counting event in Serial?
1732 1732  
1733 1733  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.
... ... @@ -1763,7 +1763,6 @@
1763 1763  
1764 1764  1. Order Info
1765 1765  
1766 -
1767 1767  **For LT-33222-L-XXX or LT-22222-L-XXX:**
1768 1768  
1769 1769  **XXX:**
... ... @@ -1778,7 +1778,6 @@
1778 1778  * **IN865**: LT with frequency bands IN865
1779 1779  * **CN779**: LT with frequency bands CN779
1780 1780  
1781 -
1782 1782  1. Packing Info
1783 1783  
1784 1784  **Package Includes**:
... ... @@ -1788,7 +1788,6 @@
1788 1788  * Bracket for controller x1
1789 1789  * Program cable x 1
1790 1790  
1791 -
1792 1792  **Dimension and weight**:
1793 1793  
1794 1794  * Device Size: 13.5 x 7 x 3 cm
... ... @@ -1796,7 +1796,6 @@
1796 1796  * Package Size / pcs : 14.5 x 8 x 5 cm
1797 1797  * Weight / pcs : 170g
1798 1798  
1799 -
1800 1800  1. Support
1801 1801  
1802 1802  * 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.
1653297104069-180.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +392.6 KB
Content
1653297924498-393.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +202.7 KB
Content
1653297955910-247.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +35.9 KB
Content
1653298023685-319.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +52.5 KB
Content
1653298044601-602.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +58.4 KB
Content
image-20220523172350-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +71.3 KB
Content
image-20220523173530-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +6.8 KB
Content
image-20220523174024-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +6.0 KB
Content
image-20220523174254-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +3.9 KB
Content
image-20220523175754-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +3.8 KB
Content
image-20220523175847-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +2.0 KB
Content
image-20220523180452-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +4.5 KB
Content
image-20220523180506-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +4.5 KB
Content
image-20220523181246-5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +5.5 KB
Content
image-20220523181301-6.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +4.6 KB
Content
image-20220523181727-7.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +4.8 KB
Content
image-20220523181903-8.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +4.9 KB
Content
image-20220523182334-9.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +6.4 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0