<
From version < 18.1 >
edited by Xiaoling
on 2022/05/23 18:12
To version < 14.1 >
edited by Xiaoling
on 2022/05/23 17:57
>
Change comment: Uploaded new attachment "image-20220523175754-1.png", version {1}

Summary

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-L
193 +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 -**The value for the interface is:  **
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,61 +226,66 @@
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  
273 +
261 261  AT Commands for counting:
262 262  
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 285  
286 286  AT+SETCNT=1,60   (Set COUNT1 value to 60)
... ... @@ -426,6 +426,7 @@
426 426  
427 427  )))|MOD
428 428  
439 +
429 429  **DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
430 430  
431 431  (% border="1" style="background-color:#f7faff" %)
... ... @@ -558,6 +558,7 @@
558 558  (6)
559 559  )))
560 560  
572 +
561 561  **TRI FLAG1** is a combination to show if trigger is set for this part. Totally 1byte as below
562 562  
563 563  (% border="1" style="background-color:#f7faff" %)
... ... @@ -1373,6 +1373,8 @@
1373 1373  |**RO1**|
1374 1374  |**RO2**|
1375 1375  
1388 +
1389 +
1376 1376  1. Use AT Command
1377 1377  11. Access AT Command
1378 1378  
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
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0