
OV2640 vs OV5640 vs OV3660 Camera Modules Compared
Three camera modules fit the same 24-pin DVP socket on ESP32 camera boards, and they are easy to mix up. The OV2640 is the 2MP workhorse that ships fitted on most boards. The OV5640 is the 5MP upgrade for sharper stills. The OV3660 is a 3MP middle option sold as a module. This guide compares all three on resolution, lens, board fit, and night vision, so you pick the right module the first time instead of reordering.
Quick comparison
| Module | Resolution | Max stills | Night vision | Board fit |
|---|---|---|---|---|
| OV2640 | 2MP | 1600×1200 UXGA | Standard IR-cut, or NoIR 850nm version | ESP32-CAM, ESP32-S3-CAM, 24-pin DVP |
| OV5640 | 5MP | 2592×1944 | Standard IR-cut version | ESP32-S3-CAM, 24-pin DVP |
| OV3660 | 3MP | 2048×1536 | Standard IR-cut version | ESP32-CAM, ESP32-S3-CAM, 24-pin DVP |
OV2640: the 2MP standard
The OV2640 is the default camera on the classic ESP32-CAM and on the ESP32-S3 camera boards. It captures 2MP stills at 1600×1200, outputs JPEG, YUV, and RGB, and streams video over WiFi without taxing the board. On the ESP32-S3, the extra PSRAM gives the OV2640 plenty of frame buffer, so streaming stays smooth.
The standard OV2640 module has a 650nm IR-cut filter and a 120-degree lens. That gives true color in daylight, which is what most camera projects need. The NoIR version of the same module drops the IR-cut filter for 850nm night vision, with a 160-degree wide-angle lens. If your build lives in the dark, the NoIR version is the OV2640 to buy, not a different sensor. Read the NoIR night-vision guide for the full story.
Pick the OV2640 when you want the lowest cost, the widest tutorial support, and reliable WiFi streaming. Every ESP32 camera example online uses it, and every ESP32 camera board supports it.
OV5640: the 5MP upgrade
The OV5640 captures 5MP stills at 2592×1944, more than twice the pixels of the OV2640. That shows up in still photos: finer detail, more room to crop, and cleaner images when you zoom. Video streaming still works, but the bigger frames need the extra memory on the S3 board, which is why the OV5640 pairs with the N16R8 board and its 16MB flash plus 8MB PSRAM.
The ESP32-S3-N16R8 CAM Development Board with OV5640 Camera, Dual USB-C, WiFi + Bluetooth 5 ($22.99) ships with the OV5640 fitted. If you want the sharpest stills from an ESP32 camera, this is the board. The ESP32-S3 Development Board with OV2640 Camera, Dual-Core 240MHz, WiFi + Bluetooth 5 LE, 45 GPIOs ($22.99) is the same board class with the 2MP OV2640 instead, at the same $22.99.
Pick the OV5640 when still-photo quality matters more than anything else: plant monitoring, document capture, or any build where you look at the photo after, not just the live stream. For a plain WiFi video feed, the OV2640 is enough and the extra pixels buy nothing.
OV3660: the 3MP middle option
The OV3660 is a 3MP sensor sold as a standalone module for ESP32 camera boards, with 2048×1536 stills. It sits between the OV2640 and OV5640 on resolution, and it uses the same 24-pin DVP connector, so it fits the same boards. It is a real option when you want more than 2MP without jumping to 5MP, or when you already have an OV3660 module and want a board for it.
Quality RC Parts does not stock the OV3660 module right now. If you need a camera module today, pick the OV2640 or OV5640 from the live listings below. The OV3660 is worth knowing about so you recognize it in a parts bin, but it is not a buy link in this guide.
Night vision: only the NoIR OV2640
Night vision is about the filter, not the sensor. The standard OV2640, OV5640, and OV3660 modules all carry IR-cut filters for true color in daylight, and all three go blind in the dark. The only night-vision module in the range is the NoIR OV2640, which has no IR-cut filter and sees 850nm infrared light.
The OV2640 NoIR Night Vision Camera Module, 850nm, 160-Degree Wide Angle, 24-Pin DVP for ESP32-CAM ($22.99) is the night-vision pick. Pair it with 850nm IR illumination and any ESP32 camera board with a 24-pin DVP socket. Daytime images from it have a pink or purple tint, so it is a night setup, not a daytime camera.
Which module for which build
| Build | Pick | Why |
|---|---|---|
| First WiFi camera, doorbell, timelapse | OV2640 | Cheapest, most tutorials, smooth streaming |
| Sharpest stills, plant or document photos | OV5640 | 5MP stills, needs S3 memory |
| BirdBox or night wildlife camera | OV2640 NoIR | Only module that sees 850nm IR |
| 3MP middle ground, module on hand | OV3660 | Fits the same socket, not stocked here |
Parts that fit this guide
Prices below are the live store prices verified November 19, 2026. In-stock parts ship from New York in 1-2 business days.
ESP32-S3 Development Board with OV2640 Camera, Dual-Core 240MHz, WiFi + Bluetooth 5 LE, 45 GPIOs ($22.99)
ESP32-S3 camera board with OV2640 2MP camera, dual-core 240MHz, 45 GPIOs, WiFi plus Bluetooth 5 LE, and USB OTG.
ESP32-S3-N16R8 CAM Development Board with OV5640 Camera, Dual USB-C, WiFi + Bluetooth 5 ($22.99)
ESP32-S3-N16R8 CAM board with OV5640 5MP camera, 16MB flash, 8MB PSRAM, and dual USB-C.
OV2640 NoIR Night Vision Camera Module, 850nm, 160-Degree Wide Angle, 24-Pin DVP for ESP32-CAM ($22.99)
NoIR OV2640 2MP camera module with 850nm night vision, 160-degree lens, and 24-pin DVP. The night-vision module for dark builds.
Shop the full range in the ESP32 and ESP8266 category at Quality RC Parts. See also: ESP32-S3-CAM vs ESP32-CAM board comparison and How to Use the ESP32-S3-CAM Board for Camera Projects.
Frequently asked questions
Can I swap modules between boards?
Yes, if the board has a 24-pin DVP socket. The OV2640, OV5640, and OV3660 modules all use the same connector, so a module swap is a socket swap, not a rebuild.
Does the OV5640 work on the classic ESP32-CAM?
The connector fits, but the 5MP frames want the extra memory on the S3 board. The OV5640 belongs on the ESP32-S3-CAM N16R8.
Which module is best for video streaming?
The OV2640. Its 2MP frames stream smoothly on both boards, and the extra pixels of the OV5640 do not help a live video feed.
Is there a NoIR OV5640?
Not in the store range. The NoIR module here is the OV2640. For night vision, use the NoIR OV2640 with 850nm IR light.
Last updated: November 19, 2026.
