4d Systems uCAM-II-76LENS Scheda Tecnica
4D SYSTEMS µCAM-II
© 2014 4D SYSTEMS Page 10 of 25 www.4dsystems.com.au
µC
AM
–
II
Se
rial
Ca
mer
a M
od
ul
e
6.2.1. Picture Type
Snapshot Picture Mode
01h
RAW Picture Mode
02h
JPEG Picture Mode
05h
6.3. SNAPSHOT (AA05h)
The uCAM-II will hold a single frame of still picture data in its buffer after receiving this command. This
snapshot can then be retrieved from the buffer multiple times if required.
snapshot can then be retrieved from the buffer multiple times if required.
6.3.1. Snapshot Type
Compressed Picture (JPEG)
00h
Uncompressed Picture (RAW)
01h
6.3.2. Skip Frame Counter
The number of dropped frames can be defined before capture occurs. “0” keeps the current frame, “1”
captures the next frame, and so on.
6.4. SET PACKAGE SIZE (AA06h)
The host issues this command to change the size of the data package which is used to transmit the compressed
JPEG image data from the uCAM-II to the host. This command should be issued before sending SNAPSHOT or
GET PICTURE commands to the uCAM-II.
JPEG image data from the uCAM-II to the host. This command should be issued before sending SNAPSHOT or
GET PICTURE commands to the uCAM-II.
Note: The size of the last package varies for different JPEG image sizes.
6.4.1. Package Size
The default size is 64 bytes and the maximum size is 512 bytes.
ID : Package ID, starts from zero for an image
Data Size : Size of image data in the package
Verify Code : Error detection code, equals to the lower byte of sum of the whole package data except the verify
code field. The higher byte of this code is always zero. i.e. verify code = lowbyte(sum(byte[0] to byte[N-2]))
Note 1:
Once the host receives the image size from the uCAM-II, the following simple equation can be used to calculate
the number of packages that will be received according to the package size set. The package settings only apply
for compressed JPEG images.
Number of packages = Image size / (Package size – 6)
Note 2:
As the transmission of an uncompressed (RAW) image does not require the package mode, it is not necessary
to set the package size for an uncompressed image. All of the pixel data for the RAW image will be sent
continuously until completion.