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, 6 removed)
Details
- Page properties
-
- Content
-
... ... @@ -182,9 +182,7 @@ 182 182 183 183 [[image:image-20220523174024-3.png]] 184 184 185 -((( 186 186 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 187 -))) 188 188 189 189 [[image:image-20220523174254-4.png]] 190 190 ... ... @@ -232,184 +232,219 @@ 232 232 233 233 Total : 11 bytes payload 234 234 235 -[[image:image-20220523180452-3.png]] 233 +(% border="1" style="background-color:#f7faff; height:10px; width:500px" %) 234 +|Size(bytes)|4|4|1|1|1 235 +|Value|COUNT1|COUNT2 |DIDORO*|((( 236 +Reserve 236 236 237 -((( 238 -(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below 239 -))) 238 + 239 +)))|MOD 240 240 241 - [[image:image-20220523180506-4.png]]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" %) 244 +|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 245 +|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1 246 + 243 243 * RO is for relay. ROx=1 : close,ROx=0 always open. 244 244 * FIRST: Indicate this is the first packet after join network. 245 245 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 246 246 247 - (% style="color:red" %)Note: DO3 bit is not valid for LT-22222-L.251 +Note: DO3 bit is not valid for LT-22222-L. 248 248 249 -**To use counting mode, please run:** 250 250 251 -(% class="box infomessage" %) 252 -((( 253 -**AT+MOD=2** 254 -))) 254 +To use counting mode, please run: 255 255 256 -(% class="box infomessage" %) 257 -((( 258 -**ATZ** 259 -))) 256 +AT+MOD=2 260 260 261 - (% style="color:#4f81bd" %)**ATCommands for counting:**258 +ATZ 262 262 260 + 261 +AT Commands for counting: 262 + 263 +**For LT33222-L:** 264 + 265 +AT+TRIG1=0,100 (set DI3 port to trigger on low level, valid signal is 100ms) 266 + 267 +AT+TRIG1=1,100 (set DI3 port to trigger on high level, valid signal is 100ms ) 268 + 269 +AT+SETCNT=1,60 (Set COUNT1 value to 60) 270 + 271 + 263 263 **For LT22222-L:** 264 264 265 -(% class="box infomessage" %) 266 -((( 267 -**AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) ** 268 -))) 274 +AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) 269 269 270 -(% class="box infomessage" %) 271 -((( 272 -**AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) ** 273 -))) 276 +AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) 274 274 275 -(% class="box infomessage" %) 276 -((( 277 -**AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) ** 278 -))) 278 +AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) 279 279 280 -(% class="box infomessage" %) 281 -((( 282 -**AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) ** 283 -))) 280 +AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) 284 284 285 -(% class="box infomessage" %) 286 -((( 287 -**AT+SETCNT=1,60 (Set COUNT1 value to 60)** 288 -))) 289 289 290 -(% class="box infomessage" %) 291 -((( 292 -**AT+SETCNT=2,60 (Set COUNT2 value to 60)** 293 -))) 283 +AT+SETCNT=1,60 (Set COUNT1 value to 60) 294 294 295 - === 3.3.3AT+MOD~=3, SingleDI Counting+2xACI===285 +AT+SETCNT=2,60 (Set COUNT2 value to 60) 296 296 287 + 288 +**For both LT22222-L & LT33222-L**: 289 + 290 +AT+CLRCOUNT clear all countings 291 + 292 +AT+COUTIME=60 Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30) 293 + 294 + 295 + 296 +1. 297 +11. 298 +111. AT+MOD=3, Single DI Counting + 2 x ACI 299 + 300 +**LT33222-L**: This mode the DI3 is used as a counting pin. 301 + 297 297 **LT22222-L**: This mode the DI1 is used as a counting pin. 298 298 299 -[[image:image-20220523181246-5.png]] 300 300 301 -((( 302 -(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 303 -))) 305 +(% border="1" style="background-color:#f7faff" %) 306 +|Size(bytes)|4|2|2|1|1|1 307 +|Value|COUNT1|((( 308 +ACI1 304 304 305 -[[image:image-20220523181301-6.png]] 310 +Current 311 +)))|((( 312 +ACI2 306 306 314 +Current 315 +)))|DIDORO*|Reserve|MOD 316 + 317 +**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 318 + 319 +(% border="1" style="background-color:#f7faff" %) 320 +|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 321 +|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1 322 + 307 307 * RO is for relay. ROx=1 : close,ROx=0 always open. 308 308 * FIRST: Indicate this is the first packet after join network. 309 309 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 310 310 311 - (% style="color:red" %)Note: DO3 is not valid for LT-22222-L.327 +Note: DO3 is not valid for LT-22222-L. 312 312 313 -**To use counting mode, please run:** 314 314 315 -(% class="box infomessage" %) 316 -((( 317 -**AT+MOD=3** 318 -))) 330 +To use counting mode, please run: 319 319 320 -(% class="box infomessage" %) 321 -((( 322 -**ATZ** 323 -))) 332 +AT+MOD=3 324 324 334 +ATZ 335 + 336 + 325 325 Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]]. 326 326 327 -=== 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 328 328 340 + 341 + 342 +1. 343 +11. 344 +111. AT+MOD=4, Single DI Counting + 1 x Voltage Counting 345 + 346 +**LT33222-L**: This mode the DI3 is used as a counting pin. 347 + 329 329 **LT22222-L**: This mode the DI1 is used as a counting pin. 330 330 350 + 331 331 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. 332 332 333 -[[image:image-20220523181903-8.png]] 334 334 335 -((( 336 -(% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 337 -))) 354 +(% border="1" style="background-color:#f7faff" %) 355 +|Size(bytes)|4|4|1|1|1 356 +|Value|COUNT1|AVI1 Counting|DIDORO*|((( 357 +Reserve 338 338 339 -[[image:image-20220523181727-7.png]] 359 + 360 +)))|MOD 340 340 362 +**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 363 + 364 +(% border="1" style="background-color:#f7faff" %) 365 +|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 366 +|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1 367 + 341 341 * RO is for relay. ROx=1 : close,ROx=0 always open. 342 342 * FIRST: Indicate this is the first packet after join network. 343 343 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 344 344 345 - (% style="color:red" %)Note: DO3 is not valid for LT-22222-L.372 +Note: DO3 is not valid for LT-22222-L. 346 346 347 -**To use this mode, please run:** 348 348 349 -(% class="box infomessage" %) 350 -((( 351 -**AT+MOD=4** 352 -))) 375 +To use this mode, please run: 353 353 354 -(% class="box infomessage" %) 355 -((( 356 -**ATZ** 357 -))) 377 +AT+MOD=4 358 358 379 +ATZ 359 359 381 + 382 + 360 360 Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]]. 361 361 362 - **Plus below command for AVI1 Counting:**385 +Plus below command for AVI1 Counting: 363 363 364 -(% class="box infomessage" %) 365 -((( 366 -**AT+SETCNT=3,60 (set AVI Count to 60)** 367 -))) 387 +AT+SETCNT=3,60 (set AVI Count to 60) 368 368 369 -(% class="box infomessage" %) 370 -((( 371 -**AT+VOLMAX=20000 (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 372 -))) 389 +AT+VOLMAX=20000 (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1) 373 373 374 -(% class="box infomessage" %) 375 -((( 376 -**AT+VOLMAX=20000,0 (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)** 377 -))) 391 +AT+VOLMAX=20000,0 (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1) 378 378 379 -(% class="box infomessage" %) 380 -((( 381 -**AT+VOLMAX=20000,1 (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)** 382 -))) 393 +AT+VOLMAX=20000,1 (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1) 383 383 384 -=== 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 385 385 396 + 397 +1. 398 +11. 399 +111. AT+MOD=5, Single DI Counting + 2 x AVI + 1 x ACI 400 + 401 +**LT33222-L**: This mode the DI3 is used as a counting pin. 402 + 386 386 **LT22222-L**: This mode the DI1 is used as a counting pin. 387 387 388 -[[image:image-20220523182334-9.png]] 389 389 390 -((( 391 -(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 392 -))) 406 +(% border="1" style="background-color:#f7faff" %) 407 +|Size(bytes)|2|2|2|2|1|1|1 408 +|Value|((( 409 +AVI1 393 393 411 +voltage 412 +)))|((( 413 +AVI2 394 394 415 +voltage 416 +)))|((( 417 +ACI1 418 + 419 +Current 420 +)))|COUNT1|DIDORO*|((( 421 +Reserve 422 + 423 + 424 +)))|MOD 425 + 426 +**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 427 + 428 +(% border="1" style="background-color:#f7faff" %) 429 +|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 430 +|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1 431 + 395 395 * RO is for relay. ROx=1 : close,ROx=0 always open. 396 396 * FIRST: Indicate this is the first packet after join network. 397 397 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 398 398 399 - (% style="color:red" %)Note: DO3 is not valid for LT-22222-L.436 +Note: DO3 is not valid for LT-22222-L. 400 400 401 -**To use this mode, please run:** 402 402 403 -(% class="box infomessage" %) 404 -((( 405 -**AT+MOD=5** 406 -))) 439 +To use this mode, please run: 407 407 408 -(% class="box infomessage" %) 409 -((( 410 -**ATZ** 411 -))) 441 +AT+MOD=5 412 412 443 +ATZ 444 + 445 + 413 413 Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]]. 414 414 415 415 ... ... @@ -416,8 +416,8 @@ 416 416 417 417 418 418 419 -1. 420 -11. 452 +1. 453 +11. 421 421 111. AT+ADDMOD=6. (Trigger Mode, Optional) 422 422 423 423 **This mode is an optional mode for trigger purpose. It can run together with other mode.** ... ... @@ -639,8 +639,8 @@ 639 639 When device got this command, it will send the MOD6 payload. 640 640 641 641 642 -1. 643 -11. 675 +1. 676 +11. 644 644 111. Payload Decoder 645 645 646 646 **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/]] ... ... @@ -651,7 +651,7 @@ 651 651 652 652 653 653 654 -1. 687 +1. 655 655 11. Configure LT via AT or Downlink 656 656 657 657 User can configure LT I/O Controller via [[AT Commands >>path:#_Using_the_AT]]or LoRaWAN Downlink Commands ... ... @@ -662,15 +662,15 @@ 662 662 663 663 * **Sensor Related Commands**: These commands are special designed for LT-22222-L. User can see these commands below: 664 664 665 -1. 666 -11. 698 +1. 699 +11. 667 667 111. Common Commands: 668 668 669 669 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 670 670 671 671 672 -1. 673 -11. 705 +1. 706 +11. 674 674 111. Sensor related commands: 675 675 676 676 ==== Set Transmit Interval ==== ... ... @@ -1129,7 +1129,7 @@ 1129 1129 1130 1130 1131 1131 1132 -1. 1165 +1. 1133 1133 11. Integrate with Mydevice 1134 1134 1135 1135 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: ... ... @@ -1187,7 +1187,7 @@ 1187 1187 1188 1188 1189 1189 1. 1190 -11. 1223 +11. 1191 1191 111. Digital Input Port: DI1/DI2 ( For LT-22222-L) 1192 1192 1193 1193 The DI port of LT-22222-L can support NPN or PNP output sensor. ... ... @@ -1241,8 +1241,8 @@ 1241 1241 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. 1242 1242 1243 1243 1244 -1. 1245 -11. 1277 +1. 1278 +11. 1246 1246 111. Digital Output Port: DO1/DO2 /DO3 1247 1247 1248 1248 NPN output: GND or Float. Max voltage can apply to output pin is 36v. ... ... @@ -1253,7 +1253,7 @@ 1253 1253 1254 1254 1255 1255 1. 1256 -11. 1289 +11. 1257 1257 111. Analog Input Interface 1258 1258 1259 1259 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: ... ... @@ -1286,7 +1286,7 @@ 1286 1286 1287 1287 1288 1288 1. 1289 -11. 1322 +11. 1290 1290 111. Relay Output 1291 1291 1292 1292 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: ... ... @@ -1337,6 +1337,7 @@ 1337 1337 |**RO1**| 1338 1338 |**RO2**| 1339 1339 1373 + 1340 1340 1. Use AT Command 1341 1341 11. Access AT Command 1342 1342 ... ... @@ -1446,7 +1446,7 @@ 1446 1446 1447 1447 1448 1448 1449 -1. 1483 +1. 1450 1450 11. Common AT Command Sequence 1451 1451 111. Multi-channel ABP mode (Use with SX1301/LG308) 1452 1452 ... ... @@ -1469,8 +1469,8 @@ 1469 1469 1470 1470 ATZ 1471 1471 1472 -1. 1473 -11. 1506 +1. 1507 +11. 1474 1474 111. Single-channel ABP mode (Use with LG01/LG02) 1475 1475 1476 1476 123456 Enter Password to have AT access. ... ... @@ -1510,7 +1510,7 @@ 1510 1510 1511 1511 1512 1512 1. 1513 -11. 1547 +11. 1514 1514 111. Change to Class A 1515 1515 1516 1516 If sensor JOINED ... ... @@ -1525,7 +1525,7 @@ 1525 1525 1526 1526 1. FAQ 1527 1527 1528 -1. 1562 +1. 1529 1529 11. How to upgrade the image? 1530 1530 1531 1531 The LT LoRaWAN Controller is shipped with a 3.5mm cable, the cable is used to upload image to LT to: ... ... @@ -1584,7 +1584,7 @@ 1584 1584 User can follow the introduction for [[how to upgrade image>>path:#upgrade_image]]. When download the images, choose the required image file for download. 1585 1585 1586 1586 1587 -1. 1621 +1. 1588 1588 11. How to set up LT to work with Single Channel Gateway such as LG01/LG02? 1589 1589 1590 1590 In this case, users need to set LT-33222-L to work in ABP mode & transmit in only one frequency. ... ... @@ -1643,7 +1643,7 @@ 1643 1643 [[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]] 1644 1644 1645 1645 1646 -1. 1680 +1. 1647 1647 11. Have trouble to upload image. 1648 1648 1649 1649 See this link for trouble shooting: ... ... @@ -1651,7 +1651,7 @@ 1651 1651 [[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]] 1652 1652 1653 1653 1654 -1. 1688 +1. 1655 1655 11. Why I can’t join TTN in US915 /AU915 bands? 1656 1656 1657 1657 It might be about the channels mapping. Please see this link for detail:
- 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