20
APPENDIX: UART COMMAND
Overview:
For IR PTZ camera application, supports VISCA protocol for zoom position data
output so that connected PT controller can manipulate smart IR control based on received position
information; there are two modes supporting zoom position output:
Zoom Position Info.
Protocol interface: UART (pin3 & pin4)
Inquiry mode
Inquiry Command
Command
Packet
Inquiry Packet
Comments
CAM_ZoomPosInq 8x 09 04 47 FF
y0 50 0p 0q 0r 0s
FF
pqrs:
Zoom
Position
Continuous mode
Command Set
Command Command Packet
Comments
CAM_Continuous
ZoomPosReply
On
8x 01 04 69 02 FF
ZoomPosition data
Continuous Output
On/Off
Off
8x 01 04 69 03 FF
{Reply}
y0 07 04 69 0p 0p 0q 0q
0q 0q FF
qqqq: Zoom
Position
Zoom Ratio and Zoom Position Table
Zoom
Ratio
Optical Zoom Position
Data
Zoom
Ratio
Optical Zoom Position
Data
x1
0000
x18
39A0
x2
166F
x19
3A49
x3
1FF0
x20
3AE8
x4
257D
x21
3B7F
x5
2940
x22
3C0C
x6
2C02
x23
3C8E
x7
2E2B
x24
3D06
x8
2FEE
x25
3D73
x9
316A
x26
3DD4
x10
32B2
x27
3E2C
x11
33D4
x28
3E7C
x12
34D9
x29
3EC2
x13
35C8
x30
3F00