<
From version < 19.1 >
edited by Xiaoling
on 2022/05/23 18:12
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 ==
... ... @@ -246,7 +246,7 @@
246 246  
247 247  (% style="color:red" %)Note: DO3 bit is not valid for LT-22222-L.
248 248  
249 -To use counting mode, please run:
254 +**To use counting mode, please run:**
250 250  
251 251  (% class="box infomessage" %)
252 252  (((
... ... @@ -258,7 +258,7 @@
258 258  **ATZ**
259 259  )))
260 260  
261 -AT Commands for counting:
266 +(% style="color:#4f81bd" %)**AT Commands for counting:**
262 262  
263 263  **For LT22222-L:**
264 264  
... ... @@ -282,180 +282,138 @@
282 282  **AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) **
283 283  )))
284 284  
290 +(% class="box infomessage" %)
291 +(((
292 +**AT+SETCNT=1,60   (Set COUNT1 value to 60)**
293 +)))
285 285  
286 -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 +)))
287 287  
288 -AT+SETCNT=2,60   (Set COUNT2 value to 60)
300 +=== 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI ===
289 289  
290 -
291 -**For both LT22222-L & LT33222-L**:
292 -
293 -AT+CLRCOUNT clear all countings
294 -
295 -AT+COUTIME=60  Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)
296 -
297 -
298 -
299 -1.
300 -11.
301 -111. AT+MOD=3, Single DI Counting + 2 x ACI
302 -
303 -**LT33222-L**: This mode the DI3 is used as a counting pin.
304 -
305 305  **LT22222-L**: This mode the DI1 is used as a counting pin.
306 306  
304 +[[image:image-20220523181246-5.png]]
307 307  
308 -(% border="1" style="background-color:#f7faff" %)
309 -|Size(bytes)|4|2|2|1|1|1
310 -|Value|COUNT1|(((
311 -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 +)))
312 312  
313 -Current
314 -)))|(((
315 -ACI2
310 +[[image:image-20220523181301-6.png]]
316 316  
317 -Current
318 -)))|DIDORO*|Reserve|MOD
319 -
320 -**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
321 -
322 -(% border="1" style="background-color:#f7faff" %)
323 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
324 -|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1
325 -
326 326  * RO is for relay. ROx=1 : close,ROx=0 always open.
327 327  * FIRST: Indicate this is the first packet after join network.
328 328  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
329 329  
330 -Note: DO3 is not valid for LT-22222-L.
316 +(% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
331 331  
318 +**To use counting mode, please run:**
332 332  
333 -To use counting mode, please run:
320 +(% class="box infomessage" %)
321 +(((
322 +**AT+MOD=3**
323 +)))
334 334  
335 -AT+MOD=3
325 +(% class="box infomessage" %)
326 +(((
327 +**ATZ**
328 +)))
336 336  
337 -ATZ
338 -
339 -
340 340  Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]].
341 341  
332 +=== 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
342 342  
343 -
344 -
345 -1.
346 -11.
347 -111. AT+MOD=4, Single DI Counting + 1 x Voltage Counting
348 -
349 -**LT33222-L**: This mode the DI3 is used as a counting pin.
350 -
351 351  **LT22222-L**: This mode the DI1 is used as a counting pin.
352 352  
353 -
354 354  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.
355 355  
338 +[[image:image-20220523181903-8.png]]
356 356  
357 -(% border="1" style="background-color:#f7faff" %)
358 -|Size(bytes)|4|4|1|1|1
359 -|Value|COUNT1|AVI1 Counting|DIDORO*|(((
360 -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 +)))
361 361  
362 -
363 -)))|MOD
344 +[[image:image-20220523181727-7.png]]
364 364  
365 -**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
366 -
367 -(% border="1" style="background-color:#f7faff" %)
368 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
369 -|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1
370 -
371 371  * RO is for relay. ROx=1 : close,ROx=0 always open.
372 372  * FIRST: Indicate this is the first packet after join network.
373 373  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
374 374  
375 -Note: DO3 is not valid for LT-22222-L.
350 +(% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
376 376  
352 +**To use this mode, please run:**
377 377  
378 -To use this mode, please run:
354 +(% class="box infomessage" %)
355 +(((
356 +**AT+MOD=4**
357 +)))
379 379  
380 -AT+MOD=4
359 +(% class="box infomessage" %)
360 +(((
361 +**ATZ**
362 +)))
381 381  
382 -ATZ
383 383  
384 -
385 -
386 386  Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]].
387 387  
388 -Plus below command for AVI1 Counting:
367 +**Plus below command for AVI1 Counting:**
389 389  
390 -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 +)))
391 391  
392 -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 +)))
393 393  
394 -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 +)))
395 395  
396 -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 +)))
397 397  
389 +=== 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
398 398  
399 -
400 -1.
401 -11.
402 -111. AT+MOD=5, Single DI Counting + 2 x AVI + 1 x ACI
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  
393 +[[image:image-20220523182334-9.png]]
408 408  
409 -(% border="1" style="background-color:#f7faff" %)
410 -|Size(bytes)|2|2|2|2|1|1|1
411 -|Value|(((
412 -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 +)))
413 413  
414 -voltage
415 -)))|(((
416 -AVI2
417 417  
418 -voltage
419 -)))|(((
420 -ACI1
421 -
422 -Current
423 -)))|COUNT1|DIDORO*|(((
424 -Reserve
425 -
426 -
427 -)))|MOD
428 -
429 -**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
430 -
431 -(% border="1" style="background-color:#f7faff" %)
432 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
433 -|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1
434 -
435 435  * RO is for relay. ROx=1 : close,ROx=0 always open.
436 436  * FIRST: Indicate this is the first packet after join network.
437 437  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
438 438  
439 -Note: DO3 is not valid for LT-22222-L.
404 +(% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
440 440  
406 +**To use this mode, please run:**
441 441  
442 -To use this mode, please run:
408 +(% class="box infomessage" %)
409 +(((
410 +**AT+MOD=5**
411 +)))
443 443  
444 -AT+MOD=5
413 +(% class="box infomessage" %)
414 +(((
415 +**ATZ**
416 +)))
445 445  
446 -ATZ
447 -
448 -
449 449  Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]].
450 450  
420 +=== 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
451 451  
452 -
453 -
454 -
455 -1.
456 -11.
457 -111. AT+ADDMOD=6. (Trigger Mode, Optional)
458 -
459 459  **This mode is an optional mode for trigger purpose. It can run together with other mode.**
460 460  
461 461  For example, if user has configured below commands:
... ... @@ -675,8 +675,8 @@
675 675  When device got this command, it will send the MOD6 payload.
676 676  
677 677  
678 -1.
679 -11.
641 +1.
642 +11.
680 680  111. Payload Decoder
681 681  
682 682  **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/]]
... ... @@ -687,7 +687,7 @@
687 687  
688 688  
689 689  
690 -1.
653 +1.
691 691  11. ​Configure LT via AT or Downlink
692 692  
693 693  User can configure LT I/O Controller via [[AT Commands >>path:#_​Using_the_AT]]or LoRaWAN Downlink Commands
... ... @@ -698,15 +698,15 @@
698 698  
699 699  * **Sensor Related Commands**: These commands are special designed for LT-22222-L.  User can see these commands below:
700 700  
701 -1.
702 -11.
664 +1.
665 +11.
703 703  111. Common Commands:
704 704  
705 705  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
706 706  
707 707  
708 -1.
709 -11.
671 +1.
672 +11.
710 710  111. Sensor related commands:
711 711  
712 712  ==== Set Transmit Interval ====
... ... @@ -1165,7 +1165,7 @@
1165 1165  
1166 1166  
1167 1167  
1168 -1.
1131 +1.
1169 1169  11. Integrate with Mydevice
1170 1170  
1171 1171  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:
... ... @@ -1223,7 +1223,7 @@
1223 1223  
1224 1224  
1225 1225  1.
1226 -11.
1189 +11.
1227 1227  111. Digital Input Port: DI1/DI2 ( For LT-22222-L)
1228 1228  
1229 1229  The DI port of LT-22222-L can support NPN or PNP output sensor.
... ... @@ -1277,8 +1277,8 @@
1277 1277  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.
1278 1278  
1279 1279  
1280 -1.
1281 -11.
1243 +1.
1244 +11.
1282 1282  111. Digital Output Port: DO1/DO2 /DO3
1283 1283  
1284 1284  NPN output: GND or Float. Max voltage can apply to output pin is 36v.
... ... @@ -1289,7 +1289,7 @@
1289 1289  
1290 1290  
1291 1291  1.
1292 -11.
1255 +11.
1293 1293  111. Analog Input Interface
1294 1294  
1295 1295  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:
... ... @@ -1322,7 +1322,7 @@
1322 1322  
1323 1323  
1324 1324  1.
1325 -11.
1288 +11.
1326 1326  111. Relay Output
1327 1327  
1328 1328  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:
... ... @@ -1482,7 +1482,7 @@
1482 1482  
1483 1483  
1484 1484  
1485 -1.
1448 +1.
1486 1486  11. Common AT Command Sequence
1487 1487  111. Multi-channel ABP mode (Use with SX1301/LG308)
1488 1488  
... ... @@ -1505,8 +1505,8 @@
1505 1505  
1506 1506  ATZ
1507 1507  
1508 -1.
1509 -11.
1471 +1.
1472 +11.
1510 1510  111. Single-channel ABP mode (Use with LG01/LG02)
1511 1511  
1512 1512  123456   Enter Password to have AT access.
... ... @@ -1546,7 +1546,7 @@
1546 1546  
1547 1547  
1548 1548  1.
1549 -11.
1512 +11.
1550 1550  111. Change to Class A
1551 1551  
1552 1552  If sensor JOINED
... ... @@ -1561,7 +1561,7 @@
1561 1561  
1562 1562  1. FAQ
1563 1563  
1564 -1.
1527 +1.
1565 1565  11. How to upgrade the image?
1566 1566  
1567 1567  The LT LoRaWAN Controller is shipped with a 3.5mm cable, the cable is used to upload image to LT to:
... ... @@ -1620,7 +1620,7 @@
1620 1620  User can follow the introduction for [[how to upgrade image>>path:#upgrade_image]]. When download the images, choose the required image file for download.
1621 1621  
1622 1622  
1623 -1.
1586 +1.
1624 1624  11. How to set up LT to work with Single Channel Gateway such as LG01/LG02?
1625 1625  
1626 1626  In this case, users need to set LT-33222-L to work in ABP mode & transmit in only one frequency.
... ... @@ -1679,7 +1679,7 @@
1679 1679  [[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]]
1680 1680  
1681 1681  
1682 -1.
1645 +1.
1683 1683  11. Have trouble to upload image.
1684 1684  
1685 1685  See this link for trouble shooting:
... ... @@ -1687,7 +1687,7 @@
1687 1687  [[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]]
1688 1688  
1689 1689  
1690 -1.
1653 +1.
1691 1691  11. Why I can’t join TTN in US915 /AU915 bands?
1692 1692  
1693 1693  It might be about the channels mapping. Please see this link for detail:
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