At$Iocg Configure I/O Pin Characteristics - DCS ATrack AK11 User Manual

Table of Contents

Advertisement

* 1-Wire® Protocol supports up to three 1-Wire™ devices simultaneously, which means you can have one
iButton® sensor (DS1990A) and two 1-Wire™ temperature sensor probes (DS18B20).
** You may configure the
mentioned as above.
3
3
.
.
4
4
.
.
A
A
T
T
$
$
I
I
O
O
C
C
G
G
Command Description
This command is used to set or query the I/O port characteristics of the AK11. It is recommended to disconnect all I/O
connections prior to changing the I/O characteristic in order to avoid damage to the I/O port.
Syntax
Write Command
Response
Read Command
Response
Parameter Description
Parameters
<IO1>
<IO2>
<IO3>
<IO4>
Example
(1) Change all ports to inputs:
AT$IOCG=1,1,1,1
(2) Change IO1, IO3 and IO4 to inputs, and IO2 to analog input:
AT$IOCG=1,3,1,1
Remark
MEMO
SERIAL
AT$IOCG
command to change these specific I/O pins to any of those functions
Note: Please do not connect a positive voltage to any output pin!
C
C
o
o
n
n
f
f
i
i
g
g
u
u
r
r
e
e
I
I
/
/
O
O
P
P
AT$IOCG=<IO1>,<IO2>,<IO3>,<IO4>
$OK
AT$IOCG=?
$IOCG=<IO1>,<IO2>,<IO3>,<IO4>
Description
1: Input 4
2: Output 5
3: Analog Input 1
1: Input 7
2: Output 2
3: Analog Input 2
1: Input 6
2: Output 1
1: Input 8
2: Output 4
SMS
GPRS
i
i
n
n
C
C
h
h
a
a
r
r
a
a
c
c
t
t
e
e
r
r
i
i
s
s
t
t
Confidential Document
i
i
c
c
s
s
Data Type
U8
U8
U8
U8
Default
1
2
2
2
Page 8 of 27

Advertisement

Table of Contents
loading

Table of Contents