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 57.1
edited by Kilight Cao
on 2025/07/03 15:22
on 2025/07/03 15:22
Change comment:
There is no comment for this version
To version 52.1
edited by Kilight Cao
on 2025/07/03 14:56
on 2025/07/03 14:56
Change comment:
Uploaded new attachment "1653358355238-883.png", version {1}
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 3 removed)
Details
- Page properties
-
- Content
-
... ... @@ -171,7 +171,7 @@ 171 171 == 2.3 Connecting LT-22222-LA to a Power Source == 172 172 173 173 174 -The LT-22222-L AI/O Controller can be powered by a **7–24V DC** power source. Connect your power supply’s **positive wire** to the **VIN** and the **negative wire** to the **GND** screw terminals. The power indicator **(PWR) LED** will turn on when the device is properly powered.174 +The LT-22222-L I/O Controller can be powered by a **7–24V DC** power source. Connect your power supply’s **positive wire** to the **VIN** and the **negative wire** to the **GND** screw terminals. The power indicator **(PWR) LED** will turn on when the device is properly powered. 175 175 176 176 {{warning}} 177 177 **We recommend that you power on the LT-22222-LA after adding its registration information to the LoRaWAN network server. Otherwise, the device will continuously send join-request messages to attempt to join a LoRaWAN network but will fail.** ... ... @@ -506,8 +506,6 @@ 506 506 507 507 508 508 509 - 510 - 511 511 === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI === 512 512 513 513 ... ... @@ -546,8 +546,6 @@ 546 546 547 547 548 548 549 - 550 - 551 551 ((( 552 552 **To activate this mode, run the following AT commands:** 553 553 ))) ... ... @@ -642,8 +642,6 @@ 642 642 643 643 644 644 645 - 646 - 647 647 === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 648 648 649 649 ... ... @@ -706,8 +706,6 @@ 706 706 707 707 708 708 709 - 710 - 711 711 === 3.3.6 AT+ADDMOD~=6 (Trigger Mode, Optional) === 712 712 713 713 ... ... @@ -2288,8 +2288,6 @@ 2288 2288 2289 2289 2290 2290 2291 - 2292 - 2293 2293 (% style="color:blue" %)**Example 4**(%%): Connecting to a Dry Contact sensor 2294 2294 2295 2295 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. ... ... @@ -2419,26 +2419,25 @@ 2419 2419 ((( 2420 2420 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. 2421 2421 2422 -(% title="Click and drag to resize" %) [[image:1751525987713-642.png]]2412 +(% title="Click and drag to resize" %) 2423 2423 2424 2424 2425 2425 ))) 2426 2426 2427 2427 ((( 2428 -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 A. 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: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-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: 2429 2429 ))) 2430 2430 2431 -[[image:1653358355238-883.png]] 2432 2432 2433 2433 2434 2434 ((( 2435 -== 4.2 LT-22222-L Arelated AT commands ==2424 +== 4.2 LT-22222-L related AT commands == 2436 2436 2437 2437 2438 2438 ))) 2439 2439 2440 2440 ((( 2441 -The following is the list of all the AT commands related to the LT-22222-L A, except for those used for switching between working modes.2430 +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. 2442 2442 2443 2443 * **##AT##+<CMD>?** : Help on <CMD> 2444 2444 * **##AT##+<CMD>** : Run <CMD> ... ... @@ -2535,11 +2535,85 @@ 2535 2535 ))) 2536 2536 2537 2537 2527 +=== 4.2.2 Single-channel ABP mode (Use with LG01/LG02) === 2528 + 2538 2538 ((( 2539 2539 2531 + 2532 +((( 2533 +(% style="background-color:#dcdcdc" %)**123456**(%%) ~/~/ Enter the password to enable AT commands access 2540 2540 ))) 2535 +))) 2541 2541 2537 +((( 2538 +(% style="background-color:#dcdcdc" %)** AT+FDR**(%%) ~/~/ Reset parameters to Factory Default, Reserve keys 2539 +))) 2542 2542 2541 +((( 2542 +(% style="background-color:#dcdcdc" %)** 123456**(%%) ~/~/ Enter the password to enable AT command access 2543 +))) 2544 + 2545 +((( 2546 +(% style="background-color:#dcdcdc" %)** AT+CLASS=C**(%%) ~/~/ Set to CLASS C mode 2547 +))) 2548 + 2549 +((( 2550 +(% style="background-color:#dcdcdc" %)** AT+NJM=0**(%%) ~/~/ Set to ABP mode 2551 +))) 2552 + 2553 +((( 2554 +(% style="background-color:#dcdcdc" %) **AT+ADR=0**(%%) ~/~/ Set the Adaptive Data Rate Off 2555 +))) 2556 + 2557 +((( 2558 +(% style="background-color:#dcdcdc" %)** AT+DR=5**(%%) ~/~/ Set Data Rate 2559 +))) 2560 + 2561 +((( 2562 +(% style="background-color:#dcdcdc" %)** AT+TDC=60000**(%%) ~/~/ Set transmit interval to 60 seconds 2563 +))) 2564 + 2565 +((( 2566 +(% style="background-color:#dcdcdc" %)** AT+CHS=868400000**(%%) ~/~/ Set transmit frequency to 868.4 MHz 2567 +))) 2568 + 2569 +((( 2570 +(% style="background-color:#dcdcdc" %)** AT+RX2FQ=868400000**(%%) ~/~/ Set RX2 frequency to 868.4 MHz (according to the result from the server) 2571 +))) 2572 + 2573 +((( 2574 +(% style="background-color:#dcdcdc" %)** AT+RX2DR=5**(%%)** ** ~/~/ Set RX2 DR to match the downlink DR from the server. See below. 2575 +))) 2576 + 2577 +((( 2578 +(% 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. 2579 +))) 2580 + 2581 +((( 2582 +(% style="background-color:#dcdcdc" %)** ATZ** (%%) ~/~/ Reset MCU 2583 + 2584 + 2585 +))) 2586 + 2587 +((( 2588 +(% style="color:red" %)**Note:** 2589 +))) 2590 + 2591 +((( 2592 +**~1. Ensure that the device is set to ABP mode in the LoRaWAN Network Server.** 2593 + 2594 +**2. Verify that the LG01/02 gateway RX frequency matches the AT+CHS setting exactly.** 2595 + 2596 +**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.** 2597 + 2598 +**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.** 2599 +))) 2600 + 2601 +((( 2602 + 2603 +))) 2604 + 2605 + 2543 2543 === 4.2.3 Change to Class A === 2544 2544 2545 2545 ... ... @@ -2557,7 +2557,7 @@ 2557 2557 == 5.1 Counting how many objects pass through the flow line == 2558 2558 2559 2559 2560 -See [[How to set up to setup counting for objects passing through the flow line>> https://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/How%20to%20set%20up%20to%20count%20objects%20pass%20in%20flow%20line/]].2623 +See [[How to set up to setup counting for objects passing through the flow line>>How to set up to count objects pass in flow line]]. 2561 2561 2562 2562 2563 2563 = 6. FAQ = ... ... @@ -2566,29 +2566,55 @@ 2566 2566 This section contains some frequently asked questions, which can help you resolve common issues and find solutions quickly. 2567 2567 2568 2568 2569 -== 6.1 OTA Firmwareupdate ==2632 +== 6.1 How to update the firmware? == 2570 2570 2571 2571 2572 -(% class="wikigeneratedid" %) 2573 -User can change firmware LT-22222-LA to: 2635 +Dragino frequently releases firmware updates for the LT-22222-L. Updating your LT-22222-L with the latest firmware version helps to: 2574 2574 2575 -* ChangeFrequency band/region.2576 -* Update withnew features.2577 -* Fixbugs.2637 +* Support new features 2638 +* Fix bugs 2639 +* Change LoRaWAN frequency bands 2578 2578 2579 - Firmwareandchangelogcan bedownloadedfrom : **[[Firmwaredownload link>>https://www.dropbox.com/sh/fis3g6nmhv0eokg/AAC6BcCZaX4BdqZkduUvZ3jIa?dl=0]]**2641 +You will need the following things before proceeding: 2580 2580 2643 +* 3.5mm programming cable (included with the LT-22222-L as an additional accessory) 2644 +* USB to TTL adapter/converter 2645 +* 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) 2646 +* 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. 2581 2581 2582 -Methods to Update Firmware: 2648 +{{info}} 2649 +As of this writing, the latest firmware version available for the LT-22222-L is v1.6.1. 2650 +{{/info}} 2583 2583 2584 -* (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/]]** 2585 -* 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]]**. 2652 +Below is the hardware setup for uploading a firmware image to the LT-22222-L: 2586 2586 2587 2587 2588 2588 2589 2589 2657 +Start the STM32 Flash Loader and choose the correct COM port to update. 2658 + 2590 2590 ((( 2591 2591 ((( 2661 +(% style="color:blue" %)**For LT-22222-L**(%%): 2662 + 2663 +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. 2664 +))) 2665 + 2666 + 2667 +))) 2668 + 2669 + 2670 + 2671 + 2672 + 2673 + 2674 + 2675 +(% 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: 2676 + 2677 + 2678 + 2679 +((( 2680 +((( 2592 2592 == 6.2 How to change the LoRaWAN frequency band/region? == 2593 2593 2594 2594 ... ... @@ -2596,13 +2596,13 @@ 2596 2596 ))) 2597 2597 2598 2598 ((( 2599 -You can follow the introductions on [[how to upgrade the image>> https://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-LA/#H6.1OTAFirmwareupdate]]. When downloading, select the required image file.2688 +You can follow the introductions on [[how to upgrade the image>>||anchor="H6.1Howtoupdatethefirmware3F"]]. When downloading, select the required image file. 2600 2600 ))) 2601 2601 2602 2602 ((( 2603 2603 2604 2604 2605 -== 6.3 How to set up LT-22222-L Ato work with a Single Channel Gateway, such as LG01/LG02? ==2694 +== 6.3 How to set up LT-22222-L to work with a Single Channel Gateway, such as LG01/LG02? == 2606 2606 2607 2607 2608 2608 ))) ... ... @@ -2609,7 +2609,7 @@ 2609 2609 2610 2610 ((( 2611 2611 ((( 2612 -In this case, you need to set the LT-22222-L Ato work in ABP mode and transmit on only one frequency.2701 +In this case, you need to set the LT-22222-L to work in ABP mode and transmit on only one frequency. 2613 2613 ))) 2614 2614 ))) 2615 2615 ... ... @@ -2632,12 +2632,12 @@ 2632 2632 ))) 2633 2633 2634 2634 {{warning}} 2635 -Ensure that the Device Address (DevAddr) and the two keys match between the LT-22222-L Aand The Things Stack. You can modify them either in The Things Stack or on the LT-22222-LAto make them align. In The Things Stack, you can configure the NwkSKey and AppSKey on the settings page, but note that the Device Address is generated by The Things Stack.2724 +Ensure that the Device Address (DevAddr) and the two keys match between the LT-22222-L and The Things Stack. You can modify them either in The Things Stack or on the LT-22222-L to make them align. In The Things Stack, you can configure the NwkSKey and AppSKey on the settings page, but note that the Device Address is generated by The Things Stack. 2636 2636 {{/warning}} 2637 2637 2638 2638 2639 2639 ((( 2640 -(% 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:2729 +(% 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: 2641 2641 2642 2642 2643 2643 ))) ... ... @@ -2673,7 +2673,6 @@ 2673 2673 (% 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: 2674 2674 ))) 2675 2675 2676 -[[image:1653360498588-932.png]] 2677 2677 2678 2678 2679 2679 == 6.4 How to change the uplink interval? == ... ... @@ -2689,11 +2689,16 @@ 2689 2689 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. 2690 2690 2691 2691 2780 +== 6.6 Can I use point-to-point communication with LT-22222-L? == 2781 + 2782 + 2783 +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]]. 2784 + 2692 2692 2693 2693 ))) 2694 2694 2695 2695 ((( 2696 -== 6. 6Why does the relay output default to an open relay after the LT-22222-LAis powered off? ==2789 +== 6.7 Why does the relay output default to an open relay after the LT-22222-L is powered off? == 2697 2697 2698 2698 2699 2699 * If the device is not properly shut down and is directly powered off. ... ... @@ -2701,19 +2701,23 @@ 2701 2701 * In modes 2 to 5, the DO/RO status and pulse count are saved to flash memory. 2702 2702 * After a restart, the status before the power failure will be read from Flash. 2703 2703 2704 -== 6. 7Can I set up LT-22222-LAas an NC (Normally Closed) relay? ==2797 +== 6.8 Can I set up LT-22222-L as an NC (Normally Closed) relay? == 2705 2705 2706 2706 2707 -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:2800 +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: 2708 2708 2709 -[[image:image-20221006170630-1.png]] 2710 2710 2711 2711 2712 2712 2805 +== 6.9 Can the LT-22222-L save the RO state? == 2713 2713 2714 -== 6.8 Why does the LT-22222-LA always report 15.585V when measuring the AVI? == 2715 2715 2808 +To enable this feature, the firmware version must be 1.6.0 or higher. 2716 2716 2810 + 2811 +== 6.10 Why does the LT-22222-L always report 15.585V when measuring the AVI? == 2812 + 2813 + 2717 2717 It is likely that the GND is not connected during the measurement, or that the wire connected to the GND is loose. 2718 2718 2719 2719 ... ... @@ -2762,7 +2762,7 @@ 2762 2762 ))) 2763 2763 2764 2764 2765 -== 7.4 Why can the LT-22222-L Aperform uplink normally, but cannot receive downlink? ==2862 +== 7.4 Why can the LT-22222-L perform uplink normally, but cannot receive downlink? == 2766 2766 2767 2767 2768 2768 The FCD count of the gateway is inconsistent with the FCD count of the node, causing the downlink to remain in the queue. ... ... @@ -2772,7 +2772,7 @@ 2772 2772 = 8. Ordering information = 2773 2773 2774 2774 2775 -(% style="color:#4f81bd" %)**LT-22222-L A-XXX:**2872 +(% style="color:#4f81bd" %)**LT-22222-L-XXX:** 2776 2776 2777 2777 (% style="color:#4f81bd" %)**XXX:** 2778 2778 ... ... @@ -2791,8 +2791,8 @@ 2791 2791 2792 2792 (% style="color:#037691" %)**Package Includes**: 2793 2793 2794 -* 1 x LT-22222-L AI/O Controller2795 -* 1 x LoRa antenna matched to the frequency of the LT-22222-L A2891 +* 1 x LT-22222-L I/O Controller 2892 +* 1 x LoRa antenna matched to the frequency of the LT-22222-L 2796 2796 * 1 x bracket for DIN rail mounting 2797 2797 * 1 x 3.5 mm programming cable 2798 2798 ... ... @@ -2816,6 +2816,6 @@ 2816 2816 = 11. Reference = 2817 2817 2818 2818 2819 -* 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]]2916 +* 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]] 2820 2820 * [[Datasheet, Document Base>>https://www.dropbox.com/sh/gxxmgks42tqfr3a/AACEdsj_mqzeoTOXARRlwYZ2a?dl=0]] 2821 2821 * [[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
- 1751525987713-642.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -96.0 KB - Content
- image-20221006170630-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -337.1 KB - Content