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, 7 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 ... ... @@ -192,12 +192,13 @@ 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-L193 +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:**196 +For example if payload is: 04 AB 04 AC 13 10 13 00 AA FF 01 200 200 198 +The value for the interface is: 199 + 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,8 +211,14 @@ 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:**213 +LT33222-L: 215 215 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 + 216 216 * [1] DI2 channel is high input and DI2 LED is ON; 217 217 * [0] DI1 channel is low input; 218 218 ... ... @@ -226,174 +226,205 @@ 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 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 + 231 231 **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins. 232 232 243 + 233 233 Total : 11 bytes payload 234 234 235 -[[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 236 236 237 -((( 238 -(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below 239 -))) 251 + 252 +)))|MOD 240 240 241 - [[image:image-20220523180506-4.png]]254 +**DIDORO** is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below 242 242 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 + 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.264 +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 -))) 267 +To use counting mode, please run: 255 255 256 -(% class="box infomessage" %) 257 -((( 258 -**ATZ** 259 -))) 269 +AT+MOD=2 260 260 261 - (% style="color:#4f81bd" %)**ATCommands for counting:**271 +ATZ 262 262 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 + 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 -))) 287 +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 -))) 289 +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 -))) 291 +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 -))) 293 +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 -))) 296 +AT+SETCNT=1,60 (Set COUNT1 value to 60) 294 294 295 - === 3.3.3AT+MOD~=3, SingleDI Counting+2xACI===298 +AT+SETCNT=2,60 (Set COUNT2 value to 60) 296 296 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 + 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 -))) 318 +(% border="1" style="background-color:#f7faff" %) 319 +|Size(bytes)|4|2|2|1|1|1 320 +|Value|COUNT1|((( 321 +ACI1 304 304 305 -[[image:image-20220523181301-6.png]] 323 +Current 324 +)))|((( 325 +ACI2 306 306 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 + 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.340 +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 -))) 343 +To use counting mode, please run: 319 319 320 -(% class="box infomessage" %) 321 -((( 322 -**ATZ** 323 -))) 345 +AT+MOD=3 324 324 347 +ATZ 348 + 349 + 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 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 + 329 329 **LT22222-L**: This mode the DI1 is used as a counting pin. 330 330 363 + 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 -))) 367 +(% border="1" style="background-color:#f7faff" %) 368 +|Size(bytes)|4|4|1|1|1 369 +|Value|COUNT1|AVI1 Counting|DIDORO*|((( 370 +Reserve 338 338 339 -[[image:image-20220523181727-7.png]] 372 + 373 +)))|MOD 340 340 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 + 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.385 +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 -))) 388 +To use this mode, please run: 353 353 354 -(% class="box infomessage" %) 355 -((( 356 -**ATZ** 357 -))) 390 +AT+MOD=4 358 358 392 +ATZ 359 359 394 + 395 + 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:**398 +Plus below command for AVI1 Counting: 363 363 364 -(% class="box infomessage" %) 365 -((( 366 -**AT+SETCNT=3,60 (set AVI Count to 60)** 367 -))) 400 +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 -))) 402 +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 -))) 404 +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 -))) 406 +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 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 + 386 386 **LT22222-L**: This mode the DI1 is used as a counting pin. 387 387 418 + 388 388 (% border="1" style="background-color:#f7faff" %) 389 -|(% style="width:93px" %)Size(bytes)|(% style="width:112px" %)2|(% style="width:105px" %)2|(% style="width:449px" %)2|2|1|1|1 390 -|(% style="width:93px" %)Value|(% style="width:112px" %)AVI1 voltage|(% style="width:105px" %)AVI2 voltage|(% style="width:449px" %)ACI1 Current| | | | 391 -|(% style="width:93px" %)Value|(% style="width:112px" %)((( 392 -AVI1 voltage 393 -)))|(% style="width:105px" %)((( 394 -AVI2 voltage 395 -)))|(% style="width:449px" %)((( 396 -ACI1 Current 420 +|Size(bytes)|2|2|2|2|1|1|1 421 +|Value|((( 422 +AVI1 423 + 424 +voltage 425 +)))|((( 426 +AVI2 427 + 428 +voltage 429 +)))|((( 430 +ACI1 431 + 432 +Current 397 397 )))|COUNT1|DIDORO*|((( 398 398 Reserve 399 399 ... ... @@ -400,6 +400,7 @@ 400 400 401 401 )))|MOD 402 402 439 + 403 403 **DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 404 404 405 405 (% border="1" style="background-color:#f7faff" %) ... ... @@ -532,6 +532,7 @@ 532 532 (6) 533 533 ))) 534 534 572 + 535 535 **TRI FLAG1** is a combination to show if trigger is set for this part. Totally 1byte as below 536 536 537 537 (% border="1" style="background-color:#f7faff" %) ... ... @@ -1347,6 +1347,8 @@ 1347 1347 |**RO1**| 1348 1348 |**RO2**| 1349 1349 1388 + 1389 + 1350 1350 1. Use AT Command 1351 1351 11. Access AT Command 1352 1352
- 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