Application Notes
ArduCAM Camera Shield Software Application Note
www.ArduCAM.com
8
is a list of possible hardware platforms:
Hardware Platform
Functions
Single
Capture/
Read
Burst
Read
Multiple
Capture
Rewind
Low
Power
Mode
Short
Video
Capture
ArduCAM Shield Rev.C
√
ArduCAM Shield Rev.C+
√
√
√
√
ArduCAM-Mini-2MP
√
√
√
√
ArduCAM-Mini-5MP
√
√
√
√
√
ArduCAM-Mini-5MP
(Bit-Roation-Fixed)
√
√
√
√
√
ArduCAM Shield V2
√
√
√
√
√
ArduCAM-Mini-5MP-Plus
(OV5642)
√
√
√
√
√
√
ArduCAM-Mini-5MP-Plus
(OV5640)
√
√
√
√
√
√
5.1 Single Capture Mode
It is a basic capture function of the ArduChip. The capture command code is 0x84, and write
‘1’ to bit[1] to start a capture sequence. And then polling bit[3] which is the capture done flag by
sending command code 0x41. After capture is done, user have to clear the capture done flag by
sending command code 0x41 and write ‘1’ into bit[0] before next capture command.
5.2 Multiple Capture Mode
By sending the command code 0x81 and with writing the number of images to be capture
into bit[2:0], before starting the capture command as the single capture sequence does. Please note
that user should trade off between the resolution and number of images to be captured and do not
make the frame buffer overflow.
5.3 Short Video Capture Mode
Use the same command as the Multiple Capture Mode. When the value bit[2:0] equals to 7,
the ArduCAM will continuously capture the images until the entire frame buffer is full. User can
save the captured MJPEG to AVI files to create short movie clips.
5.4 Single Read Operation
It is basic memory read function which start a single read operation and read a single byte
each time. By sending command code 0x3D to start a single read operation, a single byte is read
out from the frame buffer.
5.5 Burst Read Operation
It is advance capture function which can read multiple bytes out of the frame buffer by just
sending a single command code 0x3C.
Please note that for these hardware platforms (ArduCAM Shield Rev.C+,
ArduCAM-Mini-2MP, ArduCAM-Mini-5MP) the first read byte should be ignored in the first read
transaction, because it is a dummy byte. In the following read transaction, the first byte read is the
last read byte in the last read transaction, it is very important. And do not use other SPI command
between burst read transaction. Detail timing can be found from Figure 5.