SC20MPC: 2 Mega Pixels Serial JPEG Camera User Manual
Spinel USA LLC
www.jpegcamera.com
5
table below as a guide.
Baud Rate
Commands
Return
9600
88 77
55 00 00 AE
76 00 24 00 00
38400
88 77 55 00 00 2A
76 00 24 00 00
57600
88 77 55 00 00 1C
76 00 24 00 00
115200
88 77 55 00 00 0D
76 00 24 00 00
128000
88 77 55 00 00 7E
76 00 24 00 00
256000
88 77 55 00 00 56
76 00 24 00 00
10.
SET IR
-
CUT FILTER
If
the SC20MPC camera is customized with IR
-
cut filter, the host can set the filter by issuing the following
commands for day and night mode, no commands needed if the camera also comes with Spinel supplied
infrared LED plate
that can control the IR
-
cut filt
er switcher automatically
, otherwise commands are needed.
Mode
Commands
Return
Day mode
56 00 AA 00
76 00 AA 00 00
Night mode
56 00 AA 01
76 00 AA 00 00
11.
GET
IMAGE
PROCESS
1. Get image command
2. Read image data length command
3. Read image data
command
4. Stop capture
12.
Program flow chart
12.
1 Initialize
After power up, the camera will output:
Ctrl infr exist
User
-
defined
sensor 625
Init end (36 32 35 0D 0A 49 6E 69 74 20 65 6E 64 0D 0A)
12
.2 Get JPEG image