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, 10 removed)
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:50 0px" %)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,51 +153,81 @@ 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 160 160 [[image:1653298023685-319.png]] 161 161 162 -((( 162 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image008.png]] 163 + 163 163 **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. 164 -))) 165 165 166 -[[image:1653298044601-602.png ||height="405" width="709"]]166 +[[image:1653298044601-602.png]] 167 167 168 - == 3.3Uplink Payload ==168 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image009.png]] 169 169 170 + 171 +1. 172 +11. Uplink Payload 173 + 170 170 There are five working modes + one interrupt mode on LT for different type application: 171 171 172 -* **MOD1**: (default setting): 2 x ACI + 2AVI + DI + DO + RO173 -* **MOD2**: Double DI Counting + DO + RO174 -* **MOD3**: Single DI Counting + 2 x ACI + DO + RO175 -* **MOD4**: Single DI Counting + 1 x Voltage Counting + DO + RO176 -* **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO177 -* **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5176 +* [[MOD1>>path:#MOD1]]: (default setting): 2 x ACI + 2AVI + DI + DO + RO 177 +* [[MOD2>>path:#MOD2]]: Double DI Counting + DO + RO 178 +* [[MOD3>>path:#MOD3]]: Single DI Counting + 2 x ACI + DO + RO 179 +* [[MOD4>>path:#MOD4]]: Single DI Counting + 1 x Voltage Counting + DO + RO 180 +* [[MOD5>>path:#MOD5]]: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO 181 +* [[ADDMOD6>>path:#MOD6]]: Trigger Mode, Optional, used together with MOD1 ~~ MOD5 178 178 179 -=== 3.3.1 AT+MOD~=1, 2ACI+2AVI === 180 180 184 +1. 185 +11. 186 +111. AT+MOD=1, 2ACI+2AVI 187 + 181 181 The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default. 182 182 183 -[[image:image-20220523174024-3.png]] 184 184 185 -( ((186 - (% style="color:#4f81bd" %)**DIDORO**(%%) isacombination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below187 - )))191 +|Size(bytes)|2|2|2|2|1|1|1 192 +|Value|((( 193 +AVI1 188 188 189 -[[image:image-20220523174254-4.png]] 195 +voltage 196 +)))|((( 197 +AVI2 190 190 199 +voltage 200 +)))|((( 201 +ACI1 202 + 203 +Current 204 +)))|((( 205 +ACI2 206 + 207 +Current 208 +)))|DIDORO*|((( 209 +Reserve 210 + 211 + 212 +)))|MOD 213 + 214 + 215 +**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 216 + 217 +|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 218 +|RO1|RO2|DI3|DI2|DI1|DO3|DO2|DO1 219 + 191 191 * RO is for relay. ROx=1 : close,ROx=0 always open. 192 192 * DI is for digital input. DIx=1: high or float, DIx=0: low. 193 193 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 194 194 195 - (% style="color:red" %)Note: DI3 and DO3 bit are not valid for LT-22222-L224 +Note: DI3 and DO3 bit are not valid for LT-22222-L 196 196 197 -For example if payload is: [[image:image-20220523175847-2.png]] 198 198 199 - **Thevaluefor theinterfaceis:**227 +For example if payload is: 04 AB 04 AC 13 10 13 00 AA FF 01 200 200 229 +The value for the interface is: 230 + 201 201 AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V 202 202 203 203 AVI2 channel voltage is 0x04AC/1000=1.196V ... ... @@ -211,11 +211,18 @@ 211 211 * [1] RO1 relay channel is close and the RO1 LED is ON. 212 212 * [0] RO2 relay channel is open and RO2 LED is OFF; 213 213 214 - **LT22222-L:**244 +LT33222-L: 215 215 246 +* [1] DI3 channel is high input and DI3 LED is OFF; 247 +* [0] DI2 channel is low input; 248 +* [1] DI1 channel is high input and DI1 LED is OFF; 249 + 250 +LT22222-L: 251 + 216 216 * [1] DI2 channel is high input and DI2 LED is ON; 217 217 * [0] DI1 channel is low input; 218 218 255 + 219 219 * [0] DO3 channel output state 220 220 ** DO3 is float in case no load between DO3 and V+.; 221 221 ** DO3 is high in case there is load between DO3 and V+. ... ... @@ -226,190 +226,230 @@ 226 226 ** DO1 is high in case there is load between DO1 and V+. 227 227 ** DO1 LED is off in both case 228 228 229 -=== 3.3.2 AT+MOD~=2, (Double DI Counting) === 230 230 267 + 268 +1. 269 +11. 270 +111. AT+MOD=2, (Double DI Counting) 271 + 272 +**For LT-33222-L**: this mode the **DI3** is used as a counting pin. Counting on DI3 reflect in COUNT1. 273 + 231 231 **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins. 232 232 276 + 233 233 Total : 11 bytes payload 234 234 235 -[[image:image-20220523180452-3.png]] 279 +|Size(bytes)|4|4|1|1|1 280 +|Value|COUNT1|COUNT2 |DIDORO*|((( 281 +Reserve 236 236 237 -((( 238 -(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below 239 -))) 283 + 284 +)))|MOD 240 240 241 -[[image:image-20220523180506-4.png]] 242 242 287 +**DIDORO** is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below 288 + 289 +|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 290 +|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1 291 + 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.296 +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 -))) 299 +To use counting mode, please run: 255 255 256 -(% class="box infomessage" %) 257 -((( 258 -**ATZ** 259 -))) 301 +AT+MOD=2 260 260 261 - (% style="color:#4f81bd" %)**ATCommands for counting:**303 +ATZ 262 262 305 + 306 +AT Commands for counting: 307 + 308 +**For LT33222-L:** 309 + 310 +AT+TRIG1=0,100 (set DI3 port to trigger on low level, valid signal is 100ms) 311 + 312 +AT+TRIG1=1,100 (set DI3 port to trigger on high level, valid signal is 100ms ) 313 + 314 +AT+SETCNT=1,60 (Set COUNT1 value to 60) 315 + 316 + 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 -))) 319 +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 -))) 321 +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 -))) 323 +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 -))) 325 +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 -))) 328 +AT+SETCNT=1,60 (Set COUNT1 value to 60) 294 294 295 - === 3.3.3AT+MOD~=3, SingleDI Counting+2xACI===330 +AT+SETCNT=2,60 (Set COUNT2 value to 60) 296 296 332 + 333 +**For both LT22222-L & LT33222-L**: 334 + 335 +AT+CLRCOUNT clear all countings 336 + 337 +AT+COUTIME=60 Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30) 338 + 339 + 340 + 341 +1. 342 +11. 343 +111. AT+MOD=3, Single DI Counting + 2 x ACI 344 + 345 +**LT33222-L**: This mode the DI3 is used as a counting pin. 346 + 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.Totally1bytes as below303 - )))350 +|Size(bytes)|4|2|2|1|1|1 351 +|Value|COUNT1|((( 352 +ACI1 304 304 305 -[[image:image-20220523181301-6.png]] 354 +Current 355 +)))|((( 356 +ACI2 306 306 358 +Current 359 +)))|DIDORO*|Reserve|MOD 360 + 361 + 362 +**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 363 + 364 +|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 365 +|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1 366 + 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.371 +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 -))) 374 +To use counting mode, please run: 319 319 320 -(% class="box infomessage" %) 321 -((( 322 -**ATZ** 323 -))) 376 +AT+MOD=3 324 324 378 +ATZ 379 + 380 + 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 384 + 385 + 386 +1. 387 +11. 388 +111. AT+MOD=4, Single DI Counting + 1 x Voltage Counting 389 + 390 +**LT33222-L**: This mode the DI3 is used as a counting pin. 391 + 329 329 **LT22222-L**: This mode the DI1 is used as a counting pin. 330 330 394 + 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 combinationfor RO1, RO2,DI3,DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below337 - )))398 +|Size(bytes)|4|4|1|1|1 399 +|Value|COUNT1|AVI1 Counting|DIDORO*|((( 400 +Reserve 338 338 339 -[[image:image-20220523181727-7.png]] 402 + 403 +)))|MOD 340 340 405 + 406 +**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 407 + 408 +|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 409 +|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1 410 + 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.415 +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 -))) 418 +To use this mode, please run: 353 353 354 -(% class="box infomessage" %) 355 -((( 356 -**ATZ** 357 -))) 420 +AT+MOD=4 358 358 422 +ATZ 359 359 424 + 425 + 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:**428 +Plus below command for AVI1 Counting: 363 363 364 -(% class="box infomessage" %) 365 -((( 366 -**AT+SETCNT=3,60 (set AVI Count to 60)** 367 -))) 430 +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 -))) 432 +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 -))) 434 +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 -))) 436 +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 439 + 440 +1. 441 +11. 442 +111. AT+MOD=5, Single DI Counting + 2 x AVI + 1 x ACI 443 + 444 + 445 +**LT33222-L**: This mode the DI3 is used as a counting pin. 446 + 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**(%%) isacombination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below392 - )))450 +|Size(bytes)|2|2|2|2|1|1|1 451 +|Value|((( 452 +AVI1 393 393 454 +voltage 455 +)))|((( 456 +AVI2 394 394 458 +voltage 459 +)))|((( 460 +ACI1 461 + 462 +Current 463 +)))|COUNT1|DIDORO*|((( 464 +Reserve 465 + 466 + 467 +)))|MOD 468 + 469 + 470 + 471 +**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 472 + 473 +|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 474 +|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1 475 + 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.480 +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 -))) 483 +To use this mode, please run: 407 407 408 -(% class="box infomessage" %) 409 -((( 410 -**ATZ** 411 -))) 485 +AT+MOD=5 412 412 487 +ATZ 488 + 489 + 413 413 Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]]. 414 414 415 415 ... ... @@ -416,10 +416,11 @@ 416 416 417 417 418 418 419 -1. 420 -11. 496 +1. 497 +11. 421 421 111. AT+ADDMOD=6. (Trigger Mode, Optional) 422 422 500 + 423 423 **This mode is an optional mode for trigger purpose. It can run together with other mode.** 424 424 425 425 For example, if user has configured below commands: ... ... @@ -427,11 +427,13 @@ 427 427 * AT+MOD=1 à The normal working mode 428 428 * AT+ADDMOD6=1 à Enable trigger 429 429 508 + 430 430 LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases: 431 431 432 432 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 433 433 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.** 434 434 514 + 435 435 **AT Command to set Trigger Condition**: 436 436 437 437 **Trigger base on voltage**: ... ... @@ -502,7 +502,6 @@ 502 502 503 503 MOD6 Payload : total 11 bytes payload 504 504 505 -(% border="1" style="background-color:#f7faff" %) 506 506 |Size(bytes)|1|1|1|6|1|1 507 507 |Value|((( 508 508 TRI_A ... ... @@ -522,9 +522,10 @@ 522 522 (6) 523 523 ))) 524 524 604 + 605 + 525 525 **TRI FLAG1** is a combination to show if trigger is set for this part. Totally 1byte as below 526 526 527 -(% border="1" style="background-color:#f7faff" %) 528 528 |bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 529 529 |((( 530 530 AV1_ ... ... @@ -569,7 +569,6 @@ 569 569 570 570 **TRI Status1** is a combination to show which condition is trigger. Totally 1byte as below 571 571 572 -(% border="1" style="background-color:#f7faff" %) 573 573 |bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 574 574 |((( 575 575 AV1_ ... ... @@ -616,7 +616,6 @@ 616 616 617 617 **TRI_DI FLAG+STA **is a combination to show which condition is trigger. Totally 1byte as below 618 618 619 -(% border="1" style="background-color:#f7faff" %) 620 620 |bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 621 621 |N/A|N/A|N/A|N/A|DI2_STATUS|DI2_FLAG|DI1_STATUS|DI1_FLAG 622 622 ... ... @@ -639,10 +639,11 @@ 639 639 When device got this command, it will send the MOD6 payload. 640 640 641 641 642 -1. 643 -11. 720 +1. 721 +11. 644 644 111. Payload Decoder 645 645 724 + 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/]] 647 647 648 648 ... ... @@ -651,7 +651,7 @@ 651 651 652 652 653 653 654 -1. 733 +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,17 +662,20 @@ 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. 744 + 745 +1. 746 +11. 667 667 111. Common Commands: 668 668 749 + 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. 753 +1. 754 +11. 674 674 111. Sensor related commands: 675 675 757 + 676 676 ==== Set Transmit Interval ==== 677 677 678 678 Set device uplink interval. ... ... @@ -872,7 +872,6 @@ 872 872 873 873 01: Low, 00: High , 11: No action 874 874 875 -(% border="1" style="background-color:#f7faff" %) 876 876 |Downlink Code|DO1|DO2|DO3 877 877 |02 01 00 11|Low|High|No Action 878 878 |02 00 11 01|High|No Action|Low ... ... @@ -910,23 +910,22 @@ 910 910 911 911 **Third Byte**: Control Method and Ports status: 912 912 913 -(% border="1" style="background-color:#f7faff" %) 914 914 |Second Byte|Status 915 915 |0x01|DO1 set to low 916 916 |0x00|DO1 set to high 917 917 |0x11|DO1 NO Action 918 918 999 + 919 919 **Fourth Byte**: Control Method and Ports status: 920 920 921 -(% border="1" style="background-color:#f7faff" %) 922 922 |Second Byte|Status 923 923 |0x01|DO2 set to low 924 924 |0x00|DO2 set to high 925 925 |0x11|DO2 NO Action 926 926 1007 + 927 927 **Fifth Byte**: Control Method and Ports status: 928 928 929 -(% border="1" style="background-color:#f7faff" %) 930 930 |Second Byte|Status 931 931 |0x01|DO3 set to low 932 932 |0x00|DO3 set to high ... ... @@ -979,7 +979,6 @@ 979 979 980 980 01: Close , 00: Open , 11: No action 981 981 982 -(% border="1" style="background-color:#f7faff" %) 983 983 |Downlink Code|RO1|RO2 984 984 |03 00 11|Open|No Action 985 985 |03 01 11|Close|No Action ... ... @@ -1017,7 +1017,6 @@ 1017 1017 1018 1018 **Third Byte(bb)**: Control Method and Ports status: 1019 1019 1020 -(% border="1" style="background-color:#f7faff" %) 1021 1021 |Value|Status 1022 1022 |0x11|RO1 and RO2 to NO 1023 1023 |0x10|RO2 to NO, RO1 to NC ... ... @@ -1028,6 +1028,7 @@ 1028 1028 |0x02|RO1 to NC, RO2 No Action 1029 1029 |0x12|RO1 to NO, RO2 No Action 1030 1030 1109 + 1031 1031 **Fourth / Fifth Bytes (cc)**: Latching time. Unit: ms 1032 1032 1033 1033 Device will upload a packet if downlink code executes successfully. ... ... @@ -1129,9 +1129,10 @@ 1129 1129 1130 1130 1131 1131 1132 -1. 1211 +1. 1133 1133 11. Integrate with Mydevice 1134 1134 1214 + 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: 1136 1136 1137 1137 ... ... @@ -1176,7 +1176,7 @@ 1176 1176 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image018.png]] 1177 1177 1178 1178 1179 -1. 1259 +1. 1180 1180 11. Interface Detail 1181 1181 111. Digital Input Port: DI1/DI2 /DI3 ( For LT-33222-L, low active ) 1182 1182 ... ... @@ -1186,8 +1186,8 @@ 1186 1186 1187 1187 1188 1188 1189 -1. 1190 -11. 1269 +1. 1270 +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. ... ... @@ -1229,7 +1229,7 @@ 1229 1229 1230 1230 **Example3**: Connect to a 220v high active sensor.公司测试一下 1231 1231 1232 -Assume user want to monitor an active signal higher than 220v, to make sure not burn the photocoupler 1312 +Assume user want to monitor an active signal higher than 220v, to make sure not burn the photocoupler 1233 1233 1234 1234 * Connect sensor’s output to DI1+ with a serial 50K resistor 1235 1235 * Connect sensor’s GND DI1-. ... ... @@ -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. 1324 +1. 1325 +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. ... ... @@ -1252,8 +1252,8 @@ 1252 1252 1253 1253 1254 1254 1255 -1. 1256 -11. 1335 +1. 1336 +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: ... ... @@ -1285,8 +1285,8 @@ 1285 1285 1286 1286 1287 1287 1288 -1. 1289 -11. 1368 +1. 1369 +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: ... ... @@ -1300,10 +1300,10 @@ 1300 1300 1301 1301 1302 1302 1303 -1. 1383 +1. 1304 1304 11. LEDs Indicators 1305 1305 1306 - (% border="1" style="background-color:#f7faff" %)1386 + 1307 1307 |**LEDs**|**Feature** 1308 1308 |**PWR**|Always on if there is power 1309 1309 |**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. ... ... @@ -1337,6 +1337,9 @@ 1337 1337 |**RO1**| 1338 1338 |**RO2**| 1339 1339 1420 + 1421 + 1422 + 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. 1532 +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. 1555 +1. 1556 +11. 1474 1474 111. Single-channel ABP mode (Use with LG01/LG02) 1475 1475 1476 1476 123456 Enter Password to have AT access. ... ... @@ -1509,10 +1509,11 @@ 1509 1509 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image031.png]] 1510 1510 1511 1511 1512 -1. 1513 -11. 1595 +1. 1596 +11. 1514 1514 111. Change to Class A 1515 1515 1599 + 1516 1516 If sensor JOINED 1517 1517 1518 1518 AT+CLASS=A ... ... @@ -1525,7 +1525,8 @@ 1525 1525 1526 1526 1. FAQ 1527 1527 1528 -1. 1612 + 1613 +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: ... ... @@ -1534,6 +1534,7 @@ 1534 1534 * For bug fix 1535 1535 * Change LoRaWAN bands. 1536 1536 1622 + 1537 1537 Below shows the hardware connection for how to upload an image to the LT: 1538 1538 1539 1539 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image029.png]] ... ... @@ -1578,13 +1578,13 @@ 1578 1578 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image038.png]] 1579 1579 1580 1580 1581 -1. 1667 +1. 1582 1582 11. How to change the LoRa Frequency Bands/Region? 1583 1583 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. 1673 +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. ... ... @@ -1627,7 +1627,7 @@ 1627 1627 1628 1628 1629 1629 1630 -1. 1716 +1. 1631 1631 11. Can I see counting event in Serial? 1632 1632 1633 1633 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. ... ... @@ -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. 1732 +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. 1740 +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: ... ... @@ -1663,6 +1663,7 @@ 1663 1663 1664 1664 1. Order Info 1665 1665 1752 + 1666 1666 **For LT-33222-L-XXX or LT-22222-L-XXX:** 1667 1667 1668 1668 **XXX:** ... ... @@ -1677,6 +1677,7 @@ 1677 1677 * **IN865**: LT with frequency bands IN865 1678 1678 * **CN779**: LT with frequency bands CN779 1679 1679 1767 + 1680 1680 1. Packing Info 1681 1681 1682 1682 **Package Includes**: ... ... @@ -1686,6 +1686,7 @@ 1686 1686 * Bracket for controller x1 1687 1687 * Program cable x 1 1688 1688 1777 + 1689 1689 **Dimension and weight**: 1690 1690 1691 1691 * Device Size: 13.5 x 7 x 3 cm ... ... @@ -1693,6 +1693,7 @@ 1693 1693 * Package Size / pcs : 14.5 x 8 x 5 cm 1694 1694 * Weight / pcs : 170g 1695 1695 1785 + 1696 1696 1. Support 1697 1697 1698 1698 * 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-20220523174254-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -3.9 KB - Content
- 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
- 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