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

From version 50.1
edited by Kilight Cao
on 2025/07/03 14:44
Change comment: There is no comment for this version
To version 55.4
edited by Kilight Cao
on 2025/07/03 15:15
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -505,6 +505,8 @@
505 505  
506 506  
507 507  
508 +
509 +
508 508  === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI ===
509 509  
510 510  
... ... @@ -542,6 +542,8 @@
542 542  
543 543  
544 544  
547 +
548 +
545 545  (((
546 546  **To activate this mode, run the following AT commands:**
547 547  )))
... ... @@ -635,6 +635,8 @@
635 635  
636 636  
637 637  
642 +
643 +
638 638  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
639 639  
640 640  
... ... @@ -696,6 +696,8 @@
696 696  
697 697  
698 698  
705 +
706 +
699 699  === 3.3.6 AT+ADDMOD~=6 (Trigger Mode, Optional) ===
700 700  
701 701  
... ... @@ -2275,6 +2275,8 @@
2275 2275  
2276 2276  
2277 2277  
2286 +
2287 +
2278 2278  (% style="color:blue" %)**Example 4**(%%): Connecting to a Dry Contact sensor
2279 2279  
2280 2280  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.
... ... @@ -2404,25 +2404,26 @@
2404 2404  (((
2405 2405  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.
2406 2406  
2407 -(% title="Click and drag to resize" %)​​
2417 +(% title="Click and drag to resize" %)​​[[image:1751525987713-642.png]]​
2408 2408  
2409 2409  
2410 2410  )))
2411 2411  
2412 2412  (((
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:
2423 +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:
2414 2414  )))
2415 2415  
2426 +[[image:1653358355238-883.png]]
2416 2416  
2417 2417  
2418 2418  (((
2419 -== 4.2 LT-22222-L related AT commands ==
2430 +== 4.2 LT-22222-LA related AT commands ==
2420 2420  
2421 2421  
2422 2422  )))
2423 2423  
2424 2424  (((
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.
2436 +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.
2426 2426  
2427 2427  * **##AT##+<CMD>?** : Help on <CMD>
2428 2428  * **##AT##+<CMD>** : Run <CMD>
... ... @@ -2519,85 +2519,11 @@
2519 2519  )))
2520 2520  
2521 2521  
2522 -=== 4.2.2 Single-channel ABP mode (Use with LG01/LG02) ===
2523 -
2524 2524  (((
2525 2525  
2526 -
2527 -(((
2528 -(% style="background-color:#dcdcdc" %)**123456**(%%)  ~/~/ Enter the password to enable AT commands access
2529 2529  )))
2530 -)))
2531 2531  
2532 -(((
2533 -(% style="background-color:#dcdcdc" %)** AT+FDR**(%%)  ~/~/ Reset parameters to Factory Default, Reserve keys
2534 -)))
2535 2535  
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 -
2601 2601  === 4.2.3 Change to Class A ===
2602 2602  
2603 2603  
... ... @@ -2624,55 +2624,29 @@
2624 2624  This section contains some frequently asked questions, which can help you resolve common issues and find solutions quickly.
2625 2625  
2626 2626  
2627 -== 6.1 How to update the firmware? ==
2564 +== 6.1 OTA Firmware update ==
2628 2628  
2629 2629  
2630 -Dragino frequently releases firmware updates for the LT-22222-L. Updating your LT-22222-L with the latest firmware version helps to:
2567 +(% class="wikigeneratedid" %)
2568 +User can change firmware LT-22222-LA to:
2631 2631  
2632 -* Support new features
2633 -* Fix bugs
2634 -* Change LoRaWAN frequency bands
2570 +* Change Frequency band/ region.
2571 +* Update with new features.
2572 +* Fix bugs.
2635 2635  
2636 -You will need the following things before proceeding:
2574 +Firmware and changelog can be downloaded from : **[[Firmware download link>>https://www.dropbox.com/sh/fis3g6nmhv0eokg/AAC6BcCZaX4BdqZkduUvZ3jIa?dl=0]]**
2637 2637  
2638 -* 3.5mm programming cable (included with the LT-22222-L as an additional accessory)
2639 -* USB to TTL adapter/converter
2640 -* Download and install the [[STM32 Flash loader>>url:https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/flasher-stm32.html]]. (replaced by STM32CubeProgrammer)
2641 -* Download the latest firmware image from [[LT-22222-L firmware image files>>https://www.dropbox.com/sh/g99v0fxcltn9r1y/AACrbrDN0AqLHbBat0ViWx5Da/LT-22222-L/Firmware?dl=0&subfolder_nav_tracking=1]]. Check the file name of the firmware to find the correct region.
2642 2642  
2643 -{{info}}
2644 -As of this writing, the latest firmware version available for the LT-22222-L is v1.6.1.
2645 -{{/info}}
2577 +Methods to Update Firmware:
2646 2646  
2647 -Below is the hardware setup for uploading a firmware image to the LT-22222-L:
2579 +* (Recommanded way) OTA firmware update via wireless : **[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/]]**
2580 +* Update through UART TTL interface : **[[Instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware]]**.
2648 2648  
2649 2649  
2650 2650  
2651 2651  
2652 -Start the STM32 Flash Loader and choose the correct COM port to update.
2653 -
2654 2654  (((
2655 2655  (((
2656 -(% style="color:blue" %)**For LT-22222-L**(%%):
2657 -
2658 -Hold down the **PRO** button, then briefly press the **RST** button. The **DO1** LED will change from OFF to ON. When the **DO1** LED is ON, it indicates that the device is in firmware download mode.
2659 -)))
2660 -
2661 -
2662 -)))
2663 -
2664 -
2665 -
2666 -
2667 -
2668 -
2669 -
2670 -(% style="color:red" %)**Note**(%%): If you have lost the programming cable, you can make one from a 3.5 mm cable. The pin mapping is as follows:
2671 -
2672 -
2673 -
2674 -(((
2675 -(((
2676 2676  == 6.2 How to change the LoRaWAN frequency band/region? ==
2677 2677  
2678 2678  
... ... @@ -2686,7 +2686,7 @@
2686 2686  (((
2687 2687  
2688 2688  
2689 -== 6.3 How to set up LT-22222-L to work with a Single Channel Gateway, such as LG01/LG02? ==
2600 +== 6.3 How to set up LT-22222-LA to work with a Single Channel Gateway, such as LG01/LG02? ==
2690 2690  
2691 2691  
2692 2692  )))
... ... @@ -2693,7 +2693,7 @@
2693 2693  
2694 2694  (((
2695 2695  (((
2696 -In this case, you need to set the LT-22222-L to work in ABP mode and transmit on only one frequency.
2607 +In this case, you need to set the LT-22222-LA to work in ABP mode and transmit on only one frequency.
2697 2697  )))
2698 2698  )))
2699 2699  
... ... @@ -2721,7 +2721,7 @@
2721 2721  
2722 2722  
2723 2723  (((
2724 -(% style="color:blue" %)**Step 2**(%%)**:  **(% style="color:#000000; font-family:Arial,sans-serif; font-size:11pt; font-style:normal; font-variant-alternates:normal; font-variant-east-asian:normal; font-variant-ligatures:normal; font-variant-numeric:normal; font-variant-position:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Run AT commands to configure the LT-22222-L to operate in single-frequency and ABP mode. The AT commands are as follows:
2635 +(% style="color:blue" %)**Step 2**(%%)**:  **(% style="color:#000000; font-family:Arial,sans-serif; font-size:11pt; font-style:normal; font-variant-alternates:normal; font-variant-east-asian:normal; font-variant-ligatures:normal; font-variant-numeric:normal; font-variant-position:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Run AT commands to configure the LT-22222-LA to operate in single-frequency and ABP mode. The AT commands are as follows:
2725 2725  
2726 2726  
2727 2727  )))
... ... @@ -2757,6 +2757,7 @@
2757 2757  (% style="color:#000000; font-family:Arial,sans-serif; font-size:11pt; font-style:normal; font-variant-alternates:normal; font-variant-east-asian:normal; font-variant-ligatures:normal; font-variant-numeric:normal; font-variant-position:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)The following figure shows the screenshot of the command set above, issued using a serial tool:
2758 2758  )))
2759 2759  
2671 +[[image:1653360498588-932.png]]
2760 2760  
2761 2761  
2762 2762  == 6.4 How to change the uplink interval? ==
... ... @@ -2772,16 +2772,11 @@
2772 2772  You can run the AT command **AT+DEBUG** to view the counting event in the serial output. If the firmware is too old and doesn’t support AT+DEBUG, update to the latest firmware first.
2773 2773  
2774 2774  
2775 -== 6.6 Can I use point-to-point communication with LT-22222-L? ==
2776 -
2777 -
2778 -Yes, you can. Please refer to the [[Point-to-Point Communication of LT-22222-L>>https://wiki.dragino.com/xwiki/bin/view/Main/%20Point%20to%20Point%20Communication%20of%20LT-22222-L/]] page. The firmware that supports point-to-point communication can be found [[here>>https://github.com/dragino/LT-22222-L/releases]].
2779 -
2780 2780  
2781 2781  )))
2782 2782  
2783 2783  (((
2784 -== 6.7 Why does the relay output default to an open relay after the LT-22222-L is powered off? ==
2691 +== 6.6 Why does the relay output default to an open relay after the LT-22222-LA is powered off? ==
2785 2785  
2786 2786  
2787 2787  * If the device is not properly shut down and is directly powered off.
... ... @@ -2789,23 +2789,19 @@
2789 2789  * In modes 2 to 5, the DO/RO status and pulse count are saved to flash memory.
2790 2790  * After a restart, the status before the power failure will be read from Flash.
2791 2791  
2792 -== 6.8 Can I set up LT-22222-L as an NC (Normally Closed) relay? ==
2699 +== 6.7 Can I set up LT-22222-LA as an NC (Normally Closed) relay? ==
2793 2793  
2794 2794  
2795 -The LT-22222-L's built-in relay is Normally Open (NO). You can use an external relay to achieve a Normally Closed (NC) configuration. The circuit diagram is shown below:
2702 +The LT-22222-LA's built-in relay is Normally Open (NO). You can use an external relay to achieve a Normally Closed (NC) configuration. The circuit diagram is shown below:
2796 2796  
2704 +[[image:image-20221006170630-1.png]]
2797 2797  
2798 2798  
2799 2799  
2800 -== 6.9 Can the LT-22222-L save the RO state? ==
2801 2801  
2709 +== 6.8 Why does the LT-22222-LA always report 15.585V when measuring the AVI? ==
2802 2802  
2803 -To enable this feature, the firmware version must be 1.6.0 or higher.
2804 2804  
2805 -
2806 -== 6.10 Why does the LT-22222-L always report 15.585V when measuring the AVI? ==
2807 -
2808 -
2809 2809  It is likely that the GND is not connected during the measurement, or that the wire connected to the GND is loose.
2810 2810  
2811 2811  
... ... @@ -2854,7 +2854,7 @@
2854 2854  )))
2855 2855  
2856 2856  
2857 -== 7.4 Why can the LT-22222-L perform uplink normally, but cannot receive downlink? ==
2760 +== 7.4 Why can the LT-22222-LA perform uplink normally, but cannot receive downlink? ==
2858 2858  
2859 2859  
2860 2860  The FCD count of the gateway is inconsistent with the FCD count of the node, causing the downlink to remain in the queue.
... ... @@ -2864,7 +2864,7 @@
2864 2864  = 8. Ordering information =
2865 2865  
2866 2866  
2867 -(% style="color:#4f81bd" %)**LT-22222-L-XXX:**
2770 +(% style="color:#4f81bd" %)**LT-22222-LA-XXX:**
2868 2868  
2869 2869  (% style="color:#4f81bd" %)**XXX:**
2870 2870  
... ... @@ -2883,8 +2883,8 @@
2883 2883  
2884 2884  (% style="color:#037691" %)**Package Includes**:
2885 2885  
2886 -* 1 x LT-22222-L I/O Controller
2887 -* 1 x LoRa antenna matched to the frequency of the LT-22222-L
2789 +* 1 x LT-22222-LA I/O Controller
2790 +* 1 x LoRa antenna matched to the frequency of the LT-22222-LA
2888 2888  * 1 x bracket for DIN rail mounting
2889 2889  * 1 x 3.5 mm programming cable
2890 2890  
... ... @@ -2908,6 +2908,6 @@
2908 2908  = 11. Reference​​​​​ =
2909 2909  
2910 2910  
2911 -* 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]]
2814 +* LT-22222-LA: [[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]]
2912 2912  * [[Datasheet, Document Base>>https://www.dropbox.com/sh/gxxmgks42tqfr3a/AACEdsj_mqzeoTOXARRlwYZ2a?dl=0]]
2913 2913  * [[Hardware Source>>url:https://github.com/dragino/Lora/tree/master/LT/LT-33222-L/v1.0]]
1653358355238-883.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +114.3 KB
Content
1653360498588-932.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +97.5 KB
Content
1751525987713-642.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +96.0 KB
Content
image-20221006170630-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +337.1 KB
Content