Cameras
On the Raspberry Pi, there is a CSI (Camera Serial Interface) port that will enable you to connect it up to an appropriate camera board such as the official Raspberry Pi Camera Board V2.
This allows you to turn the Raspberry Pi into a surveillance camera, wildlife camera, time-lapse camera, nanny camera, etc!
We stock official Raspberry Pi Camera boards right here in Australia.
Which board is it for?
Pick your board to see the cameras for it, the cable it needs, and the lenses and mounts that go with them.
14 cameras listed for Compute Module 4.
Compute Module 4
The Compute Module 4 IO Board's two camera connectors are the 22-pin type, so use a 22-to-15-pin cable. Check your carrier board if it isn't the official IO Board.
Build your camera setup
Choose a camera and your board to see the cable, lens and mount it needs, and what's already in the box.
Choose by job
-
Everyday & autofocus
Camera Module 3 — sharp 12 MP stills and 1080p video with fast autofocus.
$51.70
Fits Compute Module 4
-
Wide angle
120° field of view for rooms, doorbells and dashcams.
$68.16
Fits Compute Module 4
-
Low light & infrared
NoIR has no IR filter — pair it with IR lighting for night-time wildlife.
$65.45
Fits Compute Module 4
-
Swap the lens
High Quality Camera with C/CS-mount lenses for microscopes and astrophotography.
$103.30
Fits Compute Module 4
-
Fast motion
Global Shutter captures the whole frame at once — no rolling-shutter skew.
$89.46
Fits Compute Module 4
-
On-camera AI
AI Camera runs object detection on the sensor itself, no accelerator needed.
$124.43
Fits Compute Module 4
Official cameras compared
All made by Raspberry Pi and supported by rpicam-apps and Picamera2 in Raspberry Pi OS.
Camera Module 3
from $51.70
Fits Compute Module 4
- Sensor
- Sony IMX708
- Resolution
- 11.9 MP
- Shutter
- Rolling
- Focus
- Autofocus
- Lens / field of view
- Fixed; 75° or 120° (Wide)
- Best for
- General use, wildlife, low light (NoIR)
- Cable for CM4
- Add a cable Raspberry Pi Camera Cable Standard - Mini · $2.71
High Quality Camera
from $86.62
Fits Compute Module 4
- Sensor
- Sony IMX477
- Resolution
- 12.3 MP
- Shutter
- Rolling
- Focus
- Manual (lens)
- Lens / field of view
- C/CS or M12 — lens sold separately
- Best for
- Microscopy, astro, swappable lenses
- Cable for CM4
- Add a cable Raspberry Pi Camera Cable Standard - Mini · $2.71
Global Shutter Camera
$89.46
Fits Compute Module 4
- Sensor
- Sony IMX296
- Resolution
- 1.6 MP
- Shutter
- Global
- Focus
- Manual (lens)
- Lens / field of view
- C/CS — lens sold separately
- Best for
- Fast motion, machine vision
- Cable for CM4
- Add a cable Raspberry Pi Camera Cable Standard - Mini · $2.71
AI Camera
$124.43
Fits Compute Module 4
- Sensor
- Sony IMX500
- Resolution
- 12.3 MP
- Shutter
- Rolling
- Focus
- Manual
- Lens / field of view
- Fixed, about 78°
- Best for
- On-sensor detection without an AI HAT
- Cable for CM4
- Add a cable Raspberry Pi Camera Cable Standard - Mini · $2.71
Older Camera Module V2 boards (Sony IMX219, 8 MP, fixed focus) still work, but Camera Module 3 replaces them.
Which cable?
Compute Module 4
- Connector
- 2 × 22-pin on the CM4 IO Board
- Cable you need
- 22-to-15-pin cable
Lenses & mounts
For the High Quality and Global Shutter cameras: C/CS-mount lenses, M12 lenses for the HQ M12 version, and mounting plates.
Camera cables
22-to-15-pin for Raspberry Pi 5, Zero and the Compute Module IO Boards; 15-pin for longer runs on Pi 4 and 3.
Cameras for Compute Module 4 1 product
Show every boardCamera module
Raspberry Pi AI Camera
SKU: RP-SC1174 | Brand: Raspberry Pi
The Raspberry Pi AI Camera runs neural networks on the camera itself. It is built around Sony's IMX500 Intelligent Vision Sensor, which pairs a 12.3-megapixel image sensor with an on-chip AI accelerator, so object det...
Delivered by Wed 9 Dec
Check compatibility
We haven't confirmed whether these 4 cameras work with Compute Module 4. Check the product page, or ask us before you order.
Questions we get asked
Will my camera work on Raspberry Pi 5?
Camera Module 3, the High Quality, Global Shutter and AI Cameras all support Raspberry Pi 5. Pi 5 uses the smaller 22-pin connector, so you need a 22-to-15-pin camera cable unless one is in the box.
NoIR or standard?
Standard cameras have an infrared filter, so colours look natural in daylight. NoIR leaves it out: it sees infrared light, which makes it great at night with IR illumination, but daytime colours look pinkish.
Do the HQ and Global Shutter cameras include a lens?
No. Both take C/CS-mount lenses (the HQ Camera also comes in an M12-mount version). The 6 mm wide-angle lens is a good first lens; the 16 mm telephoto suits microscopy and distant subjects.
Can I use two cameras at once?
On Raspberry Pi 5 and the Compute Module IO Boards, yes — they have two camera connectors. Pi 4, 3 and Zero have one.
Which software do I use?
rpicam-apps for command-line stills and video, and the Picamera2 Python library for your own programs. Both come with Raspberry Pi OS.
Guides
- Using a camera with Raspberry Pi Which ribbon cable your camera needs, how to plug it in the right way round, and how to check it works from the command line and from Python.
- Picamera2 manual Control the camera from Python.
- Getting started with the Raspberry Pi AI Camera What makes the AI Camera different from an ordinary camera module, the one package it needs, and how to run the object-detection and pose demos from the command line or Python.
- Compatibility guide Which accessories fit which board.
Fitting out a classroom or a fleet? Request a quote