Raspberry Pi HQ Camera - M12 mount
By Raspberry Pi
·
This is the M12-mount version of the Raspberry Pi High Quality Camera: the same 12.3-megapixel Sony IMX477 sensor, with a mount for small M12 (S-mount) lenses instead of the larger C and CS lenses. M12 lenses are comp...
Get notified when back in stock
1300 240 817
Mon–Fri, 10am–4pm Sydney time
This is the M12-mount version of the Raspberry Pi High Quality Camera: the same 12.3-megapixel Sony IMX477 sensor, with a mount for small M12 (S-mount) lenses instead of the larger C and CS lenses. M12 lenses are compact and inexpensive, which makes this version a good fit for enclosures, robots and fixed installations where a big lens would be in the way.
It works with most interchangeable M12 lenses. No lens is included: Raspberry Pi recommends three, which we stock as the fisheye, 8mm and 25mm lenses.
Why choose it
- Small lenses, wide choice. M12 is the common thread for compact camera optics, from fisheye to telephoto, so you can match the view to the job without a large lens.
- The HQ Camera's sensor. The 7.9mm IMX477 has 1.55μm pixels and 4056 × 3040 resolution, for cleaner images in dim light than the Camera Module range.
- Very long exposures. Exposures of up to 670.74 seconds suit night-sky and other low-light work.
- Built to be mounted. The milled aluminium lens mount has a standard 1/4"-20 tripod thread.
- Spare locking rings. It ships with three lens locking rings: one to use and two spares.
- In production until at least January 2030.
Which camera for your project?
| HQ Camera (M12 mount) | HQ Camera (C/CS mount) | Global Shutter Camera | |
|---|---|---|---|
| Sensor | Sony IMX477, 12.3MP | Sony IMX477, 12.3MP | Sony IMX296, 1.58MP |
| Shutter | Rolling | Rolling | Global |
| Lenses | M12 (S-mount) | CS mount, C mount with adapter | CS mount, C mount with adapter |
| Back focus length | 2.6mm to 11.8mm | 12.5mm to 22.4mm | 12.5mm to 22.4mm |
| Best for | Compact builds with small, low-cost lenses | Photography, larger and specialist lenses | Fast motion and machine vision |
Which M12 lens?
Fields of view are those Raspberry Pi gives for each lens on the HQ Camera (horizontal × vertical, then diagonal).
| Fisheye | 8mm | 25mm | |
|---|---|---|---|
| Field of view | 140° × 102.6° (184.6°) | 49° × 36° (62°) | 14.4° × 10.9° (17.9°) |
| Aperture | F2.5 | F1.8 | F2.4 |
| Good for | Seeing a whole room or sky at once | General use, a natural view | Distant subjects, a tight view |
Specifications
| Sensor | Sony IMX477R stacked, back-illuminated |
|---|---|
| Resolution | 12.3 megapixels, 4056 × 3040 pixels |
| Sensor size and pixel size | 7.9mm diagonal (1/2.3"), 1.55μm × 1.55μm pixels |
| Video modes | 2028 × 1080 at 50fps, 2028 × 1520 at 40fps, 1332 × 990 at 120fps |
| Maximum exposure | 670.74 seconds |
| Output | RAW12/10/8, COMP8 |
| Lens mount | M12 |
| Back focus length | 2.6mm to 11.8mm |
| Lens format | 1/2.3" (7.9mm) or larger |
| Infrared cut filter | Integrated, removable |
| Tripod mount | 1/4"-20 |
| Cable | 200mm ribbon |
| Operating temperature | 0°C to 50°C |
| Production lifetime | Until at least January 2030 |
In the box
- Circuit board with the Sony IMX477 sensor
- Milled aluminium M12 lens mount with integrated tripod mount
- Three lens locking rings (one needed, two spare)
- 200mm ribbon cable
No lens is included.
Which cable for your Raspberry Pi?
- Raspberry Pi 4, 3 and earlier Model B and A boards: the 200mm cable in the box fits their standard 15-pin camera connector.
- Raspberry Pi 5, Raspberry Pi Zero models and Compute Module IO boards: these use the mini 22-pin connector, so you need a Standard to Mini camera cable. Early Raspberry Pi Zero boards have no camera connector.
- Need more reach? A longer camera cable helps when the camera and board sit apart.
Good to know
- C and CS lenses, including Raspberry Pi's 6mm and 16mm lenses, don't fit this version. For those, choose the C/CS-mount HQ Camera.
- Choose M12 lenses rated for a 1/2.3" (7.9mm) sensor or larger, as Raspberry Pi specifies, so the image covers the whole sensor.
- Shut down and unplug your Raspberry Pi before connecting the camera. The ribbon's metal contacts face the circuit board.
- Use an up-to-date Raspberry Pi OS. The camera works with the
rpicam-appstools and the Picamera2 Python library. - The infrared cut filter can be removed for infrared work, but this can't be undone and voids the warranty.
Documents and downloads
13 documents for the Raspberry Pi HQ Camera - M12 mount. Open a PDF's pages here, or download it.
Product briefs
Datasheets
-
Camera Extended Spectral Sensitivity Datasheet · PDF · 552.0 KB Preview pages Hide pages
Select a page to read it full size.
Download
Guides
-
Picamera2 Manual User Guide · PDF · 2.8 MB Preview pages Hide pages
Select a page to read it full size.
Download -
C-Mount Lens Guide User Guide · PDF · 1.1 MB Preview pages Hide pages
Select a page to read it full size.
Download -
CS-Mount Lens Guide User Guide · PDF · 21.3 MB Preview pages Hide pages
Select a page to read it full size.
Download -
Camera Algorithm and Tuning Guide User Guide · PDF · 31.6 MB Preview pages Hide pages
Select a page to read it full size.
Download
Drawings and 3D models
-
Standard Camera Cable 200 mm Reference Drawing Mechanical Drawings · PDF · 52.4 KB Preview pages Hide pages
Select a page to read it full size.
Download -
HQ Camera CS-Mount Lens Mount Drawing Mechanical Drawings · PDF · 318.4 KB Preview pages Hide pages
Select a page to read it full size.
Download -
HQ Camera CS-Mount Mechanical Drawing Mechanical Drawings · PDF · 512.5 KB Preview pages Hide pages
Select a page to read it full size.
Download -
HQ Camera M12 Mechanical Drawing Mechanical Drawings · PDF · 657.5 KB Preview pages Hide pages
Select a page to read it full size.
Download
Schematics and pinouts
-
HQ Camera Schematics Schematic · PDF · 309.0 KB Preview pages Hide pages
Select a page to read it full size.
Download
Compliance
-
HQ Camera FCC Approval Approval · PDF · 142.5 KB Preview pages Hide pages
Select a page to read it full size.
Download