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

Summary

Details

Page properties
Content
... ... @@ -115,23 +115,6 @@
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 -
135 135  == 2. Assembling the device ==
136 136  
137 137  == 2.1 Connecting the antenna ==
... ... @@ -573,13 +573,13 @@
573 573  )))
574 574  
575 575  (((
576 -AT Commands for counting are similar to the [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]s.
559 +Other AT Commands for counting are similar to the [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]s.
577 577  )))
578 578  
579 579  (((
580 580  **In addition to that, below are the commands for AVI1 Counting:**
581 581  
582 -(% style="color:blue" %)**AT+SETCNT=3,60 **(%%)**(Sets AVI1 Count to 60)**
565 +(% style="color:blue" %)**AT+SETCNT=3,60 **(%%)**(Sets AVI Count to 60)**
583 583  
584 584  (% style="color:blue" %)**AT+VOLMAX=20000 **(%%)**(If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
585 585  
... ... @@ -1150,6 +1150,7 @@
1150 1150  )))
1151 1151  |(% style="width:96px" %)**Example**|(% style="width:402px" %)09 02 **00 00 64**
1152 1152  
1136 +(% class="wikigeneratedid" %)
1153 1153  ==== ====
1154 1154  
1155 1155  ==== 3.4.2.9 Trigger – Set AC (current) as a trigger ====
... ... @@ -1226,6 +1226,7 @@
1226 1226  )))
1227 1227  |(% style="width:104px" %)**Note**|(% style="width:387px" %)See also, [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
1228 1228  
1213 +
1229 1229  (% style="color:#037691" %)**Downlink Payload**
1230 1230  
1231 1231  (% border="2" style="width:500px" %)
... ... @@ -1248,6 +1248,7 @@
1248 1248  )))
1249 1249  |(% style="width:104px" %)**Note**|(% style="width:394px" %)See also, [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
1250 1250  
1236 +
1251 1251  ==== 3.4.2.11 Trigger – Set minimum interval ====
1252 1252  
1253 1253  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.
... ... @@ -1283,6 +1283,7 @@
1283 1283  )))
1284 1284  |(% style="width:112px" %)Note|(% style="width:386px" %)(% style="color:red" %)**The time must be greater than 5 minutes.**
1285 1285  
1272 +
1286 1286  ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ====
1287 1287  
1288 1288  Controls the digital outputs DO1, DO2, and DO3
... ... @@ -1333,6 +1333,7 @@
1333 1333  )))
1334 1334  )))
1335 1335  
1323 +(% class="wikigeneratedid" %)
1336 1336  ==== ====
1337 1337  
1338 1338  ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ====
... ... @@ -1524,70 +1524,10 @@
1524 1524  (% style="color:blue" %)**0xA5 aa bb cc   ** (%%)~/~/ Same as AT+VOLMAX=(aa bb),cc
1525 1525  
1526 1526  
1527 -(% style="color:#037691" %)**AT Command**
1528 1528  
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 -
1588 1588  ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ====
1589 1589  
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.
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.
1591 1591  
1592 1592  * (% style="color:#037691" %)**AT Command:**(%%) (% style="color:blue" %)**AT+SETCNT=aa,(bb cc dd ee) **
1593 1593  
... ... @@ -1601,51 +1601,7 @@
1601 1601  (% style="color:blue" %)**0x A8 aa bb cc dd ee     ** (%%)~/~/ same as AT+SETCNT=aa,(bb cc dd ee)
1602 1602  
1603 1603  
1604 -(% style="color:#037691" %)**AT Command**
1605 1605  
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 -
1649 1649  ==== 3.4.2.18 Counting ~-~- Clear Counting ====
1650 1650  
1651 1651  This feature clears the counting in counting mode.
... ... @@ -1656,23 +1656,8 @@
1656 1656  
1657 1657  (% style="color:blue" %)**0x A6 01    ** (%%)~/~/ clear all counting
1658 1658  
1659 -(% style="color:#037691" %)**AT Command**
1660 1660  
1661 -(% border="2" style="width:500px" %)
1662 -|(% style="width:142px" %)**Command**|(% style="width:356px" %)AT+CLRCOUNT
1663 -|(% style="width:142px" %)**Response**|(% style="width:356px" %)-
1664 1664  
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 -
1676 1676  ==== 3.4.2.19 Counting ~-~- Change counting mode to save time ====
1677 1677  
1678 1678  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