<
From version < 200.1 >
edited by Dilisi S
on 2024/11/18 04:06
To version < 201.1 >
edited by Dilisi S
on 2024/11/19 06:06
>
Change comment: Nov 18 - AT Commands edit

Summary

Details

Page properties
Content
... ... @@ -115,6 +115,23 @@
115 115  * Smart cities
116 116  * Smart factory
117 117  
118 +== 1.5 Hardware Variants ==
119 +
120 +(% style="width:524px" %)
121 +|(% style="width:94px" %)**Model**|(% style="width:98px" %)**Photo**|(% style="width:329px" %)**Description**
122 +|(% style="width:94px" %)**LT33222-L**|(% style="width:98px" %)(((
123 +[[image:/xwiki/bin/downloadrev/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20230424115112-1.png?rev=1.1&width=58&height=106||alt="image-20230424115112-1.png" height="106" width="58"]]
124 +)))|(% style="width:329px" %)(((
125 +* 2 x Digital Input (Bi-direction)
126 +* 2 x Digital Output
127 +* 2 x Relay Output (5A@250VAC / 30VDC)
128 +* 2 x 0~~20mA Analog Input (res:0.01mA)
129 +* 2 x 0~~30V Analog Input (res:0.01v)
130 +* 1 x Counting Port
131 +)))
132 +
133 +
134 +
118 118  == 2. Assembling the device ==
119 119  
120 120  == 2.1 Connecting the antenna ==
... ... @@ -556,13 +556,13 @@
556 556  )))
557 557  
558 558  (((
559 -Other AT Commands for counting are similar to the [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]s.
576 +AT Commands for counting are similar to the [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]s.
560 560  )))
561 561  
562 562  (((
563 563  **In addition to that, below are the commands for AVI1 Counting:**
564 564  
565 -(% style="color:blue" %)**AT+SETCNT=3,60 **(%%)**(Sets AVI Count to 60)**
582 +(% style="color:blue" %)**AT+SETCNT=3,60 **(%%)**(Sets AVI1 Count to 60)**
566 566  
567 567  (% style="color:blue" %)**AT+VOLMAX=20000 **(%%)**(If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
568 568  
... ... @@ -1133,7 +1133,6 @@
1133 1133  )))
1134 1134  |(% style="width:96px" %)**Example**|(% style="width:402px" %)09 02 **00 00 64**
1135 1135  
1136 -(% class="wikigeneratedid" %)
1137 1137  ==== ====
1138 1138  
1139 1139  ==== 3.4.2.9 Trigger – Set AC (current) as a trigger ====
... ... @@ -1210,7 +1210,6 @@
1210 1210  )))
1211 1211  |(% style="width:104px" %)**Note**|(% style="width:387px" %)See also, [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
1212 1212  
1213 -
1214 1214  (% style="color:#037691" %)**Downlink Payload**
1215 1215  
1216 1216  (% border="2" style="width:500px" %)
... ... @@ -1233,7 +1233,6 @@
1233 1233  )))
1234 1234  |(% style="width:104px" %)**Note**|(% style="width:394px" %)See also, [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
1235 1235  
1236 -
1237 1237  ==== 3.4.2.11 Trigger – Set minimum interval ====
1238 1238  
1239 1239  Sets the AV and AC trigger minimum interval. The device won't respond to a second trigger within this set time after the first trigger.
... ... @@ -1269,7 +1269,6 @@
1269 1269  )))
1270 1270  |(% style="width:112px" %)Note|(% style="width:386px" %)(% style="color:red" %)**The time must be greater than 5 minutes.**
1271 1271  
1272 -
1273 1273  ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ====
1274 1274  
1275 1275  Controls the digital outputs DO1, DO2, and DO3
... ... @@ -1320,7 +1320,6 @@
1320 1320  )))
1321 1321  )))
1322 1322  
1323 -(% class="wikigeneratedid" %)
1324 1324  ==== ====
1325 1325  
1326 1326  ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ====
... ... @@ -1512,10 +1512,70 @@
1512 1512  (% style="color:blue" %)**0xA5 aa bb cc   ** (%%)~/~/ Same as AT+VOLMAX=(aa bb),cc
1513 1513  
1514 1514  
1527 +(% style="color:#037691" %)**AT Command**
1515 1515  
1529 +(% border="2" style="width:500px" %)
1530 +|(% style="width:137px" %)**Command**|(% style="width:361px" %)AT+VOLMAX=<voltage><logic>
1531 +|(% style="width:137px" %)**Response**|(% style="width:361px" %)
1532 +|(% style="width:137px" %)**Parameters**|(% style="width:361px" %)(((
1533 +**voltage** : voltage threshold in mV
1534 +
1535 +**logic**:
1536 +
1537 +0 : lower than
1538 +
1539 +1: higher than
1540 +
1541 +if you leave logic parameter blank, it is considered 0
1542 +)))
1543 +|(% style="width:137px" %)**Examples**|(% style="width:361px" %)(((
1544 +AT+VOLMAX=20000
1545 +
1546 +If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1
1547 +
1548 +AT+VOLMAX=20000,0
1549 +
1550 +If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1
1551 +
1552 +AT+VOLMAX=20000,1
1553 +
1554 +If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1
1555 +)))
1556 +
1557 +(% style="color:#037691" %)**Downlink Payload**
1558 +
1559 +(% border="2" style="width:500px" %)
1560 +|(% style="width:140px" %)**Payload**|(% style="width:358px" %)<prefix><voltage><logic>
1561 +|(% style="width:140px" %)**Parameters**|(% style="width:358px" %)(((
1562 +**prefix** : A5 (hex)
1563 +
1564 +**voltage** : voltage threshold in mV (2 bytes in hex)
1565 +
1566 +**logic**: (1 byte in hexadecimal)
1567 +
1568 +0 : lower than
1569 +
1570 +1: higher than
1571 +
1572 +if you leave logic parameter blank, it is considered 1 (higher than)
1573 +)))
1574 +|(% style="width:140px" %)**Example**|(% style="width:358px" %)(((
1575 +A5 **4E 20**
1576 +
1577 +If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1
1578 +
1579 +A5 **4E 20 00**
1580 +
1581 +If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1
1582 +
1583 +A5 **4E 20 01**
1584 +
1585 +If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1
1586 +)))
1587 +
1516 1516  ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ====
1517 1517  
1518 -This feature allows users to pre-configure specific count numbers for various counting parameters such as count1, count2, or AV1 count. Use the AT command to set the desired count number for each configuration.
1590 +This feature allows users to pre-configure specific count numbers for various counting parameters such as Count1, Count2, or AVI1 Count. Use the AT command to set the desired count number for each configuration.
1519 1519  
1520 1520  * (% style="color:#037691" %)**AT Command:**(%%) (% style="color:blue" %)**AT+SETCNT=aa,(bb cc dd ee) **
1521 1521  
... ... @@ -1529,7 +1529,51 @@
1529 1529  (% style="color:blue" %)**0x A8 aa bb cc dd ee     ** (%%)~/~/ same as AT+SETCNT=aa,(bb cc dd ee)
1530 1530  
1531 1531  
1604 +(% style="color:#037691" %)**AT Command**
1532 1532  
1606 +(% border="2" style="width:500px" %)
1607 +|(% style="width:134px" %)**Command**|(% style="width:364px" %)AT+SETCNT=<counting_parameter><number>
1608 +|(% style="width:134px" %)**Response**|(% style="width:364px" %)
1609 +|(% style="width:134px" %)**Parameters**|(% style="width:364px" %)(((
1610 +**counting_parameter** :
1611 +
1612 +1: COUNT1
1613 +
1614 +2: COUNT2
1615 +
1616 +3: AVI1 Count
1617 +
1618 +**number** : Start number
1619 +)))
1620 +|(% style="width:134px" %)**Example**|(% style="width:364px" %)(((
1621 +AT+SETCNT=1,10
1622 +
1623 +Sets the COUNT1 to 10.
1624 +)))
1625 +
1626 +(% style="color:#037691" %)**Downlink Payload**
1627 +
1628 +(% border="2" style="width:500px" %)
1629 +|(% style="width:135px" %)**Payload**|(% style="width:363px" %)<prefix><counting_parameter><number>
1630 +|(% style="width:135px" %)**Parameters**|(% style="width:363px" %)(((
1631 +prefix : A8 (hex)
1632 +
1633 +**counting_parameter** : (1 byte in hexadecimal)
1634 +
1635 +1: COUNT1
1636 +
1637 +2: COUNT2
1638 +
1639 +3: AVI1 Count
1640 +
1641 +**number** : Start number, 4 bytes in hexadecimal
1642 +)))
1643 +|(% style="width:135px" %)**Example**|(% style="width:363px" %)(((
1644 +A8 **01 00 00 00 0A**
1645 +
1646 +Sets the COUNT1 to 10.
1647 +)))
1648 +
1533 1533  ==== 3.4.2.18 Counting ~-~- Clear Counting ====
1534 1534  
1535 1535  This feature clears the counting in counting mode.
... ... @@ -1540,8 +1540,23 @@
1540 1540  
1541 1541  (% style="color:blue" %)**0x A6 01    ** (%%)~/~/ clear all counting
1542 1542  
1659 +(% style="color:#037691" %)**AT Command**
1543 1543  
1661 +(% border="2" style="width:500px" %)
1662 +|(% style="width:142px" %)**Command**|(% style="width:356px" %)AT+CLRCOUNT
1663 +|(% style="width:142px" %)**Response**|(% style="width:356px" %)-
1544 1544  
1665 +(% style="color:#037691" %)**Downlink Payload**
1666 +
1667 +(% border="2" style="width:500px" %)
1668 +|(% style="width:141px" %)**Payload**|(% style="width:357px" %)<prefix><clear?>
1669 +|(% style="width:141px" %)**Parameters**|(% style="width:357px" %)(((
1670 +prefix : A6 (hex)
1671 +
1672 +clear? : 01 (hex)
1673 +)))
1674 +|(% style="width:141px" %)**Example**|(% style="width:357px" %)A6 **01**
1675 +
1545 1545  ==== 3.4.2.19 Counting ~-~- Change counting mode to save time ====
1546 1546  
1547 1547  This feature allows you to configure the device to save its counting result to internal flash memory at specified intervals. By setting a save time, the device will periodically store the counting data to prevent loss in case of power failure. The save interval can be adjusted to suit your requirements, with a minimum value of 30 seconds.
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0