DirekTronik LT-22222-L User Manual

DirekTronik LT-22222-L User Manual

Lora io controller

Advertisement

Quick Links

LT-22222-L LoRa IO Controller User Manual
last modified by Xiaoling
on 2023/01/29 11:26

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the LT-22222-L and is the answer not in the manual?

Questions and answers

Summary of Contents for DirekTronik LT-22222-L

  • Page 1 LT-22222-L LoRa IO Controller User Manual last modified by Xiaoling on 2023/01/29 11:26...
  • Page 2: Table Of Contents

    User Manual for LoRaWAN End Nodes - LT-22222-L LoRa IO Controller User Manual Table of Contents 1.Introduction ................................... 5 1.1 What is LT Series I/O Controller ..........................5 1.2  Specifications ................................5 1.3  Features ..................................6 1.4  Applications ................................... 6 1.5 Hardware Variants .................................
  • Page 3 User Manual for LoRaWAN End Nodes - LT-22222-L LoRa IO Controller User Manual Table of Contents: • 1.Introduction • 1.1 What is LT Series I/O Controller • 1.2  Specifications • 1.3 Features • 1.4  Applications • 1.5 Hardware Variants • 2. Power ON Device...
  • Page 4 User Manual for LoRaWAN End Nodes - LT-22222-L LoRa IO Controller User Manual • 3. Operation Mode • 3.1 How it works? • 3.2 Example to join LoRaWAN network • 3.3 Uplink Payload • 3.3.1 AT+MOD=1, 2ACI+2AVI • 3.3.2 AT+MOD=2, (Double DI Counting) •...
  • Page 5: Introduction

    User Manual for LoRaWAN End Nodes - LT-22222-L LoRa IO Controller User Manual • 5.6 Why does the relay output become the default and open relay after the lt22222 is powered off? • 5.7 Can i set up LT-22222-L as a NC(Normal Close) Relay? •...
  • Page 6: Features

    User Manual for LoRaWAN End Nodes - LT-22222-L LoRa IO Controller User Manual • Power Consumption: • Idle: 4mA@12v • 20dB Transmit: 34mA@12v   Interface for Model: LT22222-L: • 2 x Digital dual direction Input (Detect High/Low signal, Max: 50v, or 220v with optional external resistor) •...
  • Page 7: Hardware Variants

    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...
  • Page 8: Example To Join Lorawan Network

    User Manual for LoRaWAN End Nodes - LT-22222-L LoRa IO Controller User Manual 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.
  • Page 9 User Manual for LoRaWAN End Nodes - LT-22222-L LoRa IO Controller User Manual 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.
  • Page 10: Uplink Payload

    User Manual for LoRaWAN End Nodes - LT-22222-L LoRa IO Controller User Manual 3.3 Uplink Payload There are five working modes + one interrupt mode on LT for different type application: • MOD1: (default setting): 2 x ACI + 2AVI + DI + DO + RO •...
  • Page 11: At+Mod=2, (Double Di Counting)

    User Manual for LoRaWAN End Nodes - LT-22222-L LoRa IO Controller User Manual • 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.
  • Page 12: At+Mod=3, Single Di Counting + 2 X Aci

    User Manual for LoRaWAN End Nodes - LT-22222-L LoRa IO Controller User Manual • 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.
  • Page 13: At+Mod=4, Single Di Counting + 1 X Voltage Counting

    User Manual for LoRaWAN End Nodes - LT-22222-L LoRa IO Controller User Manual • 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.
  • Page 14: At+Mod=5, Single Di Counting + 2 X Avi + 1 X Aci

    User Manual for LoRaWAN End Nodes - LT-22222-L LoRa IO Controller User Manual 3.3.5 AT+MOD=5, Single DI Counting + 2 x AVI + 1 x ACI LT22222-L: This mode the DI1 is used as a counting pin.   DIDORO is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below •...
  • Page 15 User Manual for LoRaWAN End Nodes - LT-22222-L LoRa IO Controller User Manual Example: AT+ACLIM=10000,15000,0,0   (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink) Trigger base on DI status: DI status trigger Flag. Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >...
  • Page 16: Payload Decoder

    User Manual for LoRaWAN End Nodes - LT-22222-L LoRa IO Controller User Manual TRI Status1 is a combination to show which condition is trigger. Totally 1byte as below • Each bits shows which status has been trigger on this uplink.
  • Page 17: Sensor Related Commands

    User Manual for LoRaWAN End Nodes - LT-22222-L LoRa IO Controller User Manual 3.4.2 Sensor related commands 3.4.2.1 Set Transmit Interval Set device uplink interval. AT Command: • AT+TDC=N  Example: AT+TDC=30000. Means set interval to 30 seconds • Downlink Payload (prefix 0x01): 0x01 aa bb cc     // Same as AT+TDC=0x(aa bb cc)
  • Page 18 User Manual for LoRaWAN End Nodes - LT-22222-L LoRa IO Controller User Manual AT Command: • There is no AT Command for this feature. • Downlink Payload (prefix 0x AB 06): 0xAB 06       // Poll trigger settings, device will uplink trigger settings once receive this command 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger...
  • Page 19 User Manual for LoRaWAN End Nodes - LT-22222-L LoRa IO Controller User Manual 3.4.2.9 Trigger – Set AC (current) as trigger Set current trigger , base on AC port. See trigger mode • AT Command AT+ACLIM • Downlink Payload (prefix 0xAA 01 ) 0x AA 01 aa bb cc dd ee ff...
  • Page 20 User Manual for LoRaWAN End Nodes - LT-22222-L LoRa IO Controller User Manual Note: For LT-22222-L, there is no DO3, the last byte can use any value. Device will upload a packet if downlink code executes successfully. 3.4.2.13 DO -- Control Digital Output DO1/DO2/DO3 with time control •...
  • Page 21 User Manual for LoRaWAN End Nodes - LT-22222-L LoRa IO Controller User Manual Fifth Byte: Control Method and Ports status: Sixth and Seventh and Eighth and Ninth Byte:          Latching time. Unit: ms Note:     Since Firmware v1.6.0, the latch time support 4 bytes and 2 bytes    Before Firmwre v1.6.0 the latch time only suport 2 bytes.
  • Page 22 User Manual for LoRaWAN End Nodes - LT-22222-L LoRa IO Controller User Manual 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 3.4.2.
  • Page 23 User Manual for LoRaWAN End Nodes - LT-22222-L LoRa IO Controller User Manual This is to control the relay output time of relay. Include four bytes: First Byte : Type code (0x05) Second Byte(aa): Inverter Mode 01: Relays will change back to original state after timeout.
  • Page 24 User Manual for LoRaWAN End Nodes - LT-22222-L LoRa IO Controller User Manual 4. 05 00 00 07 D0 Relay 1 & relay2 will change to NO, last 2 seconds, then both change to NC. 3.4.2.16 Counting -- Voltage threshold counting When voltage exceed the threshold, count.
  • Page 25 User Manual for LoRaWAN End Nodes - LT-22222-L LoRa IO Controller User Manual Downlink Payload (prefix 0xAD): • 0x AD aa       // same as AT+RODORET =aa 3.4.2.21 Encrypted payload • AT Command: AT+DECRYPT=1     // The payload is uploaded without encryption AT+DECRYPT=0    //  Encrypt when uploading payload (default) 3.4.2.22 Get sensor value...
  • Page 26: Integrate With Mydevice

    User Manual for LoRaWAN End Nodes - LT-22222-L LoRa IO Controller User Manual For example, sending 11 22 33 44 55 66 77 will return invalid configuration 00 11 22 33 44 55 66 77. For example, if 01 00 02 58 is issued, a valid configuration of 01 01 00 02 58 will be returned.
  • Page 27 User Manual for LoRaWAN End Nodes - LT-22222-L LoRa IO Controller User Manual 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. Page 27 / 46 - last modified by Xiaoling on 2023/01/29 11:26...
  • Page 28 User Manual for LoRaWAN End Nodes - LT-22222-L LoRa IO Controller User Manual Search under The things network After added, the sensor data arrive TTN, it will also arrive and show in Mydevices. Page 28 / 46 - last modified by Xiaoling on 2023/01/29 11:26...
  • Page 29 User Manual for LoRaWAN End Nodes - LT-22222-L LoRa IO Controller User Manual Page 29 / 46 - last modified by Xiaoling on 2023/01/29 11:26...
  • Page 30: Interface Detail

    User Manual for LoRaWAN End Nodes - LT-22222-L LoRa IO Controller User Manual 3.6 Interface Detail 3.6.1 Digital Input Port: DI1/DI2 /DI3 ( For LT-33222-L, low active ) Support NPN Type sensor Page 30 / 46 - last modified by Xiaoling on 2023/01/29 11:26...
  • Page 31: Digital Input Port: Di1/Di2 ( For Lt-22222-L)

    So when sensor active, the current between 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.
  • Page 32: Digital Output Port: Do1/Do2 /Do3

        = DI1+ / 51K. If sensor output is 220v, the = DI1+ / 51K.  = 4.3mA , So the LT-22222-L will be able to detect this high active signal safely. 3.6.3 Digital Output Port: DO1/DO2 /DO3 NPN output: GND or Float. Max voltage can apply to output pin is 36v.
  • Page 33: Relay Output

    User Manual for LoRaWAN End Nodes - LT-22222-L LoRa IO Controller User Manual Example to connect a 4~20mA sensor We take the wind speed sensor as an example for reference only. Specifications of the wind speed sensor: Red:      12~24v Yellow:  4~20mA Black: ...
  • Page 34: Leds Indicators

    User Manual for LoRaWAN End Nodes - LT-22222-L LoRa IO Controller User Manual 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: Note: RO pins go to Open(NO) when device is power off.
  • Page 35: Use At Command

    User Manual for LoRaWAN End Nodes - LT-22222-L LoRa IO Controller User Manual 4. Use AT Command 4.1 Access AT Command 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.
  • Page 36 User Manual for LoRaWAN End Nodes - LT-22222-L LoRa IO Controller User Manual serial tool(such as putty, SecureCRT) baud rate to 9600 In PC, User needs to set to access to access serial console for LT. The AT commands are disable by default and need to enter password (default:123456) to active it.
  • Page 37: Common At Command Sequence

    User Manual for LoRaWAN End Nodes - LT-22222-L LoRa IO Controller User Manual AT+JN2DL: Get or Set the Join Accept Delay between the 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)
  • Page 38: Single-Channel Abp Mode (Use With Lg01/Lg02)

    User Manual for LoRaWAN End Nodes - LT-22222-L LoRa IO Controller User Manual AT+NJM=0 4.2.2 Single-channel ABP mode (Use with LG01/LG02)   123456        // Enter Password to have AT access.  AT+FDR     // Reset Parameters to Factory Default, Keys Reserve  123456       // Enter Password to have AT access.
  • Page 39: Change To Class A

    User Manual for LoRaWAN End Nodes - LT-22222-L LoRa IO Controller User Manual 4.2.3 Change to Class A If sensor JOINED: AT+CLASS=A 5. FAQ 5.1 How to upgrade the image? The LT LoRaWAN Controller is shipped with a 3.5mm cable, the cable is used to upload image to LT to: •...
  • Page 40 User Manual for LoRaWAN End Nodes - LT-22222-L LoRa IO Controller User Manual    Page 40 / 46 - last modified by Xiaoling on 2023/01/29 11:26...
  • Page 41 User Manual for LoRaWAN End Nodes - LT-22222-L LoRa IO Controller User Manual Notice: In case user has lost the program cable. User can hand made one from a 3.5mm cable. The pin mapping 5.2 How to change the LoRa Frequency Bands/Region?  ...
  • Page 42 User Manual for LoRaWAN End Nodes - LT-22222-L LoRa IO Controller User Manual Assume we have a LG02 working in the frequency 868400000 now , below is the step.   Step1:  Log in TTN, Create an ABP device in the application and input the network session key (NETSKEY), app session key (APPSKEY) from the device.
  • Page 43: Can I See Counting Event In Serial

    User Manual for LoRaWAN End Nodes - LT-22222-L LoRa IO Controller User Manual 5.4 Can I see counting event in Serial? User can run AT+DEBUG command to see the counting event in serial. If firmware too old and doesn't support AT +DEBUG.
  • Page 44 User Manual for LoRaWAN End Nodes - LT-22222-L LoRa IO Controller User Manual 5.7 Can i set up LT-22222-L as a NC(Normal Close) Relay? LT-22222-L built-in relay is NO (Normal Open). User can use an external relay to achieve Normal Close purpose. Diagram as below: 5.8 Can LT22222-L save RO state?
  • Page 45: Order Info

    User Manual for LoRaWAN End Nodes - LT-22222-L LoRa IO Controller User Manual 6. Trouble Shooting 6.1 Downlink doesn't work, how to solve it?   Please see this link for how to debug: LoRaWAN Communication Debug   6.2 Have trouble to upload image.
  • Page 46: Support

    User Manual for LoRaWAN End Nodes - LT-22222-L LoRa IO Controller User Manual 9. Support • 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.

Table of Contents