Application Notes
ArduCAM Camera Shield Software Application Note
www.ArduCAM.com
3
1 Introduction
This application note describes the detail software operation of ArduCAM camera shield. The
latest source code library and examples can be downloaded from the https://github.com/arducam.
2 Software Library Structure
The ArdCAM library is designed for Arduino platform,which is composed by two
sub-libraries one is ArduCAM and the other is UTFT4ArduCAM_SPI. These two libraries should
be copied right under the libraries of Arduino directory in order to be recognized by the Arduino
IDE. The ArduCAM libraries structure is shown as Figure 1.
Figure 1 ArduCAM Libraries Structure
The ArduCAM library is the core library for ArduCAM shields. It contains supported image
sensor drivers and user land API functions which issue capture or image data read
commands .There is also an example directory inside the ArduCAM library which illustrates most
function of the ArduCAM shields. The existing examples are plug and play without need to write
a single line of code.
The UTFT4ArduCAM_SPI library is modified version of UTFT which is written by Henning
Karlsen from http://www.henningkarlsen.com/electronics. We ported it to support ArduCAM
shield with LCD screen. So the UTFT4ArduCAM_SPI library is only needed when using the
ArduCAM-LF model.
3 Quick Start Guide
The libraries should be configured before running any examples, or else you will get a
compilation error message. Open the memorysaver.h file in the ArduCAM folder and enable the
hardware platform and camera module which matches to your hardware by comment or
uncomment the macro definition in the file. For example, if you got a ArduCAM-Mini-2MP you
should uncomment the line " #define OV2640_MINI_2MP " and comment all the other lines. And
if you got a ArduCAM-Shield-V2 and a OV5642 camera module, you should uncomment the line