<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><body><p style="text-align:center"><!startimage:false|-|attach|-|image-20220523163353-1.jpeg><img height="604" width="500" id="Iimage-20220523163353-1.jpeg" alt="image-20220523163353-1.jpeg" src="/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220523163353-1.jpeg?width=500&amp;height=604&amp;rev=1.1" class="wikigeneratedid" /><!stopimage></p><p><strong>LT-22222-L LoRa IO Controller User Manual&nbsp;</strong></p><div class="wikimodel-emptyline"></div><p><strong>Table of Contents:</strong></p><!startmacro:toc|-|><!stopmacro><div class="wikimodel-emptyline"></div><div class="wikimodel-emptyline"></div><div class="wikimodel-emptyline"></div><h1 id="H1.Introduction" class="wikigeneratedid"><span>1.Introduction</span></h1><h2 id="H1.1WhatisLTSeriesI2FOController" class="wikigeneratedid"><span>1.1 What is LT Series I/O Controller</span></h2><div><p>The Dragino LT series I/O Modules are Long Range LoRaWAN I/O Controller. It contains different I/O Interfaces such as: analog current Input, analog voltage input, relay output, digital input and digital output etc. The LT I/O Modules are designed to simplify the installation of I/O monitoring.</p></div><div><p>The LT I/O Controllers allows the user to send data and reach extremely long ranges. It provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption. It targets professional wireless sensor network applications such as irrigation systems, smart metering, smart cities, smartphone detection, building automation, and so on.</p></div><div><p>The LT I/O Controllers is aiming to provide a simple plug and play, low cost installation by using LoRaWAN wireless technology.</p></div><div><p>The use environment includes:</p></div><div><p>1) If user&rsquo;s area has LoRaWAN service coverage, they can just install the I/O controller and configure it to connect the LoRaWAN provider via wireless.</p></div><div><p>2) User can set up a LoRaWAN gateway locally and configure the controller to connect to the gateway via wireless.&nbsp;</p></div><div><p><!startimage:false|-|attach|-|1653295757274-912.png><img id="I1653295757274-912.png" alt="1653295757274-912.png" src="/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/1653295757274-912.png?rev=1.1" class="wikigeneratedid" /><!stopimage></p></div><h2 id="H1.2A0Specifications" class="wikigeneratedid"><span>1.2&nbsp; Specifications</span></h2><p><strong>Hardware System:</strong></p><ul><li>STM32L072CZT6 MCU</li><li>SX1276/78 Wireless Chip&nbsp;&nbsp;</li><li>Power Consumption:<ul><li>Idle: 4mA@12v</li><li>20dB Transmit: 34mA@12v</li></ul></li></ul><p><strong>Interface for Model: LT22222-L:</strong></p><ul><li>2 x Digital dual direction Input (Detect High/Low signal, Max: 50v, or 220v with optional external resistor)</li><li>2 x Digital Output (NPN output. Max pull up voltage 36V,450mA)</li><li>2 x Relay Output (5A@250VAC / 30VDC)</li><li>2 x 020mA Analog Input (res:0.01mA)</li><li>2 x 030V Analog Input (res:0.01v)</li><li>Power Input 7 24V DC.&nbsp;&nbsp;</li></ul><p><strong>LoRa Spec:</strong></p><ul><li>Frequency Range:<ul><li>Band 1 (HF): 862  1020 Mhz</li><li>Band 2 (LF): 410  528 Mhz</li></ul></li><li>168 dB maximum link budget.</li><li>+20 dBm - 100 mW constant RF output vs.</li><li>+14 dBm high efficiency PA.</li><li>Programmable bit rate up to 300 kbps.</li><li>High sensitivity: down to -148 dBm.</li><li>Bullet-proof front end: IIP3 = -12.5 dBm.</li><li>Excellent blocking immunity.</li><li>Low RX current of 10.3 mA, 200 nA register retention.</li><li>Fully integrated synthesizer with a resolution of 61 Hz.</li><li>FSK, GFSK, MSK, GMSK, LoRaTM and OOK modulation.</li><li>Built-in bit synchronizer for clock recovery.</li><li>Preamble detection.</li><li>127 dB Dynamic Range RSSI.</li><li>Automatic RF Sense and CAD with ultra-fast AFC.</li><li>Packet engine up to 256 bytes with CRC.</li></ul><h2 id="H1.3A0Features" class="wikigeneratedid"><span>1.3&nbsp;Features</span></h2><ul><li>LoRaWAN Class A &amp; Class C protocol</li><li>Optional Customized LoRa Protocol</li><li>Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/RU864/IN865</li><li>AT Commands to change parameters</li><li>Remote configure parameters via LoRa Downlink</li><li>Firmware upgradable via program port</li><li>Counting</li></ul><h2 id="H1.4A0Applications" class="wikigeneratedid"><span>1.4&nbsp; Applications</span></h2><ul><li>Smart Buildings &amp; Home Automation</li><li>Logistics and Supply Chain Management</li><li>Smart Metering</li><li>Smart Agriculture</li><li>Smart Cities</li><li>Smart Factory</li></ul><h2 id="H1.5A0HardwareVariants" class="wikigeneratedid"><span>1.5&nbsp;Hardware Variants</span></h2><table border="1" style="background-color:#f7faff; width:500px"><tbody><tr><td style="width:103px"><strong>Model</strong></td><td style="width:131px"><strong>Photo</strong></td><td style="width:334px"><strong>Description</strong></td></tr><tr><td style="width:103px"><strong>LT22222-L</strong></td><td style="width:131px"><!startimage:false|-|attach|-|1653296302983-697.png><img id="I1653296302983-697.png" alt="1653296302983-697.png" src="/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/1653296302983-697.png?rev=1.1" class="wikigeneratedid" /><!stopimage></td><td style="width:334px"><div><ul><li>2 x Digital Input (Bi-direction)</li><li>2 x Digital Output</li><li>2 x Relay Output (5A@250VAC / 30VDC)</li><li>2 x 020mA Analog Input (res:0.01mA)</li><li>2 x 030V Analog Input (res:0.01v)</li><li>1 x Counting Port</li></ul></div></td></tr></tbody></table><h1 id="H2.A0PowerONDevice" class="wikigeneratedid"><span>2.&nbsp;Power ON Device</span></h1><p>The LT controller can be powered by 7  24V DC power source. Connect VIN to Power Input V+ and GND to power input V- to power the LT controller.</p><div><p>PWR will on when device is properly powered.</p></div><p><!startimage:false|-|attach|-|1653297104069-180.png><img id="I1653297104069-180.png" alt="1653297104069-180.png" src="/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/1653297104069-180.png?rev=1.1" class="wikigeneratedid" /><!stopimage></p><h1 id="H3.A0OperationMode" class="wikigeneratedid"><span>3.&nbsp;Operation Mode</span></h1><h2 id="H3.1A0Howitworks3F" class="wikigeneratedid"><span>3.1&nbsp;How it works?</span></h2><p>The LT is configured as LoRaWAN OTAA Class C mode by default. It has OTAA keys to join network. To connect a local LoRaWAN network, user just need to input the OTAA keys in the network server and power on the LT. It will auto join the network via OTAA. For LT-22222-L, the LED will show the Join status: After power on <strong>TX LED</strong> will fast blink 5 times, LT-22222-L will enter working mode and start to JOIN LoRaWAN network. <strong>TX LED</strong> will be on for 5 seconds after joined in network. When there is message from server, the <strong>RX LED</strong> will be on for 1 second.&nbsp;&nbsp;</p><p>In case user can&rsquo;t set the OTAA keys in the network server and has to use the existing keys from server. User can <!startwikilink:true|-|path|-|#AT_Command><span class="wikiinternallink"><a href="#AT_Command">use AT Command</a></span><!stopwikilink> to set the keys in the devices.</p><p>3.2 Example to join LoRaWAN network</p><p>This chapter shows an example for how to join the TTN LoRaWAN Network. Below is the network structure, we use our LG308 as LoRaWAN gateway here.&nbsp;&nbsp;</p><p><!startimage:false|-|attach|-|image-20220523172350-1.png><img height="266" width="864" id="Iimage-20220523172350-1.png" alt="image-20220523172350-1.png" src="/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220523172350-1.png?width=864&amp;height=266&amp;rev=1.1" class="wikigeneratedid" /><!stopimage></p><div class="wikimodel-emptyline"></div><div><p>The LG308 is already set to connect to <!startwikilink:true|-|url|-|https://www.thethingsnetwork.org/--><span class="wikiexternallink"><a href="https://www.thethingsnetwork.org/">TTN network&nbsp;</a></span><!stopwikilink>. So what we need to do now is only configure register this device to TTN:</p></div><div><p><strong>Step 1</strong>: Create a device in TTN with the OTAA keys from LT IO controller.</p></div><div><p>Each LT is shipped with a sticker with the default device EUI as below:</p></div><p><!startimage:false|-|attach|-|1653297924498-393.png><img id="I1653297924498-393.png" alt="1653297924498-393.png" src="/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/1653297924498-393.png?rev=1.1" class="wikigeneratedid" /><!stopimage></p><p>Input these keys in the LoRaWAN Server portal. Below is TTN screen shot:</p><p>Add APP EUI in the application.</p><p><!startimage:false|-|attach|-|1653297955910-247.png><img height="321" width="716" id="I1653297955910-247.png" alt="1653297955910-247.png" src="/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/1653297955910-247.png?width=716&amp;height=321&amp;rev=1.1" class="wikigeneratedid" /><!stopimage></p><p>Add APP KEY and DEV EUI</p><p><!startimage:false|-|attach|-|1653298023685-319.png><img id="I1653298023685-319.png" alt="1653298023685-319.png" src="/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/1653298023685-319.png?rev=1.1" class="wikigeneratedid" /><!stopimage></p><div><p><strong>Step 2</strong>: Power on LT and it will auto join to the TTN network. After join success, it will start to upload message to TTN and user can see in the panel.</p></div><p><!startimage:false|-|attach|-|1653298044601-602.png><img height="405" width="709" id="I1653298044601-602.png" alt="1653298044601-602.png" src="/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/1653298044601-602.png?width=709&amp;height=405&amp;rev=1.1" class="wikigeneratedid" /><!stopimage></p><h2 id="H3.3A0UplinkPayload" class="wikigeneratedid"><span>3.3&nbsp;Uplink Payload</span></h2><p>There are five working modes + one interrupt mode on LT for different type application:</p><ul><li><strong>MOD1</strong>: (default setting): 2 x ACI + 2AVI + DI + DO + RO</li><li><strong>MOD2</strong>: Double DI Counting + DO + RO</li><li><strong>MOD3</strong>: Single DI Counting + 2 x ACI + DO + RO</li><li><strong>MOD4</strong>: Single DI Counting + 1 x Voltage Counting + DO + RO</li><li><strong>MOD5</strong>: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO</li><li><strong>ADDMOD6</strong>: Trigger Mode, Optional, used together with MOD1  MOD5</li></ul><h3 id="H3.3.1A0AT2BMOD3D12C2ACI2B2AVI" class="wikigeneratedid"><span>3.3.1&nbsp;AT+MOD=1, 2ACI+2AVI</span></h3><p>The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default.&nbsp;</p><p><!startimage:false|-|attach|-|image-20220523174024-3.png><img id="Iimage-20220523174024-3.png" alt="image-20220523174024-3.png" src="/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220523174024-3.png?rev=1.1" class="wikigeneratedid" /><!stopimage></p><div><p><strong><span style="color:#4f81bd">DIDORO</span></strong> is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below</p></div><p><!startimage:false|-|attach|-|image-20220523174254-4.png><img id="Iimage-20220523174254-4.png" alt="image-20220523174254-4.png" src="/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220523174254-4.png?rev=1.1" class="wikigeneratedid" /><!stopimage></p><ul><li>RO is for relay. ROx=1 : close,ROx=0 always open.</li><li>DI is for digital input. DIx=1: high or float, DIx=0: low.</li><li>DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.</li></ul><p><span style="color:red">Note: DI3 and DO3 bit are not valid for LT-22222-L</span></p><p>For example if payload is:&nbsp;<!startimage:false|-|attach|-|image-20220523175847-2.png><img id="Iimage-20220523175847-2.png" alt="image-20220523175847-2.png" src="/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220523175847-2.png?rev=1.1" class="wikigeneratedid" /><!stopimage></p><p><strong>The value for the interface is:&nbsp;&nbsp;</strong></p><p>AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V</p><p>AVI2 channel voltage is 0x04AC/1000=1.196V</p><p>ACI1 channel current is 0x1310/1000=4.880mA</p><p>ACI2 channel current is 0x1300/1000=4.864mA</p><p>The last byte 0xAA= 10101010(B) means</p><ul><li>[1] RO1 relay channel is close and the RO1 LED is ON.</li><li>[0] RO2 relay channel is open and RO2 LED is OFF;</li></ul><p><strong>LT22222-L:</strong></p><ul><li>[1] DI2 channel is high input and DI2 LED is ON;</li><li>[0] DI1 channel is low input;</li></ul><ul><li>[0] DO3 channel output state<ul><li>DO3 is float in case no load between DO3 and V+.;&nbsp;</li><li>DO3 is high in case there is load between DO3 and V+.</li><li>DO3 LED is off in both case</li></ul></li><li>[1] DO2 channel output is low and DO2 LED is ON.</li><li>[0] DO1 channel output state<ul><li>DO1 is float in case no load between DO1 and V+.;&nbsp;</li><li>DO1 is high in case there is load between DO1 and V+.</li><li>DO1 LED is off in both case</li></ul></li></ul><h3 id="H3.3.2AT2BMOD3D22C28DoubleDICounting29" class="wikigeneratedid"><span>3.3.2 AT+MOD=2, (Double DI Counting)</span></h3><p><strong>For LT-22222-L</strong>: this mode the <strong>DI1 and DI2</strong> are used as counting pins.</p><p>Total : 11 bytes payload</p><p><!startimage:false|-|attach|-|image-20220523180452-3.png><img id="Iimage-20220523180452-3.png" alt="image-20220523180452-3.png" src="/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220523180452-3.png?rev=1.1" class="wikigeneratedid" /><!stopimage></p><div><p><strong><span style="color:#4f81bd">DIDORO</span></strong>&nbsp;is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below</p></div><p><!startimage:false|-|attach|-|image-20220523180506-4.png><img id="Iimage-20220523180506-4.png" alt="image-20220523180506-4.png" src="/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220523180506-4.png?rev=1.1" class="wikigeneratedid" /><!stopimage></p><ul><li>RO is for relay. ROx=1 : close,ROx=0 always open.</li><li>FIRST: Indicate this is the first packet after join network.</li><li>DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.</li></ul><p><span style="color:red">Note: DO3 bit is not valid for LT-22222-L.</span></p><p><strong>To use counting mode, please run:</strong></p><div class="box infomessage"><p><strong>AT+MOD=2</strong></p></div><div class="box infomessage"><p><strong>ATZ</strong></p></div><p><strong><span style="color:#4f81bd">AT Commands for counting:</span></strong></p><p><strong>For LT22222-L:</strong></p><div class="box infomessage"><p><strong>AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms)&nbsp;</strong></p></div><div class="box infomessage"><p><strong>AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms )&nbsp;</strong></p></div><div class="box infomessage"><p><strong>AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms)&nbsp;</strong></p></div><div class="box infomessage"><p><strong>AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms )&nbsp;</strong></p></div><div class="box infomessage"><p><strong>AT+SETCNT=1,60&nbsp;&nbsp; (Set COUNT1 value to 60)</strong></p></div><div class="box infomessage"><p><strong>AT+SETCNT=2,60&nbsp;&nbsp; (Set COUNT2 value to 60)</strong></p></div><h3 id="H3.3.3AT2BMOD3D32CSingleDICounting2B2xACI" class="wikigeneratedid"><span>3.3.3 AT+MOD=3, Single DI Counting + 2 x ACI</span></h3><p><strong>LT22222-L</strong>: This mode the DI1 is used as a counting pin.</p><p><!startimage:false|-|attach|-|image-20220523181246-5.png><img id="Iimage-20220523181246-5.png" alt="image-20220523181246-5.png" src="/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220523181246-5.png?rev=1.1" class="wikigeneratedid" /><!stopimage></p><div><p><strong><span style="color:#4f81bd">DIDORO</span></strong>&nbsp;is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below</p></div><p><!startimage:false|-|attach|-|image-20220523181301-6.png><img id="Iimage-20220523181301-6.png" alt="image-20220523181301-6.png" src="/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220523181301-6.png?rev=1.1" class="wikigeneratedid" /><!stopimage></p><ul><li>RO is for relay. ROx=1 : close,ROx=0 always open.</li><li>FIRST: Indicate this is the first packet after join network.</li><li>DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.</li></ul><p><span style="color:red">Note: DO3 is not valid for LT-22222-L.</span></p><p><strong>To use counting mode, please run:</strong></p><div class="box infomessage"><p><strong>AT+MOD=3</strong></p></div><div class="box infomessage"><p><strong>ATZ</strong></p></div><p>Other AT Commands for counting are similar to <!startwikilink:true|-|path|-|#COUNT_COMMAND><span class="wikiinternallink"><a href="#COUNT_COMMAND">MOD2 Counting Command</a></span><!stopwikilink>.</p><h3 id="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting" class="wikigeneratedid"><span>3.3.4 AT+MOD=4, Single DI Counting + 1 x Voltage Counting</span></h3><p><strong>LT22222-L</strong>: This mode the DI1 is used as a counting pin.</p><p>The AVI1 is also used for counting. AVI1 is used to monitor the voltage. It will check the voltage <strong>every 60s</strong>, if voltage is higher or lower than VOLMAX mV, the AVI1 Counting increase 1, so AVI1 counting can be used to measure a machine working hour.</p><p><!startimage:false|-|attach|-|image-20220523181903-8.png><img id="Iimage-20220523181903-8.png" alt="image-20220523181903-8.png" src="/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220523181903-8.png?rev=1.1" class="wikigeneratedid" /><!stopimage></p><div><p><strong><span style="color:#4f81bd">DIDORO&nbsp;</span></strong>is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below</p></div><p><!startimage:false|-|attach|-|image-20220523181727-7.png><img id="Iimage-20220523181727-7.png" alt="image-20220523181727-7.png" src="/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220523181727-7.png?rev=1.1" class="wikigeneratedid" /><!stopimage></p><ul><li>RO is for relay. ROx=1 : close,ROx=0 always open.</li><li>FIRST: Indicate this is the first packet after join network.</li><li>DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.</li></ul><p><span style="color:red">Note: DO3 is not valid for LT-22222-L.</span></p><p><strong>To use this mode, please run:</strong></p><div class="box infomessage"><p><strong>AT+MOD=4</strong></p></div><div class="box infomessage"><p><strong>ATZ</strong></p></div><div class="wikimodel-emptyline"></div><p>Other AT Commands for counting are similar to <!startwikilink:true|-|path|-|#COUNT_COMMAND><span class="wikiinternallink"><a href="#COUNT_COMMAND">MOD2 Counting Command</a></span><!stopwikilink>.</p><p><strong>Plus below command for AVI1 Counting:</strong></p><div class="box infomessage"><p><strong>AT+SETCNT=3,60&nbsp;&nbsp; (set AVI Count to 60)</strong></p></div><div class="box infomessage"><p><strong>AT+VOLMAX=20000&nbsp;&nbsp; (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)</strong></p></div><div class="box infomessage"><p><strong>AT+VOLMAX=20000,0&nbsp;&nbsp; (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)</strong></p></div><div class="box infomessage"><p><strong>AT+VOLMAX=20000,1&nbsp;&nbsp; (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)</strong></p></div><h3 id="H3.3.5AT2BMOD3D52CSingleDICounting2B2xAVI2B1xACI" class="wikigeneratedid"><span>3.3.5 AT+MOD=5, Single DI Counting + 2 x AVI + 1 x ACI</span></h3><p><strong>LT22222-L</strong>: This mode the DI1 is used as a counting pin.</p><p><!startimage:false|-|attach|-|image-20220523182334-9.png><img id="Iimage-20220523182334-9.png" alt="image-20220523182334-9.png" src="/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220523182334-9.png?rev=1.1" class="wikigeneratedid" /><!stopimage></p><div><p><strong><span style="color:#4f81bd">DIDORO</span></strong>&nbsp;is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below</p></div><ul><li>RO is for relay. ROx=1 : close,ROx=0 always open.</li><li>FIRST: Indicate this is the first packet after join network.</li><li>DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.</li></ul><p><span style="color:red">Note: DO3 is not valid for LT-22222-L.</span></p><p><strong>To use this mode, please run:</strong></p><div class="box infomessage"><p><strong>AT+MOD=5</strong></p></div><div class="box infomessage"><p><strong>ATZ</strong></p></div><p>Other AT Commands for counting are similar to <!startwikilink:true|-|path|-|#COUNT_COMMAND><span class="wikiinternallink"><a href="#COUNT_COMMAND">MOD2 Counting Command</a></span><!stopwikilink>.</p><h3 id="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29" class="wikigeneratedid"><span>3.3.6 AT+ADDMOD=6. (Trigger Mode, Optional)</span></h3><p><strong><span style="color:#4f81bd">This mode is an optional mode for trigger purpose. It can run together with other mode.</span></strong></p><p>For example, if user has configured below commands:</p><ul><li><strong>AT+MOD=1&nbsp;</strong> &nbsp;<strong>&gt;</strong> The normal working mode</li><li><strong>AT+ADDMOD6=1</strong>&nbsp;&nbsp;&nbsp;<strong>&gt;</strong> Enable trigger</li></ul><p>LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases:</p><ol><li>Periodically uplink (Base on TDC time). Payload is same as the normal MOD (MOD 1 for above command). This uplink uses LoRaWAN <strong><span style="color:#4f81bd">unconfirmed</span></strong> data type</li><li>Trigger uplink when meet the trigger condition. LT will sent two packets in this case, the first uplink use payload specify in this mod (mod=6), the second packets use the normal mod payload(MOD=1 for above settings). Both Uplinks use LoRaWAN <strong><span style="color:#4f81bd">CONFIRMED data type.</span></strong></li></ol><p><strong>AT Command to set Trigger Condition</strong>:</p><p><strong><span style="color:#4f81bd">Trigger base on voltage</span></strong><span style="color:#4f81bd">:</span></p><p>Format: AT+AVLIM=&lt;AV1_LIMIT_LOW&gt;,&lt; AV1_LIMIT_HIGH&gt;,&lt;AV2_LIMIT_LOW&gt;,&lt; AV2_LIMIT_HIGH&gt;</p><p><strong>Example:</strong></p><p>AT+AVLIM=3000,6000,0,2000&nbsp;&nbsp; (If AVI1 voltage lower than 3v or higher than 6v. &nbsp;or AV2 voltage is higher than 2v, LT will trigger Uplink)</p><p>AT+AVLIM=5000,0,0,0&nbsp;&nbsp; (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)</p><p><strong><span style="color:#4f81bd">Trigger base on current</span></strong><span style="color:#4f81bd">:</span></p><p>Format: AT+ACLIM=&lt;AC1_LIMIT_LOW&gt;,&lt; AC1_LIMIT_HIGH&gt;,&lt;AC2_LIMIT_LOW&gt;,&lt; AC2_LIMIT_HIGH&gt;</p><p><strong>Example:</strong></p><p>AT+ACLIM=10000,15000,0,0&nbsp;&nbsp; (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink)</p><p><strong><span style="color:#4f81bd">Trigger base on DI status</span></strong><span style="color:#4f81bd">:</span></p><p>DI status trigger Flag.</p><p>Format: AT+DTRI=&lt;DI1_TIRGGER_FlAG&gt;,&lt; DI2_TIRGGER_FlAG &gt;</p><p><strong>Example:</strong></p><p>AT+ DTRI =1,0&nbsp;&nbsp; (Enable DI1 trigger / disable DI2 trigger)</p><div class="wikimodel-emptyline"></div><p><strong>Downlink Command to set Trigger Condition</strong></p><p>Type Code: 0xAA. Downlink command same as AT Command <!startwikilink:true|-|path|-|#AT_Trigger><span class="wikiinternallink"><a href="#AT_Trigger">AT+AVLIM, AT+ACLIM</a></span><!stopwikilink></p><p>Format: AA xx yy1 yy1 yy2 yy2 yy3 yy3 yy4 yy4</p><p>&nbsp;&nbsp;AA: Code for this downlink Command:</p><p>&nbsp;&nbsp;xx: 0: Limit for AV1 and AV2;&nbsp; 1: limit for AC1 and AC2 ; 2 DI1, DI2 trigger enable/disable</p><p>&nbsp;&nbsp;yy1 yy1: AC1 or AV1 low limit or DI1/DI2 trigger status.</p><p>&nbsp;&nbsp;yy2 yy2: AC1 or AV1 high limit.</p><p>&nbsp;&nbsp;yy3 yy3: AC2 or AV2 low limit.</p><p>&nbsp;&nbsp;Yy4 yy4: AC2 or AV2 high limit.</p><p><strong>Example1</strong>: AA 00 13 88 00 00 00 00 00 00</p><p>Same as AT+AVLIM=5000,0,0,0&nbsp;&nbsp; (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)</p><p>Example2: AA 02 01 00</p><p>Same as AT+ DTRI =1,0&nbsp; (Enable DI1 trigger / disable DI2 trigger)</p><p><strong><span style="color:#4f81bd">Trigger Settings Payload Explanation:</span></strong></p><p>MOD6 Payload : total 11 bytes payload</p><p><!startimage:false|-|attach|-|image-20220524085923-1.png><img id="Iimage-20220524085923-1.png" alt="image-20220524085923-1.png" src="/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524085923-1.png?rev=1.1" class="wikigeneratedid" /><!stopimage></p><p><strong><span style="color:#4f81bd">TRI FLAG1</span></strong> is a combination to show if trigger is set for this part. Totally 1byte as below</p><p><!startimage:false|-|attach|-|image-20220524090106-2.png><img id="Iimage-20220524090106-2.png" alt="image-20220524090106-2.png" src="/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524090106-2.png?rev=1.1" class="wikigeneratedid" /><!stopimage></p><ul><li>Each bits shows if the corresponding trigger has been configured.</li></ul><p><strong>Example:</strong></p><p>10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW</p><div class="wikimodel-emptyline"></div><p><strong><span style="color:#4f81bd">TRI Status1</span></strong> is a combination to show which condition is trigger. Totally 1byte as below</p><p><!startimage:false|-|attach|-|image-20220524090249-3.png><img id="Iimage-20220524090249-3.png" alt="image-20220524090249-3.png" src="/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524090249-3.png?rev=1.1" class="wikigeneratedid" /><!stopimage></p><ul><li>Each bits shows which status has been trigger on this uplink.</li></ul><p><strong>Example:</strong></p><p>10000000: Means this packet is trigger by AC1_LOW. Means voltage too low.</p><div class="wikimodel-emptyline"></div><p><strong><span style="color:#4f81bd">TRI_DI FLAG+STA&nbsp;</span></strong>is a combination to show which condition is trigger. Totally 1byte as below</p><p><!startimage:false|-|attach|-|image-20220524090456-4.png><img id="Iimage-20220524090456-4.png" alt="image-20220524090456-4.png" src="/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524090456-4.png?rev=1.1" class="wikigeneratedid" /><!stopimage></p><ul><li>Each bits shows which status has been trigger on this uplink.</li></ul><p><strong>Example:</strong></p><p>00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1.</p><p>00000101: Means both DI1 and DI2 trigger are enabled.</p><div class="wikimodel-emptyline"></div><p><strong><span style="color:#4f81bd">Enable/Disable MOD6&nbsp;</span></strong>: 0x01: MOD6 is enable. 0x00: MOD6 is disable.</p><p>Downlink command to poll MOD6 status:</p><p><strong>AB 06</strong></p><p>When device got this command, it will send the MOD6 payload.</p><h3 id="H3.3.7PayloadDecoder" class="wikigeneratedid"><span>3.3.7 Payload Decoder</span></h3><div><p><strong>Decoder for TTN/loraserver/ChirpStack</strong>: <!startwikilink:true|-|url|-|http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/Payload_decoder/--><span class="wikiexternallink"><a href="http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/Payload_decoder/">http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/Payload_decoder/</a></span><!stopwikilink></p></div><h2 id="H3.4200BConfigureLTviaATorDownlink" class="wikigeneratedid"><span>3.4 ​Configure LT via AT or Downlink</span></h2><p>User can configure LT I/O Controller via AT Commands&nbsp;or LoRaWAN Downlink Commands</p><div>There are two kinds of Commands:</div><ul><li><strong><span style="color:#4f81bd">Common Commands</span></strong>: They should be available for each sensor, such as: change uplink interval, reset device. For firmware v1.5.4, user can find what common commands it supports: http://wiki.dragino.com/index.php?title=End_Device_AT_Commands_and_Downlink_Commands</li></ul><ul><li><strong><span style="color:#4f81bd">Sensor Related Commands</span></strong>: These commands are special designed for LT-22222-L.&nbsp; User can see these commands below:</li></ul><h3 id="H3.4.1CommonCommands" class="wikigeneratedid"><span>3.4.1 Common Commands</span></h3><p>They should be available for each of Dragino Sensors, such as: change uplink interval, reset device. For firmware v1.5.4, user can find what common commands it supports:&nbsp;<!startwikilink:false|-|doc|-|http://8.211.40.43:8080/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/--><span class="wikilink"><a href="/xwiki/bin/get/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/?sheet=CKEditor.ResourceDispatcher&amp;outputSyntax=plain&amp;language=en&amp;type=doc&amp;reference=http%3A%2F%2F8.211.40.43%3A8080%2Fxwiki%2Fbin%2Fview%2FMain%2FEnd%2520Device%2520AT%2520Commands%2520and%2520Downlink%2520Command%2F">End Device AT Commands and Downlink Command</a></span><!stopwikilink></p><h3 id="HSensorrelatedcommands" class="wikigeneratedid"><span>3.4.2 Sensor related commands</span></h3><h4 id="HSetTransmitInterval" class="wikigeneratedid"><span>3.4.2.1 Set Transmit Interval</span></h4><p>Set device uplink interval.</p><ul><li>AT Command:</li></ul><div class="box infomessage"><strong>AT+TDC=N&nbsp;</strong></div><p><strong>Example: </strong>AT+TDC=30000. Means set interval to 30 seconds</p><ul><li>Downlink Payload (prefix 0x01):</li></ul><div class="box infomessage"><strong>0x01 aa bb cc&nbsp;&nbsp;&nbsp;&nbsp;  Same as AT+TDC=0x(aa bb cc)</strong></div><h4 id="HSetWorkMode28AT2BMOD29" class="wikigeneratedid"><span>3.4.2.2 Set Work Mode (AT+MOD)</span></h4><p>Set work mode.</p><ul><li>AT Command:</li></ul><div class="box infomessage"><strong>AT+MOD=N&nbsp;&nbsp;</strong></div><p><strong>Example</strong>: AT+MOD=2. Set work mode to Double DI counting mode</p><ul><li>Downlink Payload (prefix 0x0A):</li></ul><div class="box infomessage"><strong>0x0A aa&nbsp;&nbsp;&nbsp;&nbsp;  Same as AT+MOD=aa</strong></div><h4 id="HPollanuplink" class="wikigeneratedid"><span>3.4.2.3 Poll an uplink</span></h4><ul><li>AT Command:</li></ul><p>There is no AT Command to poll uplink</p><ul><li>Downlink Payload (prefix 0x08):</li></ul><div class="box infomessage"><strong>0x08 FF&nbsp;&nbsp;&nbsp;&nbsp;  Poll an uplink,</strong></div><p><strong>Example</strong>: 0x08FF, ask device to send an Uplink</p><h4 id="HEnableTriggerMode" class="wikigeneratedid"><span>3.4.2.4 Enable Trigger Mode</span></h4><p>Use of trigger mode, please check <!startwikilink:true|-|path|-|http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29--><span class="wikilink"><a href="http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29">ADDMOD6</a></span><!stopwikilink></p><ul><li>AT Command:</li></ul><div class="box infomessage"><strong>AT+ADDMOD6=1 or 0</strong></div><p>1: Enable Trigger Mode</p><p>0: Disable Trigger Mode</p><ul><li>Downlink Payload (prefix 0x0A 06):</li></ul><div class="box infomessage"><strong>0x0A 06 aa&nbsp;&nbsp;&nbsp;&nbsp;  Same as AT+ADDMOD6=aa,</strong></div><h4 id="HPolltriggersettings" class="wikigeneratedid"><span>3.4.2.5 Poll trigger settings</span></h4><p>Poll trigger settings,</p><ul><li>AT Command:</li></ul><p>There is no AT Command for this feature.</p><ul><li>Downlink Payload (prefix 0x AB 06):</li></ul><div class="box infomessage"><strong>0xAB 06&nbsp;  Poll trigger settings, device will uplink trigger settings once receive this command</strong></div><h4 id="HEnable2FDisableDI12FDI22FDI3astrigger" class="wikigeneratedid"><span>3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger</span></h4><p>Enable Disable DI1/DI2/DI2 as trigger,</p><ul><li>AT Command:</li></ul><div class="box infomessage"><strong>Format: AT+DTRI=&lt;DI1_TIRGGER_FlAG&gt;,&lt; DI2_TIRGGER_FlAG &gt;</strong></div><p><strong>Example:</strong></p><p>AT+ DTRI =1,0&nbsp;&nbsp; (Enable DI1 trigger / disable DI2 trigger)</p><ul><li>Downlink Payload (prefix 0xAA 02):</li></ul><div class="box infomessage"><strong>0xAA 02 aa bb&nbsp;  Same as AT+DTRI=aa,bb</strong></div><h4 id="HTrigger12013SetDI1orDI3astrigger" class="wikigeneratedid"><span>3.4.2.7 Trigger1 &ndash; Set DI1 or DI3 as trigger</span></h4><p>Set DI1 or DI3(for LT-33222-L) trigger.</p><ul><li>AT Command:</li></ul><div class="box infomessage"><strong>AT+TRIG1=a,b</strong></div><p>a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).</p><p>b : delay timing.</p><p><strong>Example:</strong></p><p>AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms )&nbsp;</p><ul><li>Downlink Payload (prefix 0x09 01 ):</li></ul><div class="box infomessage"><strong>0x09 01 aa bb cc  same as AT+TRIG1=aa,0x(bb cc)</strong></div><h4 id="HTrigger22013SetDI2astrigger" class="wikigeneratedid"><span>3.4.2.8 Trigger2 &ndash; Set DI2 as trigger</span></h4><p>Set DI2 trigger.</p><ul><li>AT Command:</li></ul><div class="box infomessage"><strong>AT+TRIG2=a,b</strong></div><p>a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).</p><p>b : delay timing.</p><p><strong>Example:</strong></p><p>AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms )&nbsp;</p><ul><li>Downlink Payload (prefix 0x09 02 ):</li></ul><div class="box infomessage"><strong>0x09 02 aa bb cc  same as AT+TRIG1=aa,0x(bb cc)</strong></div><h4 id="HTrigger2013SetAC28current29astrigger" class="wikigeneratedid"><span>3.4.2.9 Trigger &ndash; Set AC (current) as trigger</span></h4><p>Set current trigger , base on AC port. See <!startwikilink:true|-|path|-|http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29--><span class="wikilink"><a href="http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29">trigger mode</a></span><!stopwikilink></p><ul><li>AT Command:</li></ul><div class="box infomessage"><strong>AT+ACLIM.&nbsp;</strong></div><ul><li>Downlink Payload (prefix 0xAA 01 ):</li></ul><div class="box infomessage"><strong>0x AA 01 aa bb cc dd ee ff gg hh  same as AT+ACLIM See&nbsp;<a href="http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29">trigger mode</a></strong></div><h4 id="HTrigger2013SetAV28voltage29astrigger" class="wikigeneratedid"><span>3.4.2.10 Trigger &ndash; Set AV (voltage) as trigger</span></h4><p>Set current trigger , base on AV port. See&nbsp;<a href="http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29">trigger mode</a></p><ul><li>AT Command:</li></ul><div class="box infomessage"><strong>AT+AVLIM. See&nbsp;<a href="http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29">trigger mode</a></strong></div><ul><li>Downlink Payload (prefix 0xAA 00 ):</li></ul><div class="box infomessage"><strong>0x AA 00 aa bb cc dd ee ff gg hh  same as AT+AVLIM See <a href="http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29">trigger mode</a>&nbsp;</strong></div><h4 id="HTrigger2013Setminimuminterval" class="wikigeneratedid"><span>3.4.2.11 Trigger &ndash; Set minimum interval</span></h4><p>Set AV and AC trigger minimum interval, system won&rsquo;t response to the second trigger within this set time after the first trigger.</p><ul><li>AT Command:</li></ul><div class="box infomessage"><strong>AT+ATDC=5. Device won&rsquo;t response the second trigger within 5 minute after the first trigger.</strong></div><ul><li>Downlink Payload (prefix 0xAC ):</li></ul><div class="box infomessage"><strong>0x AC aa bb  same as AT+ATDC=0x(aa bb)&nbsp;&nbsp; . Unit (min)</strong></div><h4 id="HDOControlDigitalOutputDO12FDO22FDO3" class="wikigeneratedid"><span>3.4.2.12 DO  Control Digital Output DO1/DO2/DO3</span></h4><ul><li>AT Command:</li></ul><p>There is no AT Command to control Digital Output</p><ul><li>Downlink Payload (prefix 0x02):</li></ul><div class="box infomessage"><strong>0x02 aa bb cc&nbsp;&nbsp;&nbsp;&nbsp;  Set DO1/DO2/DO3 output</strong></div><p>If payload = 0x02010001, while there is load between V+ and DOx, it means set DO1 to low, DO2 to high and DO3 to low.</p><p>01: Low,&nbsp; 00: High ,&nbsp; 11: No action</p><p><!startimage:false|-|attach|-|image-20220524092754-5.png><img alt="" src="/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524092754-5.png" /><!stopimage></p><p>Note: For LT-22222-L, there is no DO3, the last byte can use any value.</p><p>Device will upload a packet if downlink code executes successfully.</p><div class="wikimodel-emptyline"></div><div class="wikimodel-emptyline"></div><div class="wikimodel-emptyline"></div><div class="wikimodel-emptyline"></div><h4 id="HDOControlDigitalOutputDO12FDO22FDO3withtimecontrol" class="wikigeneratedid"><span>DO  Control Digital Output DO1/DO2/DO3 with time control</span></h4><ul><li>AT Command:</li></ul><p>There is no AT Command to control Digital Output</p><div class="wikimodel-emptyline"></div><ul><li>Downlink Payload (prefix 0xA9):</li></ul><p>0xA9 aa bb cc&nbsp;&nbsp;&nbsp;&nbsp;  Set DO1/DO2/DO3 output with time control</p><p>This is to control the digital output time of DO pin. Include four bytes:</p><p><strong>First Byte:</strong> Type code (0xA9)</p><p><strong>Second Byte</strong>: Inverter Mode</p><p>01: DO pins will change back to original state after timeout.&nbsp;</p><p>00: DO pins will change to an inverter state after timeout&nbsp;&nbsp;</p><div class="wikimodel-emptyline"></div><p><strong>Third Byte</strong>: Control Method and Ports status:</p><table border="1" style="background-color:#f7faff"><tbody><tr><td>Second Byte</td><td>Status</td></tr><tr><td>0x01</td><td>DO1 set to low</td></tr><tr><td>0x00</td><td>DO1 set to high</td></tr><tr><td>0x11</td><td>DO1 NO Action</td></tr></tbody></table><p><strong>Fourth Byte</strong>: Control Method and Ports status:</p><table border="1" style="background-color:#f7faff"><tbody><tr><td>Second Byte</td><td>Status</td></tr><tr><td>0x01</td><td>DO2 set to low</td></tr><tr><td>0x00</td><td>DO2 set to high</td></tr><tr><td>0x11</td><td>DO2 NO Action</td></tr></tbody></table><p><strong>Fifth Byte</strong>: Control Method and Ports status:</p><table border="1" style="background-color:#f7faff"><tbody><tr><td>Second Byte</td><td>Status</td></tr><tr><td>0x01</td><td>DO3 set to low</td></tr><tr><td>0x00</td><td>DO3 set to high</td></tr><tr><td>0x11</td><td>DO3 NO Action</td></tr></tbody></table><p><strong>Sixth and Seventh Byte</strong>:</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Latching time. Unit: ms</p><p>Device will upload a packet if downlink code executes successfully.</p><div class="wikimodel-emptyline"></div><div class="wikimodel-emptyline"></div><p>Example payload:</p><ol><li>A9 01 01 01 01 07 D0</li></ol><p>DO1 pin &amp; DO2 pin &amp; DO3 pin will be set to Low, last 2 seconds, then change back to original state.</p><div class="wikimodel-emptyline"></div><ol><li>A9 01 00 01 11 07 D0</li></ol><p>DO1 pin set high, DO2 pin set low, DO3 pin no action, last 2 seconds, then change back to original state.</p><div class="wikimodel-emptyline"></div><ol><li>A9 00 00 00 00 07 D0</li></ol><p>DO1 pin &amp; DO2 pin &amp; DO3 pin will be set to high, last 2 seconds, then both change to low.</p><div class="wikimodel-emptyline"></div><ol><li>A9 00 11 01 00 07 D0</li></ol><p>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</p><div class="wikimodel-emptyline"></div><div class="wikimodel-emptyline"></div><div class="wikimodel-emptyline"></div><h4 id="HRelayControlRelayOutputRO12FRO2" class="wikigeneratedid"><span>Relay  Control Relay Output RO1/RO2</span></h4><ul><li>AT Command:</li></ul><p>There is no AT Command to control Relay Output</p><div class="wikimodel-emptyline"></div><ul><li>Downlink Payload (prefix 0x03):</li></ul><p>0x03 aa bb&nbsp;&nbsp;&nbsp;&nbsp;  Set RO1/RO2 output</p><p>If payload = 0x030100, it means set RO1 to close and RO2 to open.</p><p>01: Close ,&nbsp; 00: Open , 11: No action</p><table border="1" style="background-color:#f7faff"><tbody><tr><td>Downlink Code</td><td>RO1</td><td>RO2</td></tr><tr><td>03&nbsp; 00&nbsp; 11</td><td>Open</td><td>No Action</td></tr><tr><td>03&nbsp; 01&nbsp; 11</td><td>Close</td><td>No Action</td></tr><tr><td>03&nbsp; 11&nbsp; 00</td><td>No Action</td><td>Open</td></tr><tr><td>03&nbsp; 11&nbsp; 01</td><td>No Action</td><td>Close</td></tr><tr><td>03&nbsp; 00&nbsp; 00</td><td>Open</td><td>Open</td></tr><tr><td>03&nbsp; 01&nbsp; 01</td><td>Close</td><td>Close</td></tr><tr><td>03&nbsp; 01&nbsp; 00</td><td>Close</td><td>Open</td></tr><tr><td>03&nbsp; 00&nbsp; 01</td><td>Open</td><td>Close</td></tr></tbody></table><p>Device will upload a packet if downlink code executes successfully.</p><div class="wikimodel-emptyline"></div><h4 id="HRelayControlRelayOutputRO12FRO2withtimecontrol" class="wikigeneratedid"><span>Relay  Control Relay Output RO1/RO2 with time control</span></h4><ul><li>AT Command:</li></ul><p>There is no AT Command to control Relay Output</p><div class="wikimodel-emptyline"></div><ul><li>Downlink Payload (prefix 0x05):</li></ul><p>0x05 aa bb cc dd&nbsp;&nbsp;&nbsp;&nbsp;  Set RO1/RO2 relay with time control:</p><p>This is to control the relay output time of relay. Include four bytes:</p><p><strong>First Byte:</strong> Type code (0x05)</p><p><strong>Second Byte(aa)</strong>: Inverter Mode</p><p>01: Relays will change back to original state after timeout.</p><p>00: Relays will change to an inverter state after timeout</p><div class="wikimodel-emptyline"></div><p><strong>Third Byte(bb)</strong>: Control Method and Ports status:</p><table border="1" style="background-color:#f7faff"><tbody><tr><td>Value</td><td>Status</td></tr><tr><td>0x11</td><td>RO1 and RO2 to NO</td></tr><tr><td>0x10</td><td>RO2 to NO, RO1 to NC</td></tr><tr><td>0x01</td><td>RO2 to NC, RO1 to NO</td></tr><tr><td>0x00</td><td>RO1 and RO2 to NC.</td></tr><tr><td>0x20</td><td>RO1 No Action, RO2 to NC</td></tr><tr><td>0x21</td><td>RO1 No Action, RO2 to NO</td></tr><tr><td>0x02</td><td>RO1 to NC, RO2 No Action</td></tr><tr><td>0x12</td><td>RO1 to NO, RO2 No Action</td></tr></tbody></table><p><strong>Fourth / Fifth Bytes (cc)</strong>: Latching time. Unit: ms</p><p>Device will upload a packet if downlink code executes successfully.</p><div class="wikimodel-emptyline"></div><div class="wikimodel-emptyline"></div><p><strong>Example payload:</strong></p><ol><li>05 01 11 07 D0</li></ol><p>Relay1 and Relay 2 will be set to NO , last 2 seconds, then change back to original state.</p><div class="wikimodel-emptyline"></div><ol><li>05 01 10 07 D0</li></ol><p>Relay1 will change to NO, Relay2 will change to NC, last 2 seconds, then both change back to original state.</p><div class="wikimodel-emptyline"></div><ol><li>05 00 01 07 D0</li></ol><p>Relay1 will change to NC, Relay2 will change to NO, last 2 seconds, then relay change to NO, Relay2 change to NC.</p><div class="wikimodel-emptyline"></div><ol><li>05 00 00 07 D0</li></ol><p>Relay 1 &amp; relay2 will change to NC, last 2 seconds, then both change to NO.</p><div class="wikimodel-emptyline"></div><div class="wikimodel-emptyline"></div><div class="wikimodel-emptyline"></div><div class="wikimodel-emptyline"></div><div class="wikimodel-emptyline"></div><h4 id="HCountingVoltagethresholdcounting" class="wikigeneratedid"><span>Counting  Voltage threshold counting</span></h4><p>When voltage exceed the threshold, count. Feature see <!startwikilink:true|-|path|-|#MOD4><span class="wikiinternallink"><a href="#MOD4">MOD4</a></span><!stopwikilink></p><ul><li>AT Command:</li></ul><p>AT+VOLMAX&nbsp;&nbsp;&nbsp;  See <!startwikilink:true|-|path|-|#MOD4><span class="wikiinternallink"><a href="#MOD4">MOD4</a></span><!stopwikilink></p><div class="wikimodel-emptyline"></div><ul><li>Downlink Payload (prefix 0xA5):</li></ul><p>0xA5 aa bb cc&nbsp;&nbsp;  Same as AT+VOLMAX=(aa bb),cc</p><div class="wikimodel-emptyline"></div><h4 id="HCountingPre-configuretheCountNumber" class="wikigeneratedid"><span>Counting  Pre-configure the Count Number</span></h4><ul><li>AT Command:</li></ul><p>AT+SETCNT=aa,(bb cc dd ee)&nbsp;</p><p>aa: 1: Set count1,</p><p>2: Set count2,</p><p>3: Set AV1 count</p><p>Bb cc dd ee: number to be set</p><div class="wikimodel-emptyline"></div><ul><li>Downlink Payload (prefix 0xA8):</li></ul><p>0x A8 aa bb cc dd ee&nbsp;&nbsp;&nbsp;&nbsp;  same as AT+SETCNT=aa,(bb cc dd ee)</p><div class="wikimodel-emptyline"></div><div class="wikimodel-emptyline"></div><div class="wikimodel-emptyline"></div><div class="wikimodel-emptyline"></div><h4 id="HCountingClearCounting" class="wikigeneratedid"><span>Counting  Clear Counting</span></h4><p>Clear counting for counting mode</p><ul><li>AT Command:</li></ul><p>AT+CLRCOUNT &nbsp; clear all counting</p><div class="wikimodel-emptyline"></div><ul><li>Downlink Payload (prefix 0xA6):</li></ul><p>0x A6 01&nbsp;&nbsp;&nbsp;&nbsp;  clear all counting,</p><div class="wikimodel-emptyline"></div><div class="wikimodel-emptyline"></div><div class="wikimodel-emptyline"></div><h4 id="HCountingChangecountingmodesavetime" class="wikigeneratedid"><span>Counting  Change counting mode save time</span></h4><ul><li>AT Command:</li></ul><p>AT+COUTIME=60&nbsp;  Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)</p><div class="wikimodel-emptyline"></div><ul><li>Downlink Payload (prefix 0xA7):</li></ul><p>0x A7 aa bb cc&nbsp;&nbsp;&nbsp;&nbsp;  same as AT+COUTIME =aa bb cc,</p><p>range: aa bb cc:0 to 16777215,&nbsp; (unit:second)</p><div class="wikimodel-emptyline"></div><div class="wikimodel-emptyline"></div><div class="wikimodel-emptyline"></div><ol><li><ol><li>Integrate with Mydevice</li></ol></li></ol><p>Mydevices provides a human friendly interface to show the sensor data, once we have data in TTN, we can use Mydevices to connect to TTN and see the data in Mydevices. Below are the steps:</p><div class="wikimodel-emptyline"></div><p>Step 1: Be sure that your device is programmed and properly connected to the network at this time.</p><p>Step 2: To configure the Application to forward data to Mydevices you will need to add integration. To add the Mydevices integration, perform the following steps:</p><div class="wikimodel-emptyline"></div><p><!startimage:false|-|url|-|file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image010.png--><img id="Ifile:2F2F2FC:2FUsers2F934562FAppData2FLocal2FTemp2Fmsohtmlclip12F012Fclip_image010.png" alt="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image010.png" src="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image010.png" class="wikigeneratedid" /><!stopimage></p><div class="wikimodel-emptyline"></div><p><!startimage:false|-|url|-|file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image011.png--><img id="Ifile:2F2F2FC:2FUsers2F934562FAppData2FLocal2FTemp2Fmsohtmlclip12F012Fclip_image011.png" alt="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image011.png" src="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image011.png" class="wikigeneratedid" /><!stopimage></p><div class="wikimodel-emptyline"></div><p><!startimage:false|-|url|-|file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image012.png--><img id="Ifile:2F2F2FC:2FUsers2F934562FAppData2FLocal2FTemp2Fmsohtmlclip12F012Fclip_image012.png" alt="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image012.png" src="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image012.png" class="wikigeneratedid" /><!stopimage></p><div class="wikimodel-emptyline"></div><div class="wikimodel-emptyline"></div><p>Step 3: Create an account or log in Mydevices.</p><p>Step 4: Search LT-22222-L(for both LT-22222-L / LT-33222-L) and add DevEUI.</p><p>Search under The things network</p><p><!startimage:false|-|url|-|file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image013.png--><img id="Ifile:2F2F2FC:2FUsers2F934562FAppData2FLocal2FTemp2Fmsohtmlclip12F012Fclip_image013.png" alt="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image013.png" src="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image013.png" class="wikigeneratedid" /><!stopimage></p><div class="wikimodel-emptyline"></div><p>After added, the sensor data arrive TTN, it will also arrive and show in Mydevices.</p><p><!startimage:false|-|url|-|file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image014.png--><img id="Ifile:2F2F2FC:2FUsers2F934562FAppData2FLocal2FTemp2Fmsohtmlclip12F012Fclip_image014.png" alt="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image014.png" src="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image014.png" class="wikigeneratedid" /><!stopimage></p><div class="wikimodel-emptyline"></div><p><!startimage:false|-|url|-|file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image015.png--><img id="Ifile:2F2F2FC:2FUsers2F934562FAppData2FLocal2FTemp2Fmsohtmlclip12F012Fclip_image015.png" alt="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image015.png" src="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image015.png" class="wikigeneratedid" /><!stopimage></p><div class="wikimodel-emptyline"></div><p><!startimage:false|-|url|-|file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image016.png--><img id="Ifile:2F2F2FC:2FUsers2F934562FAppData2FLocal2FTemp2Fmsohtmlclip12F012Fclip_image016.png" alt="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image016.png" src="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image016.png" class="wikigeneratedid" /><!stopimage></p><div class="wikimodel-emptyline"></div><p><!startimage:false|-|url|-|file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image017.png--><img id="Ifile:2F2F2FC:2FUsers2F934562FAppData2FLocal2FTemp2Fmsohtmlclip12F012Fclip_image017.png" alt="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image017.png" src="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image017.png" class="wikigeneratedid" /><!stopimage></p><div class="wikimodel-emptyline"></div><p><!startimage:false|-|url|-|file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image018.png--><img id="Ifile:2F2F2FC:2FUsers2F934562FAppData2FLocal2FTemp2Fmsohtmlclip12F012Fclip_image018.png" alt="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image018.png" src="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image018.png" class="wikigeneratedid" /><!stopimage></p><div class="wikimodel-emptyline"></div><ol><li>&nbsp;<ol><li>Interface Detail<ol><li>Digital Input Port: DI1/DI2 /DI3 ( For LT-33222-L, low active )</li></ol></li></ol></li></ol><p>Support NPN Type sensor</p><p><!startimage:false|-|url|-|file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image019.png--><img id="Ifile:2F2F2FC:2FUsers2F934562FAppData2FLocal2FTemp2Fmsohtmlclip12F012Fclip_image019.png" alt="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image019.png" src="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image019.png" class="wikigeneratedid" /><!stopimage></p><div class="wikimodel-emptyline"></div><div class="wikimodel-emptyline"></div><ol><li>&nbsp;<ol><li><ol><li>Digital Input Port: DI1/DI2 ( For LT-22222-L)</li></ol></li></ol></li></ol><p>The DI port of LT-22222-L can support NPN or PNP output sensor.</p><p>Internal circuit as below, the NEC2501 is a photocoupler, the Active current (from NEC2501 pin 1 to pin 2 is 1ma and the max current is 50mA. When there is active current pass NEC2501 pin1 to pin2. The DI will be active high</p><p><!startimage:false|-|url|-|file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image020.png--><img id="Ifile:2F2F2FC:2FUsers2F934562FAppData2FLocal2FTemp2Fmsohtmlclip12F012Fclip_image020.png" alt="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image020.png" src="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image020.png" class="wikigeneratedid" /><!stopimage></p><p>When use need to connect a device to the DI port, both DI1+ and DI1- must be connected.</p><div class="wikimodel-emptyline"></div><p><strong>Example1</strong>: Connect to a Low active sensor.</p><p>This type of sensor will output a low signal GND when active.</p><ul><li>Connect sensor&rsquo;s output to DI1-</li><li>Connect sensor&rsquo;s VCC to DI1+.</li></ul><p>So when sensor active, the current between NEC2501 pin1 and pin2 is:</p><p>&nbsp;&nbsp;<em>IF</em><!startimage:false|-|url|-|file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image021.png--><img id="Ifile:2F2F2FC:2FUsers2F934562FAppData2FLocal2FTemp2Fmsohtmlclip12F012Fclip_image021.png" alt="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image021.png" src="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image021.png" class="wikigeneratedid" /><!stopimage> &nbsp;= DI1+ / 1K.</p><p>If DI1+ = 12v, the <em>IF</em><!startimage:false|-|url|-|file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image022.png--><img id="Ifile:2F2F2FC:2FUsers2F934562FAppData2FLocal2FTemp2Fmsohtmlclip12F012Fclip_image022.png" alt="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image022.png" src="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image022.png" class="wikigeneratedid" /><!stopimage> &nbsp;= 12mA , So the LT-22222-L will be able to detect this active signal.</p><div class="wikimodel-emptyline"></div><p><strong>Example2</strong>: Connect to a High active sensor.</p><p>This type of sensor will output a high signal (example 24v) when active.</p><ul><li>Connect sensor&rsquo;s output to DI1+</li><li>Connect sensor&rsquo;s GND DI1-.</li></ul><p>So when sensor active, the current between NEC2501 pin1 and pin2 is:</p><p>&nbsp;&nbsp;<em>IF</em><!startimage:false|-|url|-|file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image021.png--><img id="Ifile:2F2F2FC:2FUsers2F934562FAppData2FLocal2FTemp2Fmsohtmlclip12F012Fclip_image021.png-1" alt="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image021.png" src="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image021.png" class="wikigeneratedid" /><!stopimage> &nbsp;= DI1+ / 1K.</p><p>If DI1+ = 24v, the <em>IF</em><!startimage:false|-|url|-|file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image022.png--><img id="Ifile:2F2F2FC:2FUsers2F934562FAppData2FLocal2FTemp2Fmsohtmlclip12F012Fclip_image022.png-1" alt="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image022.png" src="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image022.png" class="wikigeneratedid" /><!stopimage> &nbsp;= 24mA , So the LT-22222-L will be able to detect this high active signal.</p><div class="wikimodel-emptyline"></div><p><strong>Example3</strong>: Connect to a 220v high active sensor.公司测试一下</p><p>Assume user want to monitor an active signal higher than 220v, to make sure not burn the photocoupler&nbsp;&nbsp;&nbsp;</p><ul><li>Connect sensor&rsquo;s output to DI1+ with a serial 50K resistor</li><li>Connect sensor&rsquo;s GND DI1-.</li></ul><p>So when sensor active, the current between NEC2501 pin1 and pin2 is:</p><p>&nbsp;&nbsp;<em>IF</em><!startimage:false|-|url|-|file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image021.png--><img id="Ifile:2F2F2FC:2FUsers2F934562FAppData2FLocal2FTemp2Fmsohtmlclip12F012Fclip_image021.png-2" alt="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image021.png" src="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image021.png" class="wikigeneratedid" /><!stopimage> &nbsp;= DI1+ / 51K.</p><p>If sensor output is 220v, the <em>IF</em><!startimage:false|-|url|-|file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image022.png--><img id="Ifile:2F2F2FC:2FUsers2F934562FAppData2FLocal2FTemp2Fmsohtmlclip12F012Fclip_image022.png-2" alt="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image022.png" src="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image022.png" class="wikigeneratedid" /><!stopimage> &nbsp;= 4.3mA , So the LT-22222-L will be able to detect this high active signal safely.</p><div class="wikimodel-emptyline"></div><ol><li><ol><li><ol><li>Digital Output Port: DO1/DO2 /DO3</li></ol></li></ol></li></ol><p>NPN output: GND or Float. Max voltage can apply to output pin is 36v.</p><p><!startimage:false|-|url|-|file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image023.png--><img id="Ifile:2F2F2FC:2FUsers2F934562FAppData2FLocal2FTemp2Fmsohtmlclip12F012Fclip_image023.png" alt="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image023.png" src="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image023.png" class="wikigeneratedid" /><!stopimage></p><div class="wikimodel-emptyline"></div><div class="wikimodel-emptyline"></div><div class="wikimodel-emptyline"></div><ol><li>&nbsp;<ol><li><ol><li>Analog Input Interface</li></ol></li></ol></li></ol><p>The analog input interface is as below. The LT will measure the IN2 voltage so to calculate the current pass the Load. The formula is:</p><p>AC2 = (IN2 voltage )/12</p><p><!startimage:false|-|url|-|file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image024.png--><img id="Ifile:2F2F2FC:2FUsers2F934562FAppData2FLocal2FTemp2Fmsohtmlclip12F012Fclip_image024.png" alt="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image024.png" src="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image024.png" class="wikigeneratedid" /><!stopimage></p><div class="wikimodel-emptyline"></div><div class="wikimodel-emptyline"></div><p>Example to connect a 420mA sensor</p><p>We take the wind speed sensor as an example for reference only.</p><p>Specifications of the wind speed sensor:</p><p>Red:1224v</p><p>Yellow:420mA</p><p>Black:GND</p><div class="wikimodel-emptyline"></div><p>Connection diagram:</p><p><!startimage:false|-|url|-|file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image025.jpg--><img id="Ifile:2F2F2FC:2FUsers2F934562FAppData2FLocal2FTemp2Fmsohtmlclip12F012Fclip_image025.jpg" alt="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image025.jpg" src="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image025.jpg" class="wikigeneratedid" /><!stopimage></p><p><!startimage:false|-|url|-|file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image026.png--><img id="Ifile:2F2F2FC:2FUsers2F934562FAppData2FLocal2FTemp2Fmsohtmlclip12F012Fclip_image026.png" alt="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image026.png" src="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image026.png" class="wikigeneratedid" /><!stopimage></p><div class="wikimodel-emptyline"></div><div class="wikimodel-emptyline"></div><ol><li>&nbsp;<ol><li><ol><li>Relay Output</li></ol></li></ol></li></ol><p>The LT serial controller has two relay interfaces; each interface uses two pins of the screw terminal. User can connect other device&rsquo;s Power Line to in serial of RO1_1 and RO_2. Such as below:</p><p><!startimage:false|-|url|-|file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image027.png--><img id="Ifile:2F2F2FC:2FUsers2F934562FAppData2FLocal2FTemp2Fmsohtmlclip12F012Fclip_image027.png" alt="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image027.png" src="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image027.png" class="wikigeneratedid" /><!stopimage></p><div class="wikimodel-emptyline"></div><p><!startimage:false|-|url|-|file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image028.png--><img id="Ifile:2F2F2FC:2FUsers2F934562FAppData2FLocal2FTemp2Fmsohtmlclip12F012Fclip_image028.png" alt="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image028.png" src="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image028.png" class="wikigeneratedid" /><!stopimage></p><div class="wikimodel-emptyline"></div><div class="wikimodel-emptyline"></div><div class="wikimodel-emptyline"></div><div class="wikimodel-emptyline"></div><ol><li>&nbsp;<ol><li>LEDs Indicators</li></ol></li></ol><table border="1" style="background-color:#f7faff"><tbody><tr><td><strong>LEDs</strong></td><td><strong>Feature</strong></td></tr><tr><td><strong>PWR</strong></td><td>Always on if there is power</td></tr><tr><td><strong>SYS</strong></td><td>After device is powered on, the SYS will <strong>fast blink in GREEN</strong> for 5 times, means RS485-LN start to join LoRaWAN network. If join success, SYS will be <strong>on GREEN for 5 seconds.&nbsp;</strong>SYS will <strong>blink Blue</strong> on every upload and <strong>blink Green</strong> once receive a downlink message.</td></tr><tr><td><strong>TX</strong></td><td><div><p>Device boot: TX blinks 5 times.</p><p>Successful join network: TX ON for 5 seconds.</p><p>Transmit a LoRa packet: TX blinks once</p></div></td></tr><tr><td><strong>RX</strong></td><td>RX blinks once when receive a packet.</td></tr><tr><td><strong>DO1</strong></td><td>&nbsp;</td></tr><tr><td><strong>DO2</strong></td><td>&nbsp;</td></tr><tr><td><strong>DO3</strong></td><td>&nbsp;</td></tr><tr><td><strong>DI2</strong></td><td><div><p>For LT-22222-L: ON when DI2 is high, LOW when DI2 is low</p><p>For LT-33222-L: ON when DI2 is low, LOW when DI2 is high</p></div></td></tr><tr><td><strong>DI2</strong></td><td><div><p>For LT-22222-L: ON when DI2 is high, LOW when DI2 is low</p><p>For LT-33222-L: ON when DI2 is low, LOW when DI2 is high</p></div></td></tr><tr><td><strong>DI3</strong></td><td>For LT-33222-L ONLY: ON when DI3 is low, LOW when DI3 is high</td></tr><tr><td><strong>DI2</strong></td><td><div><p>For LT-22222-L: ON when DI2 is high, LOW when DI2 is low</p><p>For LT-33222-L: ON when DI2 is low, LOW when DI2 is high</p></div></td></tr><tr><td><strong>RO1</strong></td><td>&nbsp;</td></tr><tr><td><strong>RO2</strong></td><td>&nbsp;</td></tr></tbody></table><ol><li>Use AT Command<ol><li>Access AT Command</li></ol></li></ol><p>LT supports AT Command set. User can use a USB to TTL adapter plus the 3.5mm Program Cable to connect to LT for using AT command, as below.</p><p><!startimage:false|-|url|-|file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image029.png--><img id="Ifile:2F2F2FC:2FUsers2F934562FAppData2FLocal2FTemp2Fmsohtmlclip12F012Fclip_image029.png" alt="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image029.png" src="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image029.png" class="wikigeneratedid" /><!stopimage></p><div class="wikimodel-emptyline"></div><p>In PC, User needs to set <strong>serial tool</strong>(such as <!startwikilink:true|-|url|-|https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html--><span class="wikiexternallink"><a href="https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html">putty</a></span><!stopwikilink>, SecureCRT) baud rate to <strong>9600</strong> to access to access serial console for LT. The AT commands are disable by default and need to enter password (default:<strong>123456</strong>) to active it. As shown below:</p><p><!startimage:false|-|url|-|file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image030.png--><img id="Ifile:2F2F2FC:2FUsers2F934562FAppData2FLocal2FTemp2Fmsohtmlclip12F012Fclip_image030.png" alt="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image030.png" src="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image030.png" class="wikigeneratedid" /><!stopimage></p><div class="wikimodel-emptyline"></div><p>More detail AT Command manual can be found at <!startwikilink:true|-|url|-|http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/--><span class="wikiexternallink"><a href="http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/">AT Command Manual</a></span><!stopwikilink></p><p>AT+&lt;CMD&gt;?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : Help on &lt;CMD&gt;</p><p>AT+&lt;CMD&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : Run &lt;CMD&gt;</p><p>AT+&lt;CMD&gt;=&lt;value&gt; : Set the value</p><p>AT+&lt;CMD&gt;=?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : Get the value</p><p>ATZ: Trig a reset of the MCU</p><p>AT+FDR: Reset Parameters to Factory Default, Keys Reserve&nbsp;&nbsp;</p><p>AT+DEUI: Get or Set the Device EUI</p><p>AT+DADDR: Get or Set the Device Address</p><p>AT+APPKEY: Get or Set the Application Key</p><p>AT+NWKSKEY: Get or Set the Network Session Key</p><p>AT+APPSKEY: Get or Set the Application Session Key</p><p>AT+APPEUI: Get or Set the Application EUI</p><p>AT+ADR: Get or Set the Adaptive Data Rate setting. (0: off, 1: on)</p><p>AT+TXP: Get or Set the Transmit Power (0-5, MAX:0, MIN:5, according to LoRaWAN Spec)</p><p>AT+DR: Get or Set the Data Rate. (0-7 corresponding to DR_X)&nbsp;&nbsp;&nbsp;</p><p>AT+DCS: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing</p><p>AT+PNM: Get or Set the public network mode. (0: off, 1: on)</p><p>AT+RX2FQ: Get or Set the Rx2 window frequency</p><p>AT+RX2DR: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X)</p><p>AT+RX1DL: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms</p><p>AT+RX2DL: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms</p><p>AT+JN1DL: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms</p><p>AT+JN2DL: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms</p><p>AT+NJM: Get or Set the Network Join Mode. (0: ABP, 1: OTAA)</p><p>AT+NWKID: Get or Set the Network ID</p><p>AT+FCU: Get or Set the Frame Counter Uplink</p><p>AT+FCD: Get or Set the Frame Counter Downlink</p><p>AT+CLASS: Get or Set the Device Class</p><p>AT+JOIN: Join network</p><p>AT+NJS: Get OTAA Join Status</p><p>AT+SENDB: Send hexadecimal data along with the application port</p><p>AT+SEND: Send text data along with the application port</p><p>AT+RECVB: Print last received data in binary format (with hexadecimal values)</p><p>AT+RECV: Print last received data in raw format</p><p>AT+VER: Get current image version and Frequency Band</p><p>AT+CFM: Get or Set the confirmation mode (0-1)</p><p>AT+CFS: Get confirmation status of the last AT+SEND (0-1)</p><p>AT+SNR: Get the SNR of the last received packet</p><p>AT+RSSI: Get the RSSI of the last received packet</p><p>AT+TDC: Get or set the application data transmission interval in ms</p><p>AT+PORT: Get or set the application port</p><p>AT+DISAT: Disable AT commands</p><p>AT+PWORD: Set password, max 9 digits</p><p>AT+CHS: Get or Set Frequency (Unit: Hz) for Single Channel Mode</p><p>AT+CHE: Get or Set eight channels mode, Only for US915, AU915, CN470</p><p>AT+CFG: Print all settings</p><div class="wikimodel-emptyline"></div><div class="wikimodel-emptyline"></div><ol><li><ol><li>Common AT Command Sequence<ol><li>Multi-channel ABP mode (Use with SX1301/LG308)</li></ol></li></ol></li></ol><p>If device has not joined network yet:</p><p>123456</p><p>AT+FDR</p><p>123456</p><p>AT+NJM=0</p><p>ATZ</p><div class="wikimodel-emptyline"></div><p>If device already joined network:</p><p>AT+NJM=0</p><p>ATZ</p><ol><li><ol><li><ol><li>Single-channel ABP mode (Use with LG01/LG02)</li></ol></li></ol></li></ol><p>123456&nbsp;&nbsp; Enter Password to have AT access.</p><p>AT+FDR&nbsp;&nbsp; Reset Parameters to Factory Default, Keys Reserve</p><p>123456&nbsp;&nbsp; Enter Password to have AT access.</p><p>AT+CLASS=C Set to work in CLASS C</p><p>AT+NJM=0 Set to ABP mode</p><p>AT+ADR=0 Set the Adaptive Data Rate Off</p><p>AT+DR=5&nbsp; Set Data Rate</p><p>AT+TDC=60000&nbsp; Set transmit interval to 60 seconds</p><p>AT+CHS=868400000 Set transmit frequency to 868.4Mhz</p><p>AT+RX2FQ=868400000 Set RX2Frequency to 868.4Mhz (according to the result from server)</p><p>AT+RX2DR=5&nbsp; Set RX2DR to match the downlink DR from server. see below</p><p>AT+DADDR=26 01 1A F1 Set Device Address to 26 01 1A F1, this ID can be found in the LoRa Server portal.</p><p>ATZ&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Reset MCU</p><p><strong>Note:</strong></p><ol><li>Make sure the device is set to ABP mode in the IoT Server.</li><li>Make sure the LG01/02 gateway RX frequency is exactly the same as AT+CHS setting.</li><li>Make sure SF / bandwidth setting in LG01/LG02 match the settings of AT+DR. refer <!startwikilink:true|-|url|-|http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/&file=LoRaWAN%201.0.3%20Regional%20Parameters.xlsx--><span class="wikiexternallink"><a href="http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/&amp;file=LoRaWAN%201.0.3%20Regional%20Parameters.xlsx">this link</a></span><!stopwikilink> to see what DR means.</li><li>The command AT+RX2FQ and AT+RX2DR is to let downlink work. to set the correct parameters, user can check the actually downlink parameters to be used. As below. Which shows the RX2FQ should use 868400000 and RX2DR should be 5</li></ol><p><!startimage:false|-|url|-|file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image031.png--><img id="Ifile:2F2F2FC:2FUsers2F934562FAppData2FLocal2FTemp2Fmsohtmlclip12F012Fclip_image031.png" alt="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image031.png" src="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image031.png" class="wikigeneratedid" /><!stopimage></p><div class="wikimodel-emptyline"></div><ol><li>&nbsp;<ol><li><ol><li>Change to Class A</li></ol></li></ol></li></ol><p>If sensor JOINED</p><p>AT+CLASS=A</p><p>ATZ</p><div class="wikimodel-emptyline"></div><div class="wikimodel-emptyline"></div><div class="wikimodel-emptyline"></div><div class="wikimodel-emptyline"></div><ol><li>FAQ</li></ol><ol><li><ol><li>How to upgrade the image?</li></ol></li></ol><p>The LT LoRaWAN Controller is shipped with a 3.5mm cable, the cable is used to upload image to LT to:</p><ul><li>Support new features</li><li>For bug fix</li><li>Change LoRaWAN bands.</li></ul><p>Below shows the hardware connection for how to upload an image to the LT:</p><p><!startimage:false|-|url|-|file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image029.png--><img id="Ifile:2F2F2FC:2FUsers2F934562FAppData2FLocal2FTemp2Fmsohtmlclip12F012Fclip_image029.png-1" alt="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image029.png" src="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image029.png" class="wikigeneratedid" /><!stopimage></p><div class="wikimodel-emptyline"></div><p><strong>Step1:</strong> Download <!startwikilink:true|-|url|-|https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/flasher-stm32.html--><span class="wikiexternallink"><a href="https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/flasher-stm32.html">flash loader</a></span><!stopwikilink>.</p><p><strong>Step2</strong>: Download the <!startwikilink:true|-|url|-|http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/--><span class="wikiexternallink"><a href="http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/">LT Image files</a></span><!stopwikilink>.</p><p><strong>Step3:&nbsp;</strong>Open flashloader; choose the correct COM port to update.</p><p><strong>For LT-33222-L</strong>:</p><p>Hold down the PRO button and then momentarily press the RST reset button and the <strong>DO2 led</strong> will change from OFF to ON. When <strong>DO2 LED</strong> is on, it means the device is in download mode.</p><p><strong>For LT-22222-L</strong>:</p><p>Hold down the PRO button and then momentarily press the RST reset button and the <strong>DO1 led</strong> will change from OFF to ON. When <strong>DO1 LED</strong> is on, it means the device is in download mode.</p><div class="wikimodel-emptyline"></div><div class="wikimodel-emptyline"></div><table><tbody><tr><td><div><p>Board detected</p></div></td></tr></tbody></table><table><tbody><tr><td><div><p>&nbsp;</p></div></td></tr></tbody></table><p><!startimage:false|-|url|-|file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image032.png--><img id="Ifile:2F2F2FC:2FUsers2F934562FAppData2FLocal2FTemp2Fmsohtmlclip12F012Fclip_image032.png" alt="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image032.png" src="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image032.png" class="wikigeneratedid" /><!stopimage>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!startimage:false|-|url|-|file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image033.png--><img id="Ifile:2F2F2FC:2FUsers2F934562FAppData2FLocal2FTemp2Fmsohtmlclip12F012Fclip_image033.png" alt="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image033.png" src="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image033.png" class="wikigeneratedid" /><!stopimage></p><div class="wikimodel-emptyline"></div><div class="wikimodel-emptyline"></div><p><!startimage:false|-|url|-|file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image034.png--><img id="Ifile:2F2F2FC:2FUsers2F934562FAppData2FLocal2FTemp2Fmsohtmlclip12F012Fclip_image034.png" alt="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image034.png" src="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image034.png" class="wikigeneratedid" /><!stopimage>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!startimage:false|-|url|-|file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image035.png--><img id="Ifile:2F2F2FC:2FUsers2F934562FAppData2FLocal2FTemp2Fmsohtmlclip12F012Fclip_image035.png" alt="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image035.png" src="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image035.png" class="wikigeneratedid" /><!stopimage></p><div class="wikimodel-emptyline"></div><p><!startimage:false|-|url|-|file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image036.png--><img id="Ifile:2F2F2FC:2FUsers2F934562FAppData2FLocal2FTemp2Fmsohtmlclip12F012Fclip_image036.png" alt="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image036.png" src="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image036.png" class="wikigeneratedid" /><!stopimage>&nbsp;&nbsp;&nbsp;<!startimage:false|-|url|-|file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image037.png--><img id="Ifile:2F2F2FC:2FUsers2F934562FAppData2FLocal2FTemp2Fmsohtmlclip12F012Fclip_image037.png" alt="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image037.png" src="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image037.png" class="wikigeneratedid" /><!stopimage></p><div class="wikimodel-emptyline"></div><p><strong>Notice</strong>: In case user has lost the program cable. User can hand made one from a 3.5mm cable. The pin mapping is:</p><p><!startimage:false|-|url|-|file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image038.png--><img id="Ifile:2F2F2FC:2FUsers2F934562FAppData2FLocal2FTemp2Fmsohtmlclip12F012Fclip_image038.png" alt="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image038.png" src="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image038.png" class="wikigeneratedid" /><!stopimage></p><div class="wikimodel-emptyline"></div><ol><li>&nbsp;<ol><li>How to change the LoRa Frequency Bands/Region?</li></ol></li></ol><p>User can follow the introduction for <!startwikilink:true|-|path|-|#upgrade_image><span class="wikiinternallink"><a href="#upgrade_image">how to upgrade image</a></span><!stopwikilink>. When download the images, choose the required image file for download.</p><div class="wikimodel-emptyline"></div><ol><li><ol><li>How to set up LT to work with Single Channel Gateway such as LG01/LG02?</li></ol></li></ol><p>In this case, users need to set LT-33222-L to work in ABP mode &amp; transmit in only one frequency.</p><p>Assume we have a LG02 working in the frequency 868400000 now , below is the step.</p><div class="wikimodel-emptyline"></div><p><strong>Step1</strong>: Log in TTN, Create an ABP device in the application and input the network session key (NETSKEY), app session key (APPSKEY) from the device.</p><p><!startimage:false|-|url|-|file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image039.png--><img id="Ifile:2F2F2FC:2FUsers2F934562FAppData2FLocal2FTemp2Fmsohtmlclip12F012Fclip_image039.png" alt="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image039.png" src="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image039.png" class="wikigeneratedid" /><!stopimage></p><p>Note: user just need to make sure above three keys match, User can change either in TTN or Device to make then match. In TTN, NETSKEY and APPSKEY can be configured by user in setting page, but Device Addr is generated by TTN.</p><div class="wikimodel-emptyline"></div><p><strong>Step2:&nbsp;</strong>Run AT Command to make LT work in Single frequency &amp; ABP mode. Below is the AT commands:</p><p>123456&nbsp;&nbsp; Enter Password to have AT access.</p><p>AT+FDR&nbsp;&nbsp; Reset Parameters to Factory Default, Keys Reserve</p><p>123456&nbsp;&nbsp; Enter Password to have AT access.</p><p>AT+NJM=0 Set to ABP mode</p><p>AT+ADR=0 Set the Adaptive Data Rate Off</p><p>AT+DR=5&nbsp; Set Data Rate (Set AT+DR=3 for 915 band)</p><p>AT+TDC=60000&nbsp; Set transmit interval to 60 seconds</p><p>AT+CHS=868400000 Set transmit frequency to 868.4Mhz</p><p>AT+DADDR=26 01 1A F1 Set Device Address to 26 01 1A F1</p><p>ATZ&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Reset MCU</p><p>As shown in below:</p><p><!startimage:false|-|url|-|file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image040.png--><img id="Ifile:2F2F2FC:2FUsers2F934562FAppData2FLocal2FTemp2Fmsohtmlclip12F012Fclip_image040.png" alt="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image040.png" src="file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image040.png" class="wikigeneratedid" /><!stopimage></p><div class="wikimodel-emptyline"></div><div class="wikimodel-emptyline"></div><ol><li>&nbsp;<ol><li>Can I see counting event in Serial?</li></ol></li></ol><p>User can run AT+DEBUG command to see the counting event in serial. If firmware too old and doesn&rsquo;t support AT+DEBUG. User can update to latest firmware first.</p><div class="wikimodel-emptyline"></div><div class="wikimodel-emptyline"></div><div class="wikimodel-emptyline"></div><ol><li>Trouble Shooting&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<ol><li>Downlink doesn&rsquo;t work, how to solve it?</li></ol></li></ol><p>Please see this link for how to debug:</p><p><!startwikilink:true|-|url|-|http://wiki.dragino.com/index.php?title=LoRaWAN_Communication_Debug#How_it_work--><span class="wikiexternallink"><a href="http://wiki.dragino.com/index.php?title=LoRaWAN_Communication_Debug#How_it_work">http://wiki.dragino.com/index.php?title=LoRaWAN_Communication_Debug#How_it_work</a></span><!stopwikilink></p><div class="wikimodel-emptyline"></div><ol><li><ol><li>Have trouble to upload image.</li></ol></li></ol><p>See this link for trouble shooting:</p><p><!startwikilink:true|-|url|-|http://wiki.dragino.com/index.php?title=Firmware_Upgrade_Trouble_Shooting#UART_upgrade_trouble_shooting--><span class="wikiexternallink"><a href="http://wiki.dragino.com/index.php?title=Firmware_Upgrade_Trouble_Shooting#UART_upgrade_trouble_shooting">http://wiki.dragino.com/index.php?title=Firmware_Upgrade_Trouble_Shooting#UART_upgrade_trouble_shooting</a></span><!stopwikilink></p><div class="wikimodel-emptyline"></div><ol><li><ol><li>Why I can&rsquo;t join TTN in US915 /AU915 bands?</li></ol></li></ol><p>It might be about the channels mapping. Please see this link for detail:</p><p><!startwikilink:true|-|url|-|http://wiki.dragino.com/index.php?title=LoRaWAN_Communication_Debug#Notice_of_US915.2FCN470.2FAU915_Frequency_band--><span class="wikiexternallink"><a href="http://wiki.dragino.com/index.php?title=LoRaWAN_Communication_Debug#Notice_of_US915.2FCN470.2FAU915_Frequency_band">http://wiki.dragino.com/index.php?title=LoRaWAN_Communication_Debug#Notice_of_US915.2FCN470.2FAU915_Frequency_band</a></span><!stopwikilink></p><div class="wikimodel-emptyline"></div><div class="wikimodel-emptyline"></div><div class="wikimodel-emptyline"></div><ol><li>Order Info</li></ol><p><strong>For LT-33222-L-XXX or LT-22222-L-XXX:</strong></p><p><strong>XXX:</strong></p><ul><li><strong>EU433</strong>: LT with frequency bands EU433</li><li><strong>EU868</strong>: LT with frequency bands EU868</li><li><strong>KR920</strong>: LT with frequency bands KR920</li><li><strong>CN470</strong>: LT with frequency bands CN470</li><li><strong>AS923</strong>: LT with frequency bands AS923</li><li><strong>AU915</strong>: LT with frequency bands AU915</li><li><strong>US915</strong>: LT with frequency bands US915</li><li><strong>IN865</strong>: LT with frequency bands IN865</li><li><strong>CN779</strong>: LT with frequency bands CN779</li></ul><ol><li>Packing Info</li></ol><p><strong>Package Includes</strong>:</p><ul><li>LT I/O Controller x 1</li><li>Stick Antenna for LoRa RF part x 1</li><li>Bracket for controller x1</li><li>Program cable x 1</li></ul><p><strong>Dimension and weight</strong>:</p><ul><li>Device Size:&nbsp;13.5 x 7 x 3 cm</li><li>Device Weight: 105g</li><li>Package Size / pcs : 14.5 x 8 x 5 cm</li><li>Weight / pcs : 170g</li></ul><ol><li>Support</li></ol><ul><li>Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule.</li><li>Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to</li></ul><p><!startwikilink:true|-|url|-|file:///D:/市场资料/说明书/LoRa/LT系列/support@dragino.com><span class="wikiexternallink"><a href="file:///D:/市场资料/说明书/LoRa/LT系列/support@dragino.com">support@dragino.com</a></span><!stopwikilink></p></body></html>

Tags:
    
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0