Changes for page LT-22222-L -- LoRa I/O Controller User Manual
Last modified by Mengting Qiu on 2025/06/04 18:42
From version 188.1
edited by Bei Jinggeng
on 2024/11/11 09:50
on 2024/11/11 09:50
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 12 added, 0 removed)
- Screenshot 2024-11-23 at 18.27.11.png
- Screenshot 2024-12-08 193946.png
- dragino-lorawan-nw-lt-22222-n.jpg
- dragino-ttn-te.jpg
- lorawan-nw.jpg
- lt-22222-l-abp.png
- lt-22222-l-dashboard.png
- lt-22222-l-joining.png
- lt-22222-l-js-custom-payload-formatter.png
- lt33222-l.jpg
- usb-ttl-audio-jack-connection.jpg
- usb-ttl-programming.png
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Bei1 +XWiki.Xiaoling - Content
-
... ... @@ -1,5 +1,5 @@ 1 1 (% style="text-align:center" %) 2 -[[image:image-20220523163353-1.jpeg||height="604" width="500"]] 2 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220523163353-1.jpeg?width=500&height=604&rev=1.1||alt="image-20220523163353-1.jpeg" height="604" width="500"]] 3 3 4 4 5 5 ... ... @@ -9,7 +9,105 @@ 9 9 10 10 **Table of Contents:** 11 11 12 -{{toc/}} 12 +* [[1. Introduction>>path:#H1.Introduction]] 13 +** [[1.1 What is the LT-22222-L I/O Controller?>>path:#H1.1WhatistheLT-22222-LI2FOController3F]] 14 +** [[1.2 Specifications>>path:#H1.2A0Specifications]] 15 +** [[1.3 Features>>path:#H1.3A0Features]] 16 +** [[1.4 Applications>>path:#H1.4A0Applications]] 17 +** [[1.5 Hardware Variants>>path:#H1.5A0HardwareVariants]] 18 +* [[2. Assembling the device>>path:#H2.A0Assemblingthedevice]] 19 +** [[2.1 Connecting the antenna>>path:#H2.1Connectingtheantenna]] 20 +** [[2.2 Terminals>>path:#H2.2Terminals]] 21 +** [[2.3 Connecting LT-22222-L to a Power Source>>path:#H2.3ConnectingLT-22222-LtoaPowerSource]] 22 +* [[3. Registering LT-22222-L with a LoRaWAN Network Server>>path:#H3.RegisteringLT-22222-LwithaLoRaWANNetworkServer]] 23 +** [[3.1 Prerequisites>>path:#H3.1Prerequisites]] 24 +** [[3.2 The Things Stack>>path:#H3.2TheThingsStack]] 25 +*** [[3.2.1 Setting up>>path:#H3.2.1Settingup]] 26 +**** [[3.2.1.1 Using the LoRaWAN Device Repository>>path:#H3.2.1.1UsingtheLoRaWANDeviceRepository]] 27 +**** [[3.2.1.2 Adding device manually>>path:#H3.2.1.2Addingdevicemanually]] 28 +*** [[3.2.2 Joining>>path:#H3.2.2Joining]] 29 +*** [[3.2.3 Uplinks>>path:#H3.2.3Uplinks]] 30 +*** [[3.2.4 Downlinks>>path:#H3.2.4Downlinks]] 31 +** [[3.3 Working Modes and Uplink Payload formats>>path:#H3.3WorkingModesandUplinkPayloadformats]] 32 +*** [[3.3.1 AT+MOD=1, 2ACI+2AVI>>path:#H3.3.1A0AT2BMOD3D12C2ACI2B2AVI]] 33 +*** [[3.3.2 AT+MOD=2, (Double DI Counting)>>path:#H3.3.2AT2BMOD3D22C28DoubleDICounting29]] 34 +*** [[3.3.3 AT+MOD=3, Single DI Counting + 2 x ACI>>path:#H3.3.3AT2BMOD3D32CSingleDICounting2B2xACI]] 35 +*** [[3.3.4 AT+MOD=4, Single DI Counting + 1 x Voltage Counting>>path:#H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting]] 36 +*** [[3.3.5 AT+MOD=5, Single DI Counting + 2 x AVI + 1 x ACI>>path:#H3.3.5AT2BMOD3D52CSingleDICounting2B2xAVI2B1xACI]] 37 +*** [[3.3.6 AT+ADDMOD=6 (Trigger Mode, Optional)>>path:#H3.3.6AT2BADDMOD3D628TriggerMode2COptional29]] 38 +*** [[3.3.7 Payload Decoder>>path:#H3.3.7PayloadDecoder]] 39 +** [[3.4 Configure LT-22222-L via AT Commands or Downlinks>>path:#H3.4200BConfigureLT-22222-LviaATCommandsorDownlinks]] 40 +*** [[3.4.1 Common commands>>path:#H3.4.1Commoncommands]] 41 +*** [[3.4.2 Sensor-related commands>>path:#H3.4.2Sensor-relatedcommands]] 42 +**** [[3.4.2.1 Set Transmit/Uplink Interval>>path:#H3.4.2.1SetTransmit2FUplinkInterval]] 43 +**** [[3.4.2.2 Set the Working Mode (AT+MOD)>>path:#H3.4.2.2SettheWorkingMode28AT2BMOD29]] 44 +**** [[3.4.2.3 Request an uplink from the device>>path:#H3.4.2.3RequestA0anuplinkfromthedevice]] 45 +**** [[3.4.2.4 Enable/Disable Trigger Mode>>path:#H3.4.2.4Enable2FDisableTriggerMode]] 46 +**** [[3.4.2.5 Request trigger settings>>path:#H3.4.2.5RequestA0triggersettings]] 47 +**** [[3.4.2.6 Enable/Disable DI1/DI2/DI3 as a trigger>>path:#H3.4.2.6Enable2FDisableDI12FDI22FDI3asatrigger]] 48 +**** [[3.4.2.7 Trigger1 – Set DI1 or DI3 as a trigger>>path:#H3.4.2.7Trigger12013SetDI1orDI3asatrigger]] 49 +**** [[3.4.2.8 Trigger2 – Set DI2 as a trigger>>path:#H3.4.2.8Trigger22013SetDI2asatrigger]] 50 +**** [[3.4.2.9 Trigger – Set AC (current) as a trigger>>path:#H3.4.2.9Trigger2013SetAC28current29asatrigger]] 51 +**** [[3.4.2.10 Trigger – Set AV (voltage) as trigger>>path:#H3.4.2.10Trigger2013SetAV28voltage29astrigger]] 52 +**** [[3.4.2.11 Trigger – Set the minimum interval>>path:#H3.4.2.11Trigger2013Settheminimuminterval]] 53 +**** [[3.4.2.12 DO ~~-~~- Control Digital Output DO1/DO2/DO3>>path:#H3.4.2.12DO--ControlDigitalOutputDO12FDO22FDO3]] 54 +**** [[3.4.2.13 DO ~~-~~- Control Digital Output DO1/DO2/DO3 with time control>>path:#H3.4.2.13DO--ControlDigitalOutputDO12FDO22FDO3withtimecontrol]] 55 +**** [[3.4.2.14 Relay ~~-~~- Control Relay Output RO1/RO2>>path:#H3.4.2.14Relay--ControlRelayOutputRO12FRO2]] 56 +**** [[3.4.2.15 Relay ~~-~~- Control Relay Output RO1/RO2 with time control>>path:#H3.4.2.15Relay--ControlRelayOutputRO12FRO2withtimecontrol]] 57 +**** [[3.4.2.16 Counting ~~-~~- Voltage threshold counting>>path:#H3.4.2.16Counting--Voltagethresholdcounting]] 58 +**** [[3.4.2.17 Counting ~~-~~- Pre-configure the Count Number>>path:#H3.4.2.17Counting--Pre-configuretheCountNumber]] 59 +**** [[3.4.2.18 Counting ~~-~~- Clear Counting>>path:#H3.4.2.18Counting--ClearCounting]] 60 +**** [[3.4.2.19 Counting ~~-~~- Set Saving Interval for 'Counting Result'>>path:#H3.4.2.19Counting--SetSavingIntervalfor27CountingResult27]] 61 +**** [[3.4.2.20 Reset saved RO and DO states>>path:#H3.4.2.20A0ResetsavedROandDOstates]] 62 +**** [[3.4.2.21 Encrypted payload>>path:#H3.4.2.21A0Encryptedpayload]] 63 +**** [[3.4.2.22 Get sensor value>>path:#H3.4.2.22A0Getsensorvalue]] 64 +**** [[3.4.2.23 Resetting the downlink packet count>>path:#H3.4.2.23Resettingthedownlinkpacketcount]] 65 +**** [[3.4.2.24 When the limit bytes are exceeded, upload in batches>>path:#H3.4.2.24Whenthelimitbytesareexceeded2Cuploadinbatches]] 66 +**** [[3.4.2.25 Copy downlink to uplink>>path:#H3.4.2.25A0Copydownlinktouplink]] 67 +**** [[3.4.2.26 Query firmware version, frequency band, subband, and TDC time>>path:#H3.4.2.26Queryfirmwareversion2Cfrequencyband2Csubband2CandTDCtime]] 68 +** [[3.5 Integrating with ThingsEye.io>>path:#H3.5IntegratingwithThingsEye.io]] 69 +*** [[3.5.1 Configuring The Things Stack>>path:#H3.5.1ConfiguringTheThingsStack]] 70 +*** [[3.5.2 Configuring ThingsEye.io>>path:#H3.5.2ConfiguringThingsEye.io]] 71 +**** [[3.5.2.1 Viewing integration details>>path:#H3.5.2.1Viewingintegrationdetails]] 72 +**** [[3.5.2.2 Viewing events>>path:#H3.5.2.2Viewingevents]] 73 +**** [[3.5.2.3 Deleting an integration>>path:#H3.5.2.3Deletinganintegration]] 74 +**** [[3.5.2.4 Viewing sensor data on a dashboard>>path:#H3.5.2.4Viewingsensordataonadashboard]] 75 +** [[3.6 Interface Details>>path:#H3.6InterfaceDetails]] 76 +*** [[3.6.1 Digital Input Ports: DI1/DI2/DI3 (For LT-33222-L, Low Active)>>path:#H3.6.1DigitalInputPorts:DI12FDI22FDI328ForLT-33222-L2CLowActive29]] 77 +*** [[3.6.2 Digital Input Ports: DI1/DI2>>path:#H3.6.2DigitalInputPorts:DI12FDI2]] 78 +*** [[3.6.3 Digital Output Ports: DO1/DO2>>path:#H3.6.3DigitalOutputPorts:DO12FDO2]] 79 +*** [[3.6.4 Analog Input Interfaces>>path:#H3.6.4AnalogInputInterfaces]] 80 +*** [[3.6.5 Relay Output>>path:#H3.6.5RelayOutput]] 81 +** [[3.7 LED Indicators>>path:#H3.7LEDIndicators]] 82 +* [[4. Using AT Commands>>path:#H4.UsingATCommands]] 83 +** [[4.1 Connecting the LT-22222-L to a PC>>path:#H4.1ConnectingtheLT-22222-LtoaPC]] 84 +** [[4.2 LT-22222-L related AT commands>>path:#H4.2LT-22222-LrelatedATcommands]] 85 +** [[4.2 Common AT Command Sequence>>path:#H4.2CommonATCommandSequence]] 86 +*** [[4.2.1 Multi-channel ABP mode (Use with SX1301/LG308)>>path:#H4.2.1Multi-channelABPmode28UsewithSX13012FLG30829]] 87 +*** [[4.2.2 Single-channel ABP mode (Use with LG01/LG02)>>path:#H4.2.2Single-channelABPmode28UsewithLG012FLG0229]] 88 +*** [[4.2.3 Change to Class A>>path:#H4.2.3ChangetoClassA]] 89 +* [[5. Case Study>>path:#H5.CaseStudy]] 90 +** [[5.1 Counting how many objects pass through the flow line>>path:#H5.1Countinghowmanyobjectspassthroughtheflowline]] 91 +* [[6. FAQ>>path:#H6.FAQ]] 92 +** [[6.1 How to update the firmware?>>path:#H6.1Howtoupdatethefirmware3F]] 93 +** [[6.2 How to change the LoRaWAN frequency band/region?>>path:#H6.2HowtochangetheLoRaWANfrequencyband2Fregion3F]] 94 +** [[6.3 How to set up LT-22222-L to work with a Single Channel Gateway, such as LG01/LG02?>>path:#H6.3HowtosetupLT-22222-LtoworkwithaSingleChannelGateway2CsuchasLG012FLG023F]] 95 +** [[6.4 How to change the uplink interval?>>path:#H6.4Howtochangetheuplinkinterval3F]] 96 +** [[6.5 Can I see the counting event in the serial output?>>path:#H6.5CanIseethecountingeventintheserialoutput3F]] 97 +** [[6.6 Can I use point-to-point communication with LT-22222-L?>>path:#H6.6CanIusepoint-to-pointcommunicationwithLT-22222-L3F]] 98 +** [[6.7 Why does the relay output default to an open relay after the LT-22222-L is powered off?>>path:#H6.7WhydoestherelayoutputdefaulttoanopenrelayaftertheLT-22222-Lispoweredoff3F]] 99 +** [[6.8 Can I set up LT-22222-L as an NC (Normally Closed) relay?>>path:#H6.8CanIsetupLT-22222-LasanNC28NormallyClosed29relay3F]] 100 +** [[6.9 Can the LT-22222-L save the RO state?>>path:#H6.9CantheLT-22222-LsavetheROstate3F]] 101 +** [[6.10 Why does the LT-22222-L always report 15.585V when measuring the AVI?>>path:#H6.10WhydoestheLT-22222-Lalwaysreport15.585VwhenmeasuringtheAVI3F]] 102 +* [[7. Troubleshooting>>path:#H7.Troubleshooting]] 103 +** [[7.1 Downlink isn't working. How can I solve this?>>path:#H7.1Downlinkisn27tworking.HowcanIsolvethis3F]] 104 +** [[7.2 Having trouble uploading an image?>>path:#H7.2Havingtroubleuploadinganimage3F]] 105 +** [[7.3 Why can't I join TTN in the US915 /AU915 bands?>>path:#H7.3Whycan27tIjoinTTNintheUS9152FAU915bands3F]] 106 +** [[7.4 Why can the LT-22222-L perform uplink normally, but cannot receive downlink?>>path:#H7.4WhycantheLT-22222-Lperformuplinknormally2Cbutcannotreceivedownlink3F]] 107 +* [[8. Ordering information>>path:#H8.Orderinginformation]] 108 +* [[9. Package information>>path:#H9.Packageinformation]] 109 +* [[10. Support>>path:#H10.Support]] 110 +* [[11. Reference>>path:#H11.Reference200B200B200B200B200B]] 13 13 14 14 15 15 ... ... @@ -21,10 +21,16 @@ 21 21 22 22 == 1.1 What is the LT-22222-L I/O Controller? == 23 23 122 + 24 24 ((( 25 25 ((( 26 -The Dragino (% style="color:blue" %)**LT-22222-L I/O Controller**(%%) is an advanced LoRaWAN device designed to provide seamless wireless long-range connectivity with various I/O options, including analog current and voltage inputs, digital inputs and outputs, and relay outputs. 125 +(% class="box infomessage" %) 126 +((( 127 +**This manual is also applicable to the LT-33222-L.** 128 +))) 27 27 130 +The Dragino (% style="color:blue" %)**LT-22222-L I/O Controller**(%%) is an advanced LoRaWAN end device designed to provide seamless wireless long-range connectivity with various I/O options, including analog current and voltage inputs, digital inputs and outputs, and relay outputs. 131 + 28 28 The LT-22222-L I/O Controller simplifies and enhances I/O monitoring and controlling. It is ideal for professional applications in wireless sensor networks, including irrigation systems, smart metering, smart cities, building automation, and more. These controllers are designed for easy, cost-effective deployment using LoRa wireless technology. 29 29 ))) 30 30 ))) ... ... @@ -36,23 +36,24 @@ 36 36 ((( 37 37 You can connect the LT-22222-L I/O Controller to a LoRaWAN network service provider in several ways: 38 38 39 -* If there is public LoRaWAN network coverage in the area where you plan to install the device (e.g., The Things Network), you can select a network and register the LT-22222-L I/O controller with it. 143 +* If there is public LoRaWAN network coverage in the area where you plan to install the device (e.g., The Things Stack Community Network), you can select a network and register the LT-22222-L I/O controller with it. 40 40 * If there is no public LoRaWAN coverage in your area, you can set up a LoRaWAN gateway, or multiple gateways, and connect them to a LoRaWAN network server to create adequate coverage. Then, register the LT-22222-L I/O controller with this network. 41 41 * Setup your own private LoRaWAN network. 42 - 43 -{{info}} 44 - You can use a LoRaWAN gateway, such as the [[Dragino LG308>>https://www.dragino.com/products/lora-lorawan-gateway/item/140-lg308.html]], to expand or create LoRaWAN coverage in your area. 45 -{{/info}} 46 46 ))) 47 47 48 48 ((( 49 -[[image:1653295757274-912.png]] 50 - 51 51 150 + 151 +The network diagram below illustrates how the LT-22222-L communicates with a typical LoRaWAN network. 52 52 ))) 53 53 154 +(% class="wikigeneratedid" %) 155 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/lorawan-nw.jpg?width=900&height=354&rev=1.1||alt="lorawan-nw.jpg" height="354" width="900"]] 156 + 157 + 54 54 == 1.2 Specifications == 55 55 160 + 56 56 (% style="color:#037691" %)**Hardware System:** 57 57 58 58 * STM32L072xxxx MCU ... ... @@ -94,6 +94,7 @@ 94 94 95 95 == 1.3 Features == 96 96 202 + 97 97 * LoRaWAN Class A & Class C modes 98 98 * Optional Customized LoRa Protocol 99 99 * Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/RU864/IN865/MA869 ... ... @@ -104,6 +104,7 @@ 104 104 105 105 == 1.4 Applications == 106 106 213 + 107 107 * Smart buildings & home automation 108 108 * Logistics and supply chain management 109 109 * Smart metering ... ... @@ -114,14 +114,14 @@ 114 114 == 1.5 Hardware Variants == 115 115 116 116 117 -(% border="1" cellspacing=" 4" style="background-color:#f2f2f2;width:500px" %)118 -|(% style="background-color:#4f81bd; color:white; width: 103px" %)**Model**|(% style="background-color:#4f81bd; color:white; width:131px" %)**Photo**|(% style="background-color:#4f81bd; color:white; width:266px" %)**Description**119 -|(% style="width: 103px" %)**LT22222-L**|(% style="width:131px" %)(((224 +(% border="1" cellspacing="3" style="width:510px" %) 225 +|(% style="background-color:#4f81bd; color:white; width:94px" %)**Model**|(% style="background-color:#4f81bd; color:white; width:172px" %)**Photo**|(% style="background-color:#4f81bd; color:white; width:244px" %)**Description** 226 +|(% style="width:94px" %)**LT-33222-L**|(% style="width:172px" %)((( 120 120 (% style="text-align:center" %) 121 -[[image:i mage-20230424115112-1.png||height="106" width="58"]]122 -)))|(% style="width: 334px" %)(((123 -* 2x Digital Input (Bi-direction)124 -* 2x Digital Output228 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/lt33222-l.jpg?width=95&height=110&rev=1.1||alt="lt33222-l.jpg" height="110" width="95"]] 229 +)))|(% style="width:256px" %)((( 230 +* 3 x Digital Input (Bi-direction) 231 +* 3 x Digital Output 125 125 * 2 x Relay Output (5A@250VAC / 30VDC) 126 126 * 2 x 0~~20mA Analog Input (res:0.01mA) 127 127 * 2 x 0~~30V Analog Input (res:0.01v) ... ... @@ -132,87 +132,115 @@ 132 132 133 133 == 2.1 Connecting the antenna == 134 134 242 + 135 135 Connect the LoRa antenna to the antenna connector, **ANT**,** **located on the top right side of the device, next to the upper screw terminal block. Secure the antenna by tightening it clockwise. 136 136 137 -{{warning}} 138 -Warning! Do not power on the device without connecting the antenna. 139 -{{/warning}} 245 +(% class="box warningmessage" %) 246 +((( 247 +**Warning! Do not power on the device without connecting the antenna.** 248 +))) 140 140 250 + 141 141 == 2.2 Terminals == 142 142 143 -The LT-22222-L has two screw terminal blocks. The upper screw treminal block has 6 terminals and the lower screw terminal block has 10 terminals. 144 144 145 - Upperscrew terminal block(from left to right):254 +The LT-22222-L has two screw terminal blocks. The upper screw terminal block has 6 screw terminals and the lower screw terminal block has 10 screw terminals. 146 146 147 -(% style="width:634px" %) 148 -|=(% style="width: 295px;" %)Terminal|=(% style="width: 338px;" %)Function 149 -|(% style="width:295px" %)GND|(% style="width:338px" %)Ground 150 -|(% style="width:295px" %)VIN|(% style="width:338px" %)Input Voltage 151 -|(% style="width:295px" %)AVI2|(% style="width:338px" %)Analog Voltage Input Terminal 2 152 -|(% style="width:295px" %)AVI1|(% style="width:338px" %)Analog Voltage Input Terminal 1 153 -|(% style="width:295px" %)ACI2|(% style="width:338px" %)Analog Current Input Terminal 2 154 -|(% style="width:295px" %)ACI1|(% style="width:338px" %)Analog Current Input Terminal 1 256 +**Upper screw terminal block (from left to right):** 155 155 156 -Lower screw terminal block (from left to right): 258 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:381px" %) 259 +|=(% style="width: 139px;background-color:#4f81bd;color:white" %)Screw Terminal|=(% style="width: 242px;background-color:#4f81bd;color:white" %)Function 260 +|(% style="width:139px" %)GND|(% style="width:242px" %)Ground 261 +|(% style="width:139px" %)VIN|(% style="width:242px" %)Input Voltage 262 +|(% style="width:139px" %)AVI2|(% style="width:242px" %)Analog Voltage Input Terminal 2 263 +|(% style="width:139px" %)AVI1|(% style="width:242px" %)Analog Voltage Input Terminal 1 264 +|(% style="width:139px" %)ACI2|(% style="width:242px" %)Analog Current Input Terminal 2 265 +|(% style="width:139px" %)ACI1|(% style="width:242px" %)Analog Current Input Terminal 1 157 157 158 -(% style="width:633px" %) 159 -|=(% style="width: 296px;" %)Terminal|=(% style="width: 334px;" %)Function 160 -|(% style="width:296px" %)RO1-2|(% style="width:334px" %)Relay Output 1 161 -|(% style="width:296px" %)RO1-1|(% style="width:334px" %)Relay Output 1 162 -|(% style="width:296px" %)RO2-2|(% style="width:334px" %)Relay Output 2 163 -|(% style="width:296px" %)RO2-1|(% style="width:334px" %)Relay Output 2 164 -|(% style="width:296px" %)DI2+|(% style="width:334px" %)Digital Input 2 165 -|(% style="width:296px" %)DI2-|(% style="width:334px" %)Digital Input 2 166 -|(% style="width:296px" %)DI1+|(% style="width:334px" %)Digital Input 1 167 -|(% style="width:296px" %)DI1-|(% style="width:334px" %)Digital Input 1 168 -|(% style="width:296px" %)DO2|(% style="width:334px" %)Digital Output 2 169 -|(% style="width:296px" %)DO1|(% style="width:334px" %)Digital Output 1 267 +**Lower screw terminal block (from left to right):** 170 170 171 -== 2.3 Powering the device == 269 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:253px" %) 270 +|=(% style="width: 125px;background-color:#4f81bd;color:white" %)Screw Terminal|=(% style="width: 128px;background-color:#4f81bd;color:white" %)Function 271 +|(% style="width:125px" %)RO1-2|(% style="width:128px" %)Relay Output 1 272 +|(% style="width:125px" %)RO1-1|(% style="width:128px" %)Relay Output 1 273 +|(% style="width:125px" %)RO2-2|(% style="width:128px" %)Relay Output 2 274 +|(% style="width:125px" %)RO2-1|(% style="width:128px" %)Relay Output 2 275 +|(% style="width:125px" %)DI2+|(% style="width:128px" %)Digital Input 2 276 +|(% style="width:125px" %)DI2-|(% style="width:128px" %)Digital Input 2 277 +|(% style="width:125px" %)DI1+|(% style="width:128px" %)Digital Input 1 278 +|(% style="width:125px" %)DI1-|(% style="width:128px" %)Digital Input 1 279 +|(% style="width:125px" %)DO2|(% style="width:128px" %)Digital Output 2 280 +|(% style="width:125px" %)DO1|(% style="width:128px" %)Digital Output 1 172 172 173 - TheLT-22222-LI/OController canbepowered by a **7–24V DC** power source. Connectyour power supply’s positive wire to the VIN and the negativewiretothe GND screw terminals.The powerindicator **(PWR) LED** will turn on when the deviceis properly powered.282 +== 2.3 Connecting LT-22222-L to a Power Source == 174 174 175 -Once powered, the **TX LED** will **fast-blink 5 times** which means the LT-22222-L will enter the **work mode** and start to **join** The Things Stack. The **TX LED** will be on for **5 seconds** after joining the network. When there is a **downlink** message from the server, the **RX LED** will be on for **1 second**. When the device is sending an uplink message to the server, the **TX LED** will be on for **1 second**. See also LED status. 176 176 177 -{{warning}} 178 -We recommend that you power on the LT-22222-L after configuring its registration information with a LoRaWAN network server. Otherwise, the device will continuously send join-request messages to attempt to join a LoRaWAN network but will fail. 179 -{{/warning}} 285 +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. 180 180 287 +(% class="box warningmessage" %) 288 +((( 289 +**We recommend that you power on the LT-22222-L 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.** 290 +))) 181 181 182 -[[image:1653297104069-180.png]] 183 183 293 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/1653297104069-180.png?rev=1.1||alt="1653297104069-180.png"]] 184 184 185 -= 3. Registering with a LoRaWAN Network Server = 186 186 187 - Bydefault,theLT-22222-L is configured to operatein LoRaWAN Class C mode. Itsupports OTAA (Over-the-Air Activation), the most secure method for activatinga device with aLoRaWAN network server.The LT-22222-Lcomeswithdevice registrationinformation that allows you to register it with aLoRaWANnetwork,enabling the device to perform OTAA activation with thenetworkserver upon initial power-up and after any subsequent reboots.296 += 3. Registering LT-22222-L with a LoRaWAN Network Server = 188 188 189 -After powering on, the **TX LED** will **fast-blink 5 times** which means the LT-22222-L will enter the **work mode** and start to **join** the LoRaWAN network. The **TX LED** will be on for **5 seconds** after joining the network. When there is a **downlink** message from the server, the **RX LED** will be on for **1 second**. When the device is sending an uplink message to the server, the **TX LED** will be on for **1 second**. See also LED status. 190 190 191 - In caseyoucan'tset therootkeyandotheridentifiersnetworkserverandmustuse themfromtheserver,youcanuse[[ATCommands>>||anchor="H4.UseATCommand"]]to configure themonthe device.299 +The LT-22222-L supports both OTAA (Over-the-Air Activation) and ABP (Activation By Personalization) methods to activate with a LoRaWAN Network Server. However, OTAA is the most secure method for activating a device with a LoRaWAN Network Server. OTAA regenerates session keys upon initial registration and regenerates new session keys after any subsequent reboots. By default, the LT-22222-L is configured to operate in LoRaWAN Class C mode. 192 192 193 -The network diagram below shows how the LT-22222-L is connected to a typical LoRaWAN network. 194 194 195 - [[image:image-20220523172350-1.png||height="266" width="864"]]302 +== 3.1 Prerequisites == 196 196 197 -=== 3.2.1 Prerequisites === 198 198 199 - Makesureyou have thedevice registration information such as DevEUI, AppEUI, and AppKey with you. Theregistration information can be found on a sticker that can be found inside the package. Please keep the **registration information** sticker in a safe place for future reference.305 +The LT-22222-L comes with device registration information such as DevEUI, AppEUI, and AppKey which allows you to register it with a LoRaWAN network. This registration information can be found on a sticker that can be found inside the package. Please keep the **registration information** sticker in a safe place for future reference. 200 200 201 -[[image:image-20230425173427-2.png||height="246" width="530"]] 307 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20230425173427-2.png?width=530&height=246&rev=1.1||alt="image-20230425173427-2.png" height="246" width="530"]] 202 202 309 +(% class="box infomessage" %) 310 +((( 311 +If you are unable to set the provided root key and other identifiers in the network server, you must generate new keys and identifiers with the network server and configure the device with them using AT commands. 312 +))) 313 + 203 203 The following subsections explain how to register the LT-22222-L with different LoRaWAN network server providers. 204 204 205 -=== 3.2.2 The Things Stack Sandbox (TTSS) === 206 206 317 +== 3.2 The Things Stack == 318 + 319 + 320 +This section guides you through how to register your LT-22222-L with The Things Stack Sandbox. 321 + 322 +(% class="box infomessage" %) 323 +((( 207 207 The Things Stack Sandbox was formally called The Things Stack Community Edition. 325 +))) 208 208 209 -* Log in to your [[The Things Stack Sandbox>>https://eu1.cloud.thethings.network]] account. 210 -* Create an application with The Things Stack if you do not have one yet. 211 -* Go to your application page and click on the **End devices** in the left menu. 327 + 328 +The network diagram below illustrates the connection between the LT-22222-L and The Things Stack, as well as how the data can be integrated with the ThingsEye IoT platform. 329 + 330 + 331 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/dragino-lorawan-nw-lt-22222-n.jpg?width=1400&height=374&rev=1.1||alt="dragino-lorawan-nw-lt-22222-n.jpg" height="374" width="1400"]] 332 + 333 +(% class="box infomessage" %) 334 +((( 335 + You can use a LoRaWAN gateway, such as the [[Dragino LPS8N>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/200-lps8n.html]], to expand or create LoRaWAN coverage in your area. 336 +))) 337 + 338 + 339 +=== 3.2.1 Setting up === 340 + 341 + 342 +* Sign up for a free account with [[The Things Stack Sandbox>>url:https://eu1.cloud.thethings.network]] if you do not have one yet. 343 +* Log in to your The Things Stack Sandbox account. 344 +* Create an **application** with The Things Stack if you do not have one yet (E.g., dragino-docs). 345 +* Go to your application's page and click on the **End devices** in the left menu. 212 212 * On the End devices page, click on **+ Register end device**. Two registration options are available: 213 213 214 -==== 3.2. 2.1 Using the LoRaWAN Device Repository ====348 +==== 3.2.1.1 Using the LoRaWAN Device Repository ==== 215 215 350 + 216 216 * On the **Register end device** page: 217 217 ** Select the option **Select the end device in the LoRaWAN Device Repository **under **Input method**. 218 218 ** Select the **End device brand**, **Model**, **Hardware version**, **Firmware version**, and **Profile (Region)** from the respective dropdown lists. ... ... @@ -223,7 +223,7 @@ 223 223 *** **Profile (Region)**: Select the region that matches your device. 224 224 ** Select the **Frequency plan** that matches your device from the **Frequency plan** dropdown list. 225 225 226 -[[image:lt-22222-l-dev-repo-reg-p1.png|| height="625" width="1000"]]361 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/lt-22222-l-dev-repo-reg-p1.png?rev=1.1||alt="lt-22222-l-dev-repo-reg-p1.png"]] 227 227 228 228 229 229 * Register end device page continued... ... ... @@ -230,15 +230,21 @@ 230 230 ** Enter the **AppEUI** in the **JoinEUI** field and click the **Confirm** button. If The Things Stack accepts the JoinEUI you provided, it will display the message 'This end device can be registered on the network'. 231 231 ** In the **DevEUI** field, enter the **DevEUI**. 232 232 ** In the **AppKey** field, enter the **AppKey.** 233 -** In the **End device ID** field, enter a unique name for your LT-22222- Nwithin this application.368 +** In the **End device ID** field, enter a unique name for your LT-22222-L within this application. 234 234 ** Under **After registration**, select the **View registered end device** option. 370 +** Click **Register end device** button. 235 235 236 -[[image:lt-22222-l-dev-repo-reg-p2.png|| height="625" width="1000"]]372 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/lt-22222-l-dev-repo-reg-p2.png?rev=1.1||alt="lt-22222-l-dev-repo-reg-p2.png"]] 237 237 238 -==== ==== 239 239 240 - ====3.2.2.2Addingmanually====375 +* You will be navigated to the **Device overview** page. 241 241 377 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/lt-22222-device-overview.png?rev=1.1||alt="lt-22222-device-overview.png"]] 378 + 379 + 380 +==== 3.2.1.2 Adding device manually ==== 381 + 382 + 242 242 * On the **Register end device** page: 243 243 ** Select the option **Enter end device specifies manually** under **Input method**. 244 244 ** Select the **Frequency plan** that matches your device from the **Frequency plan** dropdown list. ... ... @@ -248,11 +248,11 @@ 248 248 ** Select the option **Over the air activation (OTAA)** under the **Activation mode.** 249 249 ** Select **Class C (Continuous)** from the **Additional LoRaWAN class capabilities** dropdown list. 250 250 251 -[[image:lt-22222-l-manually-p1.png ||height="625" width="1000"]]392 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/lt-22222-l-manually-p1.png?rev=1.2||alt="lt-22222-l-manually-p1.png"]] 252 252 253 253 254 254 * Register end device page continued... 255 -** Enter the **AppEUI** in the **JoinEUI** field and click the **Confirm** button. If The Things Stack accepts the JoinEUI you provided, it will display the message 'This end device can be registered on the network' 396 +** Enter the **AppEUI** in the **JoinEUI** field and click the **Confirm** button. If The Things Stack accepts the JoinEUI you provided, it will display the message '//**This end device can be registered on the network**//' 256 256 ** In the **DevEUI** field, enter the **DevEUI**. 257 257 ** In the **AppKey** field, enter the **AppKey**. 258 258 ** In the **End device ID** field, enter a unique name for your LT-22222-N within this application. ... ... @@ -259,46 +259,63 @@ 259 259 ** Under **After registration**, select the **View registered end device** option. 260 260 ** Click the **Register end device** button. 261 261 262 -[[image:lt-22222-l-manually-p2.png|| height="625"width="1000"]]403 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/lt-22222-l-manually-p2.png?rev=1.3||alt="lt-22222-l-manually-p2.png"]] 263 263 264 264 265 265 You will be navigated to the **Device overview** page. 266 266 267 267 268 -[[image:lt-22222-device-overview.png|| height="625" width="1000"]]409 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/lt-22222-device-overview.png?rev=1.1||alt="lt-22222-device-overview.png"]] 269 269 270 270 271 -=== =3.2.2.3Joining ====412 +=== 3.2.2 Joining === 272 272 273 -On the Device overview page, click on **Live data** tab. The Live data panel for your device will display. 274 274 275 - Nowpoweronyour LT-22222-L. It will beginjoiningThe ThingsStack.Inthe**Live data**panel,you can see the**join-request**and**join-accept** messagesexchangedbetween the device and the networkserver. Once successfullyjoined,thedevice willsendtsfirst **uplink datamessage** to the applicationitbelongs to (in thisexample, **dragino-docs**).415 +On the end device's page (in this case, lt-22222-l), click on **Live data** tab. The Live data panel for your device will display. Initially, it is blank. 276 276 417 +Now power on your LT-22222-L. The **TX LED** will **fast-blink 5 times** which means the LT-22222-L will enter the **work mode** and start to **join** The Things Stack network server. The **TX LED** will be on for **5 seconds** after joining the network. In the **Live data** panel, you can see the **join-request** and **join-accept** messages exchanged between the device and the network server. 277 277 278 -[[image:lt-22222-join-network.png||height="625" width="1000"]] 279 279 420 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/lt-22222-l-joining.png?rev=1.2||alt="lt-22222-l-joining.png"]] 280 280 281 -By default, you will receive an uplink data message from the device every 10 minutes. 282 282 283 - Clickonone of a **Forward uplinkdata messages**to see its payload content. The payload content is encapsulated within the decode_payload {} JSON object.423 +=== 3.2.3 Uplinks === 284 284 285 -[[image:lt-22222-ul-payload-decoded.png]] 286 286 426 +After successfully joining, the device will send its first **uplink data message** to The Things Stack application it belongs to (in this example, it is **dragino-docs**). When the LT-22222-L sends an uplink message to the server, the **TX LED** turns on for **1 second**. By default, you will receive an uplink data message from the device every 10 minutes. 287 287 288 - Ifyou can'tsee the decodedpayload,itis because youhaven't added the uplink formattercode.To add theuplinkformattercode,select**Enddevices**> **LT-22222-L** > **Payloadformatters** > **Uplink**. Thenselect**UseDevicerepository formatters**forthe**Formatter type**ropdown. Click the**Save changes**buttontoapply thehanges.428 +Click on one of the **Forward uplink data messages **to see its payload content. The payload content is encapsulated within the **decode_payload {}** JSON object. 289 289 290 -{{info}} 430 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/lt-22222-ul-payload-decoded.png?rev=1.1||alt="lt-22222-ul-payload-decoded.png"]] 431 + 432 + 433 +If you can't see the decoded payload, it is because you haven't added the uplink formatter code. To add the uplink formatter code, select **Applications > [your application] > End devices** > [**your end device]** > **Payload formatters** > **Uplink**. Then select **Use Device repository formatters** for the **Formatter type** dropdown. Click the **Save changes** button to apply the changes. 434 + 435 +(% class="box infomessage" %) 436 +((( 291 291 The Things Stack provides two levels of payload formatters: application level and device level. The device-level payload formatters **override **the application-level payload formatters. 292 - {{/info}}438 +))) 293 293 294 -[[image:lt-22222-ul-payload-fmt.png|| height="686" width="1000"]]440 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/lt-22222-ul-payload-fmt.png?rev=1.1||alt="lt-22222-ul-payload-fmt.png"]] 295 295 296 296 297 - ==3.3WorkModesandUplinkPayload formats==443 +We have written a payload formatter that resolves some decoding issues present in The Things Stack Device Repository payload formatter. You can add it under the **Custom JavaScript formatter**. It can be found [[here>>url:https://github.com/dragino/dragino-end-node-decoder/blob/main/LT22222-L/v1.6_decoder_ttn%20.txt]]: 298 298 445 +(% class="wikigeneratedid" %) 446 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/lt-22222-l-js-custom-payload-formatter.png?rev=1.1||alt="lt-22222-l-js-custom-payload-formatter.png"]] 299 299 300 -The LT-22222-L has 5 **work modes**. It also has an interrupt/trigger mode for different types of applications that can be used together with any work mode as an additional feature. The default mode is MOD1 and you can switch between these modes using AT commands. 301 301 449 +=== 3.2.4 Downlinks === 450 + 451 + 452 +When the LT-22222-L receives a downlink message from the LoRaWAN Network Server, the **RX LED** turns on for **1 second**. 453 + 454 + 455 +== 3.3 Working Modes and Uplink Payload formats == 456 + 457 + 458 +The LT-22222-L has 5 **working modes**. It also has an interrupt/trigger mode for different types of applications that can be used together with any working mode as an additional feature. The default mode is MOD1 and you can switch between these modes using AT commands. 459 + 302 302 * (% style="color:blue" %)**MOD1**(%%): (default mode/factory set): 2ACI + 2AVI + DI + DO + RO 303 303 304 304 * (% style="color:blue" %)**MOD2**(%%): Double DI Counting + DO + RO ... ... @@ -311,19 +311,18 @@ 311 311 312 312 * (% style="color:blue" %)**ADDMOD6**(%%): Trigger Mode, Optional, used together with MOD1 ~~ MOD5 313 313 314 -The uplink messages are sent over LoRaWAN FPort 472 +The uplink messages are sent over LoRaWAN FPort=2. By default, an uplink message is sent every 10 minutes. 315 315 474 + 316 316 === 3.3.1 AT+MOD~=1, 2ACI+2AVI === 317 317 477 + 318 318 ((( 319 319 This is the default mode. 320 320 321 321 The uplink payload is 11 bytes long. 482 +(% style="display:none" wfd-invisible="true" %) 322 322 323 -(% style="color:red" %)**Note:The maximum count depends on the bytes it is. 324 -The maximum count for four bytes is FFFFFFFF (hex) = 4294967295 (dec). 325 -It starts counting again when it reaches the maximum value.**(% style="display:none" wfd-invisible="true" %) 326 - 327 327 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 328 328 |(% style="background-color:#4f81bd; color:white" %)**Size(bytes)**|(% style="background-color:#4f81bd; color:white" %)**2**|(% style="background-color:#4f81bd; color:white" %)**2**|(% style="background-color:#4f81bd; color:white" %)**2**|(% style="background-color:#4f81bd; color:white" %)**2**|(% style="background-color:#4f81bd; color:white" %)**1**|(% style="background-color:#4f81bd; color:white" %)**1**|(% style="background-color:#4f81bd; color:white" %)**1** 329 329 |Value|((( ... ... @@ -353,7 +353,7 @@ 353 353 354 354 (% style="color:red" %)**Note: DI3 and DO3 bits are not valid for LT-22222-L** 355 355 356 -For example, if the payload is: [[image:image-20220523175847-2.png]] 513 +For example, if the payload is: [[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220523175847-2.png?rev=1.1||alt="image-20220523175847-2.png"]] 357 357 358 358 359 359 **The interface values can be calculated as follows: ** ... ... @@ -380,9 +380,14 @@ 380 380 * [1] DO2 channel output is LOW, and the DO2 LED is ON. 381 381 * [0] DO1 channel output state: 382 382 ** DO1 is FLOATING when there is no load between DO1 and V+. 383 -** DO1 is HIGH when there is a load between DO1 and V+.540 +** DO1 is HIGH and there is a load between DO1 and V+. 384 384 ** DO1 LED is OFF in both cases. 385 385 543 +Reserve = 0 544 + 545 +MOD = 1 546 + 547 + 386 386 === 3.3.2 AT+MOD~=2, (Double DI Counting) === 387 387 388 388 ... ... @@ -461,6 +461,7 @@ 461 461 462 462 === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI === 463 463 626 + 464 464 (% style="color:red" %)**Note: The maximum count depends on the bytes it is. 465 465 The maximum count for four bytes is FFFFFFFF (hex) = 4294967295 (dec). 466 466 It starts counting again when it reaches the maximum value.** ... ... @@ -508,12 +508,13 @@ 508 508 ((( 509 509 AT Commands for counting: 510 510 511 -The AT Commands for counting are similar to the [[MOD2 Counting Command>> ||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]s.674 +The AT Commands for counting are similar to the [[MOD2 Counting Command>>path:#H3.3.2AT2BMOD3D22C28DoubleDICounting29]]s. 512 512 ))) 513 513 514 514 515 515 === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 516 516 680 + 517 517 (% style="color:red" %)**Note:The maximum count depends on the bytes it is. 518 518 The maximum count for four bytes is FFFFFFFF (hex) = 4294967295 (dec). 519 519 It starts counting again when it reaches the maximum value.** ... ... @@ -565,26 +565,27 @@ 565 565 ))) 566 566 567 567 ((( 568 - OtherAT Commands for counting are similar to the [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]s.732 +AT Commands for counting are similar to the [[MOD2 Counting Command>>path:#H3.3.2AT2BMOD3D22C28DoubleDICounting29]]s. 569 569 ))) 570 570 571 571 ((( 572 572 **In addition to that, below are the commands for AVI1 Counting:** 573 573 574 -(% style="color:blue" %)**AT+SETCNT=3,60 **(%%)**(Sets AVI Count to 60)** 738 +(% style="color:blue" %)**AT+SETCNT=3,60 **(%%)**(Sets AVI1 Count to 60)** 575 575 576 -(% style="color:blue" %)**AT+VOLMAX=20000 **(%%)**(If AVI1 voltage higher than VOLMAX (20000mV =20 v), counter increase 1)**740 +(% style="color:blue" %)**AT+VOLMAX=20000 **(%%)**(If the AVI1 voltage is higher than VOLMAX (20000mV =20V), the counter increases by 1)** 577 577 578 -(% style="color:blue" %)**AT+VOLMAX=20000,0 **(%%)**(If AVI1 voltage lower than VOLMAX (20000mV =20 v), counter increase 1)**742 +(% style="color:blue" %)**AT+VOLMAX=20000,0 **(%%)**(If the AVI1 voltage is lower than VOLMAX (20000mV =20V), counter increases by 1)** 579 579 580 -(% style="color:blue" %)**AT+VOLMAX=20000,1 **(%%)**(If AVI1 voltage higher than VOLMAX (20000mV =20 v), counter increase 1)**744 +(% style="color:blue" %)**AT+VOLMAX=20000,1 **(%%)**(If the AVI1 voltage is higher than VOLMAX (20000mV =20V), counter increases by 1)** 581 581 ))) 582 582 583 583 584 584 === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 585 585 750 + 586 586 (% style="color:red" %)**Note:The maximum count depends on the bytes it is. 587 -The maximum count for four bytes is FFFF FFFF(hex) =4294967295 (dec).752 +The maximum count for four bytes is FFFF (hex) = 65535 (dec). 588 588 It starts counting again when it reaches the maximum value.** 589 589 590 590 ... ... @@ -634,28 +634,31 @@ 634 634 ))) 635 635 636 636 ((( 637 -Other AT Commands for counting are similar to the [[MOD2 Counting Command>> ||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]s.802 +Other AT Commands for counting are similar to the [[MOD2 Counting Command>>path:#H3.3.2AT2BMOD3D22C28DoubleDICounting29]]s. 638 638 ))) 639 639 640 640 641 -=== 3.3.6 AT+ADDMOD~=6 .(Trigger Mode, Optional) ===806 +=== 3.3.6 AT+ADDMOD~=6 (Trigger Mode, Optional) === 642 642 643 643 644 -(% style="color:#4f81bd" %)**This mode is optional and intended for trigger purposes. It can operate togetherwith other modes.**809 +(% style="color:#4f81bd" %)**This mode is optional and intended for trigger purposes. It can operate __alongside__ with other modes.** 645 645 646 -For example, if you configure dthe following commands:811 +For example, if you configure the following commands: 647 647 648 -* **AT+MOD=1 ** **~-~->** The default work mode649 -* **AT+ADDMOD6=1** **~-~->** Enable trigger mode 813 +* **AT+MOD=1 ** **~-~->** Sets the default working mode 814 +* **AT+ADDMOD6=1** **~-~->** Enables trigger mode 650 650 651 -The LT-22222-L will continuously monitor AV1, AV2, AC1, and AC2 every 5 seconds. LTwill send uplink packets in two cases:816 +The LT-22222-L will continuously monitor AV1, AV2, AC1, and AC2 every 5 seconds. It will send uplink packets in two cases: 652 652 653 -1. Periodic allyuplink(Based on TDC time).for the commands above). These are (% style="color:#4f81bd" %)**unconfirmed**(%%) uplinks.818 +1. Periodic uplink: Based on TDC time. The payload is the same as in normal mode (MOD=1 as set above). These are (% style="color:#4f81bd" %)**unconfirmed**(%%) uplinks. 654 654 1. ((( 655 -Trigger uplink when the trigger condition is met. LT will send two packets in this case. The first uplink uses the payload specified in trigger mode (MOD=6). The second packet uses the normal mode payload (MOD=1 as set above). Both are (% style="color:#4f81bd" %)**confirmed uplinks.** 820 +Trigger uplink: sent when a trigger condition is met. In this case, LT will send two packets 821 + 822 +* The first uplink uses the payload specified in trigger mode (MOD=6). 823 +* The second packet uses the normal mode payload (MOD=1 as set above). Both are (% style="color:#4f81bd" %)**confirmed uplinks.** 656 656 ))) 657 657 658 -(% style="color:#037691" %)**AT Commands to set Trigger Condition**: 826 +(% style="color:#037691" %)**AT Commands to set Trigger Conditions**: 659 659 660 660 (% style="color:#4f81bd" %)**Trigger based on voltage**: 661 661 ... ... @@ -664,9 +664,9 @@ 664 664 665 665 **Example:** 666 666 667 -AT+AVLIM=3000,6000,0,2000 835 +AT+AVLIM=3000,6000,0,2000 (triggers an uplink if AVI1 voltage is lower than 3V or higher than 6V, or if AV2 voltage is higher than 2V) 668 668 669 -AT+AVLIM=5000,0,0,0 837 +AT+AVLIM=5000,0,0,0 (triggers an uplink if AVI1 voltage is lower than 5V. Use 0 for parameters that are not in use) 670 670 671 671 672 672 (% style="color:#4f81bd" %)**Trigger based on current**: ... ... @@ -676,7 +676,7 @@ 676 676 677 677 **Example:** 678 678 679 -AT+ACLIM=10000,15000,0,0 I1voltage is lower than 10mA or higher than 15mA)847 +AT+ACLIM=10000,15000,0,0 (triggers an uplink if AC1 current is lower than 10mA or higher than 15mA) 680 680 681 681 682 682 (% style="color:#4f81bd" %)**Trigger based on DI status**: ... ... @@ -693,9 +693,9 @@ 693 693 694 694 (% style="color:#037691" %)**LoRaWAN Downlink Commands for Setting the Trigger Conditions:** 695 695 696 -Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM** 864 +**Type Code**: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM** 697 697 698 -Format: AA xx yy1 yy1 yy2 yy2 yy3 yy3 yy4 yy4 866 +**Format**: AA xx yy1 yy1 yy2 yy2 yy3 yy3 yy4 yy4 699 699 700 700 AA: Type Code for this downlink Command: 701 701 ... ... @@ -722,9 +722,9 @@ 722 722 723 723 (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:** 724 724 725 -MOD6 Payload: total of 11 bytes 893 +MOD6 Payload: a total of 11 bytes 726 726 727 -(% border="1" cellspacing=" 4" style="background-color:#f2f2f2; width:515px" %)895 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:515px" %) 728 728 |(% style="background-color:#4f81bd; color:white; width:60px" %)**Size(bytes)**|(% style="background-color:#4f81bd; color:white; width:69px" %)**1**|(% style="background-color:#4f81bd; color:white; width:69px" %)**1**|(% style="background-color:#4f81bd; color:white; width:109px" %)**1**|(% style="background-color:#4f81bd; color:white; width:49px" %)**6**|(% style="background-color:#4f81bd; color:white; width:109px" %)**1**|(% style="background-color:#4f81bd; color:white; width:50px" %)**1** 729 729 |Value|((( 730 730 TRI_A FLAG ... ... @@ -736,9 +736,9 @@ 736 736 MOD(6) 737 737 ))) 738 738 739 -(% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if the trigger is set for this part. Total ly1 byte as below907 +(% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if the trigger is set for this part. Total 1 byte as below. 740 740 741 -(% border="1" cellspacing=" 4" style="background-color:#f2f2f2; width:515px" %)909 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:515px" %) 742 742 |**bit 7**|**bit 6**|**bit 5**|**bit 4**|**bit 3**|**bit 2**|**bit 1**|**bit 0** 743 743 |((( 744 744 AV1_LOW ... ... @@ -762,12 +762,12 @@ 762 762 763 763 **Example:** 764 764 765 -10100000: Means the systemhas configure to use the trigger:AV1_LOW and AV2_LOW933 +10100000: This means the system is configured to use the triggers AV1_LOW and AV2_LOW. 766 766 767 767 768 -(% style="color:#4f81bd" %)**TRI Status1**(%%) is a combination to show which condition is trigger. Total ly1 byte as below936 +(% style="color:#4f81bd" %)**TRI Status1**(%%) is a combination to show which condition is triggered. Total 1 byte as below. 769 769 770 -(% border="1" cellspacing=" 4" style="background-color:#f2f2f2; width:515px" %)938 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:515px" %) 771 771 |**bit 7**|**bit 6**|**bit 5**|**bit 4**|**bit 3**|**bit 2**|**bit 1**|**bit 0** 772 772 |((( 773 773 AV1_LOW ... ... @@ -791,31 +791,31 @@ 791 791 792 792 **Example:** 793 793 794 -10000000: Meansthisuplink is triggered by AV1_LOW.Thatmeansthe voltage is too low.962 +10000000: The uplink is triggered by AV1_LOW, indicating that the voltage is too low. 795 795 796 796 797 -(% style="color:#4f81bd" %)**TRI_DI FLAG+STA **(%%)is a combination to show which condition is trigger. Total ly1byte as below965 +(% style="color:#4f81bd" %)**TRI_DI FLAG+STA **(%%)is a combination to show which condition is triggered. Total 1 byte as below. 798 798 799 -(% border="1" cellspacing=" 4" style="background-color:#f2f2f2; width:515px" %)800 -|**bit7**|**bit6**|**bit5**|**bit4**|**bit3**|**bit2**|**bit1**|**bit0** 801 -|N/A|N/A|N/A|N/A|DI2_STATUS|DI2_FLAG|DI1_STATUS|DI1_FLAG 967 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:515px" %) 968 +|(% style="width:50px" %)**bit 7**|(% style="width:50px" %)**bit 6**|(% style="width:50px" %)**bit 5**|(% style="width:50px" %)**bit 4**|(% style="width:90px" %)**bit 3**|(% style="width:80px" %)**bit 2**|(% style="width:90px" %)**bit 1**|(% style="width:95px" %)**bit 0** 969 +|(% style="width:49px" %)N/A|(% style="width:53px" %)N/A|(% style="width:53px" %)N/A|(% style="width:55px" %)N/A|(% style="width:99px" %)DI2_STATUS|(% style="width:83px" %)DI2_FLAG|(% style="width:98px" %)DI1_STATUS|(% style="width:85px" %)DI1_FLAG 802 802 803 -* Each bit sshows which status has been triggered on this uplink.971 +* Each bit shows which status has been triggered on this uplink. 804 804 805 805 **Example:** 806 806 807 -00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1.975 +00000111: This means both DI1 and DI2 triggers are enabled, and this packet is triggered by DI1. 808 808 809 -00000101: Means both DI1 and DI2 trigger are enabled.977 +00000101: This means both DI1 and DI2 triggers are enabled. 810 810 811 811 812 -(% style="color:#4f81bd" %)**Enable/Disable MOD6 **(%%): 0x01: MOD6 is enable. 0x00: MOD6 is disable. 980 +(% style="color:#4f81bd" %)**Enable/Disable MOD6 **(%%): 0x01: MOD6 is enabled. 0x00: MOD6 is disabled. 813 813 814 -Downlink command to poll MOD6 status: 982 +Downlink command to poll/request MOD6 status: 815 815 816 816 **AB 06** 817 817 818 -When device gotthis command, it will send the MOD6 payload.986 +When the device receives this command, it will send the MOD6 payload. 819 819 820 820 821 821 === 3.3.7 Payload Decoder === ... ... @@ -823,12 +823,13 @@ 823 823 ((( 824 824 825 825 826 -**Decoder for TTN/loraserver/ChirpStack**: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>https://github.com/dragino/dragino-end-node-decoder]] 994 +**Decoder for TTN/loraserver/ChirpStack**: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>url:https://github.com/dragino/dragino-end-node-decoder]] 827 827 ))) 828 828 829 829 830 830 == 3.4 Configure LT-22222-L via AT Commands or Downlinks == 831 831 1000 + 832 832 ((( 833 833 You can configure LT-22222-L I/O Controller via AT Commands or LoRaWAN Downlinks. 834 834 ))) ... ... @@ -835,7 +835,7 @@ 835 835 836 836 ((( 837 837 ((( 838 -There are two ty tes of commands:1007 +There are two types of commands: 839 839 ))) 840 840 ))) 841 841 ... ... @@ -845,398 +845,682 @@ 845 845 846 846 === 3.4.1 Common commands === 847 847 1017 + 848 848 ((( 849 -These are available for each sensors and include actions such as changing the uplink interval or resetting the device. For firmware v1.5.4, you can find the supported common commands under: [[End Device AT Commands and Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]]s. 1019 +These are available for each sensor and include actions such as changing the uplink interval or resetting the device. For firmware v1.5.4, you can find the supported common commands under: [[End Device AT Commands and Downlink Command>>path:/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/]]s. 1020 + 1021 + 850 850 ))) 851 851 852 852 === 3.4.2 Sensor-related commands === 853 853 1026 + 854 854 These commands are specially designed for the LT-22222-L. Commands can be sent to the device using options such as an AT command or a LoRaWAN downlink payload. 855 855 856 -==== 3.4.2.1 Set Transmit Interval ==== 857 857 1030 +==== 3.4.2.1 Set Transmit/Uplink Interval ==== 1031 + 1032 + 858 858 Sets the uplink interval of the device. The default uplink transmission interval is 10 minutes. 859 859 860 860 (% style="color:#037691" %)**AT command** 861 861 862 -(% style="width:500px" %) 863 -|**Command**|AT+TDC<time> 864 -|**Response**| 865 -|**Parameters**|<time> uplink interval is in milliseconds 1037 +(% border="2" style="width:500px" %) 1038 +|**Command**|AT+TDC=<time> 1039 +|**Parameters**|**time **: uplink interval in milliseconds 1040 +|**Get**|AT+TDC=? 1041 +|**Response**|((( 1042 +current uplink interval 1043 + 1044 +OK 1045 +))) 1046 +|**Set**|AT+TDC=<time> 1047 +|**Response**|OK 866 866 |**Example**|((( 867 867 AT+TDC=30000 868 868 869 -Sets the uplink interval to 30 ,000milliseconds (30 seconds)1051 +Sets the uplink interval to **30 seconds** (30000 milliseconds) 870 870 ))) 871 871 872 872 (% style="color:#037691" %)**Downlink payload** 873 873 874 -(% style="width:500px" %) 1056 +(% border="2" style="width:500px" %) 875 875 |**Payload**|((( 876 876 <prefix><time> 877 877 ))) 878 878 |**Parameters**|((( 879 - <prefix>0x011061 +**prefix** : 0x01 880 880 881 - <time>uplink interval is inmilliseconds, represented by 3 bytes in hexadecimal.1063 +**time** : uplink interval in **seconds**, represented by **3 bytes** in **hexadecimal**. 882 882 ))) 883 883 |**Example**|((( 884 -01 **00 75 30**1066 +01 **00 00 1E** 885 885 886 -Sets the uplink interval to 30 ,000milliseconds(30 seconds)1068 +Sets the uplink interval to **30 seconds** 887 887 888 -Conversion: 30 000(dec) = 0075 30 (hex)1070 +Conversion: 30 (dec) = 00 00 1E (hex) 889 889 890 -See [[RapidTables>>https://www.rapidtables.com/convert/number/decimal-to-hex.html?x=30000]] 1072 +See [[RapidTables>>url:https://www.rapidtables.com/convert/number/decimal-to-hex.html?x=30]] 1073 + 1074 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/Screenshot%202024-11-23%20at%2018.27.11.png?rev=1.2||alt="Screenshot 2024-11-23 at 18.27.11.png"]] 891 891 ))) 892 892 893 -==== 3.4.2.2 Set the Work Mode (AT+MOD) ==== 1077 +==== 3.4.2.2 Set the Working Mode (AT+MOD) ==== 894 894 895 895 896 -Sets the work mode. 1080 +Sets the working mode. 897 897 898 - *(% style="color:#037691" %)**AT command:**(%%) (% style="color:blue" %)**AT+MOD=N **1082 +(% style="color:#037691" %)**AT command** 899 899 900 -Where N is the work mode. 1084 +(% border="2" style="width:500px" %) 1085 +|(% style="width:97px" %)**Command**|(% style="width:413px" %)AT+MOD=<working_mode> 1086 +|(% style="width:97px" %)**Parameters**|(% style="width:413px" %)((( 1087 +**working_mode** : 901 901 902 - **Example**:AT+MOD=2.This will setthe workmodeDouble DIcountingmode.1089 +1 = (Default mode/factory set): 2ACI + 2AVI + DI + DO + RO 903 903 1091 +2 = Double DI Counting + DO + RO 904 904 905 - *(%style="color:#037691"%)**Downlinkpayload(prefix0x0A):**1093 +3 = Single DI Counting + 2 x ACI + DO + RO 906 906 907 - (%style="color:blue"%)**0x0Aaa**(%%)****~/~/ SameasAT+MOD=aa1095 +4 = Single DI Counting + 1 x Voltage Counting + DO + RO 908 908 1097 +5 = Single DI Counting + 2 x AVI + 1 x ACI + DO + RO 909 909 1099 +6 = Trigger Mode, Optional, used together with MOD1 ~~ MOD5 1100 +))) 1101 +|(% style="width:97px" %)**Get**|(% style="width:413px" %)AT+MOD=? 1102 +|(% style="width:97px" %)**Response**|(% style="width:413px" %)((( 1103 +Current working mode 910 910 911 -==== 3.4.2.3 Poll an uplink ==== 1105 +OK 1106 +))) 1107 +|(% style="width:97px" %)**Set**|(% style="width:413px" %)AT+MOD=<working_mode> 1108 +|(% style="width:97px" %)**Response**|(% style="width:413px" %)((( 1109 +Attention:Take effect after ATZ 912 912 913 -Requests the device to send an uplink. 1111 +OK 1112 +))) 1113 +|(% style="width:97px" %)**Example**|(% style="width:413px" %)((( 1114 +AT+MOD=2 914 914 1116 +Sets the device to working mode 2 (Double DI Counting + DO + RO) 1117 +))) 915 915 916 -* (% style="color:#037691" %)**AT command:**(%%) There is no AT Command to poll uplink 1119 +(% class="wikigeneratedid" %) 1120 +(% style="color:#037691" %)**Downlink payload** 917 917 918 -* (% style="color:#037691" %)**Downlink payload (prefix 0x08):** 1122 +(% border="2" style="width:500px" %) 1123 +|(% style="width:98px" %)**Payload**|(% style="width:400px" %)<prefix><working_mode> 1124 +|(% style="width:98px" %)**Parameters**|(% style="width:400px" %)((( 1125 +**prefix** : 0x0A 919 919 920 -(% style="color:blue" %)**0x08 FF **(%%)** **~/~/ Poll an uplink 1127 +**working_mode** : Working mode, represented by 1 byte in hexadecimal. 1128 +))) 1129 +|(% style="width:98px" %)**Example**|(% style="width:400px" %)((( 1130 +0A **02** 921 921 922 -**Example**: 0x08FF, ask device to send an Uplink 1132 +Sets the device to working mode 2 (Double DI Counting + DO + RO) 1133 +))) 923 923 1135 +==== 3.4.2.3 Request an uplink from the device ==== 924 924 925 925 1138 +Requests an uplink from LT-22222-L. The content of the uplink payload varies based on the device's current working mode. 1139 + 1140 +(% style="color:#037691" %)**AT command** 1141 + 1142 +There is no AT Command available for this feature. 1143 + 1144 +(% style="color:#037691" %)**Downlink payload** 1145 + 1146 +(% border="2" style="width:500px" %) 1147 +|(% style="width:101px" %)**Payload**|(% style="width:397px" %)<prefix>FF 1148 +|(% style="width:101px" %)**Parameters**|(% style="width:397px" %)**prefix** : 0x08 1149 +|(% style="width:101px" %)**Example**|(% style="width:397px" %)((( 1150 +08 **FF** 1151 + 1152 +Requests an uplink from LT-22222-L. 1153 +))) 1154 + 926 926 ==== 3.4.2.4 Enable/Disable Trigger Mode ==== 927 927 928 -Enable or disable the trigger mode (see also [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]). 929 929 930 - *(%style="color:#037691"%)**ATCommand:**(%%) (%style="color:blue" %)**AT+ADDMOD6=1 or0**1158 +Enable or disable the trigger mode for the current working mode (see also [[ADDMOD6>>path:#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]]). 931 931 932 -(% style="color: red" %)**1:**(%%)Enable the trigger mode1160 +(% style="color:#037691" %)**AT Command** 933 933 934 -(% style="color:red" %)**0: **(%%)Disable the trigger mode 1162 +(% border="2" style="width:500px" %) 1163 +|(% style="width:95px" %)**Command**|(% style="width:403px" %)AT+ADDMOD6=<enable/disable trigger_mode> 1164 +|(% style="width:95px" %)**Response**|(% style="width:403px" %) 1165 +|(% style="width:95px" %)**Parameters**|(% style="width:403px" %)((( 1166 +**enable/disable trigger_mode** : 935 935 1168 +1 = enable trigger mode 936 936 937 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x0A 06):** 1170 +0 = disable trigger mode 1171 +))) 1172 +|(% style="width:95px" %)**Example**|(% style="width:403px" %)((( 1173 +AT+ADDMOD6=1 938 938 939 -(% style="color:blue" %)**0x0A 06 aa **(%%) ~/~/ Same as AT+ADDMOD6=aa 1175 +Enable trigger mode for the current working mode 1176 +))) 940 940 1178 +(% style="color:#037691" %)**Downlink payload** 941 941 1180 +(% border="2" style="width:500px" %) 1181 +|(% style="width:97px" %)**Payload**|(% style="width:401px" %)<prefix><enable/disable trigger_mode> 1182 +|(% style="width:97px" %)**Parameters**|(% style="width:401px" %)((( 1183 +**prefix** : 0x0A 06 (two bytes in hexadecimal) 942 942 943 -==== 3.4.2.5 Poll trigger settings ==== 1185 +**enable/disable trigger_mode** : enable (1) or disable (0), represented by 1 byte in hexadecimal. 1186 +))) 1187 +|(% style="width:97px" %)**Example**|(% style="width:401px" %)((( 1188 +0A 06 **01** 944 944 945 -Polls the trigger settings. 1190 +Enable trigger mode for the current working mode 1191 +))) 946 946 947 - *(%style="color:#037691"%)**AT Command:**1193 +==== 3.4.2.5 Request trigger settings ==== 948 948 949 -There is no AT Command for this feature. 950 950 951 - * (%style="color:#037691"%)**Downlink Payload (prefix 0x AB 06):**1196 +Requests the trigger settings. 952 952 953 -(% style="color: blue" %)**0xAB06 ** (%%) ~/~/ Poll the trigger settings. Device will uplink trigger settings once receive this command1198 +(% style="color:#037691" %)**AT Command:** 954 954 1200 +There is no AT Command available for this feature. 955 955 1202 +(% style="color:#037691" %)**Downlink Payload** 956 956 957 -==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as a trigger ==== 1204 +(% border="2" style="width:500px" %) 1205 +|(% style="width:95px" %)**Payload**|(% style="width:403px" %)<prefix> 1206 +|(% style="width:95px" %)**Parameters**|(% style="width:403px" %)**prefix **: AB 06 (two bytes in hexadecimal) 1207 +|(% style="width:95px" %)**Example**|(% style="width:403px" %)((( 1208 +AB 06 958 958 959 -Enable or disable DI1/DI2/DI2 as a trigger. 1210 +Uplink the trigger settings. 1211 +))) 960 960 961 - * (% style="color:#037691"%)**AT Command:**(%%) (% style="color:blue"%)**Format: AT+DTRI=<DI1_TIRGGER_FlAG>,<DI2_TIRGGER_FlAG>**1213 +==== 3.4.2.6 Enable/Disable DI1/DI2/DI3 as a trigger ==== 962 962 963 -**Example:** AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 964 964 1216 +Enable or disable DI1/DI2/DI3 as a trigger. 965 965 966 - *(% style="color:#037691" %)**DownlinkPayload(prefix 0xAA 02):**1218 +(% style="color:#037691" %)**AT Command** 967 967 968 -(% style="color:blue" %)**0xAA 02 aa bb ** (%%) ~/~/ Same as AT+DTRI=aa,bb 1220 +(% border="2" style="width:500px" %) 1221 +|(% style="width:98px" %)**Command**|(% style="width:400px" %)AT+DTRI=<DI1_trigger>,<DI2_trigger> 1222 +|(% style="width:98px" %)**Response**|(% style="width:400px" %) 1223 +|(% style="width:98px" %)**Parameters**|(% style="width:400px" %)((( 1224 +**DI1_trigger:** 969 969 1226 +1 = enable DI1 trigger 970 970 1228 +0 = disable DI1 trigger 971 971 972 - ==== 3.4.2.7 Trigger1 – SetDIor DI3 as atrigger====1230 +**DI2 _trigger** 973 973 1232 +1 = enable DI2 trigger 1233 + 1234 +0 = disable DI2 trigger 1235 +))) 1236 +|(% style="width:98px" %)**Example**|(% style="width:400px" %)((( 1237 +AT+DTRI=1,0 1238 + 1239 +Enable DI1 trigger, disable DI2 trigger 1240 +))) 1241 + 1242 +(% class="wikigeneratedid" %) 1243 +(% style="color:#037691" %)**Downlink Payload** 1244 + 1245 +(% border="2" style="width:500px" %) 1246 +|(% style="width:101px" %)**Payload**|(% style="width:397px" %)<prefix><DI1_trigger><DI2_trigger> 1247 +|(% style="width:101px" %)**Parameters**|(% style="width:397px" %)((( 1248 +**prefix :** AA 02 (two bytes in hexadecimal) 1249 + 1250 +**DI1_trigger:** 1251 + 1252 +1 = enable DI1 trigger, represented by 1 byte in hexadecimal. 1253 + 1254 +0 = disable DI1 trigger, represented by 1 byte in hexadecimal. 1255 + 1256 +**DI2 _trigger** 1257 + 1258 +1 = enable DI2 trigger, represented by 1 byte in hexadecimal. 1259 + 1260 +0 = disable DI2 trigger, represented by 1 byte in hexadecimal. 1261 +))) 1262 +|(% style="width:101px" %)**Example**|(% style="width:397px" %)((( 1263 +AA 02 **01 00** 1264 + 1265 +Enable DI1 trigger, disable DI2 trigger 1266 +))) 1267 + 1268 +==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as a trigger ==== 1269 + 1270 + 974 974 Sets DI1 or DI3 (for LT-33222-L) as a trigger. 975 975 976 - *(% style="color:#037691" %)**AT Command:**(%%) (% style="color:blue" %)**AT+TRIG1=a,b**1273 +(% style="color:#037691" %)**AT Command** 977 977 978 -(% style="color:red" %)**a :** (%%)Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1). 1275 +(% border="2" style="width:500px" %) 1276 +|(% style="width:101px" %)**Command**|(% style="width:397px" %)AT+TRIG1=<interrupt_mode>,<minimum_signal_duration> 1277 +|(% style="width:101px" %)**Response**|(% style="width:397px" %) 1278 +|(% style="width:101px" %)**Parameters**|(% style="width:397px" %)((( 1279 +**interrupt_mode** : 0: falling edge; 1: rising edge, 2: falling and raising edge (for MOD=1). 979 979 980 -(% style="color:red" %)**b :** (%%)delay timing. 1281 +**minimum_signal_duration** : the **minimum signal duration** required for the DI1 port to recognize a valid trigger. 1282 +))) 1283 +|(% style="width:101px" %)**Example**|(% style="width:397px" %)((( 1284 +AT+TRIG1=1,100 981 981 982 -**Example:** AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) 1286 +Set the DI1 port to trigger on a rising edge; the valid signal duration is 100 ms. 1287 +))) 983 983 1289 +(% class="wikigeneratedid" %) 1290 +(% style="color:#037691" %)**Downlink Payload** 984 984 985 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x09 01 ):** 1292 +(% border="2" style="width:500px" %) 1293 +|(% style="width:101px" %)**Payload**|(% style="width:397px" %)<prefix><interrupt_mode><minimum_signal_duration> 1294 +|(% style="width:101px" %)**Parameters**|(% style="width:397px" %)((( 1295 +**prefix** : 09 01 (hexadecimal) 986 986 987 - (% style="color:blue" %)**0x0901aabbcc**(%%)~/~/ sameasAT+TRIG1=aa,0x(bb cc)1297 +**interrupt_mode** : 0: falling edge; 1: rising edge, 2: falling and raising edge (for MOD=1), represented by 1 byte in hexadecimal. 988 988 1299 +**minimum_signal_duration** : in milliseconds, represented two bytes in hexadecimal. 1300 +))) 1301 +|(% style="width:101px" %)**Example**|(% style="width:397px" %)((( 1302 +09 01 **01 00 64** 989 989 1304 +Set the DI1 port to trigger on a rising edge; the valid signal duration is 100 ms. 1305 +))) 1306 + 990 990 ==== 3.4.2.8 Trigger2 – Set DI2 as a trigger ==== 991 991 1309 + 992 992 Sets DI2 as a trigger. 993 993 994 - *(% style="color:#037691" %)**AT Command:**(%%) (% style="color:blue" %)**AT+TRIG2=a,b**1312 +(% style="color:#037691" %)**AT Command** 995 995 996 -(% style="color:red" %)**a :** (%%)Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge (for MOD=1). 1314 +(% border="2" style="width:500px" %) 1315 +|(% style="width:94px" %)**Command**|(% style="width:404px" %)AT+TRIG2=<interrupt_mode>,<minimum_signal_duration> 1316 +|(% style="width:94px" %)**Response**|(% style="width:404px" %) 1317 +|(% style="width:94px" %)**Parameters**|(% style="width:404px" %)((( 1318 +**interrupt_mode **: 0: falling edge; 1: rising edge, 2: falling and raising edge (for MOD=1). 997 997 998 -(% style="color:red" %)**b :** (%%)delay timing. 1320 +**minimum_signal_duration** : the **minimum signal duration** required for the DI1 port to recognize a valid trigger. 1321 +))) 1322 +|(% style="width:94px" %)**Example**|(% style="width:404px" %)((( 1323 +AT+TRIG2=0,100 999 999 1000 -**Example:** AT+TRIG2=0,100 (set DI1 port to trigger on low level, valid signal is 100ms ) 1325 +Set the DI1 port to trigger on a falling edge; the valid signal duration is 100 ms. 1326 +))) 1001 1001 1328 +(% style="color:#037691" %)**Downlink Payload** 1002 1002 1003 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x09 02 ):** 1330 +(% border="2" style="width:500px" %) 1331 +|(% style="width:96px" %)**Payload**|(% style="width:402px" %)<prefix><interrupt_mode><minimum_signal_duration> 1332 +|(% style="width:96px" %)**Parameters**|(% style="width:402px" %)((( 1333 +**prefix** : 09 02 (hexadecimal) 1004 1004 1005 - (% style="color:blue"%)**0x0902aabbcc**(%%)~/~/sameasAT+TRIG2=aa,0x(bb cc)1335 +**interrupt_mode **: 0: falling edge; 1: rising edge, 2: falling and raising edge (for MOD=1), represented by 1 byte in hexadecimal. 1006 1006 1337 +**minimum_signal_duration** : in milliseconds, represented two bytes in hexadecimal 1338 +))) 1339 +|(% style="width:96px" %)**Example**|(% style="width:402px" %)09 02 **00 00 64** 1007 1007 1008 1008 ==== 3.4.2.9 Trigger – Set AC (current) as a trigger ==== 1009 1009 1010 -Sets the current trigger based on the AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 1011 1011 1012 - * (%style="color:#037691"%)**ATCommand:**(%%) (%style="color:blue"%)**AT+ACLIM**1344 +Sets the current trigger based on the AC port. See also [[trigger mode>>path:#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]] 1013 1013 1014 - *(% style="color:#037691" %)**DownlinkPayload(prefix 0xAA 01 )**1346 +(% style="color:#037691" %)**AT Command** 1015 1015 1016 -(% style="color:blue" %)**0x AA 01 aa bb cc dd ee ff gg hh ** (%%) ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 1348 +(% border="2" style="width:500px" %) 1349 +|(% style="width:104px" %)**Command**|(% style="width:394px" %)((( 1350 +AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH> 1351 +))) 1352 +|(% style="width:104px" %)**Response**|(% style="width:394px" %) 1353 +|(% style="width:104px" %)**Parameters**|(% style="width:394px" %)((( 1354 +**AC1_LIMIT_LOW** : lower limit of the current to be checked 1017 1017 1356 +**AC1_LIMIT_HIGH **: higher limit of the current to be checked 1018 1018 1358 +**AC2_LIMIT_HIGH **: lower limit of the current to be checked 1019 1019 1360 +**AC2_LIMIT_LOW** : higher limit of the current to be checked 1361 +))) 1362 +|(% style="width:104px" %)**Example**|(% style="width:394px" %)((( 1363 +AT+ACLIM=10000,15000,0,0 1364 + 1365 +Triggers an uplink if AC1 current is lower than 10mA or higher than 15mA 1366 +))) 1367 +|(% style="width:104px" %)Note|(% style="width:394px" %)See also, [[trigger mode>>path:#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]] 1368 + 1369 +(% style="color:#037691" %)**Downlink Payload** 1370 + 1371 +(% border="2" style="width:500px" %) 1372 +|(% style="width:104px" %)**Payload**|(% style="width:394px" %)<prefix><AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH> 1373 +|(% style="width:104px" %)**Parameters**|(% style="width:394px" %)((( 1374 +**prefix **: AA 01 (hexadecimal) 1375 + 1376 +**AC1_LIMIT_LOW** : lower limit of the current to be checked, two bytes in hexadecimal 1377 + 1378 +**AC1_LIMIT_HIGH **: higher limit of the current to be checked, two bytes in hexadecimal 1379 + 1380 +**AC2_LIMIT_HIGH **: lower limit of the current to be checked, two bytes in hexadecimal 1381 + 1382 +**AC2_LIMIT_LOW** : higher limit of the current to be checked, two bytes in hexadecimal 1383 +))) 1384 +|(% style="width:104px" %)**Example**|(% style="width:394px" %)((( 1385 +AA 01 **27** **10 3A** **98** 00 00 00 00 1386 + 1387 +Triggers an uplink if AC1 current is lower than 10mA or higher than 15mA. Set all values to zero for AC2 limits because we are only checking AC1 limits. 1388 +))) 1389 +|(% style="width:104px" %)Note|(% style="width:394px" %)See also, [[trigger mode>>path:#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]] 1390 + 1020 1020 ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ==== 1021 1021 1022 -Sets the current trigger based on the AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 1023 1023 1024 - * (%style="color:#037691" %)**AT Command**(%%): (%style="color:blue"%)**AT+AVLIM**(%%)**||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**1394 +Sets the current trigger based on the AV port. See also [[trigger mode>>path:#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]] 1025 1025 1026 - *(% style="color:#037691" %)**DownlinkPayload(prefix 0xAA 00 )**1396 +(% style="color:#037691" %)**AT Command** 1027 1027 1028 -(% style="color:blue" %)**0x AA 00 aa bb cc dd ee ff gg hh ** (%%) ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 1398 +(% border="2" style="width:500px" %) 1399 +|(% style="width:104px" %)**Command**|(% style="width:387px" %)AT+AVLIM= AV1_LIMIT_LOW>,< AV1_LIMIT_HIGH>,<AV2_LIMIT_LOW>,< AV2_LIMIT_HIGH> 1400 +|(% style="width:104px" %)**Response**|(% style="width:387px" %) 1401 +|(% style="width:104px" %)**Parameters**|(% style="width:387px" %)((( 1402 +**AC1_LIMIT_LOW** : lower limit of the current to be checked 1029 1029 1404 +**AC1_LIMIT_HIGH **: higher limit of the current to be checked 1030 1030 1031 - ==== 3.4.2.11Trigger–Setminimum interval====1406 +**AC2_LIMIT_HIGH **: lower limit of the current to be checked 1032 1032 1033 -Sets AV and AC trigger minimum interval. Device won't response to the second trigger within this set time after the first trigger. 1408 +**AC2_LIMIT_LOW** : higher limit of the current to be checked 1409 +))) 1410 +|(% style="width:104px" %)**Example**|(% style="width:387px" %)((( 1411 +AT+AVLIM=3000,6000,0,2000 1034 1034 1035 -* (% style="color:#037691" %)**AT Command**(%%): (% style="color:blue" %)**AT+ATDC=5 ** ~/~/ (%%)Device won't response the second trigger within 5 minute after the first trigger. 1413 +Triggers an uplink if AVI1 voltage is lower than 3V or higher than 6V, or if AV2 voltage is higher than 2V 1414 +))) 1415 +|(% style="width:104px" %)**Note**|(% style="width:387px" %)See also, [[trigger mode>>path:#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]] 1036 1036 1037 - *(% style="color:#037691" %)**Downlink Payload(prefix 0xAC )**1417 +(% style="color:#037691" %)**Downlink Payload** 1038 1038 1039 -(% style="color:blue" %)**0x AC aa bb **(%%) ~/~/ same as AT+ATDC=0x(aa bb) . Unit (min) 1419 +(% border="2" style="width:500px" %) 1420 +|(% style="width:104px" %)**Payload**|(% style="width:394px" %)<prefix><AV1_LIMIT_LOW>,< AV1_LIMIT_HIGH>,<AV2_LIMIT_LOW>,< AV2_LIMIT_HIGH> 1421 +|(% style="width:104px" %)**Parameters**|(% style="width:394px" %)((( 1422 +**prefix **: AA 00 (hexadecimal) 1040 1040 1041 -((( 1042 -(% style="color:red" %)**Note: ATDC setting must be more than 5min** 1424 +**AV1_LIMIT_LOW** : lower limit of the voltage to be checked, two bytes in hexadecimal 1425 + 1426 +**AV1_LIMIT_HIGH **: higher limit of the voltage to be checked, two bytes in hexadecimal 1427 + 1428 +**AV2_LIMIT_HIGH **: lower limit of the voltage to be checked, two bytes in hexadecimal 1429 + 1430 +**AV2_LIMIT_LOW** : higher limit of the voltage to be checked, two bytes in hexadecimal 1043 1043 ))) 1432 +|(% style="width:104px" %)**Example**|(% style="width:394px" %)((( 1433 +AA 00 **0B B8 17 70 00 00 07 D0** 1044 1044 1435 +Triggers an uplink if AVI1 voltage is lower than 3V or higher than 6V, or if AV2 voltage is higher than 2V. 1436 +))) 1437 +|(% style="width:104px" %)**Note**|(% style="width:394px" %)See also, [[trigger mode>>path:#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]] 1045 1045 1439 +==== 3.4.2.11 Trigger – Set the minimum interval ==== 1046 1046 1441 + 1442 +Sets the AV and AC trigger minimum interval. The device won't respond to a second trigger within this set time after the first trigger. 1443 + 1444 +(% style="color:#037691" %)**AT Command** 1445 + 1446 +(% border="2" style="width:500px" %) 1447 +|(% style="width:113px" %)**Command**|(% style="width:385px" %)AT+ATDC=<time> 1448 +|(% style="width:113px" %)**Response**|(% style="width:385px" %) 1449 +|(% style="width:113px" %)**Parameters**|(% style="width:385px" %)((( 1450 +**time** : in minutes 1451 +))) 1452 +|(% style="width:113px" %)**Example**|(% style="width:385px" %)((( 1453 +AT+ATDC=5 1454 + 1455 +The device won't respond to the second trigger within 5 minutes after the first trigger. 1456 +))) 1457 +|(% style="width:113px" %)**Note**|(% style="width:385px" %)(% style="color:red" %)**The time must be greater than 5 minutes.** 1458 + 1459 +(% style="color:#037691" %)**Downlink Payload** 1460 + 1461 +(% border="2" style="width:500px" %) 1462 +|(% style="width:112px" %)**Payload**|(% style="width:386px" %)<prefix><time> 1463 +|(% style="width:112px" %)**Parameters**|(% style="width:386px" %)((( 1464 +**prefix** : AC (hexadecimal) 1465 + 1466 +**time **: in minutes (two bytes in hexadecimal) 1467 +))) 1468 +|(% style="width:112px" %)**Example**|(% style="width:386px" %)((( 1469 +AC **00 05** 1470 + 1471 +The device won't respond to the second trigger within 5 minutes after the first trigger. 1472 +))) 1473 +|(% style="width:112px" %)**Note**|(% style="width:386px" %)(% style="color:red" %)**The time must be greater than 5 minutes.** 1474 + 1047 1047 ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ==== 1048 1048 1477 + 1049 1049 Controls the digital outputs DO1, DO2, and DO3 1050 1050 1051 - *(% style="color:#037691" %)**AT Command**1480 +(% style="color:#037691" %)**AT Command** 1052 1052 1053 -There is no AT Command to control Digital Output 1482 +There is no AT Command to control the Digital Output. 1054 1054 1055 1055 1056 - *(% style="color:#037691" %)**Downlink Payload(prefix 0x02)**1485 +(% style="color:#037691" %)**Downlink Payload** 1057 1057 1058 -(% style="color:blue" %)**0x02 aa bb cc ** (%%)~/~/ Set DO1/DO2/DO3 output 1487 +(% border="2" style="width:500px" %) 1488 +|(% style="width:115px" %)**Payload**|(% style="width:383px" %)<prefix><DO1><DO2><DO3> 1489 +|(% style="width:115px" %)**Parameters**|(% style="width:383px" %)((( 1490 +**prefix** : 02 (hexadecimal) 1059 1059 1060 -((( 1061 -If payload = 0x02010001, while there is load between V+ and DOx, it means set DO1 to low, DO2 to high and DO3 to low. 1492 +**DOI** : 01: Low, 00: High, 11: No action (1 byte in hex) 1493 + 1494 +**DO2** : 01: Low, 00: High, 11: No action (1 byte in hex) 1495 + 1496 +**DO3 **: 01: Low, 00: High, 11: No action (1 byte in hex) 1062 1062 ))) 1498 +|(% style="width:115px" %)**Examples**|(% style="width:383px" %)((( 1499 +02 **01 00 01** 1063 1063 1501 +If there is a load between V+ and DOx, it means DO1 is set to low, DO2 is set to high, and DO3 is set to low. 1502 + 1503 +**More examples:** 1504 + 1064 1064 ((( 1065 -01: Low, 00: High 1506 +01: Low, 00: High, 11: No action 1066 1066 1067 -(% border="1" cellspacing=" 4" style="background-color:#f2f2f2; width:510px" %)1068 -|(% style="background-color:#4f81bd; color:white" %)**Downlink Code**|(% style="background-color:#4f81bd; color:white" %)**DO1**|(% style="background-color:#4f81bd; color:white" %)**DO2**|(% style="background-color:#4f81bd; color:white" %)**DO3** 1069 -|02 01 00 11|Low|High|No Action 1070 -|02 00 11 01|High|No Action|Low 1071 -|02 11 01 00|No Action|Low|High 1508 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:383px" %) 1509 +|(% style="background-color:#4f81bd; color:white; width:126px" %)**Downlink Code**|(% style="background-color:#4f81bd; color:white; width:85px" %)**DO1**|(% style="background-color:#4f81bd; color:white; width:86px" %)**DO2**|(% style="background-color:#4f81bd; color:white; width:86px" %)**DO3** 1510 +|(% style="width:126px" %)02 01 00 11|(% style="width:85px" %)Low|(% style="width:86px" %)High|(% style="width:86px" %)No Action 1511 +|(% style="width:126px" %)02 00 11 01|(% style="width:85px" %)High|(% style="width:86px" %)No Action|(% style="width:86px" %)Low 1512 +|(% style="width:126px" %)02 11 01 00|(% style="width:85px" %)No Action|(% style="width:86px" %)Low|(% style="width:86px" %)High 1072 1072 ))) 1073 1073 1074 1074 ((( 1075 -(% style="color:red" %)**Note: For LT-22222-L, there is no DO3, the last byte can use any value.** 1516 +((( 1517 +(% style="color:red" %)**Note: For the LT-22222-L, there is no DO3; the last byte can have any value.** 1076 1076 ))) 1077 1077 1078 1078 ((( 1079 -(% style="color:red" %)** Device will upload a packet if downlink code executes successfully.**1521 +(% style="color:red" %)**The device will upload a packet if downlink code executes successfully.** 1080 1080 ))) 1523 +))) 1524 +))) 1081 1081 1526 +==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ==== 1082 1082 1083 1083 1084 - ====3.4.2.13 DO ~-~- ControlDigital Output DO1/DO2/DO3withtimecontrol ====1529 +(% style="color:#037691" %)**AT command** 1085 1085 1531 +There is no AT command to control the digital output. 1086 1086 1087 -* (% style="color:#037691" %)**AT Command** 1088 1088 1089 - Thereisno AT Commandtocontrol DigitalOutput1534 +(% style="color:#037691" %)**Downlink payload** 1090 1090 1536 +(% border="2" style="width:500px" %) 1537 +|(% style="width:116px" %)**Prefix**|(% style="width:382px" %)0xA9 1538 +|(% style="width:116px" %)**Parameters**|(% style="width:382px" %)((( 1539 +**inverter_mode**: 1 byte in hex. 1091 1091 1092 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA9)** 1541 +**01:** DO pins revert to their original state after the timeout. 1542 +**00:** DO pins switch to an inverted state after the timeout. 1093 1093 1094 -(% style="color:blue" %)**0xA9 aa bb cc **(%%) ~/~/ Set DO1/DO2/DO3 output with time control 1095 1095 1545 +**DO1_control_method_and_port_status **- 1 byte in hex 1096 1096 1097 - Thisistocontrolthedigitaloutput timeofDO pin. Include four bytes:1547 +0x01 : DO1 set to low 1098 1098 1099 - (%style="color:#4f81bd"%)**FirstByte**(%%)**:** Type code(0xA9)1549 +0x00 : DO1 set to high 1100 1100 1101 - (%style="color:#4f81bd"%)**SecondByte**(%%):InverterMode1551 +0x11 : DO1 NO action 1102 1102 1103 -01: DO pins will change back to original state after timeout. 1104 1104 1105 - 00:DOpins willchangeinverterstateaftertimeout1554 +**DO2_control_method_and_port_status** - 1 byte in hex 1106 1106 1556 +0x01 : DO2 set to low 1107 1107 1108 - (%style="color:#4f81bd"%)**ThirdByte**(%%):ControlMethodand Ports status:1558 +0x00 : DO2 set to high 1109 1109 1110 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:300px" %) 1111 -|(% style="background-color:#4f81bd; color:white" %)**Second Byte**|(% style="background-color:#4f81bd; color:white" %)**Status** 1112 -|0x01|DO1 set to low 1113 -|0x00|DO1 set to high 1114 -|0x11|DO1 NO Action 1560 +0x11 : DO2 NO action 1115 1115 1116 -(% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Ports status: 1117 1117 1118 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:300px" %) 1119 -|(% style="background-color:#4f81bd; color:white" %)**Second Byte**|(% style="background-color:#4f81bd; color:white" %)**Status** 1120 -|0x01|DO2 set to low 1121 -|0x00|DO2 set to high 1122 -|0x11|DO2 NO Action 1563 +**DO3_control_method_and_port_status **- 1 byte in hex 1123 1123 1124 - (%style="color:#4f81bd"%)**FifthByte**(%%):ControlMethodand Ports status:1565 +0x01 : DO3 set to low 1125 1125 1126 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:300px" %) 1127 -|(% style="background-color:#4f81bd; color:white" %)**Second Byte**|(% style="background-color:#4f81bd; color:white" %)**Status** 1128 -|0x01|DO3 set to low 1129 -|0x00|DO3 set to high 1130 -|0x11|DO3 NO Action 1567 +0x00 : DO3 set to high 1131 1131 1132 - (%style="color:#4f81bd"%)**SixthandSeventh and Eighth andNinthByte**:(%%) Latchingtime. Unit: ms1569 +0x11 : DO3 NO action 1133 1133 1134 1134 1572 +**latching_time** : 4 bytes in hex 1573 + 1135 1135 (% style="color:red" %)**Note: ** 1136 1136 1137 - Since Firmware v1.6.0, the latch time support 4 bytesand2 bytes1576 + Since firmware v1.6.0, the latch time supports 4 bytes or 2 bytes 1138 1138 1139 - Before Firmwre v1.6.0 the latch time only suport 2 bytes.1578 + Before firmware v1.6.0, the latch time only supported 2 bytes. 1140 1140 1141 -(% style="color:red" %)**Device will upload a packet if downlink code executes successfully.** 1580 +(% style="color:red" %)**The device will uplink a packet if the downlink code executes successfully.** 1581 +))) 1582 +|(% style="width:116px" %)**Payload format**|(% style="width:382px" %)<prefix><inverter_mode><DO1_control_method_and_port_status><DO2_control_method_and_port_status><DO2_control_method_and_port_status><latching_time> 1583 +|(% style="width:116px" %)**Example**|(% style="width:382px" %)((( 1584 +**A9 01 01 01 01 07 D0** 1142 1142 1586 +DO1 pin, DO2 pin, and DO3 pin will be set to low, last for 2 seconds, and then revert to their original state. 1143 1143 1144 -**Example payload:** 1145 1145 1146 -** ~1.A9 01 010101 07 D0**1589 +**A9 01 00 01 11 07 D0** 1147 1147 1148 -DO1 pin &DO2 pin&DO3 pinwill beettoLow,last 2 seconds,thenchangebackto original state.1591 +DO1 pin is set to high, DO2 pin is set to low, and DO3 pin takes no action. This lasts for 2 seconds and then reverts to the original state. 1149 1149 1150 -**2. A9 01 00 01 11 07 D0** 1151 1151 1152 - DO1pinsethigh,DO2pinset low,DO3 pin no action, last 2 seconds, then change back to original state.1594 +**A9 00 00 00 00 07 D0** 1153 1153 1154 - **3.A90000000007D0**1596 +DO1 pin, DO2 pin, and DO3 pin will be set to high, last for 2 seconds, and then all change to low. 1155 1155 1156 -DO1 pin & DO2 pin & DO3 pin will be set to high, last 2 seconds, then both change to low. 1157 1157 1158 -** 4.A9 00 11 01 00 07 D0**1599 +**A9 00 11 01 00 07 D0** 1159 1159 1160 -DO1 pin no action, DO2 pin set low, DO3 pin set high, last 2 seconds, then DO1 pin no action, DO2 pin set high, DO3 pin set low 1601 +DO1 pin takes no action, DO2 pin is set to low, and DO3 pin is set to high. This lasts for 2 seconds, after which the DO1 pin takes no action, the DO2 pin is set to high, and the DO3 pin is set to low. 1602 +))) 1161 1161 1604 +==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ==== 1162 1162 1163 1163 1164 - ====3.4.2.14Relay~-~-Control Relay Output RO1/RO2 ====1607 +(% style="color:#037691" %)**AT Command:** 1165 1165 1609 +There is no AT Command to control the Relay Output. 1166 1166 1167 -* (% style="color:#037691" %)**AT Command:** 1168 1168 1169 - Thereisno AT CommandtocontrolRelayOutput1612 +(% style="color:#037691" %)**Downlink Payload** 1170 1170 1614 +(% border="2" style="width:500px" %) 1615 +|(% style="width:113px" %)**Prefix**|(% style="width:384px" %)0x03 1616 +|(% style="width:113px" %)**Parameters**|(% style="width:384px" %)((( 1617 +**RO1_status** : 1 byte in hex 1171 1171 1172 - * (% style="color:#037691"%)**Downlink Payload (prefix 0x03):**1619 +00: Close 1173 1173 1174 - (% style="color:blue" %)**0x03 aa bb ** (%%)~/~/ Set RO1/RO2output1621 +01: Open 1175 1175 1623 +11: No action 1176 1176 1177 -((( 1178 -If payload = 0x030100, it means set RO1 to close and RO2 to open. 1179 -))) 1180 1180 1181 -((( 1182 -00: Closed , 01: Open , 11: No action 1626 +**RO2_status** : 1 byte in hex 1183 1183 1184 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:320px" %) 1185 -|(% style="background-color:#4f81bd; color:white" %)**Downlink Code**|(% style="background-color:#4f81bd; color:white" %)**RO1**|(% style="background-color:#4f81bd; color:white" %)**RO2** 1186 -|03 00 11|Open|No Action 1187 -|03 01 11|Close|No Action 1188 -|03 11 00|No Action|Open 1189 -|03 11 01|No Action|Close 1190 -|03 00 00|Open|Open 1191 -|03 01 01|Close|Close 1192 -|03 01 00|Close|Open 1193 -|03 00 01|Open|Close 1194 -))) 1628 +00: Close 1195 1195 1196 - (% style="color:red"%)**Device will upload a packet if downlink code executes successfully.**1630 +01: Open 1197 1197 1632 +11: No action 1633 +))) 1634 +|(% style="width:113px" %)**Payload format**|(% style="width:384px" %)<prefix><RO1_status><RO2_status> 1635 +|(% style="width:113px" %)**Example**|(% style="width:384px" %)((( 1636 +(% border="2" %) 1637 +|=Payload|=RO1|=RO2 1638 +|03 00 11|Open|No action 1639 +|03 01 11|Close|No action 1640 +|03 11 00|No action|Open 1641 +|03 11 01|No action|Close 1642 +|03 00 00|Open|Open 1643 +|03 01 01|Close|Close 1644 +|03 01 00|Close|Open 1645 +|03 00 01|Open|Close 1198 1198 1647 +(% style="color:red" %)**The device will transmit an uplink packet if the downlink payload is executed successfully.** 1648 +))) 1199 1199 1200 1200 ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ==== 1201 1201 1202 1202 1203 - * (% style="color:#037691"%)**ATCommand:**1653 +Controls the relay output time. 1204 1204 1205 -There is no AT Command to control Relay Output 1206 1206 1656 +(% style="color:#037691" %)**AT Command:** 1207 1207 1208 - * (% style="color:#037691"%)**DownlinkPayload(prefix0x05):**1658 +There is no AT Command to control the Relay Output 1209 1209 1210 -(% style="color:blue" %)**0x05 aa bb cc dd ** (%%)~/~/ Set RO1/RO2 relay with time control 1211 1211 1661 +(% style="color:#037691" %)**Downlink Payload (prefix 0x05):** 1212 1212 1213 - Thisisocontrolthe relayoutputtimeof relay. Include four bytes:1663 +(% style="color:blue" %)**0x05 aa bb cc dd ** (%%)~/~/ Sets RO1/RO2 relays with time control 1214 1214 1215 -(% style="color:#4f81bd" %)**First Byte **(%%)**:** Type code (0x05) 1216 1216 1217 - (%style="color:#4f81bd"%)**SecondByte(aa)**(%%):Inverter Mode1666 +This controls the relay output time and includes 4 bytes: 1218 1218 1219 - 01:Relayswill changeback toiginalstateaftertimeout.1668 +(% style="color:#4f81bd" %)**First byte **(%%)**:** Type code (0x05) 1220 1220 1221 - 00:Relayswill changetoaninverterstate after timeout1670 +(% style="color:#4f81bd" %)**Second byte (aa)**(%%): Inverter Mode 1222 1222 1672 +01: Relays will change back to their original state after a timeout. 1223 1223 1224 - (%style="color:#4f81bd"%)**ThirdByte(bb)**(%%):ControlMethodand Portsstatus:1674 +00: Relays will change to the inverter state after a timeout. 1225 1225 1226 -[[image:image-20221008095908-1.png||height="364" width="564"]] 1227 1227 1677 +(% style="color:#4f81bd" %)**Third byte (bb)**(%%): Control Method and Ports status: 1228 1228 1229 - (% style="color:#4f81bd"%)**Fourth/Fifth/Sixth/SeventhBytes(cc)**(%%): Latching time.Unit:ms1679 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20221008095908-1.png?width=564&height=364&rev=1.1||alt="image-20221008095908-1.png" height="364" width="564"]] 1230 1230 1231 1231 1682 +(% style="color:#4f81bd" %)**Fourth/Fifth/Sixth/Seventh bytes (cc)**(%%): Latching time. Unit: ms 1683 + 1684 + 1232 1232 (% style="color:red" %)**Note:** 1233 1233 1234 - Since Firmware v1.6.0, the latch time support 4 bytes and 2 bytes1687 + Since firmware v1.6.0, the latch time supports both 4 bytes and 2 bytes. 1235 1235 1236 - Before Firmwre v1.6.0 the latch time only suport 2 bytes.1689 + Before firmware v1.6.0, the latch time only supported 2 bytes. 1237 1237 1238 1238 1239 -(% style="color:red" %)** Device will uploada packet if downlink code executes successfully.**1692 +(% style="color:red" %)**The device will uplink a packet if the downlink code executes successfully.** 1240 1240 1241 1241 1242 1242 **Example payload:** ... ... @@ -1243,19 +1243,19 @@ 1243 1243 1244 1244 **~1. 05 01 11 07 D0** 1245 1245 1246 -Relay1 and Relay changebackto original state.1699 +Relay1 and Relay2 will be set to NC, lasting 2 seconds, then revert to their original state 1247 1247 1248 1248 **2. 05 01 10 07 D0** 1249 1249 1250 -Relay1 will change to NC, Relay2 will change to NO, last 2 seconds, then both changebackto original state.1703 +Relay1 will change to NC, Relay2 will change to NO, lasting 2 seconds, and then both will revert to their original state. 1251 1251 1252 1252 **3. 05 00 01 07 D0** 1253 1253 1254 -Relay1 will change to NO, Relay2 will change to NC, last 2 seconds, then relay change to NC,Relay2 change to NO.1707 +Relay1 will change to NO, Relay2 will change to NC, lasting 2 seconds, then Relay1 will change to NC, and Relay2 will change to NO. 1255 1255 1256 1256 **4. 05 00 00 07 D0** 1257 1257 1258 -Relay &relay2 will change to NO, last 2 seconds, then both change to NC.1711 +Relay1 and Relay2 will change to NO, lasting 2 seconds, then both will change to NC. 1259 1259 1260 1260 1261 1261 ... ... @@ -1262,157 +1262,397 @@ 1262 1262 ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ==== 1263 1263 1264 1264 1265 -When voltage exceed the threshold, count. F eature see [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]1718 +When the voltage exceeds the threshold, counting begins. For details, see [[MOD4>>path:#H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting]] 1266 1266 1267 - *(% style="color:#037691" %)**AT Command:**(%%) (% style="color:blue" %)**AT+VOLMAX ** (%%)~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]1720 +(% style="color:#037691" %)**AT Command** 1268 1268 1269 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA5):** 1722 +(% border="2" style="width:500px" %) 1723 +|(% style="width:137px" %)**Command**|(% style="width:361px" %)AT+VOLMAX=<voltage>,<logic> 1724 +|(% style="width:137px" %)**Response**|(% style="width:361px" %) 1725 +|(% style="width:137px" %)**Parameters**|(% style="width:361px" %)((( 1726 +**voltage** : voltage threshold in mV 1270 1270 1271 - (% style="color:blue" %)**0xA5 aa bbcc**(%%)~/~/ Same as AT+VOLMAX=(aa bb),cc1728 +**logic**: 1272 1272 1730 +**0** : lower than 1273 1273 1732 +**1**: higher than 1274 1274 1734 +if you leave the logic parameter blank, it is considered 0 1735 +))) 1736 +|(% style="width:137px" %)**Examples**|(% style="width:361px" %)((( 1737 +AT+VOLMAX=20000 1738 + 1739 +If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1 1740 + 1741 +AT+VOLMAX=20000,0 1742 + 1743 +If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1 1744 + 1745 +AT+VOLMAX=20000,1 1746 + 1747 +If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1 1748 +))) 1749 + 1750 +(% style="color:#037691" %)**Downlink Payload** 1751 + 1752 +(% border="2" style="width:500px" %) 1753 +|(% style="width:140px" %)**Payload**|(% style="width:358px" %)<prefix><voltage><logic> 1754 +|(% style="width:140px" %)**Parameters**|(% style="width:358px" %)((( 1755 +**prefix** : A5 (hex) 1756 + 1757 +**voltage** : voltage threshold in mV (2 bytes in hex) 1758 + 1759 +**logic**: (1 byte in hexadecimal) 1760 + 1761 +**0** : lower than 1762 + 1763 +**1**: higher than 1764 + 1765 +if you leave the logic parameter blank, it is considered 1 (higher than) 1766 +))) 1767 +|(% style="width:140px" %)**Example**|(% style="width:358px" %)((( 1768 +A5 **4E 20** 1769 + 1770 +If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1 1771 + 1772 +A5 **4E 20 00** 1773 + 1774 +If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1 1775 + 1776 +A5 **4E 20 01** 1777 + 1778 +If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1 1779 +))) 1780 + 1275 1275 ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ==== 1276 1276 1277 1277 1278 - *(%style="color:#037691"%)**ATCommand:**(%%) (%style="color:blue"%)**AT+SETCNT=aa,(bbccdd ee)**1784 +This command allows users to pre-configure specific count numbers for various counting parameters such as Count1, Count2, or AVI1 Count. Use the AT command to set the desired count number for each configuration. 1279 1279 1280 -(% style="color: red" %)**aa:**(%%) 1: Set count1; 2: Set count2; 3: SetAV1count1786 +(% style="color:#037691" %)**AT Command** 1281 1281 1282 -(% style="color:red" %)**bb cc dd ee: **(%%)number to be set 1788 +(% border="2" style="width:500px" %) 1789 +|(% style="width:134px" %)**Command**|(% style="width:364px" %)AT+SETCNT=<counting_parameter>,<number> 1790 +|(% style="width:134px" %)**Response**|(% style="width:364px" %) 1791 +|(% style="width:134px" %)**Parameters**|(% style="width:364px" %)((( 1792 +**counting_parameter** : 1283 1283 1794 +1: COUNT1 1284 1284 1285 - * (% style="color:#037691"%)**Downlink Payload (prefix 0xA8):**1796 +2: COUNT2 1286 1286 1287 - (% style="color:blue"%)**0xA8aa bb cc dd ee ** (%%)~/~/ same as AT+SETCNT=aa,(bb cc dd ee)1798 +3: AVI1 Count 1288 1288 1800 +**number** : Start number 1801 +))) 1802 +|(% style="width:134px" %)**Example**|(% style="width:364px" %)((( 1803 +AT+SETCNT=1,10 1289 1289 1805 +Sets the COUNT1 to 10. 1806 +))) 1290 1290 1808 +(% style="color:#037691" %)**Downlink Payload** 1809 + 1810 +(% border="2" style="width:500px" %) 1811 +|(% style="width:135px" %)**Payload**|(% style="width:363px" %)<prefix><counting_parameter><number> 1812 +|(% style="width:135px" %)**Parameters**|(% style="width:363px" %)((( 1813 +prefix : A8 (hex) 1814 + 1815 +**counting_parameter** : (1 byte in hexadecimal) 1816 + 1817 +1: COUNT1 1818 + 1819 +2: COUNT2 1820 + 1821 +3: AVI1 Count 1822 + 1823 +**number** : Start number, 4 bytes in hexadecimal 1824 +))) 1825 +|(% style="width:135px" %)**Example**|(% style="width:363px" %)((( 1826 +A8 **01 00 00 00 0A** 1827 + 1828 +Sets the COUNT1 to 10. 1829 +))) 1830 + 1291 1291 ==== 3.4.2.18 Counting ~-~- Clear Counting ==== 1292 1292 1293 1293 1294 - Clear countingforcounting mode1834 +This command clears the counting in counting mode. 1295 1295 1296 - *(% style="color:#037691" %)**AT Command:**(%%) (% style="color:blue" %)**AT+CLRCOUNT **(%%) ~/~/ clear all counting1836 +(% style="color:#037691" %)**AT Command** 1297 1297 1298 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA6):** 1838 +(% border="2" style="width:500px" %) 1839 +|(% style="width:142px" %)**Command**|(% style="width:356px" %)AT+CLRCOUNT 1840 +|(% style="width:142px" %)**Response**|(% style="width:356px" %)- 1299 1299 1300 -(% style="color: blue" %)**0x A601** (%%)~/~/ clearall counting1842 +(% style="color:#037691" %)**Downlink Payload** 1301 1301 1844 +(% border="2" style="width:500px" %) 1845 +|(% style="width:141px" %)**Payload**|(% style="width:357px" %)<prefix><clear?> 1846 +|(% style="width:141px" %)**Parameters**|(% style="width:357px" %)((( 1847 +prefix : A6 (hex) 1302 1302 1849 +clear? : 01 (hex) 1850 +))) 1851 +|(% style="width:141px" %)**Example**|(% style="width:357px" %)A6 **01** 1303 1303 1304 -==== 3.4.2.19 Counting ~-~- Changecountingmodetosavetime====1853 +==== 3.4.2.19 Counting ~-~- Set Saving Interval for 'Counting Result' ==== 1305 1305 1306 1306 1307 - *(%style="color:#037691"%)**ATCommand:**1856 +This command allows you to configure the device to save its counting result to internal flash memory at specified intervals. By setting a save time, the device will periodically store the counting data to prevent loss in case of power failure. The save interval can be adjusted to suit your requirements, with a minimum value of 30 seconds. 1308 1308 1309 -(% style="color: blue" %)**AT+COUTIME=60**(%%)~/~/ Set save time to60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)1858 +(% style="color:#037691" %)**AT Command** 1310 1310 1860 +(% border="2" style="width:500px" %) 1861 +|(% style="width:124px" %)**Command**|(% style="width:374px" %)AT+COUTIME=<time> 1862 +|(% style="width:124px" %)**Response**|(% style="width:374px" %) 1863 +|(% style="width:124px" %)**Parameters**|(% style="width:374px" %)time : seconds (0 to 16777215) 1864 +|(% style="width:124px" %)**Example**|(% style="width:374px" %)((( 1865 +AT+COUTIME=60 1311 1311 1312 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA7):** 1867 +Sets the device to save its counting results to the memory every 60 seconds. 1868 +))) 1313 1313 1314 -(% style="color: blue" %)**0xA7aabb cc**(%%)~/~/ same as AT+COUTIME =aa bb cc,1870 +(% style="color:#037691" %)**Downlink Payload** 1315 1315 1316 -((( 1317 -range: aa bb cc:0 to 16777215, (unit:second) 1872 +(% border="2" style="width:500px" %) 1873 +|(% style="width:123px" %)**Payload**|(% style="width:375px" %)<prefix><time> 1874 +|(% style="width:123px" %)**Parameters**|(% style="width:375px" %)((( 1875 +prefix : A7 1876 + 1877 +time : seconds, 3 bytes in hexadecimal 1318 1318 ))) 1879 +|(% style="width:123px" %)**Example**|(% style="width:375px" %)((( 1880 +A7 **00 00 3C** 1319 1319 1882 +Sets the device to save its counting results to the memory every 60 seconds. 1883 +))) 1320 1320 1885 +==== 3.4.2.20 Reset saved RO and DO states ==== 1321 1321 1322 -==== 3.4.2.20 Reset save RO DO state ==== 1323 1323 1888 +This command allows you to reset the saved relay output (RO) and digital output (DO) states when the device joins the network. By configuring this setting, you can control whether the device should retain or reset the relay states after a reset and rejoin to the network. 1324 1324 1325 - *(% style="color:#037691" %)**AT Command:**1890 +(% style="color:#037691" %)**AT Command** 1326 1326 1327 -(% style="color:blue" %)**AT+RODORESET=1 **(%%)~/~/ RODO will close when the device joining the network. (default) 1892 +(% border="2" style="width:500px" %) 1893 +|(% style="width:127px" %)**Command**|(% style="width:371px" %)AT+RODORESET=<state> 1894 +|(% style="width:127px" %)**Response**|(% style="width:371px" %) 1895 +|(% style="width:127px" %)**Parameters**|(% style="width:371px" %)((( 1896 +**state** : 1328 1328 1329 - (% style="color:blue" %)**AT+RODORESET=0(%%)~/~/After the device is reset, the previously savedRODOstate (onlyMOD2 toMOD5) isread,and its state is not changedwhenitis reconnectedto the network.1898 +**0** : RODO will close when the device joins the network. (default) 1330 1330 1900 +**1**: After the device is reset, the previously saved RODO state (limited to MOD2 to MOD5) is read, and it will not change when the device reconnects to the network. 1901 +))) 1902 +|(% style="width:127px" %)**Example**|(% style="width:371px" %)((( 1903 +(% style="color:blue" %)**AT+RODORESET=1 ** 1331 1331 1332 - *(% style="color:#037691"%)**DownlinkPayload(prefix 0xAD):**1905 +RODO will close when the device joins the network. (default) 1333 1333 1334 -(% style="color:blue" %)** 0xAD aa ** (%%)~/~/ same as AT+RODORETaa1907 +(% style="color:blue" %)**AT+RODORESET=0 ** 1335 1335 1909 +After the device is reset, the previously saved RODO state (limited to MOD2 to MOD5) is read, and it will not change when the device reconnects to the network. 1910 +))) 1336 1336 1912 +(% style="color:#037691" %)**Downlink Payload** 1337 1337 1914 +(% border="2" style="width:500px" %) 1915 +|(% style="width:127px" %)**Payload**|(% style="width:371px" %)<prefix><state> 1916 +|(% style="width:127px" %)**Parameters**|(% style="width:371px" %)((( 1917 +**prefix** : AD 1918 + 1919 +**state** : 1920 + 1921 +**0** : RODO will close when the device joins the network. (default), represents as 1 byte in hexadecimal. 1922 + 1923 +**1**: After the device is reset, the previously saved RODO state (limited to MOD2 to MOD5) is read, and it will not change when the device reconnects to the network. - represents as 1 byte in hexadecimal 1924 +))) 1925 +|(% style="width:127px" %)**Example**|(% style="width:371px" %)((( 1926 +AD **01** 1927 + 1928 +RODO will close when the device joins the network. (default) 1929 + 1930 +AD **00** 1931 + 1932 +After the device is reset, the previously saved RODO state (limited to MOD2 to MOD5) is read, and it will not change when the device reconnects to the network. 1933 +))) 1934 + 1338 1338 ==== 3.4.2.21 Encrypted payload ==== 1339 1339 1340 1340 1341 - *(%style="color:#037691"%)**ATCommand:**1938 +This command allows you to configure whether the device should upload data in an encrypted format or in plaintext. By default, the device encrypts the payload before uploading. You can toggle this setting to either upload encrypted data or transmit it without encryption. 1342 1342 1343 -(% style="color: blue" %)**AT+DECRYPT=1** (%%)~/~/ The payload is uploaded without encryption1940 +(% style="color:#037691" %)**AT Command:** 1344 1344 1345 -(% style="color:blue" %)**AT+DECRYPT=0 **(%%)~/~/ Encrypt when uploading payload (default) 1942 +(% border="2" style="width:500px" %) 1943 +|(% style="width:127px" %)**Command**|(% style="width:371px" %)AT+DECRYPT=<state> 1944 +|(% style="width:127px" %)**Response**|(% style="width:371px" %) 1945 +|(% style="width:127px" %)**Parameters**|(% style="width:371px" %)((( 1946 +**state** : 1346 1346 1948 +**1** : The payload is uploaded without encryption 1347 1347 1950 +**0** : The payload is encrypted when uploaded (default) 1951 +))) 1952 +|(% style="width:127px" %)**Example**|(% style="width:371px" %)((( 1953 +AT+DECRYPT=1 1348 1348 1955 +The payload is uploaded without encryption 1956 + 1957 +AT+DECRYPT=0 1958 + 1959 +The payload is encrypted when uploaded (default) 1960 +))) 1961 + 1962 +There is no downlink payload for this configuration. 1963 + 1964 + 1349 1349 ==== 3.4.2.22 Get sensor value ==== 1350 1350 1351 1351 1352 - *(%style="color:#037691"%)**ATCommand:**1968 +This command allows you to retrieve and optionally uplink sensor readings through the serial port. 1353 1353 1354 -(% style="color: blue" %)**AT+GETSENSORVALUE=0**(%%)~/~/ The serial port gets the reading of the current sensor1970 +(% style="color:#037691" %)**AT Command** 1355 1355 1356 -(% style="color:blue" %)**AT+GETSENSORVALUE=1 **(%%)~/~/ The serial port gets the current sensor reading and uploads it. 1972 +(% border="2" style="width:500px" %) 1973 +|(% style="width:127px" %)**Command**|(% style="width:371px" %)AT+GETSENSORVALUE=<state> 1974 +|(% style="width:127px" %)**Response**|(% style="width:371px" %) 1975 +|(% style="width:127px" %)**Parameters**|(% style="width:371px" %)((( 1976 +**state** : 1357 1357 1978 +**0 **: Retrieves the current sensor reading via the serial port. 1358 1358 1980 +**1 **: Retrieves and uploads the current sensor reading via the serial port. 1981 +))) 1982 +|(% style="width:127px" %)**Example**|(% style="width:371px" %)((( 1983 +AT+GETSENSORVALUE=0 1359 1359 1360 - ==== 3.4.2.23Resets thedownlinkpacketcount====1985 +Retrieves the current sensor reading via the serial port. 1361 1361 1987 +AT+GETSENSORVALUE=1 1362 1362 1363 -* (% style="color:#037691" %)**AT Command:** 1989 +Retrieves and uplinks the current sensor reading via the serial port. 1990 +))) 1364 1364 1365 - (% style="color:blue" %)**AT+DISFCNTCHECK=0 **(%%)~/~/ When the downlink packet count sent by the serverisless thanthe nodedownlink packet countorexceeds 16384,the node willnolongerreceive downlink packets (default)1992 +There is no downlink payload for this configuration. 1366 1366 1367 -(% style="color:blue" %)**AT+DISFCNTCHECK=1 **(%%)~/~/ When the downlink packet count sent by the server is less than the node downlink packet count or exceeds 16384, the node resets the downlink packet count and keeps it consistent with the server downlink packet count. 1368 1368 1995 +==== 3.4.2.23 Resetting the downlink packet count ==== 1369 1369 1370 1370 1998 +This command manages how the node handles mismatched downlink packet counts. It offers two modes: one disables the reception of further downlink packets if discrepancies occur, while the other resets the downlink packet count to align with the server, ensuring continued communication. 1999 + 2000 +(% style="color:#037691" %)**AT Command** 2001 + 2002 +(% border="2" style="width:500px" %) 2003 +|(% style="width:130px" %)**Command**|(% style="width:368px" %)AT+DISFCNTCHECK=<state> 2004 +|(% style="width:130px" %)**Response**|(% style="width:368px" %)((( 2005 + 2006 +))) 2007 +|(% style="width:130px" %)**Parameters**|(% style="width:368px" %)((( 2008 +**state **: 2009 + 2010 +**0** : When the downlink packet count sent by the server is less than the node's downlink packet count or exceeds 16,384, the node stops receiving further downlink packets (default). 2011 + 2012 + 2013 +**1** : When the downlink packet count sent by the server is less than the node's downlink packet count or exceeds 16,384, the node resets its downlink packet count to match the server's, ensuring consistency. 2014 +))) 2015 +|(% style="width:130px" %)**Example**|(% style="width:368px" %)((( 2016 +AT+DISFCNTCHECK=0 2017 + 2018 +When the downlink packet count sent by the server is less than the node's downlink packet count or exceeds 16,384, the node stops receiving further downlink packets (default). 2019 + 2020 +AT+DISFCNTCHECK=1 2021 + 2022 +When the downlink packet count sent by the server is less than the node's downlink packet count or exceeds 16,384, the node resets its downlink packet count to match the server's, ensuring consistency. 2023 +))) 2024 + 2025 +There is no downlink payload for this configuration. 2026 + 2027 + 1371 1371 ==== 3.4.2.24 When the limit bytes are exceeded, upload in batches ==== 1372 1372 1373 1373 1374 - *(%style="color:#037691"%)**ATCommand:**2031 +This command controls the behavior of the node when the combined size of the MAC commands (MACANS) from the server and the payload exceed the allowed byte limit for the current data rate (DR). The command provides two modes: one enables splitting the data into batches to ensure compliance with the byte limit, while the other prioritizes the payload and ignores the MACANS in cases of overflow. 1375 1375 1376 -(% style="color: blue" %)**AT+DISMACANS=0**(%%) ~/~/ When the MACANSof the reply server plus the payload exceeds themaximum number of bytes of 11 bytes (DR0 of US915, DR2 of AS923, DR2 of AU195), the node will sendapacket with a payload of 00 anda port of 4. (default)2033 +(% style="color:#037691" %)**AT Command** 1377 1377 1378 -(% style="color:blue" %)**AT+DISMACANS=1** (%%) ~/~/ When the MACANS of the reply server plus the payload exceeds the maximum number of bytes of the DR, the node will ignore the MACANS and not reply, and only upload the payload part. 2035 +(% border="2" style="width:500px" %) 2036 +|(% style="width:127px" %)**Command**|(% style="width:371px" %)AT+DISMACANS=<state> 2037 +|(% style="width:127px" %)**Response**|(% style="width:371px" %) 2038 +|(% style="width:127px" %)**Parameters**|(% style="width:371px" %)((( 2039 +**state** : 1379 1379 2041 +**0** : When the combined size of the MACANS from the server and the payload exceeds the byte limit (11 bytes for DR0 of US915, DR2 of AS923, DR2 of AU915), the node sends a packet with a payload of 00 and a port of 4. (default) 1380 1380 1381 -* (% style="color:#037691" %)**Downlink Payload **(%%)**:** 2043 +**1** : When the combined size of the MACANS from the server and the payload exceeds the byte limit for the current DR, the node ignores the MACANS and only uploads the payload. 2044 +))) 2045 +|(% style="width:127px" %)**Example**|(% style="width:371px" %)((( 2046 +AT+DISMACANS=0 1382 1382 1383 - (%style="color:blue"%)**0x210001**(%%)~/~/SeteDISMACANS=12048 +When the combined size of the MACANS from the server and the payload exceeds the byte limit (11 bytes for DR0 of US915, DR2 of AS923, DR2 of AU915), the node sends a packet with a payload of 00 and a port of 4. (default) 1384 1384 2050 +AT+DISMACANS=1 1385 1385 2052 +When the combined size of the MACANS from the server and the payload exceeds the byte limit for the current DR, the node ignores the MACANS and only uploads the payload. 2053 +))) 1386 1386 2055 +(% style="color:#037691" %)**Downlink Payload** 2056 + 2057 +(% border="2" style="width:500px" %) 2058 +|(% style="width:126px" %)**Payload**|(% style="width:372px" %)<prefix><state> 2059 +|(% style="width:126px" %)**Parameters**|(% style="width:372px" %)((( 2060 +**prefix** : 21 2061 + 2062 +**state** : (2 bytes in hexadecimal) 2063 + 2064 +**0** : When the combined size of the MACANS from the server and the payload exceeds the byte limit (11 bytes for DR0 of US915, DR2 of AS923, DR2 of AU915), the node sends a packet with a payload of 00 and a port of 4. (default) 2065 + 2066 +**1 **: When the combined size of the MACANS from the server and the payload exceeds the byte limit for the current DR, the node ignores the MACANS and only uploads the payload. 2067 +))) 2068 +|(% style="width:126px" %)**Example**|(% style="width:372px" %)((( 2069 +21 **00 01** 2070 + 2071 +Set DISMACANS=1 2072 +))) 2073 + 1387 1387 ==== 3.4.2.25 Copy downlink to uplink ==== 1388 1388 1389 1389 1390 - *(%style="color:#037691"%)**ATCommand**(%%)**:**2077 +This command enables the device to immediately uplink the payload of a received downlink packet back to the server. The command allows for quick data replication from downlink to uplink, with a fixed port number of 100. 1391 1391 1392 -(% style="color: blue" %)**AT+RPL=5**(%%) ~/~/ After receiving the package fromthe server, it will immediately upload the content of the package to the server, the port number is 100.2079 +(% style="color:#037691" %)**AT Command**(%%)**:** 1393 1393 1394 - Example:**aa xx xx xx xx**aaindicateswhether the configuration haschanged,00isyes,01 is no;xx xx xx xx arethebytessent.2081 +(% style="color:blue" %)**AT+RPL=5** (%%) ~/~/ After receiving a downlink payload from the server, the device will immediately uplink the payload back to the server using port number 100. 1395 1395 2083 +Example:**aa xx xx xx xx** ~/~/ **aa** indicates whether the configuration has changed: **00** means YES, and **01** means NO. **xx xx xx xx** are the bytes uplinked back. 1396 1396 2085 + 1397 1397 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/WebHome/image-20220823173747-6.png?width=1124&height=165&rev=1.1||alt="image-20220823173747-6.png"]] 1398 1398 1399 1399 For example, sending 11 22 33 44 55 66 77 will return invalid configuration 00 11 22 33 44 55 66 77. 1400 1400 1401 - 1402 - 1403 1403 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/WebHome/image-20220823173833-7.png?width=1124&height=149&rev=1.1||alt="image-20220823173833-7.png"]] 1404 1404 1405 1405 For example, if 01 00 02 58 is issued, a valid configuration of 01 01 00 02 58 will be returned. 1406 1406 1407 1407 2095 +(% style="color:#037691" %)**Downlink Payload**(%%)**:** 1408 1408 1409 - ==== 3.4.2.26 Query version numberandfrequency band 、TDC ====2097 +There is no downlink option available for this feature. 1410 1410 1411 1411 2100 +==== 3.4.2.26 Query firmware version, frequency band, subband, and TDC time ==== 2101 + 2102 + 2103 +This command is used to query key information about the device, including its firmware version, frequency band, subband, and TDC time. By sending the specified payload as a downlink, the server can retrieve this essential data from the device. 2104 + 1412 1412 * ((( 1413 1413 (% style="color:#037691" %)**Downlink Payload**(%%)**:** 1414 1414 1415 -(% style="color:blue" %)**26 01 ** (%%) ~/~/ Downlink 26 01canquery deviceuploadfrequency, frequency band, software version number,TDC time.2108 +(% style="color:blue" %)**26 01 ** (%%) ~/~/ The downlink payload 26 01 is used to query the device's firmware version, frequency band, subband, and TDC time. 1416 1416 1417 1417 1418 1418 ))) ... ... @@ -1424,10 +1424,13 @@ 1424 1424 1425 1425 == 3.5 Integrating with ThingsEye.io == 1426 1426 2120 + 1427 1427 The Things Stack application supports integration with ThingsEye.io. Once integrated, ThingsEye.io acts as an MQTT client for The Things Stack MQTT broker, allowing it to subscribe to upstream traffic and publish downlink traffic. 1428 1428 2123 + 1429 1429 === 3.5.1 Configuring The Things Stack === 1430 1430 2126 + 1431 1431 We use The Things Stack Sandbox in this example: 1432 1432 1433 1433 * In **The Things Stack Sandbox**, go to the **Application **for the LT-22222-L you added. ... ... @@ -1435,19 +1435,24 @@ 1435 1435 * In the **Connection information **section, under **Connection credentials**, The Things Stack displays an auto-generated **username**. You can use it or provide a new one. 1436 1436 * Click the **Generate new API key** button to generate a password. You can view it by clicking on the **visibility toggle/eye** icon. The API key works as the password. 1437 1437 1438 -{{info}} 2134 +(% class="box infomessage" %) 2135 +((( 1439 1439 The username and password (API key) you created here are required in the next section. 1440 - {{/info}}2137 +))) 1441 1441 1442 -[[image:tts-mqtt-integration.png|| height="625" width="1000"]]2139 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/tts-mqtt-integration.png?rev=1.1||alt="tts-mqtt-integration.png"]] 1443 1443 2141 + 1444 1444 === 3.5.2 Configuring ThingsEye.io === 1445 1445 1446 -* Login to your [[ThingsEye.io >>https://thingseye.io]]account. 2144 + 2145 +The ThingsEye.io IoT platform is not open for self-registration at the moment. If you are interested in testing the platform, please send your project information to admin@thingseye.io, and we will create an account for you. 2146 + 2147 +* Login to your [[ThingsEye.io >>url:https://thingseye.io]]account. 1447 1447 * Under the **Integrations center**, click **Integrations**. 1448 1448 * Click the **Add integration** button (the button with the **+** symbol). 1449 1449 1450 -[[image:thingseye-io-step-1.png|| height="625" width="1000"]]2151 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/thingseye-io-step-1.png?rev=1.2||alt="thingseye-io-step-1.png"]] 1451 1451 1452 1452 1453 1453 On the **Add integration** window, configure the following: ... ... @@ -1459,10 +1459,10 @@ 1459 1459 * Ensure the following options are turned on. 1460 1460 ** Enable integration 1461 1461 ** Debug mode 1462 -** Allow creat edevices or assets2163 +** Allow creating devices or assets 1463 1463 * Click the **Next** button. you will be navigated to the **Uplink data converter** tab. 1464 1464 1465 -[[image:thingseye-io-step-2.png||h eight="625"width="1000"]]2166 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/thingseye-io-step-2.png?rev=1.1||alt="thingseye-io-step-2.png"]] 1466 1466 1467 1467 1468 1468 **Uplink data converter:** ... ... @@ -1470,10 +1470,10 @@ 1470 1470 * Click the **Create new** button if it is not selected by default. 1471 1471 * Enter a suitable name for the uplink data converter in the **Name **text** **box or keep the default name. 1472 1472 * Click the **JavaScript** button. 1473 -* Paste the uplink decoder function into the text area (first, delete the default code). The demo uplink decoder function can be found [[here>>https://raw.githubusercontent.com/ThingsEye-io/te-platform/refs/heads/main/Data%20Converters/The_Things_Network_MQTT_Uplink_Converter.js]]. 2174 +* Paste the uplink decoder function into the text area (first, delete the default code). The demo uplink decoder function can be found [[here>>url:https://raw.githubusercontent.com/ThingsEye-io/te-platform/refs/heads/main/Data%20Converters/The_Things_Network_MQTT_Uplink_Converter.js]]. 1474 1474 * Click the **Next** button. You will be navigated to the **Downlink data converter **tab. 1475 1475 1476 -[[image:thingseye-io-step-3.png|| height="625" width="1000"]]2177 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/thingseye-io-step-3.png?rev=1.1||alt="thingseye-io-step-3.png"]] 1477 1477 1478 1478 1479 1479 **Downlink data converter (this is an optional step):** ... ... @@ -1481,10 +1481,10 @@ 1481 1481 * Click the **Create new** button if it is not selected by default. 1482 1482 * Enter a suitable name for the downlink data converter in the **Name **text** **box or keep the default name. 1483 1483 * Click the **JavaScript** button. 1484 -* Paste the downlink decoder function into the text area (first, delete the default code). The demo downlink decoder function can be found [[here>>https://raw.githubusercontent.com/ThingsEye-io/te-platform/refs/heads/main/Data%20Converters/The_Things_Network_MQTT_Downlink_Converter.js]]. 2185 +* Paste the downlink decoder function into the text area (first, delete the default code). The demo downlink decoder function can be found [[here>>url:https://raw.githubusercontent.com/ThingsEye-io/te-platform/refs/heads/main/Data%20Converters/The_Things_Network_MQTT_Downlink_Converter.js]]. 1485 1485 * Click the **Next** button. You will be navigated to the **Connection** tab. 1486 1486 1487 -[[image:thingseye-io-step-4.png|| height="625" width="1000"]]2188 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/thingseye-io-step-4.png?rev=1.1||alt="thingseye-io-step-4.png"]] 1488 1488 1489 1489 1490 1490 **Connection:** ... ... @@ -1491,67 +1491,79 @@ 1491 1491 1492 1492 * Choose **Region** from the **Host type**. 1493 1493 * Enter the **cluster** of your **The Things Stack** in the **Region** textbox. You can find the cluster in the url (e.g., https:~/~/**eu1**.cloud.thethings.network/...). 1494 -* Enter the **Username** and **Password** of the MQTT integration in the **Credentials** section. The **username **and **password **can be found on the MQTT integration page of your The Things Stack account (see Configuring The Things Stack). 2195 +* Enter the **Username** and **Password** of the MQTT integration in the **Credentials** section. The **username **and **password **can be found on the MQTT integration page of your The Things Stack account (see **3.5.1 Configuring The Things Stack**). 1495 1495 * Click the **Check connection** button to test the connection. If the connection is successful, you will see the message saying **Connected**. 1496 1496 1497 -[[image:message-1.png]] 2198 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/message-1.png?rev=1.1||alt="message-1.png"]] 1498 1498 1499 1499 1500 1500 * Click the **Add** button. 1501 1501 1502 -[[image:thingseye-io-step-5.png||h eight="625"width="1000"]]2203 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/thingseye-io-step-5.png?rev=1.1||alt="thingseye-io-step-5.png"]] 1503 1503 1504 1504 1505 -Your integration has been added to the** Integrations** list and will be displayed on the **Integrations** page. Check whether the status is shown as **Active**. If not, review your configuration settings. 2206 +Your integration has been added to the** Integrations** list and will be displayed on the **Integrations** page. Check whether the status is shown as **Active**. If not, review your configuration settings and correct any errors. 1506 1506 2208 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/thingseye.io_integrationsCenter_integrations.png?rev=1.2||alt="thingseye.io_integrationsCenter_integrations.png"]] 1507 1507 1508 -[[image:thingseye.io_integrationsCenter_integrations.png||height="686" width="1000"]] 1509 1509 2211 +==== 3.5.2.1 Viewing integration details ==== 1510 1510 1511 -**Viewing integration details**: 1512 1512 1513 1513 Click on your integration from the list. The **Integration details** window will appear with the **Details **tab selected. The **Details **tab shows all the settings you have provided for this integration. 1514 1514 1515 -[[image:integration-details.png|| height="686" width="1000"]]2216 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/integration-details.png?rev=1.1||alt="integration-details.png"]] 1516 1516 1517 1517 1518 1518 If you want to edit the settings you have provided, click on the **Toggle edit mode** button. Once you have done click on the **Apply changes **button. 1519 1519 1520 -{{info}} 1521 -See also ThingsEye documentation. 1522 -{{/info}} 2221 +(% class="box infomessage" %) 2222 +((( 2223 +See also [[ThingsEye documentation>>url:https://wiki.thingseye.io/xwiki/bin/view/Main/]]. 2224 +))) 1523 1523 1524 -**Viewing events:** 1525 1525 2227 +==== 3.5.2.2 Viewing events ==== 2228 + 2229 + 1526 1526 The **Events **tab displays all the uplink messages from the LT-22222-L. 1527 1527 1528 1528 * Select **Debug **from the **Event type** dropdown. 1529 1529 * Select the** time frame** from the **time window**. 1530 1530 1531 -[[image:thingseye-events.png|| height="686" width="1000"]]2235 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/thingseye-events.png?rev=1.1||alt="thingseye-events.png"]] 1532 1532 1533 1533 1534 -* To view the JSON payload of a message, click on the three dots (...) in the Message column of the desired message. 2238 +* To view the **JSON payload** of a message, click on the **three dots (...)** in the **Message** column of the desired message. 1535 1535 1536 -[[image:thingseye-json.png|| width="1000"]]2240 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/thingseye-json.png?rev=1.3||alt="thingseye-json.png"]] 1537 1537 1538 1538 1539 - **Deletingtheintegration**:2243 +==== 3.5.2.3 Deleting an integration ==== 1540 1540 1541 -If you want to delete this integration, click the **Delete integratio**n button. 1542 1542 2246 +If you want to delete an integration, click the **Delete integratio**n button on the Integrations page. 1543 1543 2248 + 2249 +==== 3.5.2.4 Viewing sensor data on a dashboard ==== 2250 + 2251 + 2252 +You can create a dashboard with ThingsEye to visualize the sensor data coming from the LT-22222-L. The following image shows a dashboard created for the LT-22222-L. See **Creating a dashboard** in ThingsEye documentation for more information. 2253 + 2254 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/lt-22222-l-dashboard.png?rev=1.1||alt="lt-22222-l-dashboard.png"]] 2255 + 2256 + 1544 1544 == 3.6 Interface Details == 1545 1545 1546 -=== 3.6.1 Digital Input Port: DI1/DI2 lowactive2259 +=== 3.6.1 Digital Input Ports: DI1/DI2/DI3 (For LT-33222-L, Low Active) === 1547 1547 1548 1548 1549 -Support 2262 +Supports** NPN-type **sensors. 1550 1550 1551 -[[image:1653356991268-289.png]] 2264 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/1653356991268-289.png?rev=1.1||alt="1653356991268-289.png"]] 1552 1552 1553 1553 1554 -=== 3.6.2 Digital Input Ports: DI1/DI2 ( For LT-22222-L)===2267 +=== 3.6.2 Digital Input Ports: DI1/DI2 === 1555 1555 1556 1556 1557 1557 ((( ... ... @@ -1566,7 +1566,7 @@ 1566 1566 ))) 1567 1567 ))) 1568 1568 1569 -[[image:1653357170703-587.png]] 2282 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/1653357170703-587.png?rev=1.1||alt="1653357170703-587.png"]] 1570 1570 1571 1571 ((( 1572 1572 ((( ... ... @@ -1598,11 +1598,11 @@ 1598 1598 ))) 1599 1599 1600 1600 ((( 1601 -[[image:1653968155772-850.png||height="23" width="19"]]**= DI1**+** / 1K.** 2314 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/1653968155772-850.png?width=19&height=23&rev=1.1||alt="1653968155772-850.png" height="23" width="19"]]**= DI1**+** / 1K.** 1602 1602 ))) 1603 1603 1604 1604 ((( 1605 -For example, if** DI1+ **= **12V**, the resulting current is [[image:1653968155772-850.png||height="23" width="19"]]= 12mA. Therefore, the LT-22222-L will be able to detect this active signal. 2318 +For example, if** DI1+ **= **12V**, the resulting current is [[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/1653968155772-850.png?width=19&height=23&rev=1.1||alt="1653968155772-850.png" height="23" width="19"]]= 12mA. Therefore, the LT-22222-L will be able to detect this active signal. 1606 1606 ))) 1607 1607 1608 1608 ((( ... ... @@ -1629,11 +1629,11 @@ 1629 1629 ))) 1630 1630 1631 1631 ((( 1632 -[[image:1653968155772-850.png||height="23" width="19"]]**= DI1+ / 1K.** 2345 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/1653968155772-850.png?width=19&height=23&rev=1.1||alt="1653968155772-850.png" height="23" width="19"]]**= DI1+ / 1K.** 1633 1633 ))) 1634 1634 1635 1635 ((( 1636 -If **DI1+ = 24V**, the resulting current[[image:1653968155772-850.png||height="23" width="19"]] is 24mA, Therefore, the LT-22222-L will detect this high-active signal. 2349 +If **DI1+ = 24V**, the resulting current[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/1653968155772-850.png?width=19&height=23&rev=1.1||alt="1653968155772-850.png" height="23" width="19"]] is 24mA, Therefore, the LT-22222-L will detect this high-active signal. 1637 1637 ))) 1638 1638 1639 1639 ((( ... ... @@ -1660,28 +1660,28 @@ 1660 1660 ))) 1661 1661 1662 1662 ((( 1663 - [[image:1653968155772-850.png||height="23" width="19"]]**= DI1+ / 51K.** 2376 + [[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/1653968155772-850.png?width=19&height=23&rev=1.1||alt="1653968155772-850.png" height="23" width="19"]]**= DI1+ / 51K.** 1664 1664 ))) 1665 1665 1666 1666 ((( 1667 -If the sensor output is 220V, then [[image:1653968155772-850.png||height="23" width="19"]](% id="cke_bm_243359S" style="display:none" wfd-invisible="true" %)[[image:image-20220524095628-8.png]](%%) = DI1+ / 51K = 4.3mA. Therefore, the LT-22222-L will be able to safely detect this high-active signal. 2380 +If the sensor output is 220V, then [[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/1653968155772-850.png?width=19&height=23&rev=1.1||alt="1653968155772-850.png" height="23" width="19"]](% id="cke_bm_243359S" style="display:none" wfd-invisible="true" %)[[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"]](%%) = DI1+ / 51K = 4.3mA. Therefore, the LT-22222-L will be able to safely detect this high-active signal. 1668 1668 ))) 1669 1669 1670 1670 1671 -(% style="color:blue" %)**Example4**(%%): Connecting to Dry Contact sensor 2384 +(% style="color:blue" %)**Example 4**(%%): Connecting to a Dry Contact sensor 1672 1672 1673 -From the DI port circuit above, you can see that 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.2386 +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. 1674 1674 1675 -To detect a Dry Contact, you can supply a power source to one pin of the Dry Contact. Belowis areference circuit diagram.2388 +To detect a Dry Contact, you can supply a power source to one of the pins of the Dry Contact. A reference circuit diagram is shown below. 1676 1676 1677 -[[image:image-20230616235145-1.png]] 2390 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20230616235145-1.png?rev=1.1||alt="image-20230616235145-1.png"]] 1678 1678 1679 -(% style="color:blue" %)**Example5**(%%): Connecting to an Open Collector 2392 +(% style="color:blue" %)**Example 5**(%%): Connecting to an Open Collector 1680 1680 1681 -[[image:image-20240219115718-1.png]] 2394 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20240219115718-1.png?rev=1.1||alt="image-20240219115718-1.png"]] 1682 1682 1683 1683 1684 -=== 3.6.3 Digital Output Ports: DO1/DO2 /DO3===2397 +=== 3.6.3 Digital Output Ports: DO1/DO2 === 1685 1685 1686 1686 1687 1687 (% style="color:blue" %)**NPN output**(%%): GND or Float. The maximum voltage that can be applied to the output pin is 36V. ... ... @@ -1688,7 +1688,7 @@ 1688 1688 1689 1689 (% style="color:red" %)**Note: The DO pins will float when the device is powered off.** 1690 1690 1691 -[[image:1653357531600-905.png]] 2404 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/1653357531600-905.png?rev=1.1||alt="1653357531600-905.png"]] 1692 1692 1693 1693 1694 1694 === 3.6.4 Analog Input Interfaces === ... ... @@ -1699,7 +1699,7 @@ 1699 1699 1700 1700 (% style="color:blue" %)**AC2 = (IN2 voltage )/12** 1701 1701 1702 -[[image:1653357592296-182.png]] 2415 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/1653357592296-182.png?rev=1.1||alt="1653357592296-182.png"]] 1703 1703 1704 1704 Example: Connecting a 4~~20mA sensor 1705 1705 ... ... @@ -1716,18 +1716,18 @@ 1716 1716 1717 1717 **Connection diagram:** 1718 1718 1719 -[[image:1653357640609-758.png]] 2432 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/1653357640609-758.png?rev=1.1||alt="1653357640609-758.png"]] 1720 1720 1721 -[[image:1653357648330-671.png||height="155" width="733"]] 2434 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/1653357648330-671.png?width=733&height=155&rev=1.1||alt="1653357648330-671.png" height="155" width="733"]] 1722 1722 1723 1723 1724 1724 Example: Connecting to a regulated power supply to measure voltage 1725 1725 1726 -[[image:image-20230608101532-1.png||height="606" width="447"]] 2439 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20230608101532-1.png?width=447&height=606&rev=1.1||alt="image-20230608101532-1.png" height="606" width="447"]] 1727 1727 1728 -[[image:image-20230608101608-2.jpeg||height="379" width="284"]] 2441 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20230608101608-2.jpeg?width=284&height=379&rev=1.1||alt="image-20230608101608-2.jpeg" height="379" width="284"]] 1729 1729 1730 -[[image:image-20230608101722-3.png||height="102" width="1139"]] 2443 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20230608101722-3.png?width=1139&height=102&rev=1.1||alt="image-20230608101722-3.png" height="102" width="1139"]] 1731 1731 1732 1732 1733 1733 (% style="color:blue; font-weight:bold" %)**Specifications of the regulated power supply**(% style="color:blue" %)**:** ... ... @@ -1743,29 +1743,30 @@ 1743 1743 ((( 1744 1744 The LT-22222-L has two relay interfaces, RO1 and RO2, each using two pins of the screw terminal (ROx-1 and ROx-2 where x is the port number, 1 or 2). You can connect a device's power line in series with one of the relay interfaces (e.g., RO1-1 and RO1-2 screw terminals). See the example below: 1745 1745 1746 -**Note** :The ROx pins will be in the Open (NO) state when the LT-22222-L is powered off.2459 +(% style="color:red" %)**Note:**(%%) The ROx pins will be in the Open (NO) state when the LT-22222-L is powered off. 1747 1747 ))) 1748 1748 1749 -[[image:image-20220524100215-9.png]] 2462 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524100215-9.png?rev=1.1||alt="image-20220524100215-9.png"]] 1750 1750 1751 1751 1752 -[[image:image-20220524100215-10.png||height="382" width="723"]] 2465 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524100215-10.png?width=723&height=382&rev=1.1||alt="image-20220524100215-10.png" height="382" width="723"]] 1753 1753 1754 1754 1755 -== 3.7 LED sIndicators ==2468 +== 3.7 LED Indicators == 1756 1756 1757 -The table below lists the behavior of LED indicators for each port function. 1758 1758 2471 +The table below lists the behaviour of LED indicators for each port function. 2472 + 1759 1759 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 1760 1760 |(% style="background-color:#4f81bd; color:white; width:50px" %)**LEDs**|(% style="background-color:#4f81bd; color:white; width:460px" %)**Feature** 1761 1761 |**PWR**|Always on when there is power 1762 1762 |**TX**|((( 1763 1763 ((( 1764 -Device boot: TX blinks 5 times. 2478 +Device booting: TX blinks 5 times. 1765 1765 ))) 1766 1766 1767 1767 ((( 1768 -Successful network join: TX remains ON for 5 seconds. 2482 +Successful network joins: TX remains ON for 5 seconds. 1769 1769 ))) 1770 1770 1771 1771 ((( ... ... @@ -1786,79 +1786,83 @@ 1786 1786 1787 1787 = 4. Using AT Commands = 1788 1788 2503 + 1789 1789 The LT-22222-L supports programming using AT Commands. 1790 1790 2506 + 1791 1791 == 4.1 Connecting the LT-22222-L to a PC == 1792 1792 2509 + 1793 1793 ((( 1794 -You can use a USB-to-TTL adapter along with a 3.5mm Program Cable to connect the LT-22222-L to a PC, as shown below. 1795 -))) 2511 +You can use a USB-to-TTL adapter/converter along with a 3.5mm Program Cable to connect the LT-22222-L to a PC, as shown below. 1796 1796 1797 -[[image: 1653358238933-385.png]]2513 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/usb-ttl-audio-jack-connection.jpg?rev=1.1||alt="usb-ttl-audio-jack-connection.jpg"]] 1798 1798 2515 + 2516 +))) 1799 1799 1800 1800 ((( 1801 -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: 2519 +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>>url: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: 1802 1802 ))) 1803 1803 1804 -[[image:1653358355238-883.png]] 2522 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/1653358355238-883.png?rev=1.1||alt="1653358355238-883.png"]] 1805 1805 1806 1806 1807 1807 ((( 1808 -You can find more details in the [[AT Command Manual>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/]] 1809 - 1810 1810 == 4.2 LT-22222-L related AT commands == 2527 + 2528 + 1811 1811 ))) 1812 1812 1813 1813 ((( 1814 -The following is the list of all the AT commands related to the LT-22222-L, except for those used for switching between work modes. 2532 +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. 1815 1815 1816 -* AT+<CMD>? : Help on <CMD> 1817 -* AT+<CMD> : Run <CMD> 1818 -* AT+<CMD>=<value> : Set the value 1819 -* AT+<CMD>=? : Get the value 1820 -* ATZ: Trigger a reset of the MCU 2534 +* **##AT##+<CMD>?** : Help on <CMD> 2535 +* **##AT##+<CMD>** : Run <CMD> 2536 +* **##AT##+<CMD>=<value>** : Set the value 2537 +* **##AT##+<CMD>=?** : Get the value 2538 +* ##**ATZ**##: Trigger a reset of the MCU 1821 1821 * ##**AT+FDR**##: Reset Parameters to factory default, reserve keys 1822 1822 * **##AT+DEUI##**: Get or set the Device EUI (DevEUI) 1823 1823 * **##AT+DADDR##**: Get or set the Device Address (DevAddr) 1824 1824 * **##AT+APPKEY##**: Get or set the Application Key (AppKey) 1825 -* AT+NWKSKEY: Get or set the Network Session Key (NwkSKey) 1826 -* AT+APPSKEY: Get or set the Application Session Key (AppSKey) 1827 -* AT+APPEUI: Get or set the Application EUI (AppEUI) 1828 -* AT+ADR: Get or set the Adaptive Data Rate setting. (0: OFF, 1: ON) 1829 -* AT+TXP: Get or set the Transmit Power (0-5, MAX:0, MIN:5, according to LoRaWAN Specification) 1830 -* AT+DR: Get or set the Data Rate. (0-7 corresponding to DR_X) 1831 -* AT+DCS: Get or set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing 1832 -* AT+PNM: Get or set the public network mode. (0: off, 1: on) 1833 -* AT+RX2FQ: Get or set the Rx2 window frequency 1834 -* AT+RX2DR: Get or set the Rx2 window data rate (0-7 corresponding to DR_X) 1835 -* AT+RX1DL: Get or set the delay between the end of the Tx and the Rx Window 1 in ms 1836 -* AT+RX2DL: Get or set the delay between the end of the Tx and the Rx Window 2 in ms 1837 -* AT+JN1DL: Get or set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms 1838 -* AT+JN2DL: Get or set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms 1839 -* AT+NJM: Get or set the Network Join Mode. (0: ABP, 1: OTAA) 1840 -* AT+NWKID: Get or set the Network ID 1841 -* AT+FCU: Get or set the Frame Counter Uplink (FCntUp) 1842 -* AT+FCD: Get or set the Frame Counter Downlink (FCntDown) 1843 -* AT+CLASS: Get or set the Device Class 1844 -* AT+JOIN: Join network1845 -* AT+NJS: Get OTAA Join Status 1846 -* AT+SENDB: Send hexadecimal data along with the application port 1847 -* AT+SEND: Send text data along with the application port 1848 -* AT+RECVB: Print last received data in binary format (with hexadecimal values) 1849 -* AT+RECV: Print last received data in raw format 1850 -* AT+VER: Get current image version and Frequency Band 1851 -* AT+CFM: Get or Set the confirmation mode (0-1) 1852 -* AT+CFS: Get confirmation status of the last AT+SEND (0-1) 1853 -* AT+SNR: Get the SNR of the last received packet 1854 -* AT+RSSI: Get the RSSI of the last received packet 1855 -* AT+TDC: Get or set the application data transmission interval in ms 1856 -* AT+PORT: Get or set the application port 1857 -* AT+DISAT: Disable AT commands 1858 -* AT+PWORD: Set password, max 9 digits 1859 -* AT+CHS: Get or set the Frequency (Unit: Hz) for Single Channel Mode 1860 -* AT+CHE: Get or set eight channels mode, Only for US915, AU915, CN470 1861 -* AT+CFG: Print all settings 2543 +* ##**AT+NWKSKEY**##: Get or set the Network Session Key (NwkSKey) 2544 +* **##AT+APPSKEY##**: Get or set the Application Session Key (AppSKey) 2545 +* **##AT+APPEUI##**: Get or set the Application EUI (AppEUI) 2546 +* **##AT+ADR##**: Get or set the Adaptive Data Rate setting. (0: OFF, 1: ON) 2547 +* ##**AT+TXP**##: Get or set the Transmit Power (0-5, MAX:0, MIN:5, according to LoRaWAN Specification) 2548 +* **##AT+DR##**: Get or set the Data Rate. (0-7 corresponding to DR_X) 2549 +* **##AT+DCS##**: Get or set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing 2550 +* ##**AT+PNM**##: Get or set the public network mode. (0: off, 1: on) 2551 +* ##**AT+RX2FQ**##: Get or set the Rx2 window frequency 2552 +* ##**AT+RX2DR**##: Get or set the Rx2 window data rate (0-7 corresponding to DR_X) 2553 +* ##**AT+RX1DL**##: Get or set the delay between the end of the Tx and the Rx Window 1 in ms 2554 +* ##**AT+RX2DL**##: Get or set the delay between the end of the Tx and the Rx Window 2 in ms 2555 +* ##**AT+JN1DL**##: Get or set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms 2556 +* ##**AT+JN2DL**##: Get or set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms 2557 +* ##**AT+NJM**##: Get or set the Network Join Mode. (0: ABP, 1: OTAA) 2558 +* ##**AT+NWKID**##: Get or set the Network ID 2559 +* ##**AT+FCU**##: Get or set the Frame Counter Uplink (FCntUp) 2560 +* ##**AT+FCD**##: Get or set the Frame Counter Downlink (FCntDown) 2561 +* ##**AT+CLASS**##: Get or set the Device Class 2562 +* ##**AT+JOIN**##: Join Network 2563 +* ##**AT+NJS**##: Get OTAA Join Status 2564 +* ##**AT+SENDB**##: Send hexadecimal data along with the application port 2565 +* ##**AT+SEND**##: Send text data along with the application port 2566 +* ##**AT+RECVB**##: Print the last received data in binary format (with hexadecimal values) 2567 +* ##**AT+RECV**##: Print the last received data in raw format 2568 +* ##**AT+VER**##: Get the current image version and Frequency Band 2569 +* ##**AT+CFM**##: Get or Set the confirmation mode (0-1) 2570 +* ##**AT+CFS**##: Get confirmation status of the last AT+SEND (0-1) 2571 +* ##**AT+SNR**##: Get the SNR of the last received packet 2572 +* ##**AT+RSSI**##: Get the RSSI of the last received packet 2573 +* ##**AT+TDC**##: Get or set the application data transmission interval in ms 2574 +* ##**AT+PORT**##: Get or set the application port 2575 +* ##**AT+DISAT**##: Disable AT commands 2576 +* ##**AT+PWORD**##: Set password, max 9 digits 2577 +* ##**AT+CHS**##: Get or set the Frequency (Unit: Hz) for Single Channel Mode 2578 +* ##**AT+CHE**##: Get or set eight channels mode, Only for US915, AU915, CN470 2579 +* ##**AT+CFG**##: Print all settings 1862 1862 ))) 1863 1863 1864 1864 ... ... @@ -1870,28 +1870,28 @@ 1870 1870 1871 1871 1872 1872 ((( 1873 -(% style="color:blue" %)**If the device has not joined the network yet:**2591 +(% style="color:blue" %)**If the device has not yet joined the network:** 1874 1874 ))) 1875 1875 ))) 1876 1876 1877 1877 ((( 1878 -(% style="background-color:#dcdcdc" %)##**123456 ~/~/enable AT command saccess**##2596 +(% style="background-color:#dcdcdc" %)##**123456 ~/~/Enter the password to enable AT command access**## 1879 1879 ))) 1880 1880 1881 1881 ((( 1882 -(% style="background-color:#dcdcdc" %)##**AT+FDR ~/~/ reset parameters to factory default,reserve keys**##2600 +(% style="background-color:#dcdcdc" %)##**AT+FDR ~/~/Reset parameters to factory default, Reserve keys**## 1883 1883 ))) 1884 1884 1885 1885 ((( 1886 -(% style="background-color:#dcdcdc" %)##**123456 ~/~/enable AT command saccess**##2604 +(% style="background-color:#dcdcdc" %)##**123456 ~/~/Enter the password to enable AT command access**## 1887 1887 ))) 1888 1888 1889 1889 ((( 1890 -(% style="background-color:#dcdcdc" %)##**AT+NJM=0 ~/~/ set to ABP mode**##2608 +(% style="background-color:#dcdcdc" %)##**AT+NJM=0 ~/~/Set to ABP mode**## 1891 1891 ))) 1892 1892 1893 1893 ((( 1894 -(% style="background-color:#dcdcdc" %)##**ATZ ~/~/ reset MCU**##2612 +(% style="background-color:#dcdcdc" %)##**ATZ ~/~/Reset MCU**## 1895 1895 ))) 1896 1896 1897 1897 ... ... @@ -1914,20 +1914,20 @@ 1914 1914 1915 1915 1916 1916 ((( 1917 -(% style="background-color:#dcdcdc" %)**123456**(%%) ~/~/ Enter Password tohave AT access.2635 +(% style="background-color:#dcdcdc" %)**123456**(%%) ~/~/ Enter the password to enable AT commands access 1918 1918 ))) 1919 1919 ))) 1920 1920 1921 1921 ((( 1922 -(% style="background-color:#dcdcdc" %)** AT+FDR**(%%) ~/~/ Reset Parameters to Factory Default,KeysReserve2640 +(% style="background-color:#dcdcdc" %)** AT+FDR**(%%) ~/~/ Reset parameters to Factory Default, Reserve keys 1923 1923 ))) 1924 1924 1925 1925 ((( 1926 -(% style="background-color:#dcdcdc" %)** 123456**(%%) ~/~/ Enter Password tohave AT access.2644 +(% style="background-color:#dcdcdc" %)** 123456**(%%) ~/~/ Enter the password to enable AT command access 1927 1927 ))) 1928 1928 1929 1929 ((( 1930 -(% style="background-color:#dcdcdc" %)** AT+CLASS=C**(%%) ~/~/ Set to work inCLASS C2648 +(% style="background-color:#dcdcdc" %)** AT+CLASS=C**(%%) ~/~/ Set to CLASS C mode 1931 1931 ))) 1932 1932 1933 1933 ((( ... ... @@ -1947,19 +1947,19 @@ 1947 1947 ))) 1948 1948 1949 1949 ((( 1950 -(% style="background-color:#dcdcdc" %)** AT+CHS=868400000**(%%) ~/~/ Set transmit frequency to 868.4M hz2668 +(% style="background-color:#dcdcdc" %)** AT+CHS=868400000**(%%) ~/~/ Set transmit frequency to 868.4 MHz 1951 1951 ))) 1952 1952 1953 1953 ((( 1954 -(% style="background-color:#dcdcdc" %)** AT+RX2FQ=868400000**(%%) ~/~/ Set RX2 Frequency to 868.4Mhz (according to the result from server)2672 +(% style="background-color:#dcdcdc" %)** AT+RX2FQ=868400000**(%%) ~/~/ Set RX2 frequency to 868.4 MHz (according to the result from the server) 1955 1955 ))) 1956 1956 1957 1957 ((( 1958 -(% style="background-color:#dcdcdc" %)** AT+RX2DR=5**(%%)** ** ~/~/ Set RX2DR to match the downlink DR from server. see below2676 +(% style="background-color:#dcdcdc" %)** AT+RX2DR=5**(%%)** ** ~/~/ Set RX2 DR to match the downlink DR from the server. See below. 1959 1959 ))) 1960 1960 1961 1961 ((( 1962 -(% style="background-color:#dcdcdc" %)** AT+DADDR=26 01 1A F1** (%%) ~/~/ Set Device Address to2601 1AF1, thisIDcan be found in theLoRaServerportal.2680 +(% 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. 1963 1963 ))) 1964 1964 1965 1965 ((( ... ... @@ -1973,18 +1973,17 @@ 1973 1973 ))) 1974 1974 1975 1975 ((( 1976 -**~1. Makesure the device is set to ABP mode in theIoTServer.**2694 +**~1. Ensure that the device is set to ABP mode in the LoRaWAN Network Server.** 1977 1977 1978 -**2. Makesurethe LG01/02 gateway RX frequencyis exactlythesame asAT+CHS setting.**2696 +**2. Verify that the LG01/02 gateway RX frequency matches the AT+CHS setting exactly.** 1979 1979 1980 -**3. Make sure SF / bandwidth setting in LG01/LG02 match the settings of AT+DR. refer [[this link>>url:http://www.dragino.com/downloads/index.php? 1981 -dir=LoRa_Gateway/&file=LoRaWAN%201.0.3%20Regional%20Parameters.xlsx]] to see what DR means.** 2698 +**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.** 1982 1982 1983 -**4. The command AT+RX2FQ and AT+RX2DR is toletdownlinkwork.to set the correct parameters, usercan check the actuallydownlink parameters to be used.As below.Which shows the RX2FQ shoulduse 868400000 and RX2DR should be 5.**2700 +**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.** 1984 1984 ))) 1985 1985 1986 1986 ((( 1987 -[[image:1653359097980-169.png||height="188" width="729"]] 2704 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/1653359097980-169.png?width=729&height=188&rev=1.1||alt="1653359097980-169.png" height="188" width="729"]] 1988 1988 ))) 1989 1989 1990 1990 ... ... @@ -1992,7 +1992,7 @@ 1992 1992 1993 1993 1994 1994 ((( 1995 -(% style="color:blue" %)**If sensor JOINED:** 2712 +(% style="color:blue" %)**If the sensor has JOINED:** 1996 1996 1997 1997 (% style="background-color:#dcdcdc" %)**AT+CLASS=A** 1998 1998 ... ... @@ -2002,21 +2002,22 @@ 2002 2002 2003 2003 = 5. Case Study = 2004 2004 2005 -== 5.1 Counting how many objects pass through the flow Line ==2722 +== 5.1 Counting how many objects pass through the flow line == 2006 2006 2007 -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]]? 2008 2008 2725 +See [[How to set up to setup counting for objects passing through the flow line>>path:/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/How%20to%20set%20up%20to%20count%20objects%20pass%20in%20flow%20line/]]. 2009 2009 2727 + 2010 2010 = 6. FAQ = 2011 2011 2730 + 2012 2012 This section contains some frequently asked questions, which can help you resolve common issues and find solutions quickly. 2013 2013 2014 2014 2015 2015 == 6.1 How to update the firmware? == 2016 2016 2017 -Dragino frequently releases firmware updates for the LT-22222-L. 2018 2018 2019 -Updating your LT-22222-L with the latest firmware version helps to: 2737 +Dragino frequently releases firmware updates for the LT-22222-L. Updating your LT-22222-L with the latest firmware version helps to: 2020 2020 2021 2021 * Support new features 2022 2022 * Fix bugs ... ... @@ -2025,18 +2025,19 @@ 2025 2025 You will need the following things before proceeding: 2026 2026 2027 2027 * 3.5mm programming cable (included with the LT-22222-L as an additional accessory) 2028 -* USB to TTL adapter 2746 +* USB to TTL adapter/converter 2029 2029 * 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) 2030 -* 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. 2748 +* Download the latest firmware image from [[LT-22222-L firmware image files>>url: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. 2031 2031 2032 -{{info}} 2750 +(% class="box infomessage" %) 2751 +((( 2033 2033 As of this writing, the latest firmware version available for the LT-22222-L is v1.6.1. 2034 - {{/info}}2753 +))) 2035 2035 2036 2036 Below is the hardware setup for uploading a firmware image to the LT-22222-L: 2037 2037 2757 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/usb-ttl-audio-jack-connection.jpg?rev=1.1||alt="usb-ttl-audio-jack-connection.jpg"]] 2038 2038 2039 -[[image:1653359603330-121.png]] 2040 2040 2041 2041 2042 2042 Start the STM32 Flash Loader and choose the correct COM port to update. ... ... @@ -2051,45 +2051,49 @@ 2051 2051 2052 2052 ))) 2053 2053 2054 - [[image:image-20220524103407-12.png]] 2773 + [[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524103407-12.png?rev=1.1||alt="image-20220524103407-12.png"]] 2055 2055 2056 2056 2057 -[[image:image-20220524103429-13.png]] 2776 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524103429-13.png?rev=1.1||alt="image-20220524103429-13.png"]] 2058 2058 2059 2059 2060 -[[image:image-20220524104033-15.png]] 2779 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524104033-15.png?rev=1.1||alt="image-20220524104033-15.png"]] 2061 2061 2062 2062 2063 -(% style="color:red" %)**Note**(%%): If you have lost the programming cable, you can make one from a 3.5mm cable. The pin mapping is as follows: 2782 +(% 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: 2064 2064 2065 -[[image:1653360054704-518.png||height="186" width="745"]] 2784 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/1653360054704-518.png?width=745&height=186&rev=1.1||alt="1653360054704-518.png" height="186" width="745"]] 2066 2066 2067 2067 2068 2068 ((( 2069 2069 ((( 2070 2070 == 6.2 How to change the LoRaWAN frequency band/region? == 2790 + 2791 + 2071 2071 ))) 2072 2072 ))) 2073 2073 2074 2074 ((( 2075 -You can follow the introductions on [[how to upgrade image>> ||anchor="H5.1Howtoupgradetheimage3F"]]. When downloading, select the required image file.2796 +You can follow the introductions on [[how to upgrade the image>>path:#H6.1Howtoupdatethefirmware3F]]. When downloading, select the required image file. 2076 2076 ))) 2077 2077 2078 2078 ((( 2079 2079 2080 2080 2081 -== 6.3 How to setup LT to work with a Single Channel Gateway, such as LG01/LG02? == 2802 +== 6.3 How to set up LT-22222-L to work with a Single Channel Gateway, such as LG01/LG02? == 2803 + 2804 + 2082 2082 ))) 2083 2083 2084 2084 ((( 2085 2085 ((( 2086 -In this case, you need to set the LT- 33222-L to work in ABP mode and transmit on only one frequency.2809 +In this case, you need to set the LT-22222-L to work in ABP mode and transmit on only one frequency. 2087 2087 ))) 2088 2088 ))) 2089 2089 2090 2090 ((( 2091 2091 ((( 2092 - Assume you have an LG02 working on the frequency 868400000. Below are the steps.2815 +We assume you have an LG01/LG02 working on the frequency 868400000. Below are the steps. 2093 2093 2094 2094 2095 2095 ))) ... ... @@ -2096,72 +2096,79 @@ 2096 2096 ))) 2097 2097 2098 2098 ((( 2099 -(% style="color:#0000ff" %)**Step 1**(%%): ANDBOX,create an ABP device in the application, andinput theNetworkSession key(NwkSKey), Appsessionkey (AppSKey)ofthedevice.2822 +(% style="color:#0000ff" %)**Step 1**(%%): Log in to The Things Stack Sandbox account and create an ABP device in the application. To do this, use the manual registration option as explained in section 3.2.2.2, //Adding a Device Manually//. Select //Activation by Personalization (ABP)// under Activation Mode. Enter the DevEUI exactly as shown on the registration information sticker, then generate the Device Address, Application Session Key (AppSKey), and Network Session Key (NwkSKey). 2100 2100 2101 - 2824 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/lt-22222-l-abp.png?width=1000&height=686&rev=1.1||alt="lt-22222-l-abp.png" height="686" width="1000"]] 2102 2102 ))) 2103 2103 2104 2104 ((( 2105 -[[image:1653360231087-571.png||height="401" width="727"]] 2106 - 2107 2107 2108 2108 ))) 2109 2109 2831 +(% class="box warningmessage" %) 2110 2110 ((( 2111 - (%style="color:red"%)**Note:userjustneed tomakeureabove threekeysmatch,Usercanchange either in TTNorDeviceto make thenmatch. In TTN,NETSKEY andAPPSKEYcanbeconfiguredbyuserin setting page, but Device Addr is generated by TTN.**2833 +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. 2112 2112 ))) 2113 2113 2114 2114 2115 - 2116 2116 ((( 2117 -(% style="color:blue" %)**Step2**(%%)**: **Run AT Command tomake LTworkinSingle&ABP mode.Below is the AT commands:2838 +(% 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: 2118 2118 2119 2119 2120 2120 ))) 2121 2121 2122 2122 ((( 2123 -(% style="background-color:#dcdcdc" %)**123456** (%%) Password tohave AT access.2844 +(% style="background-color:#dcdcdc" %)**123456** (%%) : Enter the password to enable AT access. 2124 2124 2125 -(% style="background-color:#dcdcdc" %)**AT+FDR**(%%) Parameters toFactoryDefault,KeysReserve2846 +(% style="background-color:#dcdcdc" %)**AT+FDR**(%%) : Reset parameters to factory default, keeping keys reserved. 2126 2126 2127 -(% style="background-color:#dcdcdc" %)**AT+NJM=0** (%%) : 2848 +(% style="background-color:#dcdcdc" %)**AT+NJM=0** (%%) : Set to ABP mode. 2128 2128 2129 -(% style="background-color:#dcdcdc" %)**AT+ADR=0** (%%) Setthe Adaptive Data RateOff2850 +(% style="background-color:#dcdcdc" %)**AT+ADR=0** (%%) : Disable the Adaptive Data Rate (ADR). 2130 2130 2131 -(% style="background-color:#dcdcdc" %)**AT+DR=5** (%%) SetAT+DR=3 for 915 band)2852 +(% style="background-color:#dcdcdc" %)**AT+DR=5** (%%) : Set Data Rate (Use AT+DR=3 for the 915 MHz band). 2132 2132 2133 -(% style="background-color:#dcdcdc" %)**AT+TDC=60000 **(%%) 2854 +(% style="background-color:#dcdcdc" %)**AT+TDC=60000 **(%%) : Set transmit interval to 60 seconds. 2134 2134 2135 -(% style="background-color:#dcdcdc" %)**AT+CHS=868400000**(%%) : Set transmit frequency to 868.4M hz2856 +(% style="background-color:#dcdcdc" %)**AT+CHS=868400000**(%%) : Set transmit frequency to 868.4 MHz. 2136 2136 2137 -(% style="background-color:#dcdcdc" %)**AT+DADDR= 26 01 1A F1**(%%)to 26 01 1AF12858 +(% style="background-color:#dcdcdc" %)**AT+DADDR=xxxx**(%%) : Set the Device Address (DevAddr) 2138 2138 2139 -(% style="background-color:#dcdcdc" %)**ATZ** (%%) : Reset MCU 2860 +(% 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:700; text-decoration:none; white-space:pre-wrap" %)**AT+APPKEY=xxxx**(% 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" %): Get or set the Application Key (AppKey) 2861 + 2862 +(% 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" %)**AT+NWKSKEY=xxxx**: Get or set the Network Session Key (NwkSKey) 2863 + 2864 +(% 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" %)**AT+APPSKEY=xxxx**: Get or set the Application Session Key (AppSKey) 2865 + 2866 +(% style="background-color:#dcdcdc" %)**ATZ** (%%) : Reset MCU. 2140 2140 ))) 2141 2141 2142 2142 2143 2143 ((( 2144 -As shown in belo w:2871 +(% 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: 2145 2145 ))) 2146 2146 2147 -[[image:1653360498588-932.png||height="485" width="726"]] 2874 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/1653360498588-932.png?width=726&height=485&rev=1.1||alt="1653360498588-932.png" height="485" width="726"]] 2148 2148 2149 2149 2150 2150 == 6.4 How to change the uplink interval? == 2151 2151 2879 + 2152 2152 Please see this link: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/How%20to%20set%20the%20transmit%20time%20interval/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20set%20the%20transmit%20time%20interval/]] 2153 2153 2154 2154 2155 2155 == 6.5 Can I see the counting event in the serial output? == 2156 2156 2885 + 2157 2157 ((( 2158 -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. 2887 +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. 2159 2159 2160 2160 2161 2161 == 6.6 Can I use point-to-point communication with LT-22222-L? == 2162 2162 2163 -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]]. 2164 2164 2893 +Yes, you can. Please refer to the [[Point-to-Point Communication of LT-22222-L>>url: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>>url:https://github.com/dragino/LT-22222-L/releases]]. 2894 + 2165 2165 2166 2166 ))) 2167 2167 ... ... @@ -2168,31 +2168,36 @@ 2168 2168 ((( 2169 2169 == 6.7 Why does the relay output default to an open relay after the LT-22222-L is powered off? == 2170 2170 2901 + 2171 2171 * If the device is not properly shut down and is directly powered off. 2172 2172 * It will default to a power-off state. 2173 2173 * In modes 2 to 5, the DO/RO status and pulse count are saved to flash memory. 2174 -* After a restart, the status before the power failure will be read from flash.2905 +* After a restart, the status before the power failure will be read from Flash. 2175 2175 2176 -== 6.8 Can I setup LT-22222-L as a NC (Normally Closed) relay? == 2907 +== 6.8 Can I set up LT-22222-L as an NC (Normally Closed) relay? == 2177 2177 2909 + 2178 2178 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: 2179 2179 2180 2180 2181 -[[image:image-20221006170630-1.png||height="610" width="945"]] 2913 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20221006170630-1.png?width=945&height=610&rev=1.1||alt="image-20221006170630-1.png" height="610" width="945"]] 2182 2182 2183 2183 2184 2184 == 6.9 Can the LT-22222-L save the RO state? == 2185 2185 2186 -The firmware version must be at least 1.6.0. 2187 2187 2919 +To enable this feature, the firmware version must be 1.6.0 or higher. 2188 2188 2921 + 2189 2189 == 6.10 Why does the LT-22222-L always report 15.585V when measuring the AVI? == 2190 2190 2924 + 2191 2191 It is likely that the GND is not connected during the measurement, or that the wire connected to the GND is loose. 2192 2192 2193 2193 2194 2194 = 7. Troubleshooting = 2195 2195 2930 + 2196 2196 This section provides some known troubleshooting tips. 2197 2197 2198 2198 ... ... @@ -2201,11 +2201,13 @@ 2201 2201 ((( 2202 2202 ((( 2203 2203 == 7.1 Downlink isn't working. How can I solve this? == 2939 + 2940 + 2204 2204 ))) 2205 2205 ))) 2206 2206 2207 2207 ((( 2208 -Please refer to this link for debugging instructions: [[LoRaWAN Communication Debug>> doc:Main.LoRaWAN.WebHome||anchor="H5.1Howitwork"]]2945 +Please refer to this link for debugging instructions: [[LoRaWAN Communication Debug>>path:/xwiki/bin/view/Main/LoRaWAN%20Communication%20Debug/#H5.1Howitwork]] 2209 2209 ))) 2210 2210 2211 2211 ((( ... ... @@ -2212,10 +2212,12 @@ 2212 2212 2213 2213 2214 2214 == 7.2 Having trouble uploading an image? == 2952 + 2953 + 2215 2215 ))) 2216 2216 2217 2217 ((( 2218 -Please refer to this link for troubleshooting: [[Firmware Upgrade Instruction>> doc:Main.Firmware.WebHome]]2957 +Please refer to this link for troubleshooting: [[Firmware Upgrade Instruction>>path:/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/]] 2219 2219 ))) 2220 2220 2221 2221 ((( ... ... @@ -2222,21 +2222,25 @@ 2222 2222 2223 2223 2224 2224 == 7.3 Why can't I join TTN in the US915 /AU915 bands? == 2964 + 2965 + 2225 2225 ))) 2226 2226 2227 2227 ((( 2228 -It might be related to the channel mapping. [[Please refer to this link for details.>>https://github.com/dragino/LT-22222-L/releases]] 2969 +It might be related to the channel mapping. [[Please refer to this link for details.>>url:https://github.com/dragino/LT-22222-L/releases]] 2229 2229 ))) 2230 2230 2231 2231 2232 -== 7.4 Why can the LT-22222-L perform Uplink normally, but cannot receiveDownlink? ==2973 +== 7.4 Why can the LT-22222-L perform uplink normally, but cannot receive downlink? == 2233 2233 2975 + 2234 2234 The FCD count of the gateway is inconsistent with the FCD count of the node, causing the downlink to remain in the queue. 2235 -Use this command to synchronize their counts: [[Resets the downlink packet count>> ||anchor="H3.4.2.23Resetsthedownlinkpacketcount"]]2977 +Use this command to synchronize their counts: [[Resets the downlink packet count>>path:#H3.4.2.23Resettingthedownlinkpacketcount]] 2236 2236 2237 2237 2238 2238 = 8. Ordering information = 2239 2239 2982 + 2240 2240 (% style="color:#4f81bd" %)**LT-22222-L-XXX:** 2241 2241 2242 2242 (% style="color:#4f81bd" %)**XXX:** ... ... @@ -2251,14 +2251,15 @@ 2251 2251 * (% style="color:red" %)**IN865**(%%): LT with frequency bands IN865 2252 2252 * (% style="color:red" %)**CN779**(%%): LT with frequency bands CN779 2253 2253 2254 -= 9. Pack ing information =2997 += 9. Package information = 2255 2255 2999 + 2256 2256 **Package includes**: 2257 2257 2258 2258 * 1 x LT-22222-L I/O Controller 2259 2259 * 1 x LoRa antenna matched to the frequency of the LT-22222-L 2260 2260 * 1 x bracket for DIN rail mounting 2261 -* 1 x 3.5mm programming cable 3005 +* 1 x 3.5 mm programming cable 2262 2262 2263 2263 **Dimension and weight**: 2264 2264 ... ... @@ -2269,6 +2269,7 @@ 2269 2269 2270 2270 = 10. Support = 2271 2271 3016 + 2272 2272 * ((( 2273 2273 Support is available Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different time zones, we cannot offer live support. However, your questions will be answered as soon as possible within the aforementioned schedule. 2274 2274 ))) ... ... @@ -2280,6 +2280,7 @@ 2280 2280 2281 2281 = 11. Reference = 2282 2282 3028 + 2283 2283 * 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]] 2284 -* [[Datasheet, Document Base>>https://www.dropbox.com/sh/gxxmgks42tqfr3a/AACEdsj_mqzeoTOXARRlwYZ2a?dl=0]] 3030 +* [[Datasheet, Document Base>>url:https://www.dropbox.com/sh/gxxmgks42tqfr3a/AACEdsj_mqzeoTOXARRlwYZ2a?dl=0]] 2285 2285 * [[Hardware Source>>url:https://github.com/dragino/Lora/tree/master/LT/LT-33222-L/v1.0]]
- Screenshot 2024-11-23 at 18.27.11.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.pradeeka - Size
-
... ... @@ -1,0 +1,1 @@ 1 +143.4 KB - Content
- Screenshot 2024-12-08 193946.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.pradeeka - Size
-
... ... @@ -1,0 +1,1 @@ 1 +32.4 KB - Content
- dragino-lorawan-nw-lt-22222-n.jpg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.pradeeka - Size
-
... ... @@ -1,0 +1,1 @@ 1 +267.3 KB - Content
- dragino-ttn-te.jpg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.pradeeka - Size
-
... ... @@ -1,0 +1,1 @@ 1 +273.8 KB - Content
- lorawan-nw.jpg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.pradeeka - Size
-
... ... @@ -1,0 +1,1 @@ 1 +250.6 KB - Content
- lt-22222-l-abp.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.pradeeka - Size
-
... ... @@ -1,0 +1,1 @@ 1 +321.4 KB - Content
- lt-22222-l-dashboard.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.pradeeka - Size
-
... ... @@ -1,0 +1,1 @@ 1 +352.8 KB - Content
- lt-22222-l-joining.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.pradeeka - Size
-
... ... @@ -1,0 +1,1 @@ 1 +301.9 KB - Content
- lt-22222-l-js-custom-payload-formatter.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.pradeeka - Size
-
... ... @@ -1,0 +1,1 @@ 1 +453.9 KB - Content
- lt33222-l.jpg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.pradeeka - Size
-
... ... @@ -1,0 +1,1 @@ 1 +31.3 KB - Content
- usb-ttl-audio-jack-connection.jpg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.pradeeka - Size
-
... ... @@ -1,0 +1,1 @@ 1 +394.4 KB - Content
- usb-ttl-programming.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.pradeeka - Size
-
... ... @@ -1,0 +1,1 @@ 1 +462.9 KB - Content