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, 2 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -43,7 +43,7 @@ 43 43 **Hardware System:** 44 44 45 45 * STM32L072CZT6 MCU 46 -* SX1276/78 Wireless Chip 46 +* SX1276/78 Wireless Chip 47 47 * Power Consumption: 48 48 ** Idle: 4mA@12v 49 49 ** 20dB Transmit: 34mA@12v ... ... @@ -55,7 +55,7 @@ 55 55 * 2 x Relay Output (5A@250VAC / 30VDC) 56 56 * 2 x 0~~20mA Analog Input (res:0.01mA) 57 57 * 2 x 0~~30V Analog Input (res:0.01v) 58 -* Power Input 7~~ 24V DC. 58 +* Power Input 7~~ 24V DC. 59 59 60 60 **LoRa Spec:** 61 61 ... ... @@ -99,7 +99,7 @@ 99 99 100 100 == 1.5 Hardware Variants == 101 101 102 -(% border="1" style="background-color:#f7faff; width:5 40px" %)102 +(% border="1" style="background-color:#f7faff; width:500px" %) 103 103 |(% style="width:103px" %)**Model**|(% style="width:131px" %)**Photo**|(% style="width:334px" %)**Description** 104 104 |(% style="width:103px" %)**LT22222-L**|(% style="width:131px" %)[[image:1653296302983-697.png]]|(% style="width:334px" %)((( 105 105 * 2 x Digital Input (Bi-direction) ... ... @@ -122,7 +122,7 @@ 122 122 123 123 = 3. Operation Mode = 124 124 125 -== 3.1 How it works? 125 +== 3.1 How it works? == 126 126 127 127 The LT is configured as LoRaWAN OTAA Class C mode by default. It has OTAA keys to join network. To connect a local LoRaWAN network, user just need to input the OTAA keys in the network server and power on the LT. It will auto join the network via OTAA. For LT-22222-L, the LED will show the Join status: After power on **TX LED** will fast blink 5 times, LT-22222-L will enter working mode and start to JOIN LoRaWAN network. **TX LED** will be on for 5 seconds after joined in network. When there is message from server, the **RX LED** will be on for 1 second. 128 128 ... ... @@ -130,7 +130,7 @@ 130 130 131 131 3.2 Example to join LoRaWAN network 132 132 133 -This chapter shows an example for how to join the TTN LoRaWAN Network. Below is the network structure, we use our LG308 as LoRaWAN gateway here. 133 +This chapter shows an example for how to join the TTN LoRaWAN Network. Below is the network structure, we use our LG308 as LoRaWAN gateway here. 134 134 135 135 [[image:image-20220523172350-1.png||height="266" width="864"]] 136 136 ... ... @@ -153,7 +153,7 @@ 153 153 154 154 Add APP EUI in the application. 155 155 156 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image007.png]][[image:1653297955910-247.png||height="321" width="716"]]156 +[[image:1653297955910-247.png||height="321" width="716"]] 157 157 158 158 Add APP KEY and DEV EUI 159 159 ... ... @@ -165,7 +165,7 @@ 165 165 166 166 [[image:1653298044601-602.png||height="405" width="709"]] 167 167 168 -== [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image009.png]]3.3Uplink Payload ==168 +== 3.3 Uplink Payload == 169 169 170 170 There are five working modes + one interrupt mode on LT for different type application: 171 171 ... ... @@ -182,9 +182,8 @@ 182 182 183 183 [[image:image-20220523174024-3.png]] 184 184 185 +(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 185 185 186 -**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 187 - 188 188 [[image:image-20220523174254-4.png]] 189 189 190 190 * RO is for relay. ROx=1 : close,ROx=0 always open. ... ... @@ -191,13 +191,12 @@ 191 191 * DI is for digital input. DIx=1: high or float, DIx=0: low. 192 192 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 193 193 194 -Note: DI3 and DO3 bit are not valid for LT-22222-L 193 +(% style="color:red" %)Note: DI3 and DO3 bit are not valid for LT-22222-L 195 195 195 +For example if payload is: [[image:image-20220523175847-2.png]] 196 196 197 - Forexampleifpayloadis:04 AB 04 AC 13 10 13 00 AA FF 01197 +**The value for the interface is: ** 198 198 199 -The value for the interface is: 200 - 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,18 +211,11 @@ 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 -LT 33222-L:212 +**LT22222-L:** 215 215 216 -* [1] DI3 channel is high input and DI3 LED is OFF; 217 -* [0] DI2 channel is low input; 218 -* [1] DI1 channel is high input and DI1 LED is OFF; 219 - 220 -LT22222-L: 221 - 222 222 * [1] DI2 channel is high input and DI2 LED is ON; 223 223 * [0] DI1 channel is low input; 224 224 225 - 226 226 * [0] DO3 channel output state 227 227 ** DO3 is float in case no load between DO3 and V+.; 228 228 ** DO3 is high in case there is load between DO3 and V+. ... ... @@ -233,20 +233,13 @@ 233 233 ** DO1 is high in case there is load between DO1 and V+. 234 234 ** DO1 LED is off in both case 235 235 227 +=== 3.3.2 AT+MOD~=2, (Double DI Counting) === 236 236 237 - 238 -1. 239 -11. 240 -111. AT+MOD=2, (Double DI Counting) 241 - 242 -**For LT-33222-L**: this mode the **DI3** is used as a counting pin. Counting on DI3 reflect in COUNT1. 243 - 244 244 **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins. 245 245 246 - 247 247 Total : 11 bytes payload 248 248 249 -(% border="1" style="background-color:#f7faff" %) 233 +(% border="1" style="background-color:#f7faff; height:10px; width:500px" %) 250 250 |Size(bytes)|4|4|1|1|1 251 251 |Value|COUNT1|COUNT2 |DIDORO*|((( 252 252 Reserve ... ... @@ -254,10 +254,9 @@ 254 254 255 255 )))|MOD 256 256 257 - 258 258 **DIDORO** is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below 259 259 260 -(% border="1" style="background-color:#f7faff" %) 243 +(% border="1" style="background-color:#f7faff; width:500px" %) 261 261 |bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 262 262 |RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1 263 263 ... ... @@ -331,7 +331,6 @@ 331 331 Current 332 332 )))|DIDORO*|Reserve|MOD 333 333 334 - 335 335 **DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 336 336 337 337 (% border="1" style="background-color:#f7faff" %) ... ... @@ -377,7 +377,6 @@ 377 377 378 378 )))|MOD 379 379 380 - 381 381 **DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 382 382 383 383 (% border="1" style="background-color:#f7faff" %) ... ... @@ -417,7 +417,6 @@ 417 417 11. 418 418 111. AT+MOD=5, Single DI Counting + 2 x AVI + 1 x ACI 419 419 420 - 421 421 **LT33222-L**: This mode the DI3 is used as a counting pin. 422 422 423 423 **LT22222-L**: This mode the DI1 is used as a counting pin. ... ... @@ -443,8 +443,6 @@ 443 443 444 444 )))|MOD 445 445 446 - 447 - 448 448 **DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 449 449 450 450 (% border="1" style="background-color:#f7faff" %) ... ... @@ -475,7 +475,6 @@ 475 475 11. 476 476 111. AT+ADDMOD=6. (Trigger Mode, Optional) 477 477 478 - 479 479 **This mode is an optional mode for trigger purpose. It can run together with other mode.** 480 480 481 481 For example, if user has configured below commands: ... ... @@ -483,13 +483,11 @@ 483 483 * AT+MOD=1 à The normal working mode 484 484 * AT+ADDMOD6=1 à Enable trigger 485 485 486 - 487 487 LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases: 488 488 489 489 1. Periodically uplink (Base on TDC time). Payload is same as the normal MOD (MOD 1 for above command). This uplink uses LoRaWAN **unconfirmed** data type 490 490 1. Trigger uplink when meet the trigger condition. LT will sent two packets in this case, the first uplink use payload specify in this mod (mod=6), the second packets use the normal mod payload(MOD=1 for above settings). Both Uplinks use LoRaWAN **CONFIRMED data type.** 491 491 492 - 493 493 **AT Command to set Trigger Condition**: 494 494 495 495 **Trigger base on voltage**: ... ... @@ -580,8 +580,6 @@ 580 580 (6) 581 581 ))) 582 582 583 - 584 - 585 585 **TRI FLAG1** is a combination to show if trigger is set for this part. Totally 1byte as below 586 586 587 587 (% border="1" style="background-color:#f7faff" %) ... ... @@ -703,7 +703,6 @@ 703 703 11. 704 704 111. Payload Decoder 705 705 706 - 707 707 **Decoder for TTN/loraserver/ChirpStack**: [[http:~~/~~/www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/Payload_decoder/>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/Payload_decoder/]] 708 708 709 709 ... ... @@ -723,12 +723,10 @@ 723 723 724 724 * **Sensor Related Commands**: These commands are special designed for LT-22222-L. User can see these commands below: 725 725 726 - 727 727 1. 728 728 11. 729 729 111. Common Commands: 730 730 731 - 732 732 They should be available for each of Dragino Sensors, such as: change uplink interval, reset device. For firmware v1.5.4, user can find what common commands it supports: http:~/~/wiki.dragino.com/index.php?title=End_Device_AT_Commands_and_Downlink_Commands 733 733 734 734 ... ... @@ -736,7 +736,6 @@ 736 736 11. 737 737 111. Sensor related commands: 738 738 739 - 740 740 ==== Set Transmit Interval ==== 741 741 742 742 Set device uplink interval. ... ... @@ -980,17 +980,17 @@ 980 980 |0x00|DO1 set to high 981 981 |0x11|DO1 NO Action 982 982 983 - 984 984 **Fourth Byte**: Control Method and Ports status: 985 985 954 +(% border="1" style="background-color:#f7faff" %) 986 986 |Second Byte|Status 987 987 |0x01|DO2 set to low 988 988 |0x00|DO2 set to high 989 989 |0x11|DO2 NO Action 990 990 991 - 992 992 **Fifth Byte**: Control Method and Ports status: 993 993 962 +(% border="1" style="background-color:#f7faff" %) 994 994 |Second Byte|Status 995 995 |0x01|DO3 set to low 996 996 |0x00|DO3 set to high ... ... @@ -1043,6 +1043,7 @@ 1043 1043 1044 1044 01: Close , 00: Open , 11: No action 1045 1045 1015 +(% border="1" style="background-color:#f7faff" %) 1046 1046 |Downlink Code|RO1|RO2 1047 1047 |03 00 11|Open|No Action 1048 1048 |03 01 11|Close|No Action ... ... @@ -1080,6 +1080,7 @@ 1080 1080 1081 1081 **Third Byte(bb)**: Control Method and Ports status: 1082 1082 1053 +(% border="1" style="background-color:#f7faff" %) 1083 1083 |Value|Status 1084 1084 |0x11|RO1 and RO2 to NO 1085 1085 |0x10|RO2 to NO, RO1 to NC ... ... @@ -1090,7 +1090,6 @@ 1090 1090 |0x02|RO1 to NC, RO2 No Action 1091 1091 |0x12|RO1 to NO, RO2 No Action 1092 1092 1093 - 1094 1094 **Fourth / Fifth Bytes (cc)**: Latching time. Unit: ms 1095 1095 1096 1096 Device will upload a packet if downlink code executes successfully. ... ... @@ -1195,7 +1195,6 @@ 1195 1195 1. 1196 1196 11. Integrate with Mydevice 1197 1197 1198 - 1199 1199 Mydevices provides a human friendly interface to show the sensor data, once we have data in TTN, we can use Mydevices to connect to TTN and see the data in Mydevices. Below are the steps: 1200 1200 1201 1201 ... ... @@ -1240,7 +1240,7 @@ 1240 1240 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image018.png]] 1241 1241 1242 1242 1243 -1. 1212 +1. 1244 1244 11. Interface Detail 1245 1245 111. Digital Input Port: DI1/DI2 /DI3 ( For LT-33222-L, low active ) 1246 1246 ... ... @@ -1250,7 +1250,7 @@ 1250 1250 1251 1251 1252 1252 1253 -1. 1222 +1. 1254 1254 11. 1255 1255 111. Digital Input Port: DI1/DI2 ( For LT-22222-L) 1256 1256 ... ... @@ -1293,7 +1293,7 @@ 1293 1293 1294 1294 **Example3**: Connect to a 220v high active sensor.公司测试一下 1295 1295 1296 -Assume user want to monitor an active signal higher than 220v, to make sure not burn the photocoupler 1265 +Assume user want to monitor an active signal higher than 220v, to make sure not burn the photocoupler 1297 1297 1298 1298 * Connect sensor’s output to DI1+ with a serial 50K resistor 1299 1299 * Connect sensor’s GND DI1-. ... ... @@ -1316,7 +1316,7 @@ 1316 1316 1317 1317 1318 1318 1319 -1. 1288 +1. 1320 1320 11. 1321 1321 111. Analog Input Interface 1322 1322 ... ... @@ -1349,7 +1349,7 @@ 1349 1349 1350 1350 1351 1351 1352 -1. 1321 +1. 1353 1353 11. 1354 1354 111. Relay Output 1355 1355 ... ... @@ -1364,10 +1364,10 @@ 1364 1364 1365 1365 1366 1366 1367 -1. 1336 +1. 1368 1368 11. LEDs Indicators 1369 1369 1370 - 1339 +(% border="1" style="background-color:#f7faff" %) 1371 1371 |**LEDs**|**Feature** 1372 1372 |**PWR**|Always on if there is power 1373 1373 |**SYS**|After device is powered on, the SYS will **fast blink in GREEN** for 5 times, means RS485-LN start to join LoRaWAN network. If join success, SYS will be **on GREEN for 5 seconds. **SYS will **blink Blue** on every upload and **blink Green** once receive a downlink message. ... ... @@ -1402,8 +1402,6 @@ 1402 1402 |**RO2**| 1403 1403 1404 1404 1405 - 1406 - 1407 1407 1. Use AT Command 1408 1408 11. Access AT Command 1409 1409 ... ... @@ -1576,11 +1576,10 @@ 1576 1576 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image031.png]] 1577 1577 1578 1578 1579 -1. 1546 +1. 1580 1580 11. 1581 1581 111. Change to Class A 1582 1582 1583 - 1584 1584 If sensor JOINED 1585 1585 1586 1586 AT+CLASS=A ... ... @@ -1593,7 +1593,6 @@ 1593 1593 1594 1594 1. FAQ 1595 1595 1596 - 1597 1597 1. 1598 1598 11. How to upgrade the image? 1599 1599 ... ... @@ -1603,7 +1603,6 @@ 1603 1603 * For bug fix 1604 1604 * Change LoRaWAN bands. 1605 1605 1606 - 1607 1607 Below shows the hardware connection for how to upload an image to the LT: 1608 1608 1609 1609 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image029.png]] ... ... @@ -1648,7 +1648,7 @@ 1648 1648 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image038.png]] 1649 1649 1650 1650 1651 -1. 1615 +1. 1652 1652 11. How to change the LoRa Frequency Bands/Region? 1653 1653 1654 1654 User can follow the introduction for [[how to upgrade image>>path:#upgrade_image]]. When download the images, choose the required image file for download. ... ... @@ -1697,7 +1697,7 @@ 1697 1697 1698 1698 1699 1699 1700 -1. 1664 +1. 1701 1701 11. Can I see counting event in Serial? 1702 1702 1703 1703 User can run AT+DEBUG command to see the counting event in serial. If firmware too old and doesn’t support AT+DEBUG. User can update to latest firmware first. ... ... @@ -1733,7 +1733,6 @@ 1733 1733 1734 1734 1. Order Info 1735 1735 1736 - 1737 1737 **For LT-33222-L-XXX or LT-22222-L-XXX:** 1738 1738 1739 1739 **XXX:** ... ... @@ -1748,7 +1748,6 @@ 1748 1748 * **IN865**: LT with frequency bands IN865 1749 1749 * **CN779**: LT with frequency bands CN779 1750 1750 1751 - 1752 1752 1. Packing Info 1753 1753 1754 1754 **Package Includes**: ... ... @@ -1758,7 +1758,6 @@ 1758 1758 * Bracket for controller x1 1759 1759 * Program cable x 1 1760 1760 1761 - 1762 1762 **Dimension and weight**: 1763 1763 1764 1764 * Device Size: 13.5 x 7 x 3 cm ... ... @@ -1766,7 +1766,6 @@ 1766 1766 * Package Size / pcs : 14.5 x 8 x 5 cm 1767 1767 * Weight / pcs : 170g 1768 1768 1769 - 1770 1770 1. Support 1771 1771 1772 1772 * Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule.
- 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