SC30MPA: 3 Mega Pixels Serial JPEG Camera User Manual
Spinel USA LLC
www.spinelelectronics.com
6
10. CHANGE CAMERA ID ADDRESS: 56
YY
31 05 04 01 00 06
ZZ
RETURN
:
76 YY 31 00 00
YY ---- the current ID.
ZZ ---- the new ID you want to change to, range from 00 to FF.
For example, the current ID is 00 (also the default ID), in order to change it to 02, the host can issue
the command: 56 00 31 05 04 01 00 06 02
Return: 56 00 31 00 00
// once the ID has been successfully changed, the 2
nd
byte of each command therefore shall be 02.
// the reset command would be: 56
02
26 00
11. LED CONTROL
(supported only when the LED’s is equipped on board)
:
11.1 Turn LED on
:
56 00 85 01 01
Return: 76 00 85 00
11.2 Turn LED off
:
56 00 85 01 00
Return: 76 00 85 00
12. OSD CONTROL:
56 00 86
B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB BC DD DD...DD
RETURN:
76 00 86 01
ZZ
The last byte represents the number of OSD rows, total can be 4 rows, value ranges from 0-3,
represents which row.
Command description:
56 //1 byte frame header
00 //1byte camera ID (0-255), default is 0
86 //1byte OSD command
B0 //1byte the length of command, it changes based on the characters content, fixed 12 bytes + total
length of the characters content
B1 //1byte OSD status, 1: enabled; 2: disabled
B2 //1byte row number(0-3), max allowed to display is 4 rows
B3 //1byte font size 0: 16x16; font size 1: 24x24; font size 2:32x32
B4 B5 //2bytes X axis, 0-1279 (Decimal) for SC13MPA, 0-1918 (Decimal) for SC20MPB, it needs to
be even numbers
B6 B7 //2bytes Y axis, 0-959 (Decimal) for SC13MPA, 0-1078 (Decimal) for SC20MPB, it needs to be
even numbers
B8 B9 //2 bytes font color, follow RGB555 code
BA BB //2bytes background color, follow RGB555 code
BC //1byte length of content, max allowed 160 characters
DD…DD //N bytes, character content, please use ASCII table.
Example:
Send:
56 00 86 16 01 00 01 00 00 00 00 00 7C FF FF 0A 30 31 32 33 34 35 36 37 38 39