1. Introduction
The Arducam Mini Module Camera Shield with OV2640 2 Megapixels Lens (Arducam-M-2MP, SKU: B0067) is a high-definition SPI camera designed to simplify camera integration with various microcontroller platforms. This module features a 2MP OV2640 CMOS image sensor and offers a compact form factor, an easy-to-use hardware interface, and an open-source code library. It is compatible with platforms such as Arduino, Raspberry Pi, Maple, Chipkit, and Beaglebone Black, provided they have SPI and I2C interfaces. This camera module enables the addition of camera capabilities to microcontrollers that may lack native camera interfaces and supports the use of multiple cameras with a single microcontroller.
Key Features:
- 2 Megapixels OV2640 image sensor with built-in 650nm IR block filter for visible light capture.
- M12 mount lens holder, allowing for changeable lens options.
- I2C interface for sensor configuration.
- SPI interface for camera commands and data streaming.
- All I/O ports are 5V/3.3V tolerant.
- Supports JPEG compression, single and multiple shoot modes, one-time capture with multiple read operations, burst read operations, and low power modes.

Figure 1: Arducam Mini Module Camera Shield with OV2640 2 Megapixels Lens.
2. What's in the Box
The package includes the following item:
- 1 x Arducam Mini Module Camera Shield with OV2640 2 Megapixels Lens
3. Setup
3.1 Hardware Connection
The Arducam Mini Module connects to your microcontroller via SPI and I2C interfaces. Ensure proper pin connections for power (VCC, GND), SPI (CS, MOSI, MISO, SCK), and I2C (SDA, SCL). All I/O ports on the module are tolerant to both 5V and 3.3V logic levels.

Figure 2: Pinout diagram for the Arducam Mini Module Camera Shield. Connect pins 1-8 to your microcontroller's corresponding SPI and I2C ports.
3.2 Software Setup
Arducam provides open-source code libraries for various platforms to facilitate easy integration. These libraries are available for Arduino, STM32, Chipkit, Raspberry Pi, and BeagleBone Black. Refer to the official Arducam documentation and GitHub repositories for the latest libraries and example code specific to your development environment.

Figure 3: Compatibility table showing supported boards, development environments, and SDK versions.
For Arduino users, the module is designed to be well-mated with standard Arduino boards like UNO and Mega2560. Install the Arducam library through your Arduino IDE's Library Manager.
4. Operating Instructions
The Arducam Mini Module offers flexible operation modes for image capture and data handling.
4.1 Image Capture Modes
- JPEG Compression Mode: Captures images in JPEG format, reducing file size for efficient storage and transmission.
- Single Shoot Mode: Captures a single image upon command.
- Multiple Shoot Mode: Captures a series of images.
- One-Time Capture Multiple Read Operation: Captures an image once and allows for multiple reads of the captured data.
- Burst Read Operation: Enables rapid reading of image data.
4.2 Sensor Configuration
The OV2640 sensor parameters, such as resolution, exposure, and white balance, are configured via the I2C interface. Refer to the Arducam library documentation for specific I2C commands and register settings.
4.3 Data Stream
Image data and camera commands are communicated through the SPI interface. The provided software libraries abstract much of this complexity, allowing users to focus on application development.
5. Maintenance
To ensure the longevity and optimal performance of your Arducam Mini Module Camera Shield, follow these maintenance guidelines:
- Handling: Always handle the module by its edges to avoid touching the lens or electronic components. Electrostatic discharge (ESD) can damage sensitive electronics, so use appropriate precautions.
- Cleaning: Keep the lens clean and free from dust and fingerprints. Use a soft, lint-free cloth specifically designed for optical lenses. Avoid using harsh chemicals.
- Storage: Store the module in a dry, cool environment, away from direct sunlight and extreme temperatures. Use anti-static bags if available.
- Environmental Conditions: Avoid exposing the module to moisture, corrosive substances, or excessive vibrations.
6. Troubleshooting
If you encounter issues with your Arducam Mini Module Camera Shield, consider the following troubleshooting steps:
- No Image/Black Screen:
- Verify all electrical connections (SPI, I2C, VCC, GND) are secure and correctly wired according to the pinout diagram.
- Ensure the power supply to the microcontroller and camera module is stable and within the specified voltage range.
- Check if the correct software library is installed and initialized properly in your code.
- Confirm that the camera module is enabled in your software.
- Garbled or Corrupted Images:
- Check SPI communication speed. Some microcontrollers might require a slower SPI clock for stable data transfer.
- Ensure sufficient power supply, as voltage drops can lead to data corruption.
- Verify that the image buffer size in your code is adequate for the selected resolution.
- Module Not Detected:
- Double-check I2C connections (SDA, SCL) and ensure the I2C address is correctly configured in your software.
- Confirm that the microcontroller's I2C bus is functioning correctly.
- Software Errors:
- Refer to the Arducam official documentation and community forums for known issues and solutions related to specific platforms and libraries.
- Ensure your development environment (e.g., Arduino IDE) and libraries are up to date.
7. Specifications
| Feature | Detail |
|---|---|
| Brand | Arducam |
| Model Name | Arducam-M-2MP |
| Model Number | B0067 |
| Image Sensor | OV2640 (2 Megapixels) |
| Lens Type | M12 mount or CS mount lens holder |
| Connectivity Technology | I2C, SPI |
| Compatible Devices | Arduino, Raspberry Pi, Maple, Chipkit, Beaglebone Black |
| I/O Port Tolerance | 5V/3.3V tolerant |
| Included Components | 1 Arducam Mini module Camera Shield With OV2640 2 megapixels lens |
| UPC | 714119484377 |
| ASIN | B012UXNDOY |
8. Warranty
This Arducam Mini Module Camera Shield comes with a 6-month warranty from the date of purchase. This warranty covers manufacturing defects and malfunctions under normal use. Please retain your proof of purchase for warranty claims.
9. Support
For technical assistance, additional documentation, or to access the latest software libraries and examples, please visit the official Arducam website or their support forums. You can also find resources and contact information on the Arducam Store on Amazon.