Changes for page LT-22222-L -- LoRa I/O Controller User Manual
Last modified by Saxer Lin on 2025/04/15 17:24
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 8 removed)
Details
- Page properties
-
- Content
-
... ... @@ -4,13 +4,8 @@ 4 4 **LT-22222-L LoRa IO Controller User Manual ** 5 5 6 6 7 -**Table of Contents:** 8 8 9 -{{toc/}} 10 10 11 - 12 - 13 - 14 14 = 1.Introduction = 15 15 16 16 == 1.1 What is LT Series I/O Controller == ... ... @@ -187,9 +187,7 @@ 187 187 188 188 [[image:image-20220523174024-3.png]] 189 189 190 -((( 191 191 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 192 -))) 193 193 194 194 [[image:image-20220523174254-4.png]] 195 195 ... ... @@ -197,12 +197,13 @@ 197 197 * DI is for digital input. DIx=1: high or float, DIx=0: low. 198 198 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 199 199 200 - (% style="color:red" %)Note: DI3 and DO3 bit are not valid for LT-22222-L193 +Note: DI3 and DO3 bit are not valid for LT-22222-L 201 201 202 -For example if payload is: [[image:image-20220523175847-2.png]] 203 203 204 - **Thevaluefor theinterfaceis:**196 +For example if payload is: 04 AB 04 AC 13 10 13 00 AA FF 01 205 205 198 +The value for the interface is: 199 + 206 206 AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V 207 207 208 208 AVI2 channel voltage is 0x04AC/1000=1.196V ... ... @@ -216,8 +216,14 @@ 216 216 * [1] RO1 relay channel is close and the RO1 LED is ON. 217 217 * [0] RO2 relay channel is open and RO2 LED is OFF; 218 218 219 - **LT22222-L:**213 +LT33222-L: 220 220 215 +* [1] DI3 channel is high input and DI3 LED is OFF; 216 +* [0] DI2 channel is low input; 217 +* [1] DI1 channel is high input and DI1 LED is OFF; 218 + 219 +LT22222-L: 220 + 221 221 * [1] DI2 channel is high input and DI2 LED is ON; 222 222 * [0] DI1 channel is low input; 223 223 ... ... @@ -231,194 +231,242 @@ 231 231 ** DO1 is high in case there is load between DO1 and V+. 232 232 ** DO1 LED is off in both case 233 233 234 -=== 3.3.2 AT+MOD~=2, (Double DI Counting) === 235 235 235 +1. 236 +11. 237 +111. AT+MOD=2, (Double DI Counting) 238 + 239 +**For LT-33222-L**: this mode the **DI3** is used as a counting pin. Counting on DI3 reflect in COUNT1. 240 + 236 236 **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins. 237 237 243 + 238 238 Total : 11 bytes payload 239 239 240 -[[image:image-20220523180452-3.png]] 246 +(% border="1" style="background-color:#f7faff; height:10px; width:500px" %) 247 +|Size(bytes)|4|4|1|1|1 248 +|Value|COUNT1|COUNT2 |DIDORO*|((( 249 +Reserve 241 241 242 -((( 243 -(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below 244 -))) 251 + 252 +)))|MOD 245 245 246 - [[image:image-20220523180506-4.png]]254 +**DIDORO** is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below 247 247 256 +(% border="1" style="background-color:#f7faff" %) 257 +|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 258 +|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1 259 + 248 248 * RO is for relay. ROx=1 : close,ROx=0 always open. 249 249 * FIRST: Indicate this is the first packet after join network. 250 250 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 251 251 252 - (% style="color:red" %)Note: DO3 bit is not valid for LT-22222-L.264 +Note: DO3 bit is not valid for LT-22222-L. 253 253 254 -**To use counting mode, please run:** 255 255 256 -(% class="box infomessage" %) 257 -((( 258 -**AT+MOD=2** 259 -))) 267 +To use counting mode, please run: 260 260 261 -(% class="box infomessage" %) 262 -((( 263 -**ATZ** 264 -))) 269 +AT+MOD=2 265 265 266 - (% style="color:#4f81bd" %)**ATCommands for counting:**271 +ATZ 267 267 273 + 274 +AT Commands for counting: 275 + 276 +**For LT33222-L:** 277 + 278 +AT+TRIG1=0,100 (set DI3 port to trigger on low level, valid signal is 100ms) 279 + 280 +AT+TRIG1=1,100 (set DI3 port to trigger on high level, valid signal is 100ms ) 281 + 282 +AT+SETCNT=1,60 (Set COUNT1 value to 60) 283 + 284 + 268 268 **For LT22222-L:** 269 269 270 -(% class="box infomessage" %) 271 -((( 272 -**AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) ** 273 -))) 287 +AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) 274 274 275 -(% class="box infomessage" %) 276 -((( 277 -**AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) ** 278 -))) 289 +AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) 279 279 280 -(% class="box infomessage" %) 281 -((( 282 -**AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) ** 283 -))) 291 +AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) 284 284 285 -(% class="box infomessage" %) 286 -((( 287 -**AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) ** 288 -))) 293 +AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) 289 289 290 -(% class="box infomessage" %) 291 -((( 292 -**AT+SETCNT=1,60 (Set COUNT1 value to 60)** 293 -))) 294 294 295 -(% class="box infomessage" %) 296 -((( 297 -**AT+SETCNT=2,60 (Set COUNT2 value to 60)** 298 -))) 296 +AT+SETCNT=1,60 (Set COUNT1 value to 60) 299 299 300 - === 3.3.3AT+MOD~=3, SingleDI Counting+2xACI===298 +AT+SETCNT=2,60 (Set COUNT2 value to 60) 301 301 300 + 301 +**For both LT22222-L & LT33222-L**: 302 + 303 +AT+CLRCOUNT clear all countings 304 + 305 +AT+COUTIME=60 Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30) 306 + 307 + 308 + 309 +1. 310 +11. 311 +111. AT+MOD=3, Single DI Counting + 2 x ACI 312 + 313 +**LT33222-L**: This mode the DI3 is used as a counting pin. 314 + 302 302 **LT22222-L**: This mode the DI1 is used as a counting pin. 303 303 304 -[[image:image-20220523181246-5.png]] 305 305 306 -((( 307 -(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 308 -))) 318 +(% border="1" style="background-color:#f7faff" %) 319 +|Size(bytes)|4|2|2|1|1|1 320 +|Value|COUNT1|((( 321 +ACI1 309 309 310 -[[image:image-20220523181301-6.png]] 323 +Current 324 +)))|((( 325 +ACI2 311 311 327 +Current 328 +)))|DIDORO*|Reserve|MOD 329 + 330 +**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 331 + 332 +(% border="1" style="background-color:#f7faff" %) 333 +|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 334 +|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1 335 + 312 312 * RO is for relay. ROx=1 : close,ROx=0 always open. 313 313 * FIRST: Indicate this is the first packet after join network. 314 314 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 315 315 316 - (% style="color:red" %)Note: DO3 is not valid for LT-22222-L.340 +Note: DO3 is not valid for LT-22222-L. 317 317 318 -**To use counting mode, please run:** 319 319 320 -(% class="box infomessage" %) 321 -((( 322 -**AT+MOD=3** 323 -))) 343 +To use counting mode, please run: 324 324 325 -(% class="box infomessage" %) 326 -((( 327 -**ATZ** 328 -))) 345 +AT+MOD=3 329 329 347 +ATZ 348 + 349 + 330 330 Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]]. 331 331 332 -=== 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 333 333 353 + 354 + 355 +1. 356 +11. 357 +111. AT+MOD=4, Single DI Counting + 1 x Voltage Counting 358 + 359 +**LT33222-L**: This mode the DI3 is used as a counting pin. 360 + 334 334 **LT22222-L**: This mode the DI1 is used as a counting pin. 335 335 363 + 336 336 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. 337 337 338 -[[image:image-20220523181903-8.png]] 339 339 340 -((( 341 -(% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 342 -))) 367 +(% border="1" style="background-color:#f7faff" %) 368 +|Size(bytes)|4|4|1|1|1 369 +|Value|COUNT1|AVI1 Counting|DIDORO*|((( 370 +Reserve 343 343 344 -[[image:image-20220523181727-7.png]] 372 + 373 +)))|MOD 345 345 375 +**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 376 + 377 +(% border="1" style="background-color:#f7faff" %) 378 +|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 379 +|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1 380 + 346 346 * RO is for relay. ROx=1 : close,ROx=0 always open. 347 347 * FIRST: Indicate this is the first packet after join network. 348 348 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 349 349 350 - (% style="color:red" %)Note: DO3 is not valid for LT-22222-L.385 +Note: DO3 is not valid for LT-22222-L. 351 351 352 -**To use this mode, please run:** 353 353 354 -(% class="box infomessage" %) 355 -((( 356 -**AT+MOD=4** 357 -))) 388 +To use this mode, please run: 358 358 359 -(% class="box infomessage" %) 360 -((( 361 -**ATZ** 362 -))) 390 +AT+MOD=4 363 363 392 +ATZ 364 364 394 + 395 + 365 365 Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]]. 366 366 367 - **Plus below command for AVI1 Counting:**398 +Plus below command for AVI1 Counting: 368 368 369 -(% class="box infomessage" %) 370 -((( 371 -**AT+SETCNT=3,60 (set AVI Count to 60)** 372 -))) 400 +AT+SETCNT=3,60 (set AVI Count to 60) 373 373 374 -(% class="box infomessage" %) 375 -((( 376 -**AT+VOLMAX=20000 (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 377 -))) 402 +AT+VOLMAX=20000 (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1) 378 378 379 -(% class="box infomessage" %) 380 -((( 381 -**AT+VOLMAX=20000,0 (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)** 382 -))) 404 +AT+VOLMAX=20000,0 (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1) 383 383 384 -(% class="box infomessage" %) 385 -((( 386 -**AT+VOLMAX=20000,1 (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)** 387 -))) 406 +AT+VOLMAX=20000,1 (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1) 388 388 389 -=== 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 390 390 409 + 410 +1. 411 +11. 412 +111. AT+MOD=5, Single DI Counting + 2 x AVI + 1 x ACI 413 + 414 +**LT33222-L**: This mode the DI3 is used as a counting pin. 415 + 391 391 **LT22222-L**: This mode the DI1 is used as a counting pin. 392 392 393 -[[image:image-20220523182334-9.png]] 394 394 395 -((( 396 -(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 397 -))) 419 +(% border="1" style="background-color:#f7faff" %) 420 +|Size(bytes)|2|2|2|2|1|1|1 421 +|Value|((( 422 +AVI1 398 398 424 +voltage 425 +)))|((( 426 +AVI2 399 399 428 +voltage 429 +)))|((( 430 +ACI1 431 + 432 +Current 433 +)))|COUNT1|DIDORO*|((( 434 +Reserve 435 + 436 + 437 +)))|MOD 438 + 439 + 440 +**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 441 + 442 +(% border="1" style="background-color:#f7faff" %) 443 +|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 444 +|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1 445 + 400 400 * RO is for relay. ROx=1 : close,ROx=0 always open. 401 401 * FIRST: Indicate this is the first packet after join network. 402 402 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 403 403 404 - (% style="color:red" %)Note: DO3 is not valid for LT-22222-L.450 +Note: DO3 is not valid for LT-22222-L. 405 405 406 -**To use this mode, please run:** 407 407 408 -(% class="box infomessage" %) 409 -((( 410 -**AT+MOD=5** 411 -))) 453 +To use this mode, please run: 412 412 413 -(% class="box infomessage" %) 414 -((( 415 -**ATZ** 416 -))) 455 +AT+MOD=5 417 417 457 +ATZ 458 + 459 + 418 418 Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]]. 419 419 420 -=== 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) === 421 421 463 + 464 + 465 + 466 +1. 467 +11. 468 +111. AT+ADDMOD=6. (Trigger Mode, Optional) 469 + 422 422 **This mode is an optional mode for trigger purpose. It can run together with other mode.** 423 423 424 424 For example, if user has configured below commands: ... ... @@ -521,6 +521,7 @@ 521 521 (6) 522 522 ))) 523 523 572 + 524 524 **TRI FLAG1** is a combination to show if trigger is set for this part. Totally 1byte as below 525 525 526 526 (% border="1" style="background-color:#f7faff" %) ... ... @@ -638,8 +638,8 @@ 638 638 When device got this command, it will send the MOD6 payload. 639 639 640 640 641 -1. 642 -11. 690 +1. 691 +11. 643 643 111. Payload Decoder 644 644 645 645 **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/]] ... ... @@ -650,7 +650,7 @@ 650 650 651 651 652 652 653 -1. 702 +1. 654 654 11. Configure LT via AT or Downlink 655 655 656 656 User can configure LT I/O Controller via [[AT Commands >>path:#_Using_the_AT]]or LoRaWAN Downlink Commands ... ... @@ -661,15 +661,15 @@ 661 661 662 662 * **Sensor Related Commands**: These commands are special designed for LT-22222-L. User can see these commands below: 663 663 664 -1. 665 -11. 713 +1. 714 +11. 666 666 111. Common Commands: 667 667 668 668 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 669 669 670 670 671 -1. 672 -11. 720 +1. 721 +11. 673 673 111. Sensor related commands: 674 674 675 675 ==== Set Transmit Interval ==== ... ... @@ -1128,7 +1128,7 @@ 1128 1128 1129 1129 1130 1130 1131 -1. 1180 +1. 1132 1132 11. Integrate with Mydevice 1133 1133 1134 1134 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: ... ... @@ -1186,7 +1186,7 @@ 1186 1186 1187 1187 1188 1188 1. 1189 -11. 1238 +11. 1190 1190 111. Digital Input Port: DI1/DI2 ( For LT-22222-L) 1191 1191 1192 1192 The DI port of LT-22222-L can support NPN or PNP output sensor. ... ... @@ -1240,8 +1240,8 @@ 1240 1240 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. 1241 1241 1242 1242 1243 -1. 1244 -11. 1292 +1. 1293 +11. 1245 1245 111. Digital Output Port: DO1/DO2 /DO3 1246 1246 1247 1247 NPN output: GND or Float. Max voltage can apply to output pin is 36v. ... ... @@ -1252,7 +1252,7 @@ 1252 1252 1253 1253 1254 1254 1. 1255 -11. 1304 +11. 1256 1256 111. Analog Input Interface 1257 1257 1258 1258 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: ... ... @@ -1285,7 +1285,7 @@ 1285 1285 1286 1286 1287 1287 1. 1288 -11. 1337 +11. 1289 1289 111. Relay Output 1290 1290 1291 1291 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: ... ... @@ -1336,6 +1336,8 @@ 1336 1336 |**RO1**| 1337 1337 |**RO2**| 1338 1338 1388 + 1389 + 1339 1339 1. Use AT Command 1340 1340 11. Access AT Command 1341 1341 ... ... @@ -1445,7 +1445,7 @@ 1445 1445 1446 1446 1447 1447 1448 -1. 1499 +1. 1449 1449 11. Common AT Command Sequence 1450 1450 111. Multi-channel ABP mode (Use with SX1301/LG308) 1451 1451 ... ... @@ -1468,8 +1468,8 @@ 1468 1468 1469 1469 ATZ 1470 1470 1471 -1. 1472 -11. 1522 +1. 1523 +11. 1473 1473 111. Single-channel ABP mode (Use with LG01/LG02) 1474 1474 1475 1475 123456 Enter Password to have AT access. ... ... @@ -1509,7 +1509,7 @@ 1509 1509 1510 1510 1511 1511 1. 1512 -11. 1563 +11. 1513 1513 111. Change to Class A 1514 1514 1515 1515 If sensor JOINED ... ... @@ -1524,7 +1524,7 @@ 1524 1524 1525 1525 1. FAQ 1526 1526 1527 -1. 1578 +1. 1528 1528 11. How to upgrade the image? 1529 1529 1530 1530 The LT LoRaWAN Controller is shipped with a 3.5mm cable, the cable is used to upload image to LT to: ... ... @@ -1583,7 +1583,7 @@ 1583 1583 User can follow the introduction for [[how to upgrade image>>path:#upgrade_image]]. When download the images, choose the required image file for download. 1584 1584 1585 1585 1586 -1. 1637 +1. 1587 1587 11. How to set up LT to work with Single Channel Gateway such as LG01/LG02? 1588 1588 1589 1589 In this case, users need to set LT-33222-L to work in ABP mode & transmit in only one frequency. ... ... @@ -1642,7 +1642,7 @@ 1642 1642 [[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]] 1643 1643 1644 1644 1645 -1. 1696 +1. 1646 1646 11. Have trouble to upload image. 1647 1647 1648 1648 See this link for trouble shooting: ... ... @@ -1650,7 +1650,7 @@ 1650 1650 [[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]] 1651 1651 1652 1652 1653 -1. 1704 +1. 1654 1654 11. Why I can’t join TTN in US915 /AU915 bands? 1655 1655 1656 1656 It might be about the channels mapping. Please see this link for detail:
- image-20220523175847-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -2.0 KB - Content
- image-20220523180452-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -4.5 KB - Content
- image-20220523180506-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -4.5 KB - Content
- image-20220523181246-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -5.5 KB - Content
- image-20220523181301-6.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -4.6 KB - Content
- image-20220523181727-7.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -4.8 KB - Content
- image-20220523181903-8.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -4.9 KB - Content
- image-20220523182334-9.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -6.4 KB - Content