www.dragino.com
LT Series LoRa IO controller User Manual 14 / 42
[0] DO3 channel output state
DO3 is float in case no load between DO3 and V+.;
DO3 is high in case there is load between DO3 and V+.
DO3 LED is off in both case
[1] DO2 channel output is low and DO2 LED is ON.
[0] DO1 channel output state
DO1 is float in case no load between DO1 and V+.;
DO1 is high in case there is load between DO1 and V+.
DO1 LED is off in both case
3.3.2 AT+MOD=2, (Double DI Counting)
For LT-33222-L: this mode the DI3 is used as a counting pin. Counting on DI3 reflect in COUNT1.
For LT-22222-L: this mode the DI1 and DI2 are used as counting pins.
Total : 11 bytes payload
DIDORO is a combination for RO1, RO2, 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 bit is not valid for LT-22222-L.
To use counting mode, please run:
AT+MOD=2
ATZ
AT Commands for counting:
For LT33222-L:
AT+TRIG=0,100, 3 (set DI3 port to trigger on low level, valid signal is 100ms)
AT+TRIG=1,100, 3 (set DI3 port to trigger on high level, valid signal is 100ms )
AT+SETCNT=1,60 (Set COUNT1 value to 60)
For LT22222-L:
AT+TRIG=0,100, 1 (set DI1 port to trigger on low level, valid signal is 100ms)
AT+TRIG=1,100, 1 (set DI1 port to trigger on high level, valid signal is 100ms )