Raspberry Pi MIPI CSI Camera Pinout

A complete knowledge base of Raspberry Pi camera 15-pin and 22-pin camera cables and connectors.

raspberry pi camera pinout camera 2

Raspberry Pi Camera Interface

There are two different kinds of Raspberry Pi CSI camera connectors: 15-pin and 22-pin. The 15-pin connector is mostly seen on standard Raspberry Pi models (A&B series) and Pi camera modules; the 22-pin is on Raspberry Pi Zero-W and Compute Module IO Board. Arducam also uses derived versions of these connectors, usually with different FPC contact positions, to accommodate different camera board designs.

15-Pin Connector

The 15-pin connector is the most used one. Unless otherwise indicated, It’s the “default” connector in terms of Raspberry Pi camera. You will see it in mainstream Raspberry Pi products such as the Model A&B series as well as V1&V2 camera modules.

There are at least three different types of 15-pin connectors that you’ll see in Pi-camera-related hardware.

Connector on the V1.3 or V2.1 Pi Camera Board

It is a 1.0mm pin pitch 15-position right angle and lower contact FFC or FPC connector.

Connector PN: SFW15R-2STE1LF

Connector on the Raspberry Pi Model A and B or B Plus

It is 1.0mm pin pitch 15 position vertical surface mount FFC or FPC connector.

Derived or Alternative Connectors on Arducam Raspberry Pi Camera Products

Apart from the two 15-pin connectors above, Arducam also uses a derived version with an upper contact. Its FPC contact part is on the upper side other than the camera board side.

No matter what type of the connector model is, the pinout for these camera connectors is the same.

The following table is the pin definition of the camera board, the signals are input or output type. Vice versa these pins on the RPI board are in reverse direction.

Raspberry Pi Camera Pinout (15-Pin)

Pin #NameDescription
2CAM_D0_NMIPI Data Lane 0 Negative
3CAM_D0_PMIPI Data Lane 0 Positive
5CAM_D1_NMIPI Data Lane 1 Negative
6CAM_D1_PMIPI Data Lane 1 Positive
8CAM_CK_NMIPI Clock Lane Negative
9CAM_CK_PMIPI Clock Lane Positive
11CAM_IO0Power Enable
12CAM_IO1LED Indicator
15CAM_3V33.3V Power Input

22-Pin Connector Types

Connector on the Raspberry Pi Zero W

Connector on the Raspberry Pi Compute Module IO Board

It is 0.5mm fine pitch 22-position lower(or bottom) contact FFC or FPC connector.

The following table is the pin definition on the Pi ZERO-W or Compute Module IO Board.

Raspberry Pi Camera Pinout (22-Pin)

Pin #NameTypeDescription
1GNDGroundPower Ground
2CAM_D0_NOutputPixel Data Lane0 Negative
3CAM_D0_POutputPixel Data Lane0 Positive
4GNDGroundPower Ground
5CAM_D1_NOutputPixel Data Lane1 Negative
6CAM_D1_POutputPixel Data Lane1Positive
7GNDGroundPower Ground
8CAM_CK_NOutputPixel Clock Output Form Sensor Negaitive
9CAM_CK_POutputPixel Clock Output Form Sensor Positive
10GNDGroundPower Ground
11CAM_D2_NOutputPixel Data Lane2 Negative
12CAM_D2_POutputPixel Data Lane2 Positive
13GNDGroundPower Ground
14CAM_D3_NOutputPixel Data Lane3 Negative
15CAM_D3_POutputPixel Data Lane3 Positive
16GNDGroundPower Ground
17POWER-ENInputPower Enable
19GNDGroundPower Ground
20SCLInputSCCB serial interface clock input
21SDAI/OSCCB serial interface data I/O
22VCCPower3.3V Power Supply

15 to 22 Pin FPC Adapter Schematic

The following schematic shows the diagram of the pin mapping from the 15-pin to 22-pin. Some of the 22 pins are not used in this configuration.

The Compute Module camera adapter board is also based on this schematic.

15 22 pin pi cam map expand

The 15 to 22 Pin FPC Adapter Schematic

Compute Module camera adapter 1

The Compute Module camera adapter board

Various FPC Cable Lengths

The default Pi Camera cable

The default Raspberry Pi Camera FPC cable is 15cm long opposite side contactor.

15-pin to 15-pin standard pi camera FFC cable top and bottom view.

15-pin to 22-pin standard Pi camera FFC cable top and bottom view.

It covers most of the applications, in some cases, users might want longer or even short cables. So Arducam covers these requirements and provides wide range selections of the Raspberry Pi camera cables.

Arducam Camera Cable for Raspberry Pi (15-pin)

Arducam Camera Cable for Raspberry Pi (15-to-22-pin)

38mm 15-pin to 22-pin standard pi camera FPC cable top and bottom view.

73mm 15-pin to 22-pin standard Pi camera FPC cable top and bottom view.


The following illustrations show the WRONG ways to connect the camera cable. Make sure you are not connecting the camera cable in the following ways if you encounter any problem while using the camera.

Cable to Pi Zero: Gold contacts facing up, WRONG

Cable to Pi 3, Pi4: Silver contacts facing audio jack, WRONG

Cable to Arducam camera multiplexer: Input contacts facing PCB, WRONG

Your Cart is empty!

It looks like you haven't added any items to your cart yet.

Browse Products