Raspberry Pi Camera Module 2 Pinout

Raspberry Pi Camera Module 2 pinout. The standard visible-light Camera Module 2 pairs a Sony IMX219 back-illuminated CMOS sensor with a fixed-focus lens and an infrared-cut filter.

Jump to pin index ↓

Main pinout

The standard visible-light Camera Module 2 pairs a Sony IMX219 back-illuminated CMOS sensor with a fixed-focus lens and an infrared-cut filter. This reference covers the photographed green PCB marked Camera V2.1 and the original IMX219 build. J1 is numbered from bottom to top on the rear photograph. Its labels point to the solder tails corresponding to the cable contacts. The 30-contact J2 socket is under the short sensor flex and is shown unmated in the separate J2 detail.

100%Drag to pan · Ctrl/⌘ + wheel to zoomSwipe up/down to scroll the page · Swipe sideways to pan · Use two fingers to pan and zoom
Show signal names and electrical roles

Pin index

Pin index

Quickly scan every header pin, port name, supported function and usage note.

15 visible
PinMCU pinTypesNotes
GroundGround return next to the lane 0 pair.
MIPI CSI-2Negative camera output of D-PHY data lane 0. Pairs with J1.3.
MIPI CSI-2Positive camera output of D-PHY data lane 0. Pairs with J1.2.
GroundGround return between data lanes 0 and 1.
MIPI CSI-2Negative camera output of D-PHY data lane 1. Pairs with J1.6.
MIPI CSI-2Positive camera output of D-PHY data lane 1. Pairs with J1.5.
GroundGround return between data lane 1 and the clock pair.
MIPI CSI-2Negative camera output of the D-PHY clock pair. Pairs with J1.9.
MIPI CSI-2Positive camera output of the D-PHY clock pair. Pairs with J1.8.
GroundGround return between the clock pair and the control signals.
EnableActive-high 3.3 V input that enables regulators U1, U2 and U3.
Not connectedThe generic host connector names this position CAM_IO1. The V2.1 board leaves J1.12 open.
I²CHost-side I²C clock. Q1 translates this line to 1.8 V for the sensor.
I²CHost-side bidirectional I²C data. Q1 translates this line to 1.8 V for the sensor.
Power3.3 V supply from the host. The camera generates the 1.8 V, 2.8 V and 1.2 V rails.

Specifications

Board and variant
RPI-CAM-V2_1 rev. 2.1 · SC0023 Standard · original IMX219 build
Sensor
Sony IMX219 · 8 MP (3280 × 2464) · 1.12 µm pixels
Optics
3.04 mm, f/2.0 · 62.2° horizontal × 48.8° vertical · IR-cut filter
Focus
Fixed during operation, manually adjustable lens
J1 host interface
15-way, 1 mm FFC/FPC · two MIPI CSI-2 D-PHY data lanes and one clock pair
Power and control
3.3 V input · active-high enable · I²C with host-side 3.3 V pull-ups
J2 sensor interface
30 contacts, 0.4 mm pitch · 1.8 V I²C · 24 MHz MCLK
Board and mounting
25 × 23.862 mm PCB · four Ø2.2 mm holes · module approx. 9 mm high

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
RPI-CAM-V2_1V2.1 board schematicRaspberry PiConnector numbering, signal names, regulators and level translation.Datasheet
RPI-CAM-V2_1Mechanical drawingRaspberry PiPCB outline and mounting-hole positions.Datasheet
Camera Module 2Product and sensor specificationsRaspberry PiOfficial resolutions, optics and original Sony sensor.Datasheet
J1CSI connector and physical pin 1Raspberry PiGeneric host numbering and physical camera orientation.Datasheet
SFW15R-1STE1LFJ1 FFC/FPC receptacleAmphenol15 positions, 1 mm pitch, bottom contact.Datasheet
DF37NC-30DS-0.4VJ2 sensor receptacleHiroseMating face and footprint for the internal 30-contact socket.Datasheet
AP7331U1/U2 linear regulatorsDiodes IncorporatedActive-high enable, 1.8 V and 2.8 V variants in the reference schematic.Datasheet
PAM2301U3 switching regulatorDiodes Incorporated1.2 V in the board schematic.Datasheet
DMG1024UVQ1 I²C level shifterDiodes IncorporatedDual N-channel MOSFET.Datasheet
ATSHA204AU4 I²C authentication deviceMicrochipConnected to the 3.3 V side of I²C in the reference schematic.Datasheet

Board notes

IMX219 and IMX355 identification
This diagram represents the IMX219 assembly. Raspberry Pi documents the separate IMX355 build and its identifying silkscreen.
Lens-side photograph
Photograph by Adafruit. The ribbon cable and background were masked.
Rear photograph and J2 detail
Teardown photographs by DrYerzinia. The rear image was restored to its physical orientation.