background image

 

 

www.dragino.com

 

LT Series LoRa IO controller User Manual   

   

42 / 42 

 

10.

 

Reference 

 

Product Page: 

LT-33222-L: 

http://www.dragino.com/products/lora-lorawan-end-node/item/138-lt-33222-l.html

   

LT-22222-L: 

http://www.dragino.com/products/lora-lorawan-end-node/item/156-lt-22222-l.html

   

 

 

Image Download

 

 

 

AT Command Manual

 

 

 

Hardware Source

 

 

Содержание LT Series

Страница 1: ...CN470 2018 Oct 24 1 0 3 Add current measure photo 2018 Nov 2 1 0 4 Add Cayenne connection guide 2018 Nov 24 1 1 Add downlink trouble shooting Add Hardware Source code link Add change log for v1 1 related to Downlink Payload part Add TTN payload format 2019 Jan 24 1 1 1 Add more info for 8 channel mode descript and troubleshooting while use US915 and AU915 2019 Feb 21 1 1 2 Modify trouble shooting ...

Страница 2: ...link instruction while using with LG01 N and LG02 2019 5 7 1 3 0 Add new feature on downlink able to control the relay base on timing 2019 Aug 9 1 3 1 Add Power ON info 2019 Aug 20 1 4 0 Add LT 22222 L description and support Add Decode in LoRaserver 2020 Mar 7 1 4 1 Modify Downlink trouble shooting Add MyDevice Photo 2020 Mar 28 1 4 2 Add Upgrade info for v1 4 2 firmware version 2020 Mar 30 ...

Страница 3: ... 3 3 3 AT MOD 3 Single DI Counting 2 x ACI 15 3 3 4 AT MOD 4 Single DI Counting 1 x Voltage Counting 16 3 3 5 AT MOD 5 Single DI Counting 2 x AVI 1 x ACI 16 3 3 6 Payload Decoder 17 3 4 Downlink Payload 18 3 5 Integrate with Mydevice 22 3 6 Interface Detail 25 3 6 1 Digital Input Port DI1 DI2 DI3 For LT 33222 L low active 25 3 6 2 Digital Input Port DI1 DI2 For LT 22222 L 26 3 6 3 Digital Output P...

Страница 4: ...gion 36 5 3 How to set up LT to work in 8 channel mode in US915 AU915 CN470 bands 36 5 4 How to set up LT to work with Single Channel Gateway such as LG01 LG02 38 6 Trouble Shooting 40 6 1 Downlink doesn t work how to solve it 40 6 2 Have trouble to upload image 40 6 3 Why I can t join TTN in US915 AU915 bands 40 7 Order Info 40 8 Packing Info 40 9 Support 41 10 Reference 42 ...

Страница 5: ... 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 The LT I O Controllers is aiming to provide a simple plug and play low cost installation by using LoRaWAN wireless t...

Страница 6: ...x 50v or 220v with optional external resistor 2 x Digital Output NPN output Max pull up voltage 36V 450mA 2 x Relay Output 5A 250VAC 30VDC 2 x 0 20mA Analog Input res 0 01mA 2 x 0 30V Analog Input res 0 01v Power Input 7 24V DC LoRa Spec Frequency Range Band 1 HF 862 1020 Mhz Band 2 LF 410 528 Mhz 168 dB maximum link budget 20 dBm 100 mW constant RF output vs 14 dBm high efficiency PA Programmable...

Страница 7: ...ass A Class C protocol Optional Customized LoRa Protocol Frequency Bands CN470 EU433 KR920 US915 EU868 AS923 AU915 RU864 IN865 AT Commands to change parameters Remote configure parameters via LoRa Downlink Firmware upgradable via program port Counting 1 4 Applications Smart Buildings Home Automation Logistics and Supply Chain Management Smart Metering Smart Agriculture Smart Cities Smart Factory ...

Страница 8: ...unting Port 1 6 Firmware Change log LT Image files Image v1 4 2 Update LoRaWAN stack to DR LWS 003 http www dragino com downloads index php dir LoRa_End_Node DR LWS file chang elog Fix DO Relay state lose after reboot Now After reboot the DO Relay will keep the same state as before Image v1 4 1 Fix watchdog bug This bug cause some device will un stop reboot with the v1 4 firmware Image v1 4 Add ha...

Страница 9: ...e Downlink type code 0x03 to support control RO1 or RO2 separately Add Downlink type code 0x05 Add Downlink type code 0x07 Image v1 2 Add counting feature Image v1 1 Voltage and Current reserve three decimal previous is two Can use any Fport for downlink Add AT CFG to print all settings Fix current and voltage glith bug ...

Страница 10: ...IO controller User Manual 10 42 2 Power ON Device 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 PWR will on when device is properly powered ...

Страница 11: ...ill be on for 5 seconds after joined in network When there is message from server the RX LED will be on for 1 second In case user can t set the OTAA keys in the network server and has to use the existing keys from server User can use AT Command to set the keys in the devices 3 2 Example to join LoRaWAN network This chapter shows an example for how to join the TTN LoRaWAN Network Below is the netwo...

Страница 12: ...t these keys in the LoRaWAN Server portal Below is TTN screen shot Add APP EUI in the application Add APP KEY and DEV EUI Step 2 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 ...

Страница 13: ...5 bit4 bit3 bit2 bit1 bit0 RO1 RO2 DI3 DI2 DI1 DO3 DO2 DO1 RO is for relay ROx 1 close ROx 0 always open DI is for digital input DIx 1 high or float DIx 0 low DO is for reverse digital output DOx 1 output low DOx 0 high or float Note DI3 and DO3 bit are not valid for LT 22222 L For example if payload is 04 AB 04 AC 13 10 13 00 AA FF 01 The value for the interface is AVI1 channel voltage is 0x04AB ...

Страница 14: ... 1 Value COUNT1 COUNT2 DIDORO Reserve MOD DIDORO is a combination for RO1 RO2 DO3 DO2 and DO1 Totally 1bytes as below bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 RO1 RO2 FIRST Reserve Reserve DO3 DO2 DO1 RO is for relay ROx 1 close ROx 0 always open FIRST Indicate this is the first packet after join network DO is for reverse digital output DOx 1 output low DOx 0 high or float Note DO3 bit is not valid...

Страница 15: ...I Counting 2 x ACI LT33222 L This mode the DI3 is used as a counting pin LT22222 L This mode the DI1 is used as a counting pin Size bytes 4 2 2 1 1 1 Value COUNT1 ACI1 Current ACI2 Current DIDORO Reserve MOD DIDORO is a combination for RO1 RO2 DI3 DI2 DI1 DO3 DO2 and DO1 Totally 1bytes as below bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 RO1 RO2 FIRST Reserve Reserve DO3 DO2 DO1 RO is for relay ROx 1 ...

Страница 16: ... Totally 1bytes as below bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 RO1 RO2 FIRST Reserve Reserve DO3 DO2 DO1 RO is for relay ROx 1 close ROx 0 always open FIRST Indicate this is the first packet after join network DO is for reverse digital output DOx 1 output low DOx 0 high or float Note DO3 is not valid for LT 22222 L To use this mode please run AT MOD 4 ATZ Other AT Commands for counting are simil...

Страница 17: ... 1 close ROx 0 always open FIRST Indicate this is the first packet after join network DO is for reverse digital output DOx 1 output low DOx 0 high or float Note DO3 is not valid for LT 22222 L To use this mode please run AT MOD 5 ATZ Other AT Commands for counting are similar to MOD2 Counting Command 3 3 6 Payload Decoder Decoder for TTN loraserver ChirpStack http www dragino com downloads index p...

Страница 18: ... Digital Output CTL DO1DO2DO3 with time control A9 7 The FPort is not fix if the payload 0100003C means to control the END Node s TDC to 0x00003C 60 S while type code is 01 Example Downlink payload setting in TTN Type Code 02 If payload 0x02010001 while there is load between V and DOx it means set DO1 to low DO2 to high and DO3 to low Type code 02 means Digital Output 01 Low 00 High 11 No action D...

Страница 19: ...l reset the LT Type Code 05 This is to control the relay output time of relay Include four bytes First Byte Type code 0x05 Second Byte Inverter Mode 01 Relays will change back to original state after timeout 00 Relays will change to an inverter state after timeout Third Byte Control Method and Ports status Value Status 0x11 RO1 and RO2 to NO 0x10 RO2 to NO RO1 to NC 0x01 RO2 to NC RO1 to NO 0x00 R...

Страница 20: ...e Code 08 Applicable for firmware since v1 4 Poll an uplink Example 0x08FF Ask device to send an Uplink Type Code A6 Applicable for firmware since v1 3 Downlink to clear counting to 0 same as AT CLRCOUNT Example 0xA601 Clear Counting Type Code A7 Applicable for firmware since v1 3 Downlink to change counting mode same as AT COUTIME Example 0x A700003C Change counting save time to 60s 0x3C Type Cod...

Страница 21: ...Method and Ports status Second Byte Status 0x01 DO2 set to low 0x00 DO2 set to high 0x11 DO2 NO Action Fifth Byte Control Method and Ports status Second Byte Status 0x01 DO3 set to low 0x00 DO3 set to high 0x11 DO3 NO Action Sixth and Seventh Byte Latching time Unit ms Device will upload a packet if downlink code execute successfully Example payload e A9 01 01 01 01 07 D0 DO1 pin DO2 pin DO3 pin w...

Страница 22: ...ydevices 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 Step 1 Be sure that your device is programmed and properly connected to the network at this time Step 2 To configure the Application to forward data to Mydevices you will need to add integration To add the Mydevices i...

Страница 23: ...User Manual 23 42 Step 3 Create an account or log in Mydevices Step 4 Search LT 22222 L for both LT 22222 L LT 33222 L and add DevEUI Search under The things network After added the sensor data arrive TTN it will also arrive and show in Mydevices ...

Страница 24: ...www dragino com LT Series LoRa IO controller User Manual 24 42 ...

Страница 25: ...www dragino com LT Series LoRa IO controller User Manual 25 42 3 6 Interface Detail 3 6 1 Digital Input Port DI1 DI2 DI3 For LT 33222 L low active Support NPN Type sensor ...

Страница 26: ...een NEC2501 pin1 and pin2 is 𝐼𝐹 DI1 1K If DI1 12v the 𝐼𝐹 12mA So the LT 22222 L will be able to detect this active signal Example2 Connect to a High active sensor This type of sensor will output a high signal example 24v when active Connect sensor s output to DI1 Connect sensor s GND DI1 So when sensor active the current between NEC2501 pin1 and pin2 is 𝐼𝐹 DI1 1K If DI1 24v the 𝐼𝐹 24mA So the LT 2...

Страница 27: ...log Input Interface 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 AC2 IN2 voltage 12 3 6 5 Relay Output The LT serial controller has two relay interfaces each interface uses two pins of the screw terminal User can connect other device s Power Line to in serial of RO1_1 and RO_2 Such as below ...

Страница 28: ...www dragino com LT Series LoRa IO controller User Manual 28 42 ...

Страница 29: ...ge TX Device boot TX blinks 5 times Successful join network TX ON for 5 seconds Transmit a LoRa packet TX blinks once RX RX blinks once when receive a packet DO1 DO2 DO3 DI2 For LT 22222 L ON when DI2 is high LOW when DI2 is low For LT 33222 L ON when DI2 is low LOW when DI2 is high DI2 For LT 22222 L ON when DI2 is high LOW when DI2 is low For LT 33222 L ON when DI2 is low LOW when DI2 is high DI...

Страница 30: ...o access serial console for LT The AT commands are disable by default and need to enter password default 123456 to active it As shown below More detail AT Command manual can be found at AT Command Manual AT CMD Help on CMD AT CMD Run CMD AT CMD value Set the value AT CMD Get the value ATZ Trig a reset of the MCU AT FDR Reset Parameters to Factory Default Keys Reserve AT DEUI Get or Set the Device ...

Страница 31: ...e end of the Tx and the Join Rx Window 2 in ms AT NJM Get or Set the Network Join Mode 0 ABP 1 OTAA AT NWKID Get or Set the Network ID AT FCU Get or Set the Frame Counter Uplink AT FCD Get or Set the Frame Counter Downlink AT CLASS Get or Set the Device Class AT JOIN Join network AT NJS Get OTAA Join Status AT SENDB Send hexadecimal data along with the application port AT SEND Send text data along...

Страница 32: ... seconds AT CHS 868400000 Set transmit frequency to 868 4Mhz AT RX2FQ 868400000 Set RX2Frequency to 868 4Mhz according to the result from server AT RX2DR 5 Set RX2DR to match the downlink DR from server see below AT DADDR 26 01 1A F1 Set Device Address to 26 01 1A F1 this ID can be found in the LoRa Server portal ATZ Reset MCU Note 1 Make sure the device is set to ABP mode in the IoT Server 2 Make...

Страница 33: ...www dragino com LT Series LoRa IO controller User Manual 33 42 4 2 3 Change to Class A If sensor JOINED AT CLASS A ATZ ...

Страница 34: ...eatures For bug fix Change LoRaWAN bands Below shows the hardware connection for how to upload an image to the LT Step1 Download flash loader Step2 Download the LT Image files Step3 Open flashloader choose the correct COM port to update Hold down the PRO button and then momentarily press the RST reset button and the DO2 led will change from OFF to ON When DO2 LED is on it means the device is in do...

Страница 35: ...www dragino com LT Series LoRa IO controller User Manual 35 42 Board detected ...

Страница 36: ...15 AU915 CN470 bands By default the frequency bands US915 AU915 CN470 works in 72 frequencies Many gateways are 8 channel gateways in such case the OTAA joined time and uplink schedule is long and unpredictable while the end node hopping in 72 frequencies User can configure the end node to work in 8 channel models by using the AT CHE command the 500kHz channels are always includes for OTAA For exa...

Страница 37: ...5 904 1 SF7BW125 to SF10BW125 904 3 SF7BW125 to SF10BW125 904 5 SF7BW125 to SF10BW125 904 7 SF7BW125 to SF10BW125 904 9 SF7BW125 to SF10BW125 905 1 SF7BW125 to SF10BW125 905 3 SF7BW125 to SF10BW125 904 6 SF8BW500 Because the end node is now hopping in 72 frequency it is makes the devices hard to Join the TTN network and uplink data To solve this issue user can access the device via AT Command and ...

Страница 38: ...ice in the application and input the network session key NETSKEY app session key APPSKEY from the device 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 Step2 Run AT Command to make LT work in Single frequency ABP mode Below is ...

Страница 39: ...www dragino com LT Series LoRa IO controller User Manual 39 42 AT DADDR 26 01 1A F1 Set Device Address to 26 01 1A F1 ATZ Reset MCU As shown in below ...

Страница 40: ...ut the channels mapping Please see this link for detail 7 Order Info For LT 33222 L XXX or LT 22222 L XXX XXX EU433 LT with frequency bands EU433 EU868 LT with frequency bands EU868 KR920 LT with frequency bands KR920 CN470 LT with frequency bands CN470 AS923 LT with frequency bands AS923 AU915 LT with frequency bands AU915 US915 LT with frequency bands US915 IN865 LT with frequency bands IN865 CN...

Страница 41: ... 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 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 support dragino com ...

Страница 42: ... 42 42 10 Reference Product Page LT 33222 L http www dragino com products lora lorawan end node item 138 lt 33222 l html LT 22222 L http www dragino com products lora lorawan end node item 156 lt 22222 l html Image Download AT Command Manual Hardware Source ...

Отзывы: