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,89 +226,113 @@ 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 266 + 249 249 To use counting mode, please run: 250 250 251 -(% class="box infomessage" %) 252 -((( 253 -**AT+MOD=2** 254 -))) 269 +AT+MOD=2 255 255 256 -(% class="box infomessage" %) 257 -((( 258 -**ATZ** 259 -))) 271 +ATZ 260 260 261 -(% style="color:#4f81bd" %)**AT Commands for counting:** 262 262 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 313 314 314 To use counting mode, please run: ... ... @@ -407,6 +407,7 @@ 407 407 408 408 )))|MOD 409 409 439 + 410 410 **DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 411 411 412 412 (% border="1" style="background-color:#f7faff" %) ... ... @@ -539,6 +539,7 @@ 539 539 (6) 540 540 ))) 541 541 572 + 542 542 **TRI FLAG1** is a combination to show if trigger is set for this part. Totally 1byte as below 543 543 544 544 (% border="1" style="background-color:#f7faff" %) ... ... @@ -1354,6 +1354,8 @@ 1354 1354 |**RO1**| 1355 1355 |**RO2**| 1356 1356 1388 + 1389 + 1357 1357 1. Use AT Command 1358 1358 11. Access AT Command 1359 1359
- 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