4d Systems uCAM-II Fiche De Données

Page de 25
4D SYSTEMS                                                                                                  µCAM-II 
 
 
 © 2014 4D SYSTEMS                       Page 18 of 25                   www.4dsystems.com.au 
 
µC
AM
 –
 II
 Se
rial
 Ca
mer
a M
od
ul
7.4. JPEG Pictures (Video) 
Make sure a connection is established first (Section 5.2 Connecting to the uCAM-II) before using the following 
communications. 
7.4.1. Example: JPEG Picture (320 x 240 resolution) 
 
Note: 
xx : Don't care 
yy : 01 or 03. Don't care in JPEG mode 
~~ : Image size returned by uCAM-II 
 
 
 
INITIAL
 
JPEG, VGA
 
(AA 01 00 07 yy 05)
 
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)
 
GET PICTURE
 
JPEG picture
 
(AA 04 05 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
 
JPEG picture
 
(AA 0A 05 ~~ ~~ ~~)
 
ACK
 
Package ID: F0F0h
 
(AA 0E 00 00 F0 F0)
 
Last Image Data
 
Package
 
 
  :
 
   :
 
 
1 FRAME