OV2640 – Specs, Datasheets, Cameras, Features, Alternatives
OV2640, an evergreen image sensor from OmniVision. It was released in 2005 and discontinued in 2009, yet still used a lot in today’s products. While this image sensor remains popular, there are also uncertainties ahead. You may have questions like the followings:
- What’s good about it?
- What makes it so popular?
- How to deal with its end-of-life issue?
As one of the major advocates of OV2640, Arducam will answer your questions in this article.
Let’s get started.
OV2640 Specs
Attribute | Values |
---|---|
Array Size | 1600 x 1200 (UXGA) |
Power Supply | Core: 1.3V DC ± 5% Analog: 2.5~3.0V DC I/O: 1.7V to 3.3V |
Power Consumption | YUV mode full res & framerate: 125mW Compressed mode full Res & framerate: 140mW Standby:600μA |
Image Sensor Format | Type 1/4″ |
Maximum Image Transfer Rate | 1600×[email protected], [email protected], [email protected] |
Sensitivity | 0.6V/Lux-sec |
S/N ratio | 40dB |
Dynamic Range | 50dB |
Pixel Size | 2.2 x 2.2 μm |
Dark Current | 15mV/s at 60°C |
Well Capacity | 1.2Ke |
Fixed Patter Noise | <1% of VPEAK-TO-PEAK |
Image Area | 3590 x 2684 μm |
Package Dimensions | 5725 x 6285 μm |
Resolution | UXGA SVGA and below |
Output Format | YUV/RGB/Raw RGB Data |
Shutter Type | Rolling Shutter |
Color Filter Array | RGB Bayer Array |
ISP Functions | AE, AWB, Sharpness, Noise Reduction, Defect Reduction, Gamma, Color Saturation, Special Effects |
Release in 2005, it was the world’s first fully-integrated Type 1/4-inch 2 MP Image sensor.
In its product brief back in 2006, we can see the full specs of this camera module.

OV2640 Datasheet
Here you can download the OV2640 datasheet.

Get OV2640 camera solutions from Arducam
Arducam offers OV2640 Compact Camera Modules (CCM), ESP32 Cams, OV2640 Camera Breakout Boards, SPI cameras.
As well as alternative image sensors and solutions to the OV2640.
Off-the-shelf products
OV2640 Camera Modules
Camera Modules for STM32 MCUs , Raspberry Pi Pico
Arducam Mini 2MP Plus – OV2640 SPI Camera Module for Arduino UNO Mega2560 Board & Raspberry Pi Pico
Buy Now- Can be used in MCU, Raspberry Pi, ARM, DSP, FPGA platforms
- M12 mount or CS mount lens holder with changeable lens options
- IR sensitive with proper lens combination
- I2C interface for the sensor configuration
…
Camera Breakout Board , Camera Breakout Boards (OmniVision)
Arducam 2MP OV2640 1/4″ CMOS Sensor Camera Module Adapter Board JPEG Out
Buy Now- High sensitivity for low-light operation.
- Maxim resolution 1600 x 1200 UXGA at 15 fps
- Output support for Raw RGB, RGB (RGB565/555),GRB422,YUV (422/420) and YCbCr (4:2:2) formats
- Easy intergrate with STM32,FPGA,DSP,Arduino etc.
- Supports image sizes:UXGA,SXGA, …
Camera Breakout Board , Camera Breakout Boards (OmniVision)
Arducam 2MP OV2640 Color 1/4” Camera Module with LS-4011 M12 Mount lens
Buy Now2MP OV2640 1/4” CMOS.
High sensitivity for low-light operation.
Automatic image control functions.
OV2640 ESP32 CAM
Arducam IoTai
Arducam IoTai ESP32 CAM WiFi Bluetooth PSRAM Development Board with Camera Module OV2640
Buy Now- Arducam IoTai is based on the ESP-32S module, uses onboard 4MByte PSRAM and 2MP OV2640 camera module, which makes it possible to capture and process the image.
- Fully compliant with WiFi 802.11b/g/n/e/i and Bluetooth 4.2 standards, …
Why OV2640 is an excellent sensor
Compared to the latest Huawei or iPhone camera, OV2640 is not fancy at all in terms of the sensor format, the resolution, the image quality.
But it doesn’t bother make the OV2640 to be an excellent image sensor.
The OV2640 is a SOC sensor that has an on-chip ISP which can do auto-exposure, auto-white balance in such a small sensor package to represent a nice image.
The sensor interface is DVP which standards for digital video port, a kind of parallel source synchronization camera interface with 8bit data, horizontal/vertical synchronization signal, and an associated pixel clock.

It is very friendly to most of the low-end ARM and RISC microcontrollers like STM32, ESP32, compared to the MIPI interface, only high-end processors support such camera interface.
The most important feature of OV2640 is the hardware JPEG encoder, it off-loads the processing power and reduces memory footprint usage from the microcontrollers.
A typical 1600×1200 RGB565/YUV format image occupies 3.66MB RAM space, while a JPEG format same decent image only occupies 150KB, almost x25 compression ratio.
With lower image resolution or higher compression ratio, the output JPEG image size will be even smaller, that can be easily stored and processed in microcontrollers internal RAM memory. It is huge!
In conclusion, a friendly camera interface, nice image quality, powerful on-chip ISP with JPEG encoding, makes the OV2640 image sensor unique and popular for IoT camera applications at all times.
What make it even more popular
OV2640 on Arduino
In 2012, the Arducam team firstly introduced the OV2640 sensor into the Arduino platform with our SPI camera solution and made the camera driver opensource. (After that the OV2640 is ported to STM32 and ESP32 platforms and so on.)
This Arduino-compatible camera was a huge success. It was impossible for a microcontroller like Arduino to handle image sensor with a resolution as high as 2MP or above.
Here is the original blog of release the Arduino camera solution back in 2012.

Raspberry Pi Camera Module 3: An In-Depth Look
Raspberry Pi’s new camera module v3 is finally out. It’s got a fairly competent sensor, the long-awaited autofocus, and also comes at pretty unbeatable prices, just like its predecessors. However, is it as perfect as it appears? Can you use it as an all-rounder for all your projects? Before you […]

ArduCAM – An Arduino Camera Shield
This camera shield is replaced by newer Rev.C+ shield and ArduCAM-Mini board ArduCAM is Arduino based open source camera platform which is well mated to Arduino boards. It now supports Arduino UNO board and we will add support Mega1280/2560 and new released Leonardo, Maple and Chipkit are also in planning.
OV2640 on ESP32
The ESP32 could not support a camera in the first place. At around the end of 2018, it is updated to support a parallel camera. As the newer ESP32 boards with a camera interface comes with PSRAM, the camera application is easier on this microcontroller for IoT applications, or even simple AI application.
Arducam’s also offered an ESP32-based board in Arduino UNO form factor that supports parallel cameras:

Raspberry Pi Camera Module 3: An In-Depth Look
Raspberry Pi’s new camera module v3 is finally out. It’s got a fairly competent sensor, the long-awaited autofocus, and also comes at pretty unbeatable prices, just like its predecessors. However, is it as perfect as it appears? Can you use it as an all-rounder for all your projects? Before you […]

Introducing Arducam IoTai – The Ultimate IoT (Internet of Things) Board with Camera Support, Based on ESP32 and in the Shape of Arduino UNO
IoT Platform with ESP32 If you are interested in maker boards and IoT projects, you must have heard of ESP platforms such as the ESP-32 series. Considering the Wifi and Bluetooth features integrated, it is really an extremely cheap and cool gadget. Cost-effective IoT Solution with Arduino Arduino, on the […]
OV2640 CCM Compact Camera Modules
We offer various kinds of OV2640 CCM camera modules with a different lens and cable length. Let us know if you have specific needs for the module.

OV2640 Alternative
The OV2640 is so nice, but it has been EOL for more than 10 years. You might be curious why there are still so many camera modules available on the market?
This sensor was targeted to the mobile phone industry, the production volume is quite large, there is a lot of stock out there. You still need to be aware of the supply issue when using this camera into your own product and find some alternatives.
Arducam carries a list of camera modules that features on-chip ISP, DVP camera interface and JPEG compression engine, and can be an alternative to the current OV2640 camera.
1. 720p sensor
NT99141 is from Novatek which is 1/4″ 1280×720 image sensor with 8bit parallel camera interface with build-in ISP processing of following features:
- 1) Pixel Size: 3.0um x 3.0um
- 2) Shutter: electronic rolling shutter
- 3) Frame rate: 640×[email protected], 1280×[email protected]
- 4) Color Filter Arrays: RGB Bayer pattern
- 5) Power consumption: [email protected] JPG, standby < 10uA
- 6) Output format: YCbCr 4:2:2, RGB565, RGB555, RGB444, Raw, CCIR656, JPEG encoding
- 7) On-chip scaling from 1280×720
- 8) Auto exposure (AE), Auto-White Balance (AWB) control functions
- 9) Support Sharpness, noise reduction, defect correction, gamma, color saturation adjustment.
- 10) Sepcical effects
2. 2MP MT9D111
MT9D111 is original from Micron, later Aptina and now ONSemi. Like the OV2640, the MT9D111 sensor is built at the same age but it is still in production. The MT9D111 is 1/3.2″ 1600×1200 image sensor with 8bit parallel camera interface with build-in ISP processing of following features. Note that the MT9D111 JPEG encoder doesn’t include a JPEG header in the video stream, user need to append the JPEG header to create a viewable image. This is the main encoder difference from the OV2640.
- 1) Pixel Size: 2.8um x 2.8um
- 2) Shutter: electronic rolling shutter
- 3) Frame rate: 800×[email protected] for prewiew, 1600×[email protected] for still
- 4) Color Filter Arrays: RGB Bayer pattern
- 5) Power consumption: [email protected]
- 6) Output format: YCbCr 4:2:2, RGB565, RGB555, RGB444, Raw, JPEG encoding
- 7) Auto exposure (AE), Auto-White Balance (AWB), Auto-Focus (AF) control functions
3. 3MP
OV3640, OV3660 are 3MP 2048 x 1536 (QXGA) SoC image sensors from Omnivision. They are both upgrade version of the 2MP OV2640. OV3640 is 1/4″ sensor while the OV3660 is cost down version that is 1/5″ sensor.
Sensor | OV3640 | OV3660 |
Optical size | 1/4″ | 1/5″ |
Pixel Size | 1.75um x 1.75um | 1.4um x 1.4um |
Active Resolution | 2048×1536 | 2048×1536 |
Color Filter | RGB Bayer Pattern | RGB Bayer Pattern |
Shutter Type | Electronics Rolling Shutter | Electronics Rolling Shutter |
Frame Rate | 2048×[email protected] 1024×[email protected] | 2048×[email protected] [email protected] [email protected] [email protected] [email protected] |
Output Format | YUV422/420, YCbCr422, RGB565/555/444, RAW, JPEG | YCbCr422, RGB565/555/444, RAW, JPEG |
Interface | DVP | DVP |
AWB,AE | ☑ | ☑ |
Noise Reduction | ☑ | ☑ |
Lens Shading Correction | ☑ | ☑ |
Gamma Correction | ☑ | ☑ |
Windowing and Cropping | ☑ | ☑ |
Flip/Mirror | ☑ | ☑ |
4. 5MP
OV5640, OV5642, MT9P111, S5K4ECGX, they are 5MP 1/4″ SoC image sensors with on-chip ISP and JPEG compression.
OV5640 and OV5642 are from Omnivision. OV5642 is used on Arducam Mini 5MP Plus SPI camera and OV5640 is big brother of OV5642. MT9P111 is from ONSemi, and S5K4ECGX is from Samsung.
Sensor Spec | OV5640 | OV5642 | MT9P111 | S5K4ECGX |
Optical size | 1/4″ | 1/4″ | 1/4″ | 1/4″ |
Pixel Size | 1.4um x 1.4um | 1.4um x 1.4um | 1.4um x 1.4um | 1.4um x 1.4um |
Active Resolution | 2592×1944 | 2592×1944 | 2592×1944 | 2592×1944 |
Color Filter | RGB Bayer Pattern | RGB Bayer Pattern | RGB Bayer Pattern | RGB Bayer Pattern |
Shutter Type | Electronics Rolling Shutter | Electronics Rolling Shutter | Electronics Rolling Shutter | Electronics Rolling Shutter |
Frame Rate | [email protected] [email protected] [email protected] [email protected] [email protected] | [email protected] [email protected] [email protected] [email protected] [email protected] | [email protected] [email protected] [email protected] | [email protected] [email protected] [email protected] [email protected] |
Output Format | YUV422/420, YCbCr422, RGB565/555/444, RAW, JPEG | YUV422/420, YCbCr422, RGB565/555/444, RAW, JPEG | YCbCr422, RGB565/555/444, RAW, JPEG | YUV422, RGB565, RGB888, RAW, JPEG |
Interface | DVP and MIPI | DVP and MIPI | DVP and MIPI | DVP and MIPI |
AWB,AE, AF | ☑ | ☑ | ☑ | ☑ |
Noise Reduction | ☑ | ☑ | ☑ | ☑ |
Lens Shading Correction | ☑ | ☑ | ☑ | ☑ |
Gamma Correction | ☑ | ☑ | ☑ | ☑ |
Windowing and Cropping | ☑ | ☑ | ☑ | ☑ |
Flip/Mirror | ☑ | ☑ | ☑ | ☑ |
Why do you like to use the OV2640 Camera Module?
Leave your comment below!
3 Comments
Kevin Jones` · February 27, 2022 at 7:16 pm
Is this capable of night vision/infrared ?
Lee Jackson · March 7, 2022 at 9:06 pm
Night vision requires modification to the lens, but yes.
John Madsen · April 10, 2022 at 9:07 pm
As I understand it, the above timing diagram shows the output for RGB or YCC outputs. What does it look like for a JPEG output? For a 1600 x 1200 image to occupy only 150kB, there’s far less than one byte per pixel.