Data Sheet

4D SYSTEMS µCAM-II
© 2014 4D SYSTEMS Page 14 of 22 www.4dsystems.com.au
µCAM
II Serial Camera Module
7.3. Taking SNAPSHOT Pictures
Make sure a connection is established first (Section 8.2 Connecting to the uCAM-II) before using the following
communications.
7.3.1. Example: JPEG Snapshot Picture (640 x 480 resolution)
Note:
xx : Don't care
~~ : Image size returned by uCAM-II
INITIAL
JPEG, VGA
(AA 01 00 07 07 07)
ACK
(AA 0E 01 xx 00 00)
SET PACKAGE SIZE
512 Bytes
(AA 06 08 00 02 00)
ACK
(AA 0E 06 xx 00 00)
SNAPSHOT
Compressed picture
(AA 05 00 00 00 00)
ACK
(AA 0E 05 xx 00 00)
GET PICTURE
Snapshot picture
(AA 04 01 00 00 00)
ACK
(AA 0E 04 xx 00 00)
ACK
Package ID: 0000h
(AA 0E 00 00 00 00)
Image Data Package
512 bytes, ID: 0000h
ACK
Package ID: 0001h
(AA 0E 00 00 01 00)
Image Data Package
512 bytes, ID: 0001h
DATA
Snapshot picture
(AA 0A 01 ~~ ~~ ~~)
ACK
Package ID: F0F0h
(AA 0E 00 00 F0 F0)
Last Image Data
Package
:
: