Last modified by Kilight Cao on 2025/07/03 15:34

From version 53.3
edited by Kilight Cao
on 2025/07/03 15:02
Change comment: There is no comment for this version
To version 51.1
edited by Kilight Cao
on 2025/07/03 14:56
Change comment: Uploaded new attachment "1653358355238-883.png", version {1}

Summary

Details

Page properties
Content
... ... @@ -505,7 +505,6 @@
505 505  
506 506  
507 507  
508 -
509 509  === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI ===
510 510  
511 511  
... ... @@ -543,7 +543,6 @@
543 543  
544 544  
545 545  
546 -
547 547  (((
548 548  **To activate this mode, run the following AT commands:**
549 549  )))
... ... @@ -637,7 +637,6 @@
637 637  
638 638  
639 639  
640 -
641 641  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
642 642  
643 643  
... ... @@ -699,7 +699,6 @@
699 699  
700 700  
701 701  
702 -
703 703  === 3.3.6 AT+ADDMOD~=6 (Trigger Mode, Optional) ===
704 704  
705 705  
... ... @@ -2279,7 +2279,6 @@
2279 2279  
2280 2280  
2281 2281  
2282 -
2283 2283  (% style="color:blue" %)**Example 4**(%%): Connecting to a Dry Contact sensor
2284 2284  
2285 2285  From the DI port circuit above, activating the photocoupler requires a voltage difference between the DI+ and DI- ports. However, the Dry Contact sensor is a passive component and cannot provide this voltage difference on its own.
... ... @@ -2409,26 +2409,25 @@
2409 2409  (((
2410 2410  You can use a USB-to-TTL adapter/converter along with a 3.5mm Program Cable to connect the LT-22222-LA to a PC, as shown below.
2411 2411  
2412 -(% title="Click and drag to resize" %)​​[[image:1751525987713-642.png]]​
2407 +(% title="Click and drag to resize" %)​​
2413 2413  
2414 2414  
2415 2415  )))
2416 2416  
2417 2417  (((
2418 -On the PC, you need to set the (% style="color:#4f81bd" %)**serial tool **(%%)(such as [[PuTTY>>url:https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]] or [[SecureCRT>>https://www.vandyke.com/cgi-bin/releases.php?product=securecrt]]) to a baud rate of (% style="color:green" %)**9600**(%%) to access the serial console of LT-22222-LA. Access to AT commands is disabled by default, and a password (default: (% style="color:green" %)**123456**)(%%) must be entered to enable AT command access, as shown below:
2413 +On the PC, you need to set the (% style="color:#4f81bd" %)**serial tool **(%%)(such as [[PuTTY>>url:https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]] or [[SecureCRT>>https://www.vandyke.com/cgi-bin/releases.php?product=securecrt]]) to a baud rate of (% style="color:green" %)**9600**(%%) to access the serial console of LT-22222-L. Access to AT commands is disabled by default, and a password (default: (% style="color:green" %)**123456**)(%%) must be entered to enable AT command access, as shown below:
2419 2419  )))
2420 2420  
2421 -[[image:1653358355238-883.png]]
2422 2422  
2423 2423  
2424 2424  (((
2425 -== 4.2 LT-22222-LA related AT commands ==
2419 +== 4.2 LT-22222-L related AT commands ==
2426 2426  
2427 2427  
2428 2428  )))
2429 2429  
2430 2430  (((
2431 -The following is the list of all the AT commands related to the LT-22222-LA, except for those used for switching between working modes.
2425 +The following is the list of all the AT commands related to the LT-22222-L, except for those used for switching between working modes.
2432 2432  
2433 2433  * **##AT##+<CMD>?** : Help on <CMD>
2434 2434  * **##AT##+<CMD>** : Run <CMD>
... ... @@ -2525,11 +2525,85 @@
2525 2525  )))
2526 2526  
2527 2527  
2522 +=== 4.2.2 Single-channel ABP mode (Use with LG01/LG02) ===
2523 +
2528 2528  (((
2529 2529  
2526 +
2527 +(((
2528 +(% style="background-color:#dcdcdc" %)**123456**(%%)  ~/~/ Enter the password to enable AT commands access
2530 2530  )))
2530 +)))
2531 2531  
2532 +(((
2533 +(% style="background-color:#dcdcdc" %)** AT+FDR**(%%)  ~/~/ Reset parameters to Factory Default, Reserve keys
2534 +)))
2532 2532  
2536 +(((
2537 +(% style="background-color:#dcdcdc" %)** 123456**(%%)  ~/~/ Enter the password to enable AT command access
2538 +)))
2539 +
2540 +(((
2541 +(% style="background-color:#dcdcdc" %)** AT+CLASS=C**(%%)  ~/~/ Set to CLASS C mode
2542 +)))
2543 +
2544 +(((
2545 +(% style="background-color:#dcdcdc" %)** AT+NJM=0**(%%)  ~/~/ Set to ABP mode
2546 +)))
2547 +
2548 +(((
2549 +(% style="background-color:#dcdcdc" %) **AT+ADR=0**(%%)  ~/~/ Set the Adaptive Data Rate Off
2550 +)))
2551 +
2552 +(((
2553 +(% style="background-color:#dcdcdc" %)** AT+DR=5**(%%)  ~/~/ Set Data Rate
2554 +)))
2555 +
2556 +(((
2557 +(% style="background-color:#dcdcdc" %)** AT+TDC=60000**(%%)  ~/~/ Set transmit interval to 60 seconds
2558 +)))
2559 +
2560 +(((
2561 +(% style="background-color:#dcdcdc" %)** AT+CHS=868400000**(%%)  ~/~/ Set transmit frequency to 868.4 MHz
2562 +)))
2563 +
2564 +(((
2565 +(% style="background-color:#dcdcdc" %)** AT+RX2FQ=868400000**(%%)  ~/~/ Set RX2 frequency to 868.4 MHz (according to the result from the server)
2566 +)))
2567 +
2568 +(((
2569 +(% style="background-color:#dcdcdc" %)** AT+RX2DR=5**(%%)** ** ~/~/ Set RX2 DR to match the downlink DR from the server. See below.
2570 +)))
2571 +
2572 +(((
2573 +(% style="background-color:#dcdcdc" %)** AT+DADDR=26 01 1A F1** (%%) ~/~/ Set Device Address. The Device Address can be found in the application on the LoRaWAN NS.
2574 +)))
2575 +
2576 +(((
2577 +(% style="background-color:#dcdcdc" %)** ATZ**         (%%) ~/~/ Reset MCU
2578 +
2579 +
2580 +)))
2581 +
2582 +(((
2583 +(% style="color:red" %)**Note:**
2584 +)))
2585 +
2586 +(((
2587 +**~1. Ensure that the device is set to ABP mode in the LoRaWAN Network Server.**
2588 +
2589 +**2. Verify that the LG01/02 gateway RX frequency matches the AT+CHS setting exactly.**
2590 +
2591 +**3. Make sure the SF/bandwidth settings in the LG01/LG02 match the settings of AT+DR. Refer to [[this link>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/&file=LoRaWAN%201.0.3%20Regional%20Parameters.xlsx]] to see what DR means.**
2592 +
2593 +**4. The commands AT+RX2FQ and AT+RX2DR enable downlink functionality. To set the correct parameters, you can check the actual downlink parameters to be used as shown below. Here, RX2FQ should be set to 868400000 and RX2DR should be set to 5.**
2594 +)))
2595 +
2596 +(((
2597 +
2598 +)))
2599 +
2600 +
2533 2533  === 4.2.3 Change to Class A ===
2534 2534  
2535 2535  
1751525987713-642.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Kilight
Size
... ... @@ -1,1 +1,0 @@
1 -96.0 KB
Content