Changes for page LT-22222-LA -- LoRa I/O Controller User Manual
Last modified by Kilight Cao on 2025/07/03 15:34
From version 55.4
edited by Kilight Cao
on 2025/07/03 15:15
on 2025/07/03 15:15
Change comment:
There is no comment for this version
To version 53.2
edited by Kilight Cao
on 2025/07/03 15:01
on 2025/07/03 15:01
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 2 removed)
Details
- Page properties
-
- Content
-
... ... @@ -506,7 +506,6 @@ 506 506 507 507 508 508 509 - 510 510 === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI === 511 511 512 512 ... ... @@ -545,7 +545,6 @@ 545 545 546 546 547 547 548 - 549 549 ((( 550 550 **To activate this mode, run the following AT commands:** 551 551 ))) ... ... @@ -640,7 +640,6 @@ 640 640 641 641 642 642 643 - 644 644 === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 645 645 646 646 ... ... @@ -703,7 +703,6 @@ 703 703 704 704 705 705 706 - 707 707 === 3.3.6 AT+ADDMOD~=6 (Trigger Mode, Optional) === 708 708 709 709 ... ... @@ -2284,7 +2284,6 @@ 2284 2284 2285 2285 2286 2286 2287 - 2288 2288 (% style="color:blue" %)**Example 4**(%%): Connecting to a Dry Contact sensor 2289 2289 2290 2290 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. ... ... @@ -2530,11 +2530,85 @@ 2530 2530 ))) 2531 2531 2532 2532 2528 +=== 4.2.2 Single-channel ABP mode (Use with LG01/LG02) === 2529 + 2533 2533 ((( 2534 2534 2532 + 2533 +((( 2534 +(% style="background-color:#dcdcdc" %)**123456**(%%) ~/~/ Enter the password to enable AT commands access 2535 2535 ))) 2536 +))) 2536 2536 2538 +((( 2539 +(% style="background-color:#dcdcdc" %)** AT+FDR**(%%) ~/~/ Reset parameters to Factory Default, Reserve keys 2540 +))) 2537 2537 2542 +((( 2543 +(% style="background-color:#dcdcdc" %)** 123456**(%%) ~/~/ Enter the password to enable AT command access 2544 +))) 2545 + 2546 +((( 2547 +(% style="background-color:#dcdcdc" %)** AT+CLASS=C**(%%) ~/~/ Set to CLASS C mode 2548 +))) 2549 + 2550 +((( 2551 +(% style="background-color:#dcdcdc" %)** AT+NJM=0**(%%) ~/~/ Set to ABP mode 2552 +))) 2553 + 2554 +((( 2555 +(% style="background-color:#dcdcdc" %) **AT+ADR=0**(%%) ~/~/ Set the Adaptive Data Rate Off 2556 +))) 2557 + 2558 +((( 2559 +(% style="background-color:#dcdcdc" %)** AT+DR=5**(%%) ~/~/ Set Data Rate 2560 +))) 2561 + 2562 +((( 2563 +(% style="background-color:#dcdcdc" %)** AT+TDC=60000**(%%) ~/~/ Set transmit interval to 60 seconds 2564 +))) 2565 + 2566 +((( 2567 +(% style="background-color:#dcdcdc" %)** AT+CHS=868400000**(%%) ~/~/ Set transmit frequency to 868.4 MHz 2568 +))) 2569 + 2570 +((( 2571 +(% style="background-color:#dcdcdc" %)** AT+RX2FQ=868400000**(%%) ~/~/ Set RX2 frequency to 868.4 MHz (according to the result from the server) 2572 +))) 2573 + 2574 +((( 2575 +(% style="background-color:#dcdcdc" %)** AT+RX2DR=5**(%%)** ** ~/~/ Set RX2 DR to match the downlink DR from the server. See below. 2576 +))) 2577 + 2578 +((( 2579 +(% 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. 2580 +))) 2581 + 2582 +((( 2583 +(% style="background-color:#dcdcdc" %)** ATZ** (%%) ~/~/ Reset MCU 2584 + 2585 + 2586 +))) 2587 + 2588 +((( 2589 +(% style="color:red" %)**Note:** 2590 +))) 2591 + 2592 +((( 2593 +**~1. Ensure that the device is set to ABP mode in the LoRaWAN Network Server.** 2594 + 2595 +**2. Verify that the LG01/02 gateway RX frequency matches the AT+CHS setting exactly.** 2596 + 2597 +**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.** 2598 + 2599 +**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.** 2600 +))) 2601 + 2602 +((( 2603 + 2604 +))) 2605 + 2606 + 2538 2538 === 4.2.3 Change to Class A === 2539 2539 2540 2540 ... ... @@ -2561,29 +2561,55 @@ 2561 2561 This section contains some frequently asked questions, which can help you resolve common issues and find solutions quickly. 2562 2562 2563 2563 2564 -== 6.1 OTA Firmwareupdate ==2633 +== 6.1 How to update the firmware? == 2565 2565 2566 2566 2567 -(% class="wikigeneratedid" %) 2568 -User can change firmware LT-22222-LA to: 2636 +Dragino frequently releases firmware updates for the LT-22222-L. Updating your LT-22222-L with the latest firmware version helps to: 2569 2569 2570 -* ChangeFrequency band/region.2571 -* Update withnew features.2572 -* Fixbugs.2638 +* Support new features 2639 +* Fix bugs 2640 +* Change LoRaWAN frequency bands 2573 2573 2574 - Firmwareandchangelogcan bedownloadedfrom : **[[Firmwaredownload link>>https://www.dropbox.com/sh/fis3g6nmhv0eokg/AAC6BcCZaX4BdqZkduUvZ3jIa?dl=0]]**2642 +You will need the following things before proceeding: 2575 2575 2644 +* 3.5mm programming cable (included with the LT-22222-L as an additional accessory) 2645 +* USB to TTL adapter/converter 2646 +* 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) 2647 +* 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. 2576 2576 2577 -Methods to Update Firmware: 2649 +{{info}} 2650 +As of this writing, the latest firmware version available for the LT-22222-L is v1.6.1. 2651 +{{/info}} 2578 2578 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]]**. 2653 +Below is the hardware setup for uploading a firmware image to the LT-22222-L: 2581 2581 2582 2582 2583 2583 2584 2584 2658 +Start the STM32 Flash Loader and choose the correct COM port to update. 2659 + 2585 2585 ((( 2586 2586 ((( 2662 +(% style="color:blue" %)**For LT-22222-L**(%%): 2663 + 2664 +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. 2665 +))) 2666 + 2667 + 2668 +))) 2669 + 2670 + 2671 + 2672 + 2673 + 2674 + 2675 + 2676 +(% 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: 2677 + 2678 + 2679 + 2680 +((( 2681 +((( 2587 2587 == 6.2 How to change the LoRaWAN frequency band/region? == 2588 2588 2589 2589 ... ... @@ -2597,7 +2597,7 @@ 2597 2597 ((( 2598 2598 2599 2599 2600 -== 6.3 How to set up LT-22222-L Ato work with a Single Channel Gateway, such as LG01/LG02? ==2695 +== 6.3 How to set up LT-22222-L to work with a Single Channel Gateway, such as LG01/LG02? == 2601 2601 2602 2602 2603 2603 ))) ... ... @@ -2604,7 +2604,7 @@ 2604 2604 2605 2605 ((( 2606 2606 ((( 2607 -In this case, you need to set the LT-22222-L Ato work in ABP mode and transmit on only one frequency.2702 +In this case, you need to set the LT-22222-L to work in ABP mode and transmit on only one frequency. 2608 2608 ))) 2609 2609 ))) 2610 2610 ... ... @@ -2632,7 +2632,7 @@ 2632 2632 2633 2633 2634 2634 ((( 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-L Ato operate in single-frequency and ABP mode. The AT commands are as follows:2730 +(% 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: 2636 2636 2637 2637 2638 2638 ))) ... ... @@ -2668,7 +2668,6 @@ 2668 2668 (% 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: 2669 2669 ))) 2670 2670 2671 -[[image:1653360498588-932.png]] 2672 2672 2673 2673 2674 2674 == 6.4 How to change the uplink interval? == ... ... @@ -2684,11 +2684,16 @@ 2684 2684 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. 2685 2685 2686 2686 2781 +== 6.6 Can I use point-to-point communication with LT-22222-L? == 2782 + 2783 + 2784 +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]]. 2785 + 2687 2687 2688 2688 ))) 2689 2689 2690 2690 ((( 2691 -== 6. 6Why does the relay output default to an open relay after the LT-22222-LAis powered off? ==2790 +== 6.7 Why does the relay output default to an open relay after the LT-22222-L is powered off? == 2692 2692 2693 2693 2694 2694 * If the device is not properly shut down and is directly powered off. ... ... @@ -2696,19 +2696,23 @@ 2696 2696 * In modes 2 to 5, the DO/RO status and pulse count are saved to flash memory. 2697 2697 * After a restart, the status before the power failure will be read from Flash. 2698 2698 2699 -== 6. 7Can I set up LT-22222-LAas an NC (Normally Closed) relay? ==2798 +== 6.8 Can I set up LT-22222-L as an NC (Normally Closed) relay? == 2700 2700 2701 2701 2702 -The LT-22222-L A'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:2801 +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: 2703 2703 2704 -[[image:image-20221006170630-1.png]] 2705 2705 2706 2706 2707 2707 2806 +== 6.9 Can the LT-22222-L save the RO state? == 2708 2708 2709 -== 6.8 Why does the LT-22222-LA always report 15.585V when measuring the AVI? == 2710 2710 2809 +To enable this feature, the firmware version must be 1.6.0 or higher. 2711 2711 2811 + 2812 +== 6.10 Why does the LT-22222-L always report 15.585V when measuring the AVI? == 2813 + 2814 + 2712 2712 It is likely that the GND is not connected during the measurement, or that the wire connected to the GND is loose. 2713 2713 2714 2714 ... ... @@ -2757,7 +2757,7 @@ 2757 2757 ))) 2758 2758 2759 2759 2760 -== 7.4 Why can the LT-22222-L Aperform uplink normally, but cannot receive downlink? ==2863 +== 7.4 Why can the LT-22222-L perform uplink normally, but cannot receive downlink? == 2761 2761 2762 2762 2763 2763 The FCD count of the gateway is inconsistent with the FCD count of the node, causing the downlink to remain in the queue. ... ... @@ -2767,7 +2767,7 @@ 2767 2767 = 8. Ordering information = 2768 2768 2769 2769 2770 -(% style="color:#4f81bd" %)**LT-22222-L A-XXX:**2873 +(% style="color:#4f81bd" %)**LT-22222-L-XXX:** 2771 2771 2772 2772 (% style="color:#4f81bd" %)**XXX:** 2773 2773 ... ... @@ -2786,8 +2786,8 @@ 2786 2786 2787 2787 (% style="color:#037691" %)**Package Includes**: 2788 2788 2789 -* 1 x LT-22222-L AI/O Controller2790 -* 1 x LoRa antenna matched to the frequency of the LT-22222-L A2892 +* 1 x LT-22222-L I/O Controller 2893 +* 1 x LoRa antenna matched to the frequency of the LT-22222-L 2791 2791 * 1 x bracket for DIN rail mounting 2792 2792 * 1 x 3.5 mm programming cable 2793 2793 ... ... @@ -2811,6 +2811,6 @@ 2811 2811 = 11. Reference = 2812 2812 2813 2813 2814 -* LT-22222-L A: [[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]]2917 +* 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]] 2815 2815 * [[Datasheet, Document Base>>https://www.dropbox.com/sh/gxxmgks42tqfr3a/AACEdsj_mqzeoTOXARRlwYZ2a?dl=0]] 2816 2816 * [[Hardware Source>>url:https://github.com/dragino/Lora/tree/master/LT/LT-33222-L/v1.0]]
- 1653360498588-932.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -97.5 KB - Content
- image-20221006170630-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -337.1 KB - Content