www.dragino.com
LT Series LoRa IO controller User Manual 15 / 42
AT+TRIG=0,100, 2 (set DI2 port to trigger on low level, valid signal is 100ms)
AT+TRIG=1,100, 2 (set DI2 port to trigger on high level, valid signal is 100ms )
AT+SETCNT=1,60 (Set COUNT1 value to 60)
AT+SETCNT=2,60 (Set COUNT2 value to 60)
For both LT22222-L & LT33222-L:
AT+CLRCOUNT clear all countings
AT+COUTIME=60 Set save time to 60 seconds. Device will save the counting result in internal
flash every 60 seconds. (min value: 30)
3.3.3 AT+MOD=3, Single DI 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.
DIDORO is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
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 counting mode, please run:
AT+MOD=3
ATZ
Other AT Commands for counting are similar to MOD2 Counting Command.