Last modified by Mengting Qiu on 2025/06/04 18:42

From version 136.1
edited by Mengting Qiu
on 2024/09/02 18:13
Change comment: There is no comment for this version
To version 126.17
edited by Xiaoling
on 2023/06/19 16:16
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -LT-22222-L -- LoRa IO Controller User Manual
1 +LT-22222-L LoRa IO Controller User Manual
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.ting
1 +XWiki.Xiaoling
Content
... ... @@ -3,10 +3,6 @@
3 3  
4 4  
5 5  
6 -
7 -
8 -
9 -
10 10  **Table of Contents:**
11 11  
12 12  {{toc/}}
... ... @@ -57,71 +57,163 @@
57 57  
58 58  )))
59 59  
60 -== 1.2 Specifications ==
56 +== 1.2  Specifications ==
61 61  
58 +(((
59 +
60 +
62 62  (% style="color:#037691" %)**Hardware System:**
62 +)))
63 63  
64 -* STM32L072xxxx MCU
65 -* SX1276/78 Wireless Chip 
66 -* Power Consumption:
67 -** Idle: 4mA@12v
68 -** 20dB Transmit: 34mA@12v
69 -* Operating Temperature: -40 ~~ 85 Degree, No Dew
64 +* (((
65 +STM32L072xxxx MCU
66 +)))
67 +* (((
68 +SX1276/78 Wireless Chip 
69 +)))
70 +* (((
71 +(((
72 +Power Consumption:
73 +)))
70 70  
75 +* (((
76 +Idle: 4mA@12v
77 +)))
78 +* (((
79 +20dB Transmit: 34mA@12v
80 +)))
81 +)))
82 +
83 +(((
84 +
85 +
71 71  (% style="color:#037691" %)**Interface for Model: LT22222-L:**
87 +)))
72 72  
73 -* 2 x Digital dual direction Input (Detect High/Low signal, Max: 50v, or 220v with optional external resistor)
74 -* 2 x Digital Output (NPN output. Max pull up voltage 36V,450mA)
75 -* 2 x Relay Output (5A@250VAC / 30VDC)
76 -* 2 x 0~~20mA Analog Input (res:0.01mA)
77 -* 2 x 0~~30V Analog Input (res:0.01v)
78 -* Power Input 7~~ 24V DC. 
89 +* (((
90 +2 x Digital dual direction Input (Detect High/Low signal, Max: 50v, or 220v with optional external resistor)
91 +)))
92 +* (((
93 +2 x Digital Output (NPN output. Max pull up voltage 36V,450mA)
94 +)))
95 +* (((
96 +2 x Relay Output (5A@250VAC / 30VDC)
97 +)))
98 +* (((
99 +2 x 0~~20mA Analog Input (res:0.01mA)
100 +)))
101 +* (((
102 +2 x 0~~30V Analog Input (res:0.01v)
103 +)))
104 +* (((
105 +Power Input 7~~ 24V DC. 
106 +)))
79 79  
108 +(((
109 +
110 +
80 80  (% style="color:#037691" %)**LoRa Spec:**
112 +)))
81 81  
82 -* Frequency Range:
83 -** Band 1 (HF): 862 ~~ 1020 Mhz
84 -** Band 2 (LF): 410 ~~ 528 Mhz
85 -* 168 dB maximum link budget.
86 -* +20 dBm - 100 mW constant RF output vs.
87 -* +14 dBm high efficiency PA.
88 -* Programmable bit rate up to 300 kbps.
89 -* High sensitivity: down to -148 dBm.
90 -* Bullet-proof front end: IIP3 = -12.5 dBm.
91 -* Excellent blocking immunity.
92 -* Low RX current of 10.3 mA, 200 nA register retention.
93 -* Fully integrated synthesizer with a resolution of 61 Hz.
94 -* FSK, GFSK, MSK, GMSK, LoRaTM and OOK modulation.
95 -* Built-in bit synchronizer for clock recovery.
96 -* Preamble detection.
97 -* 127 dB Dynamic Range RSSI.
98 -* Automatic RF Sense and CAD with ultra-fast AFC.
99 -* Packet engine up to 256 bytes with CRC.
114 +* (((
115 +(((
116 +Frequency Range:
117 +)))
100 100  
119 +* (((
120 +Band 1 (HF): 862 ~~ 1020 Mhz
121 +)))
122 +* (((
123 +Band 2 (LF): 410 ~~ 528 Mhz
124 +)))
125 +)))
126 +* (((
127 +168 dB maximum link budget.
128 +)))
129 +* (((
130 ++20 dBm - 100 mW constant RF output vs.
131 +)))
132 +* (((
133 ++14 dBm high efficiency PA.
134 +)))
135 +* (((
136 +Programmable bit rate up to 300 kbps.
137 +)))
138 +* (((
139 +High sensitivity: down to -148 dBm.
140 +)))
141 +* (((
142 +Bullet-proof front end: IIP3 = -12.5 dBm.
143 +)))
144 +* (((
145 +Excellent blocking immunity.
146 +)))
147 +* (((
148 +Low RX current of 10.3 mA, 200 nA register retention.
149 +)))
150 +* (((
151 +Fully integrated synthesizer with a resolution of 61 Hz.
152 +)))
153 +* (((
154 +FSK, GFSK, MSK, GMSK, LoRaTM and OOK modulation.
155 +)))
156 +* (((
157 +Built-in bit synchronizer for clock recovery.
158 +)))
159 +* (((
160 +Preamble detection.
161 +)))
162 +* (((
163 +127 dB Dynamic Range RSSI.
164 +)))
165 +* (((
166 +Automatic RF Sense and CAD with ultra-fast AFC.
167 +)))
168 +* (((
169 +Packet engine up to 256 bytes with CRC.
170 +
171 +
172 +
173 +)))
174 +
101 101  == 1.3 Features ==
102 102  
177 +
103 103  * LoRaWAN Class A & Class C protocol
179 +
104 104  * Optional Customized LoRa Protocol
181 +
105 105  * Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/RU864/IN865/MA869
183 +
106 106  * AT Commands to change parameters
185 +
107 107  * Remote configure parameters via LoRa Downlink
187 +
108 108  * Firmware upgradable via program port
189 +
109 109  * Counting
110 110  
111 -== 1.4 Applications ==
192 +== 1.4  Applications ==
112 112  
194 +
113 113  * Smart Buildings & Home Automation
196 +
114 114  * Logistics and Supply Chain Management
198 +
115 115  * Smart Metering
200 +
116 116  * Smart Agriculture
202 +
117 117  * Smart Cities
204 +
118 118  * Smart Factory
119 119  
207 +
120 120  == 1.5 Hardware Variants ==
121 121  
122 122  
123 123  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %)
124 -|(% style="background-color:#4f81bd; color:white; width:103px" %)**Model**|(% style="background-color:#4f81bd; color:white; width:131px" %)**Photo**|(% style="background-color:#4f81bd; color:white; width:266px" %)**Description**
212 +|(% style="background-color:#d9e2f3; color:#0070c0; width:103px" %)**Model**|(% style="background-color:#d9e2f3; color:#0070c0; width:131px" %)**Photo**|(% style="background-color:#d9e2f3; color:#0070c0; width:266px" %)**Description**
125 125  |(% style="width:103px" %)**LT22222-L**|(% style="width:131px" %)(((
126 126  (% style="text-align:center" %)
127 127  [[image:image-20230424115112-1.png||height="106" width="58"]]
... ... @@ -136,10 +136,17 @@
136 136  
137 137  = 2. Power ON Device =
138 138  
227 +
228 +(((
139 139  The LT controller can be powered by 7 ~~ 24V DC power source. Connect VIN to Power Input V+ and GND to power input V- to power the LT controller.
230 +)))
140 140  
232 +(((
141 141  PWR will on when device is properly powered.
142 142  
235 +
236 +)))
237 +
143 143  [[image:1653297104069-180.png]]
144 144  
145 145  
... ... @@ -198,6 +198,7 @@
198 198  [[image:1653298023685-319.png]]
199 199  
200 200  
296 +
201 201  (((
202 202  (% style="color:blue" %)**Step 2**(%%): Power on LT and it will auto join to the TTN network. After join success, it will start to upload message to TTN and user can see in the panel.
203 203  
... ... @@ -231,7 +231,7 @@
231 231  The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default. (% style="display:none" %)
232 232  
233 233  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
234 -|(% style="background-color:#4f81bd; color:white" %)**Size(bytes)**|(% style="background-color:#4f81bd; color:white" %)**2**|(% style="background-color:#4f81bd; color:white" %)**2**|(% style="background-color:#4f81bd; color:white" %)**2**|(% style="background-color:#4f81bd; color:white" %)**2**|(% style="background-color:#4f81bd; color:white" %)**1**|(% style="background-color:#4f81bd; color:white" %)**1**|(% style="background-color:#4f81bd; color:white" %)**1**
330 +|(% style="background-color:#d9e2f3; color:#0070c0" %)**Size(bytes)**|(% style="background-color:#d9e2f3; color:#0070c0" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**
235 235  |Value|(((
236 236  AVI1 voltage
237 237  )))|(((
... ... @@ -253,7 +253,7 @@
253 253  |RO1|RO2|DI3|DI2|DI1|DO3|DO2|DO1
254 254  )))
255 255  
256 -* RO is for relay. ROx=1 : close, ROx=0 always open.
352 +* RO is for relay. ROx=1 : closeROx=0 always open.
257 257  * DI is for digital input. DIx=1: high or float, DIx=0: low.
258 258  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
259 259  
... ... @@ -264,7 +264,7 @@
264 264  
265 265  **The value for the interface is:  **
266 266  
267 -AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V
363 +AVI1 channel voltage is 0x04AB/1000=1195DEC/1000=1.195V
268 268  
269 269  AVI2 channel voltage is 0x04AC/1000=1.196V
270 270  
... ... @@ -292,6 +292,7 @@
292 292  ** DO1 is high in case there is load between DO1 and V+.
293 293  ** DO1 LED is off in both case
294 294  
391 +
295 295  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
296 296  
297 297  
... ... @@ -303,7 +303,7 @@
303 303  Total : 11 bytes payload
304 304  
305 305  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
306 -|(% style="background-color:#4f81bd; color:white" %)**Size(bytes)**|(% style="background-color:#4f81bd; color:white" %)**4**|(% style="background-color:#4f81bd; color:white" %)**4**|(% style="background-color:#4f81bd; color:white" %)**1**|(% style="background-color:#4f81bd; color:white" %)**1**|(% style="background-color:#4f81bd; color:white" %)**1**
403 +|(% style="background-color:#d9e2f3; color:#0070c0" %)**Size(bytes)**|(% style="background-color:#d9e2f3; color:#0070c0" %)**4**|(% style="background-color:#d9e2f3; color:#0070c0" %)**4**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**
307 307  |Value|COUNT1|COUNT2 |DIDORO*|(((
308 308  Reserve
309 309  )))|MOD
... ... @@ -316,7 +316,7 @@
316 316  |**bit7**|**bit6**|**bit5**|**bit4**|**bit3**|**bit2**|**bit1**|**bit0**
317 317  |RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1
318 318  
319 -RO is for relay. ROx=1 : close , ROx=0 always open.
416 +RO is for relay. ROx=1 : closeROx=0 always open.
320 320  )))
321 321  
322 322  * FIRST: Indicate this is the first packet after join network.
... ... @@ -324,8 +324,6 @@
324 324  
325 325  (((
326 326  (% style="color:red" %)**Note: DO3 bit is not valid for LT-22222-L.**
327 -
328 -
329 329  )))
330 330  
331 331  (((
... ... @@ -332,6 +332,7 @@
332 332  **To use counting mode, please run:**
333 333  )))
334 334  
430 +
335 335  (((
336 336  (% class="box infomessage" %)
337 337  (((
... ... @@ -370,7 +370,7 @@
370 370  **LT22222-L**: This mode the DI1 is used as a counting pin.
371 371  
372 372  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
373 -|(% style="background-color:#4f81bd; color:white" %)**Size(bytes)**|(% style="background-color:#4f81bd; color:white" %)**4**|(% style="background-color:#4f81bd; color:white" %)**2**|(% style="background-color:#4f81bd; color:white" %)**2**|(% style="background-color:#4f81bd; color:white" %)**1**|(% style="background-color:#4f81bd; color:white" %)**1**|(% style="background-color:#4f81bd; color:white" %)**1**
469 +|(% style="background-color:#d9e2f3; color:#0070c0" %)**Size(bytes)**|(% style="background-color:#d9e2f3; color:#0070c0" %)**4**|(% style="background-color:#d9e2f3; color:#0070c0" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**
374 374  |Value|COUNT1|(((
375 375  ACI1 Current
376 376  )))|(((
... ... @@ -385,7 +385,7 @@
385 385  |RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1
386 386  )))
387 387  
388 -* RO is for relay. ROx=1 : close, ROx=0 always open.
484 +* RO is for relay. ROx=1 : closeROx=0 always open.
389 389  * FIRST: Indicate this is the first packet after join network.
390 390  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
391 391  
... ... @@ -423,7 +423,7 @@
423 423  The AVI1 is also used for counting. AVI1 is used to monitor the voltage. It will check the voltage **every 60s**, if voltage is higher or lower than VOLMAX mV, the AVI1 Counting increase 1, so AVI1 counting can be used to measure a machine working hour.
424 424  
425 425  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
426 -|(% style="background-color:#4f81bd; color:white" %)**Size(bytes)**|(% style="background-color:#4f81bd; color:white" %)**4**|(% style="background-color:#4f81bd; color:white" %)**4**|(% style="background-color:#4f81bd; color:white" %)**1**|(% style="background-color:#4f81bd; color:white" %)**1**|(% style="background-color:#4f81bd; color:white" %)**1**
522 +|(% style="background-color:#d9e2f3; color:#0070c0" %)**Size(bytes)**|(% style="background-color:#d9e2f3; color:#0070c0" %)**4**|(% style="background-color:#d9e2f3; color:#0070c0" %)**4**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**
427 427  |Value|COUNT1|AVI1 Counting|DIDORO*|(((
428 428  Reserve
429 429  )))|MOD
... ... @@ -437,7 +437,7 @@
437 437  |RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1
438 438  )))
439 439  
440 -* RO is for relay. ROx=1 : close, ROx=0 always open.
536 +* RO is for relay. ROx=1 : closeROx=0 always open.
441 441  * FIRST: Indicate this is the first packet after join network.
442 442  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
443 443  
... ... @@ -483,7 +483,7 @@
483 483  **LT22222-L**: This mode the DI1 is used as a counting pin.
484 484  
485 485  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
486 -|(% style="background-color:#4f81bd; color:white" %)**Size(bytes)**|(% style="background-color:#4f81bd; color:white" %)**2**|(% style="background-color:#4f81bd; color:white" %)**2**|(% style="background-color:#4f81bd; color:white" %)**2**|(% style="background-color:#4f81bd; color:white" %)**2**|(% style="background-color:#4f81bd; color:white" %)**1**|(% style="background-color:#4f81bd; color:white" %)**1**|(% style="background-color:#4f81bd; color:white" %)**1**
582 +|(% style="background-color:#d9e2f3; color:#0070c0" %)**Size(bytes)**|(% style="background-color:#d9e2f3; color:#0070c0" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**
487 487  |Value|(((
488 488  AVI1 voltage
489 489  )))|(((
... ... @@ -502,7 +502,7 @@
502 502  |RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1
503 503  )))
504 504  
505 -* RO is for relay. ROx=1 : close, ROx=0 always open.
601 +* RO is for relay. ROx=1 : closeROx=0 always open.
506 506  * FIRST: Indicate this is the first packet after join network.
507 507  * (((
508 508  DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
... ... @@ -545,6 +545,7 @@
545 545  1. Periodically uplink (Base on TDC time). Payload is same as the normal MOD (MOD 1 for above command). This uplink uses LoRaWAN (% style="color:#4f81bd" %)**unconfirmed**(%%) data type
546 546  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 (% style="color:#4f81bd" %)**CONFIRMED data type.**
547 547  
644 +
548 548  (% style="color:#037691" %)**AT Command to set Trigger Condition**:
549 549  
550 550  
... ... @@ -619,7 +619,7 @@
619 619  MOD6 Payload : total 11 bytes payload
620 620  
621 621  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %)
622 -|(% style="background-color:#4f81bd; color:white; width:60px" %)**Size(bytes)**|(% style="background-color:#4f81bd; color:white; width:69px" %)**1**|(% style="background-color:#4f81bd; color:white; width:69px" %)**1**|(% style="background-color:#4f81bd; color:white; width:109px" %)**1**|(% style="background-color:#4f81bd; color:white; width:49px" %)**6**|(% style="background-color:#4f81bd; color:white; width:109px" %)**1**|(% style="background-color:#4f81bd; color:white; width:50px" %)**1**
719 +|(% style="background-color:#d9e2f3; color:#0070c0; width:60px" %)**Size(bytes)**|(% style="background-color:#d9e2f3; color:#0070c0; width:69px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:69px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:109px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:49px" %)**6**|(% style="background-color:#d9e2f3; color:#0070c0; width:109px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:50px" %)**1**
623 623  |Value|(((
624 624  TRI_A FLAG
625 625  )))|(((
... ... @@ -947,7 +947,7 @@
947 947  01: Low,  00: High ,  11: No action
948 948  
949 949  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
950 -|(% style="background-color:#4f81bd; color:white" %)**Downlink Code**|(% style="background-color:#4f81bd; color:white" %)**DO1**|(% style="background-color:#4f81bd; color:white" %)**DO2**|(% style="background-color:#4f81bd; color:white" %)**DO3**
1047 +|(% style="background-color:#d9e2f3; color:#0070c0" %)**Downlink Code**|(% style="background-color:#d9e2f3; color:#0070c0" %)**DO1**|(% style="background-color:#d9e2f3; color:#0070c0" %)**DO2**|(% style="background-color:#d9e2f3; color:#0070c0" %)**DO3**
951 951  |02  01  00  11|Low|High|No Action
952 952  |02  00  11  01|High|No Action|Low
953 953  |02  11  01  00|No Action|Low|High
... ... @@ -990,7 +990,7 @@
990 990  (% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Ports status:
991 991  
992 992  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:300px" %)
993 -|(% style="background-color:#4f81bd; color:white" %)**Second Byte**|(% style="background-color:#4f81bd; color:white" %)**Status**
1090 +|(% style="background-color:#d9e2f3; color:#0070c0" %)**Second Byte**|(% style="background-color:#d9e2f3; color:#0070c0" %)**Status**
994 994  |0x01|DO1 set to low
995 995  |0x00|DO1 set to high
996 996  |0x11|DO1 NO Action
... ... @@ -998,7 +998,7 @@
998 998  (% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Ports status:
999 999  
1000 1000  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:300px" %)
1001 -|(% style="background-color:#4f81bd; color:white" %)**Second Byte**|(% style="background-color:#4f81bd; color:white" %)**Status**
1098 +|(% style="background-color:#d9e2f3; color:#0070c0" %)**Second Byte**|(% style="background-color:#d9e2f3; color:#0070c0" %)**Status**
1002 1002  |0x01|DO2 set to low
1003 1003  |0x00|DO2 set to high
1004 1004  |0x11|DO2 NO Action
... ... @@ -1006,7 +1006,7 @@
1006 1006  (% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Ports status:
1007 1007  
1008 1008  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:300px" %)
1009 -|(% style="background-color:#4f81bd; color:white" %)**Second Byte**|(% style="background-color:#4f81bd; color:white" %)**Status**
1106 +|(% style="background-color:#d9e2f3; color:#0070c0" %)**Second Byte**|(% style="background-color:#d9e2f3; color:#0070c0" %)**Status**
1010 1010  |0x01|DO3 set to low
1011 1011  |0x00|DO3 set to high
1012 1012  |0x11|DO3 NO Action
... ... @@ -1043,7 +1043,7 @@
1043 1043  
1044 1044  
1045 1045  
1046 -==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====
1143 +==== 3.4.2. 14 Relay ~-~- Control Relay Output RO1/RO2 ====
1047 1047  
1048 1048  
1049 1049  * (% style="color:#037691" %)**AT Command:**
... ... @@ -1061,10 +1061,10 @@
1061 1061  )))
1062 1062  
1063 1063  (((
1064 -00: Close ,  01: Open , 11: No action
1161 +01: Close ,  00: Open , 11: No action
1065 1065  
1066 1066  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:320px" %)
1067 -|(% style="background-color:#4f81bd; color:white" %)**Downlink Code**|(% style="background-color:#4f81bd; color:white" %)**RO1**|(% style="background-color:#4f81bd; color:white" %)**RO2**
1164 +|(% style="background-color:#d9e2f3; color:#0070c0" %)**Downlink Code**|(% style="background-color:#d9e2f3; color:#0070c0" %)**RO1**|(% style="background-color:#d9e2f3; color:#0070c0" %)**RO2**
1068 1068  |03  00  11|Open|No Action
1069 1069  |03  01  11|Close|No Action
1070 1070  |03  11  00|No Action|Open
... ... @@ -1335,6 +1335,7 @@
1335 1335  [[image:1653356838789-523.png||height="337" width="740"]]
1336 1336  
1337 1337  
1435 +
1338 1338  After added, the sensor data arrive TTN, it will also arrive and show in Mydevices.
1339 1339  
1340 1340  [[image:image-20220524094909-1.png||height="335" width="729"]]
... ... @@ -1487,11 +1487,8 @@
1487 1487  
1488 1488  [[image:image-20230616235145-1.png]]
1489 1489  
1490 -(% style="color:blue" %)**Example5**(%%): Connect to Open Colleactor
1491 1491  
1492 -[[image:image-20240219115718-1.png]]
1493 1493  
1494 -
1495 1495  === 3.6.3 Digital Output Port: DO1/DO2 /DO3 ===
1496 1496  
1497 1497  
... ... @@ -1566,9 +1566,12 @@
1566 1566  == 3.7 LEDs Indicators ==
1567 1567  
1568 1568  
1569 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
1570 -|(% style="background-color:#4f81bd; color:white; width:50px" %)**LEDs**|(% style="background-color:#4f81bd; color:white; width:460px" %)**Feature**
1664 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
1665 +|(% style="background-color:#d9e2f3; color:#0070c0; width:50px" %)**LEDs**|(% style="background-color:#d9e2f3; color:#0070c0; width:470px" %)**Feature**
1571 1571  |**PWR**|Always on if there is power
1667 +|**SYS**|(((
1668 +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.
1669 +)))
1572 1572  |**TX**|(((
1573 1573  (((
1574 1574  Device boot: TX blinks 5 times.
... ... @@ -1583,16 +1583,20 @@
1583 1583  )))
1584 1584  )))
1585 1585  |**RX**|RX blinks once when receive a packet.
1586 -|**DO1**|For LT-22222-L: ON when DO1 is low, LOW when DO1 is high
1587 -|**DO2**|For LT-22222-L: ON when DO2 is low, LOW when DO2 is high
1588 -|**DI1**|(((
1589 -For LT-22222-L: ON when DI1 is high, LOW when DI1 is low
1684 +|**DO1**|
1685 +|**DO2**|
1686 +|**DO3**|
1687 +|**DI2**|(((
1688 +For LT-22222-L: ON when DI2 is high, LOW when DI2 is low
1590 1590  )))
1591 1591  |**DI2**|(((
1592 -For LT-22222-L: ON when DI2 is high, OFF when DI2 is low
1691 +For LT-22222-L: ON when DI2 is high, LOW when DI2 is low
1593 1593  )))
1594 -|**RO1**|For LT-22222-L: ON when RO1 is closed, LOW when RO1 is open
1595 -|**RO2**|For LT-22222-L: ON when RO2 is closed, LOW when RO2 is open
1693 +|**DI2**|(((
1694 +For LT-22222-L: ON when DI2 is high, LOW when DI2 is low
1695 +)))
1696 +|**RO1**|
1697 +|**RO2**|
1596 1596  
1597 1597  = 4. Use AT Command =
1598 1598  
... ... @@ -1603,6 +1603,10 @@
1603 1603  LT supports AT Command set. User can use a USB to TTL adapter plus the 3.5mm Program Cable to connect to LT for using AT command, as below.
1604 1604  )))
1605 1605  
1708 +(((
1709 +
1710 +)))
1711 +
1606 1606  [[image:1653358238933-385.png]]
1607 1607  
1608 1608  
... ... @@ -1921,6 +1921,7 @@
1921 1921  dir=LoRa_Gateway/&file=LoRaWAN%201.0.3%20Regional%20Parameters.xlsx]] to see what DR means.**
1922 1922  
1923 1923  **4. The command AT+RX2FQ and AT+RX2DR is to let downlink work. to set the correct parameters, user can check the actually downlink parameters to be used. As below. Which shows the RX2FQ should use 868400000 and RX2DR should be 5.**
2030 +
1924 1924  )))
1925 1925  
1926 1926  (((
... ... @@ -1933,11 +1933,13 @@
1933 1933  
1934 1934  (((
1935 1935  (% style="color:blue" %)**If sensor JOINED:**
2043 +(((
2044 +(% class="box infomessage" %)
2045 +**AT+CLASS=A**
1936 1936  
1937 -(% style="background-color:#dcdcdc" %)**AT+CLASS=A**
1938 -
1939 -(% style="background-color:#dcdcdc" %)**ATZ**
2047 +**ATZ**
1940 1940  )))
2049 +)))
1941 1941  
1942 1942  
1943 1943  = 5. Case Study =
... ... @@ -1989,6 +1989,7 @@
1989 1989  
1990 1990  (% style="color:red" %)**Notice**(%%): In case user has lost the program cable. User can hand made one from a 3.5mm cable. The pin mapping is:
1991 1991  
2101 +
1992 1992  [[image:1653360054704-518.png||height="186" width="745"]]
1993 1993  
1994 1994  
... ... @@ -2052,21 +2052,13 @@
2052 2052  
2053 2053  (((
2054 2054  (% style="background-color:#dcdcdc" %)**123456** (%%) :  Enter Password to have AT access.
2055 -
2056 2056  (% style="background-color:#dcdcdc" %)**AT+FDR**(%%)  :  Reset Parameters to Factory Default, Keys Reserve
2057 -
2058 2058  (% style="background-color:#dcdcdc" %)**AT+NJM=0** (%%) :  Set to ABP mode
2059 -
2060 2060  (% style="background-color:#dcdcdc" %)**AT+ADR=0** (%%) :  Set the Adaptive Data Rate Off
2061 -
2062 2062  (% style="background-color:#dcdcdc" %)**AT+DR=5** (%%) :  Set Data Rate (Set AT+DR=3 for 915 band)
2063 -
2064 2064  (% style="background-color:#dcdcdc" %)**AT+TDC=60000 **(%%) :  Set transmit interval to 60 seconds
2065 -
2066 2066  (% style="background-color:#dcdcdc" %)**AT+CHS=868400000**(%%) : Set transmit frequency to 868.4Mhz
2067 -
2068 2068  (% style="background-color:#dcdcdc" %)**AT+DADDR=26 01 1A F1**(%%)  :  Set Device Address to 26 01 1A F1
2069 -
2070 2070  (% style="background-color:#dcdcdc" %)**ATZ**        (%%) :  Reset MCU
2071 2071  )))
2072 2072  
... ... @@ -2078,7 +2078,7 @@
2078 2078  [[image:1653360498588-932.png||height="485" width="726"]]
2079 2079  
2080 2080  
2081 -== 6.4 How to change the uplink interval? ==
2183 +== 6.4 How to change the uplink interval ==
2082 2082  
2083 2083  
2084 2084  Please see this link: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/How%20to%20set%20the%20transmit%20time%20interval/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20set%20the%20transmit%20time%20interval/]]
... ... @@ -2127,12 +2127,6 @@
2127 2127  Firmware version needs to be no less than 1.6.0.
2128 2128  
2129 2129  
2130 -== 6.10 Why does the LT22222 always report 15.585V when measuring AVI? ==
2131 -
2132 -
2133 -It is likely that the GND is not connected during the measurement, or the wire connected to the GND is loose.
2134 -
2135 -
2136 2136  = 7. Trouble Shooting =
2137 2137  )))
2138 2138  
... ... @@ -2173,13 +2173,6 @@
2173 2173  )))
2174 2174  
2175 2175  
2176 -== 7.4 Why can LT22222 perform Uplink normally, but cannot receive Downlink? ==
2177 -
2178 -
2179 -The FCD count of the gateway is inconsistent with the FCD count of the node, causing the downlink to remain in the queue state.
2180 -Use this command to bring their counts back together: [[Resets the downlink packet count>>||anchor="H3.4.2.23Resetsthedownlinkpacketcount"]]
2181 -
2182 -
2183 2183  = 8. Order Info =
2184 2184  
2185 2185  
... ... @@ -2233,3 +2233,5 @@
2233 2233  * LT-22222-L: [[http:~~/~~/www.dragino.com/products/lora-lorawan-end-node/item/156-lt-22222-l.html>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/156-lt-22222-l.html]]
2234 2234  * [[Datasheet, Document Base>>https://www.dropbox.com/sh/gxxmgks42tqfr3a/AACEdsj_mqzeoTOXARRlwYZ2a?dl=0]]
2235 2235  * [[Hardware Source>>url:https://github.com/dragino/Lora/tree/master/LT/LT-33222-L/v1.0]]
2325 +
2326 +
image-20240219115718-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Edwin
Size
... ... @@ -1,1 +1,0 @@
1 -27.7 KB
Content