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)
Details
- Page properties
-
- Content
-
... ... @@ -45,44 +45,114 @@ 45 45 46 46 == 1.2 Specifications == 47 47 48 +((( 48 48 **Hardware System:** 50 +))) 49 49 50 -* STM32L072CZT6 MCU 51 -* SX1276/78 Wireless Chip 52 -* Power Consumption: 53 -** Idle: 4mA@12v 54 -** 20dB Transmit: 34mA@12v 52 +* ((( 53 +STM32L072CZT6 MCU 54 +))) 55 +* ((( 56 +SX1276/78 Wireless Chip 57 +))) 58 +* ((( 59 +((( 60 +Power Consumption: 61 +))) 55 55 63 +* ((( 64 +Idle: 4mA@12v 65 +))) 66 +* ((( 67 +20dB Transmit: 34mA@12v 68 +))) 69 +))) 70 + 71 +((( 56 56 **Interface for Model: LT22222-L:** 73 +))) 57 57 58 -* 2 x Digital dual direction Input (Detect High/Low signal, Max: 50v, or 220v with optional external resistor) 59 -* 2 x Digital Output (NPN output. Max pull up voltage 36V,450mA) 60 -* 2 x Relay Output (5A@250VAC / 30VDC) 61 -* 2 x 0~~20mA Analog Input (res:0.01mA) 62 -* 2 x 0~~30V Analog Input (res:0.01v) 63 -* Power Input 7~~ 24V DC. 75 +* ((( 76 +2 x Digital dual direction Input (Detect High/Low signal, Max: 50v, or 220v with optional external resistor) 77 +))) 78 +* ((( 79 +2 x Digital Output (NPN output. Max pull up voltage 36V,450mA) 80 +))) 81 +* ((( 82 +2 x Relay Output (5A@250VAC / 30VDC) 83 +))) 84 +* ((( 85 +2 x 0~~20mA Analog Input (res:0.01mA) 86 +))) 87 +* ((( 88 +2 x 0~~30V Analog Input (res:0.01v) 89 +))) 90 +* ((( 91 +Power Input 7~~ 24V DC. 92 +))) 64 64 94 +((( 65 65 **LoRa Spec:** 96 +))) 66 66 67 -* Frequency Range: 68 -** Band 1 (HF): 862 ~~ 1020 Mhz 69 -** Band 2 (LF): 410 ~~ 528 Mhz 70 -* 168 dB maximum link budget. 71 -* +20 dBm - 100 mW constant RF output vs. 72 -* +14 dBm high efficiency PA. 73 -* Programmable bit rate up to 300 kbps. 74 -* High sensitivity: down to -148 dBm. 75 -* Bullet-proof front end: IIP3 = -12.5 dBm. 76 -* Excellent blocking immunity. 77 -* Low RX current of 10.3 mA, 200 nA register retention. 78 -* Fully integrated synthesizer with a resolution of 61 Hz. 79 -* FSK, GFSK, MSK, GMSK, LoRaTM and OOK modulation. 80 -* Built-in bit synchronizer for clock recovery. 81 -* Preamble detection. 82 -* 127 dB Dynamic Range RSSI. 83 -* Automatic RF Sense and CAD with ultra-fast AFC. 84 -* Packet engine up to 256 bytes with CRC. 98 +* ((( 99 +((( 100 +Frequency Range: 101 +))) 85 85 103 +* ((( 104 +Band 1 (HF): 862 ~~ 1020 Mhz 105 +))) 106 +* ((( 107 +Band 2 (LF): 410 ~~ 528 Mhz 108 +))) 109 +))) 110 +* ((( 111 +168 dB maximum link budget. 112 +))) 113 +* ((( 114 ++20 dBm - 100 mW constant RF output vs. 115 +))) 116 +* ((( 117 ++14 dBm high efficiency PA. 118 +))) 119 +* ((( 120 +Programmable bit rate up to 300 kbps. 121 +))) 122 +* ((( 123 +High sensitivity: down to -148 dBm. 124 +))) 125 +* ((( 126 +Bullet-proof front end: IIP3 = -12.5 dBm. 127 +))) 128 +* ((( 129 +Excellent blocking immunity. 130 +))) 131 +* ((( 132 +Low RX current of 10.3 mA, 200 nA register retention. 133 +))) 134 +* ((( 135 +Fully integrated synthesizer with a resolution of 61 Hz. 136 +))) 137 +* ((( 138 +FSK, GFSK, MSK, GMSK, LoRaTM and OOK modulation. 139 +))) 140 +* ((( 141 +Built-in bit synchronizer for clock recovery. 142 +))) 143 +* ((( 144 +Preamble detection. 145 +))) 146 +* ((( 147 +127 dB Dynamic Range RSSI. 148 +))) 149 +* ((( 150 +Automatic RF Sense and CAD with ultra-fast AFC. 151 +))) 152 +* ((( 153 +Packet engine up to 256 bytes with CRC. 154 +))) 155 + 86 86 == 1.3 Features == 87 87 88 88 * LoRaWAN Class A & Class C protocol ... ... @@ -129,13 +129,21 @@ 129 129 130 130 == 3.1 How it works? == 131 131 202 +((( 132 132 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. 204 +))) 133 133 206 +((( 134 134 In case user can’t set the OTAA keys in the network server and has to use the existing keys from server. User can [[use AT Command>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H4.UseATCommand]] to set the keys in the devices. 208 +))) 135 135 210 +((( 136 136 3.2 Example to join LoRaWAN network 212 +))) 137 137 214 +((( 138 138 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. 216 +))) 139 139 140 140 [[image:image-20220523172350-1.png||height="266" width="864"]] 141 141 ... ... @@ -235,7 +235,9 @@ 235 235 236 236 **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins. 237 237 316 +((( 238 238 Total : 11 bytes payload 318 +))) 239 239 240 240 [[image:image-20220523180452-3.png]] 241 241 ... ... @@ -249,53 +249,77 @@ 249 249 * FIRST: Indicate this is the first packet after join network. 250 250 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 251 251 332 +((( 252 252 (% style="color:red" %)Note: DO3 bit is not valid for LT-22222-L. 334 +))) 253 253 336 +((( 254 254 **To use counting mode, please run:** 338 +))) 255 255 256 256 (% class="box infomessage" %) 257 257 ((( 342 +((( 258 258 **AT+MOD=2** 259 259 ))) 345 +))) 260 260 261 261 (% class="box infomessage" %) 262 262 ((( 349 +((( 263 263 **ATZ** 264 264 ))) 352 +))) 265 265 354 +((( 266 266 (% style="color:#4f81bd" %)**AT Commands for counting:** 356 +))) 267 267 358 +((( 268 268 **For LT22222-L:** 360 +))) 269 269 270 270 (% class="box infomessage" %) 271 271 ((( 364 +((( 272 272 **AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) ** 273 273 ))) 367 +))) 274 274 275 275 (% class="box infomessage" %) 276 276 ((( 371 +((( 277 277 **AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) ** 278 278 ))) 374 +))) 279 279 280 280 (% class="box infomessage" %) 281 281 ((( 378 +((( 282 282 **AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) ** 283 283 ))) 381 +))) 284 284 285 285 (% class="box infomessage" %) 286 286 ((( 385 +((( 287 287 **AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) ** 288 288 ))) 388 +))) 289 289 290 290 (% class="box infomessage" %) 291 291 ((( 392 +((( 292 292 **AT+SETCNT=1,60 (Set COUNT1 value to 60)** 293 293 ))) 395 +))) 294 294 295 295 (% class="box infomessage" %) 296 296 ((( 399 +((( 297 297 **AT+SETCNT=2,60 (Set COUNT2 value to 60)** 298 298 ))) 402 +))) 299 299 300 300 === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI === 301 301 ... ... @@ -313,21 +313,31 @@ 313 313 * FIRST: Indicate this is the first packet after join network. 314 314 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 315 315 420 +((( 316 316 (% style="color:red" %)Note: DO3 is not valid for LT-22222-L. 422 +))) 317 317 424 +((( 318 318 **To use counting mode, please run:** 426 +))) 319 319 320 320 (% class="box infomessage" %) 321 321 ((( 430 +((( 322 322 **AT+MOD=3** 323 323 ))) 433 +))) 324 324 325 325 (% class="box infomessage" %) 326 326 ((( 437 +((( 327 327 **ATZ** 328 328 ))) 440 +))) 329 329 442 +((( 330 330 Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.2AT2BMOD3D22C28DoubleDICounting29]]. 444 +))) 331 331 332 332 === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 333 333 ... ... @@ -347,44 +347,67 @@ 347 347 * FIRST: Indicate this is the first packet after join network. 348 348 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 349 349 464 +((( 350 350 (% style="color:red" %)Note: DO3 is not valid for LT-22222-L. 466 +))) 351 351 468 +((( 352 352 **To use this mode, please run:** 470 +))) 353 353 354 354 (% class="box infomessage" %) 355 355 ((( 474 +((( 356 356 **AT+MOD=4** 357 357 ))) 477 +))) 358 358 359 359 (% class="box infomessage" %) 360 360 ((( 481 +((( 361 361 **ATZ** 362 362 ))) 484 +))) 363 363 486 +((( 487 + 488 +))) 364 364 490 +((( 365 365 Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.2AT2BMOD3D22C28DoubleDICounting29]]. 492 +))) 366 366 494 +((( 367 367 **Plus below command for AVI1 Counting:** 496 +))) 368 368 369 369 (% class="box infomessage" %) 370 370 ((( 500 +((( 371 371 **AT+SETCNT=3,60 (set AVI Count to 60)** 372 372 ))) 503 +))) 373 373 374 374 (% class="box infomessage" %) 375 375 ((( 507 +((( 376 376 **AT+VOLMAX=20000 (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 377 377 ))) 510 +))) 378 378 379 379 (% class="box infomessage" %) 380 380 ((( 514 +((( 381 381 **AT+VOLMAX=20000,0 (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)** 382 382 ))) 517 +))) 383 383 384 384 (% class="box infomessage" %) 385 385 ((( 521 +((( 386 386 **AT+VOLMAX=20000,1 (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)** 387 387 ))) 524 +))) 388 388 389 389 === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 390 390 ... ... @@ -398,23 +398,35 @@ 398 398 399 399 * RO is for relay. ROx=1 : close,ROx=0 always open. 400 400 * FIRST: Indicate this is the first packet after join network. 401 -* DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 538 +* ((( 539 +DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 540 +))) 402 402 542 +((( 403 403 (% style="color:red" %)Note: DO3 is not valid for LT-22222-L. 544 +))) 404 404 546 +((( 405 405 **To use this mode, please run:** 548 +))) 406 406 407 407 (% class="box infomessage" %) 408 408 ((( 552 +((( 409 409 **AT+MOD=5** 410 410 ))) 555 +))) 411 411 412 412 (% class="box infomessage" %) 413 413 ((( 559 +((( 414 414 **ATZ** 415 415 ))) 562 +))) 416 416 564 +((( 417 417 Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.2AT2BMOD3D22C28DoubleDICounting29]]. 566 +))) 418 418 419 419 === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) === 420 420 ... ... @@ -822,8 +822,10 @@ 822 822 823 823 (% class="box infomessage" %) 824 824 ((( 974 +((( 825 825 **0xA9 aa bb cc ~/~/ Set DO1/DO2/DO3 output with time control** 826 826 ))) 977 +))) 827 827 828 828 This is to control the digital output time of DO pin. Include four bytes: 829 829 ... ... @@ -1040,7 +1040,6 @@ 1040 1040 1041 1041 [[image:image-20220524094641-11.png||height="390" width="723"]] 1042 1042 1043 - 1044 1044 [[image:image-20220524094641-12.png||height="402" width="718"]] 1045 1045 1046 1046 **Step 3**: Create an account or log in Mydevices. ... ... @@ -1099,7 +1099,7 @@ 1099 1099 1100 1100 So when sensor active, the current between NEC2501 pin1 and pin2 is: 1101 1101 1102 - IF// = DI1+ / 1K.1252 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]]** [[image:image-20220524095628-8.png]] = DI1+ / 1K.** 1103 1103 1104 1104 If DI1+ = 12v, the //IF// = 12mA , So the LT-22222-L will be able to detect this active signal. 1105 1105 ... ... @@ -1113,9 +1113,9 @@ 1113 1113 1114 1114 So when sensor active, the current between NEC2501 pin1 and pin2 is: 1115 1115 1116 -[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]] [[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]]** [[image:image-20220524095628-8.png]]= DI1+ / 1K.**1266 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]]** [[image:image-20220524095628-8.png]]= DI1+ / 1K.** 1117 1117 1118 -If **DI1+ = 24v**, the [[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]] [[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]]**[[image:image-20220524095628-8.png]]** = 24mA , So the LT-22222-L will be able to detect this high active signal.1268 +If **DI1+ = 24v**, the [[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]]**[[image:image-20220524095628-8.png]]** = 24mA , So the LT-22222-L will be able to detect this high active signal. 1119 1119 1120 1120 1121 1121 **Example3**: Connect to a 220v high active sensor. ... ... @@ -1127,7 +1127,7 @@ 1127 1127 1128 1128 So when sensor active, the current between NEC2501 pin1 and pin2 is: 1129 1129 1130 - [[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]] [[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]]**[[image:image-20220524095628-8.png]] = DI1+ / 51K.**1280 + [[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]]**[[image:image-20220524095628-8.png]] = DI1+ / 51K.** 1131 1131 1132 1132 If sensor output is 220v, the (% id="cke_bm_243359S" style="display:none" %)[[image:image-20220524095628-8.png]](%%) = DI1+ / 51K. = 4.3mA , So the LT-22222-L will be able to detect this high active signal safely. 1133 1133 ... ... @@ -1584,7 +1584,7 @@ 1584 1584 ))) 1585 1585 1586 1586 ((( 1587 -= 6. Trouble Shooting 1737 += 6. Trouble Shooting = 1588 1588 ))) 1589 1589 1590 1590 (((