Skip to content

Guide

Best Raspberry Pi camera module: Camera Module 3, HQ, Global Shutter and AI Camera

Camera Module 3 is the best Raspberry Pi camera for most projects. Compare it with the HQ, Global Shutter and AI Camera, plus Pi 5 cable tips.

Updated

The best Raspberry Pi camera for most projects is the Raspberry Pi Camera Module 3: a 12-megapixel Sony IMX708 sensor with fast phase-detection autofocus and HDR, available in standard (75°) or wide (120°) lenses and in a NoIR version for infrared night shots. Choose the High Quality Camera if you want interchangeable lenses, the Global Shutter Camera for fast-moving subjects and machine vision, and the AI Camera if you want object detection to run on the camera itself.

All four are official Raspberry Pi cameras that connect through the CSI ribbon connector and work with Raspberry Pi OS's camera software (the rpicam-apps tools and the Picamera2 Python library). The main differences are sensor, optics and what the camera is good at.

What matters when choosing a Raspberry Pi camera

Focus. Camera Module 3 has powered autofocus, which is a big help for projects where the subject distance changes. Camera Module 2 has no autofocus. The HQ and Global Shutter cameras focus through their lens.

Field of view. Standard Camera Module 3 lenses cover 75° diagonally; the Wide version covers 120°, which suits security cameras, doorbells and room monitoring.

Low light and infrared. NoIR versions have no infrared-cut filter, so they can see with IR illumination at night. Colours look unusual in daylight.

Shutter type. Most cameras use a rolling shutter, which can skew fast-moving objects. The Global Shutter Camera captures the whole frame at once, so it is better for motion capture, robotics and measuring.

Lens options. The HQ Camera uses interchangeable lenses (C/CS-mount, or an M12-mount version), useful for telephoto, macro, microscopy and astronomy.

On-camera AI. The AI Camera's Sony IMX500 runs neural-network models such as object detection on the sensor, leaving the Pi's CPU free.

Cable for your board. Raspberry Pi 5 and the Zero range use the smaller 22-pin camera connector. Camera Module 2, Camera Module 3, the HQ Camera and the Global Shutter Camera ship with the standard 15-pin cable for Pi 4 and earlier, so a Pi 5 needs a 22-to-15-pin "mini to standard" adapter cable. The AI Camera includes both cables.

Raspberry Pi camera comparison

CameraSensor / resolutionFocusLensBest for
Camera Module 3 (Standard or Wide, visible or NoIR)Sony IMX708, 12MP (4608x2592); HDR up to 3MPPowered phase-detection autofocusFixed, 75° or 120° diagonalMost projects: photos, video, time-lapse, security
Camera Module 2Sony IMX219 (IMX355 on units made from November 2026), 8MPManually adjustableFixedBudget projects; existing designs
High Quality (HQ) CameraSony IMX477, 12.3MPManual, via lensInterchangeable C/CS or M12Photography, microscopy, astronomy
Global Shutter CameraSony IMX296, about 1.6MPManual, via lensInterchangeable C/CS-mountFast motion, machine vision, robotics
AI CameraSony IMX500, 12MP, on-sensor AI acceleratorManual focusFixedObject detection and classification without extra hardware
Arducam IMX477 Motorized Focus (UCTRONICS)12MP IMX477Software-controlled motorized focusFixedHQ-sensor quality with remote focusing

Vilros also carries the Arducam IMX219 module and its own 5MP OV5647 module (listed for Pi 2, 3, 4 and Zero), plus tripods for the HQ Camera.

Which camera for which project?

  • Security camera or doorbell: Camera Module 3 Wide, or Wide NoIR with an IR light for night use.
  • Wildlife or bird box: Camera Module 3 NoIR with IR illumination.
  • Time-lapse and general photography: Camera Module 3 Standard; HQ Camera if you want a specific lens.
  • Microscope or telescope: HQ Camera with a suitable lens or adapter.
  • Robotics, sports or barcode scanning: Global Shutter Camera.
  • People counting, smart motion detection: AI Camera. See our smart motion detection project.
  • Video calls: Camera Modules can work as webcams with extra software; see Can I use a Raspberry Pi Camera Module with Zoom, Teams or Skype?.

Our pick

Vilros is an official Raspberry Pi Approved Reseller in the US. Orders ship the next business day from New Jersey.

FAQ

Which Raspberry Pi camera is best for Raspberry Pi 5?
Camera Module 3 for most uses. Remember to order the 22-pin to 15-pin adapter cable, because the Pi 5 uses the smaller camera connector.

Can a Raspberry Pi 5 use two cameras?
Yes. The Pi 5 has two MIPI connectors, each usable for a camera or a DSI display.

Is Camera Module 3 better than the HQ Camera?
For convenience, yes: autofocus, HDR and no lens to buy. The HQ Camera is better when you need a specific lens, such as telephoto or macro.

What does NoIR mean?
The camera has no infrared-cut filter, so it is sensitive to infrared light. Use it with IR LEDs for night vision.

Can I use a USB webcam instead?
Yes, USB webcams work with Raspberry Pi OS. Official Camera Modules give you more control, better integration with Raspberry Pi camera software and a smaller footprint.

Why is my camera not detected?
Most often the ribbon is reversed or not fully seated, or a Pi 5 is using the wrong cable. See Raspberry Pi Camera Module not working.

Shop this tutorial

Cart
0 selected$0.00

Prices from vilros.com. Tax and shipping at checkout.

Printable guide