Buying guide · Intermediate · 3 min read
Camera Modules for Arduino, ESP32, Raspberry Pi and Jetson
MIPI, USB, SPI and DVP
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
Pick the camera by the board you have, then by the sensor. ESP32-CAM uses a small DVP camera such as the OV2640. Raspberry Pi and Jetson use MIPI CSI cameras, and any computer can use a USB UVC camera. Arducam SPI cameras add a camera to an Arduino. Consider resolution, field of view, autofocus, global shutter and low-light performance.
Key specs at a glance
- DVP (parallel)
- OV2640 and OV5640 on ESP32 boards, 2 to 5 MP, 3.3 V
- MIPI CSI
- Raspberry Pi, Jetson, 8 to 12 MP and higher, driver needed
- USB (UVC)
- Plug-and-play on Linux, Windows and Pi, easy but uses USB bandwidth
- SPI cameras
- For Arduino and low-RAM boards, small JPEG output
- Lens mount
- M12, CS or C mount, or fixed lens
- Sensor type
- Rolling or global shutter, colour, mono or NoIR
Which interface
The interface decides which boards can use the camera.
| Interface | Boards | Strengths | Watch out for |
|---|---|---|---|
| DVP (parallel) | ESP32-CAM, ESP32-S3 | Cheap, small, runs standalone | Low resolution, needs PSRAM for frames |
| MIPI CSI-2 | Raspberry Pi, Jetson, i.MX | High resolution and frame rate | Needs driver support; cable length limited |
| USB UVC | PC, Raspberry Pi, Jetson | Plug-and-play | Compressed video; latency |
| SPI | Arduino, STM32 | Works on small MCUs | Small JPEG pictures only |
- DVP (parallel)
- Boards:
- ESP32-CAM, ESP32-S3
- Strengths:
- Cheap, small, runs standalone
- Watch out for:
- Low resolution, needs PSRAM for frames
- MIPI CSI-2
- Boards:
- Raspberry Pi, Jetson, i.MX
- Strengths:
- High resolution and frame rate
- Watch out for:
- Needs driver support; cable length limited
- USB UVC
- Boards:
- PC, Raspberry Pi, Jetson
- Strengths:
- Plug-and-play
- Watch out for:
- Compressed video; latency
- SPI
- Boards:
- Arduino, STM32
- Strengths:
- Works on small MCUs
- Watch out for:
- Small JPEG pictures only
Sensor choices
the ESP32-CAM staple; fine for snapshots and low-frame-rate streaming.
autofocus options; used on ESP32-S3 boards.
8 and 12 MP, with autofocus and HDR on the IMX708; see Raspberry Pi cameras.
use for fast motion and machine vision.
for night vision with infrared lights.
Lens and field of view
A lens with a short focal length sees a wide angle, a long one zooms in. Cameras with an M12 or CS mount accept swappable lenses; see the lens guide. Choose the field of view to fit the area you want to watch: about 100 degrees for a doorway, 60 to 70 degrees for a desk, narrow for distant objects.
Getting started
- 1For ESP32-CAM, use the Arduino ESP32 CameraWebServer example, a 5 V supply that can provide at least 500 mA, and a good antenna (ESP32-CAM guide).
- 2For a Raspberry Pi, connect the ribbon cable with the contacts facing the correct way and use
rpicam-helloto test. - 3For USB cameras, check with
ls /dev/video*and view with OpenCV or ffmpeg. - 4For AI vision, see edge AI boards.
Try it: Display framebuffer calculator
Change the values and the diagram and results update as you type.
Common mistakes to avoid
- Buying a MIPI camera for a board with no CSI port.
- Powering an ESP32-CAM from a weak USB port.
- Choosing resolution over lens quality.
- Fitting the ribbon cable the wrong way.
- Forgetting an IR light for a NoIR camera at night.
Frequently asked questions
Which camera for ESP32?
OV2640 on an ESP32-CAM is the budget choice. ESP32-S3 boards with OV5640 give better quality.
Is a USB camera easier?
Yes, for a computer or Raspberry Pi it needs no setup, but it cannot be used directly on small MCUs.
What is a global shutter?
All pixels are exposed at once, so fast motion does not warp.
Do I need autofocus?
Useful for close objects and documents. Fixed focus is fine for wide scenes.
How long can a CSI cable be?
Short, usually under 30 cm unless you use a special extender.
Parts for this guide
Calculators
Terms in this guide
Projects that use it
Put this into practice: 25 step-by-step builds in our project library use parts from this guide.
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.




