IMX135 – 13.0 MP Raspberry Pi Compatible Camera Module:
The IMX135 – 13.0 MP Raspberry Pi Compatible Camera Module features the IMX135 color sensor from Sony. Raspberry Pi uses this sensor for their 13.0 MP camera. The sensor has a 1/3.0″ optical format, which combined with the pixel size of 1.12 µm x 1.12 µm, provides the 13.0 MP 4208 x 3120 image. This is a rolling shutter sensor, which captures an entire column (or row) simultaneously. The sensor compiles the image by scanning across (or down). This camera module is sold only with a stock lens.
In the Arduino world, a “shield” is a piggy-back circuit board that provides additional functionality to the development board. In this context, a camera shield provides the required interface from the camera module to your computer. You may choose to create your own custom-built hardware interface via the 30-pin 0.5 mm pitch interface. Or, you will need to purchase the ArduCAM MIPI Adapter Board for USB3.0 Camera Shield and the ArduCAM USB3.0 Camera Shield, (or just the new ArduCAM USB 2 Rev E Camera Shield) which provides you a USB connection to a Windows or Linux computer for this camera module. Open-source software and binaries are provided on the ArduCAM GitHub site (see link below) for these boards. ArduCAM supplies a wide variety of camera modules that are compatible with their USB Camera Shields, and all are available from DLSCorp.
Raspberry Pi Interface:
In addition to working with the USB camera shields, the camera module is a custom-designed add-on for the Raspberry Pi system boards. The board itself is tiny, at around 40 mm x 40 mm. The camera is connected to the BCM2835 processor on the Pi via the CSI bus. The CSI bus is capable of extremely high data rates, and it carries pixel data exclusively. A 15-pin flexible flat cable (FFC) connects the camera to the CSI socket on the Raspberry Pi; additional lengths of the FFC cables are also available (a CSI/DSI Extender is required). Unlike the 5 and 8 MP cameras, this camera module requires special MIPI software available from the ArduCAM GitHub site.
The camera is supported in the latest version of Raspbian, Raspberry Pi’s preferred operating system.
- 1/3.0” optical format (sensor size)
- 13.0 MP resolution (4208 H x 3120 V)
- Stock Lens or M12 or CS Lens Mount options
- High sensitivity for low-light operation
- Standard SCCB interface
- Output support for Raw RGB, RGB (RGB565/555), GRB422, YUV (422/420) and YCbCr (4:2:2) formats, JPEG compression formats
- Supports image sizes: QSXGA, QXGA, UXGA, SXGA, SVGA, and any size scaling down from SXGA to 40×30
- Automatic image control functions including Automatic Exposure Control (AEC), Automatic Gain Control (AGC), Automatic White Balance (AWB), Automatic Band Filter (ABF), and Automatic Black-Level Calibration (ABLC)
- Image quality controls including color saturation, gamma, sharpness (edge enhancement), lens correction, white pixel canceling, noise canceling, and 50/60 Hz luminance detection
- Low operating voltage for embedded portable apps
- Board Size: 36 x 36 mm
- IMX135 – 13.0 MP Camera Module w/ stock lens (qty 1)
- 150 mm 22-pin 0.5 mm to 15-pin 1.0 mm CSI flexible flat cable (qty 1)
- 80 mm 22-pin 0.5 mm CSI flexible flat cable (qty 1)
Build Instructions for Raspberry Pi:
Enable i2c_vc: $ chmod +x ./enable_i2c_vc.sh $ ./enable_i2c_vc.sh After running the script, reboot will be required. Install the openCV Python library: $ sudo apt-get update $ sudo apt-get install python-opencv Install the openCV developers library: $ sudo apt-get install libopencv-dev Install the SDK library: $ make install Compile the Examples: $ make clean && make Optional Settings: Edit file /boot/config.txt file Find line with gpu_mem=xxx Modify gpu_mem=xxx with recommended size: gpu_mem=160 for 13MP camera board gpu_mem=180 for 16MP or higher camera board Running the examples: See GitHub for ArduCAM MIPI Boards README.md