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

Summary

Details

Page properties
Content
... ... @@ -182,7 +182,9 @@
182 182  
183 183  [[image:image-20220523174024-3.png]]
184 184  
185 +(((
185 185  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
187 +)))
186 186  
187 187  [[image:image-20220523174254-4.png]]
188 188  
... ... @@ -190,13 +190,12 @@
190 190  * DI is for digital input. DIx=1: high or float, DIx=0: low.
191 191  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
192 192  
193 -Note: DI3 and DO3 bit are not valid for LT-22222-L
195 +(% style="color:red" %)Note: DI3 and DO3 bit are not valid for LT-22222-L
194 194  
197 +For example if payload is: [[image:image-20220523175847-2.png]]
195 195  
196 -For example if payload is: 04 AB 04 AC 13 10 13 00 AA FF 01
199 +**The value for the interface is:  **
197 197  
198 -The value for the interface is: 
199 -
200 200  AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V
201 201  
202 202  AVI2 channel voltage is 0x04AC/1000=1.196V
... ... @@ -210,14 +210,8 @@
210 210  * [1] RO1 relay channel is close and the RO1 LED is ON.
211 211  * [0] RO2 relay channel is open and RO2 LED is OFF;
212 212  
213 -LT33222-L:
214 +**LT22222-L:**
214 214  
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 -
221 221  * [1] DI2 channel is high input and DI2 LED is ON;
222 222  * [0] DI1 channel is low input;
223 223  
... ... @@ -231,66 +231,61 @@
231 231  ** DO1 is high in case there is load between DO1 and V+.
232 232  ** DO1 LED is off in both case
233 233  
229 +=== 3.3.2 AT+MOD~=2, (Double DI Counting) ===
234 234  
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 -
241 241  **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins.
242 242  
243 -
244 244  Total : 11 bytes payload
245 245  
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
235 +[[image:image-20220523180452-3.png]]
250 250  
251 -
252 -)))|MOD
237 +(((
238 +(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below
239 +)))
253 253  
254 -**DIDORO** is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below
241 +[[image:image-20220523180506-4.png]]
255 255  
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 -
260 260  * RO is for relay. ROx=1 : close,ROx=0 always open.
261 261  * FIRST: Indicate this is the first packet after join network.
262 262  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
263 263  
264 -Note: DO3 bit is not valid for LT-22222-L.
247 +(% style="color:red" %)Note: DO3 bit is not valid for LT-22222-L.
265 265  
266 -
267 267  To use counting mode, please run:
268 268  
269 -AT+MOD=2
251 +(% class="box infomessage" %)
252 +(((
253 +**AT+MOD=2**
254 +)))
270 270  
271 -ATZ
256 +(% class="box infomessage" %)
257 +(((
258 +**ATZ**
259 +)))
272 272  
273 -
274 274  AT Commands for counting:
275 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 -
285 285  **For LT22222-L:**
286 286  
287 -AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms)
265 +(% class="box infomessage" %)
266 +(((
267 +**AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) **
268 +)))
288 288  
289 -AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms )
270 +(% class="box infomessage" %)
271 +(((
272 +**AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) **
273 +)))
290 290  
291 -AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms)
275 +(% class="box infomessage" %)
276 +(((
277 +**AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) **
278 +)))
292 292  
293 -AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms )
280 +(% class="box infomessage" %)
281 +(((
282 +**AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) **
283 +)))
294 294  
295 295  
296 296  AT+SETCNT=1,60   (Set COUNT1 value to 60)
... ... @@ -436,7 +436,6 @@
436 436  
437 437  )))|MOD
438 438  
439 -
440 440  **DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
441 441  
442 442  (% border="1" style="background-color:#f7faff" %)
... ... @@ -569,7 +569,6 @@
569 569  (6)
570 570  )))
571 571  
572 -
573 573  **TRI FLAG1** is a combination to show if trigger is set for this part. Totally 1byte as below
574 574  
575 575  (% border="1" style="background-color:#f7faff" %)
... ... @@ -1385,8 +1385,6 @@
1385 1385  |**RO1**|
1386 1386  |**RO2**|
1387 1387  
1388 -
1389 -
1390 1390  1. Use AT Command
1391 1391  11. Access AT Command
1392 1392  
image-20220523175754-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +3.8 KB
Content
image-20220523175847-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +2.0 KB
Content
image-20220523180452-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +4.5 KB
Content
image-20220523180506-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +4.5 KB
Content
image-20220523181246-5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +5.5 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0