Pinout information
Use the information in this section to understand the function of the pins in the camera connectors.
Locating pin 1
The location of pin 1 on an FPC connector depends on the hardware.
The following descriptions assume you’re holding your Raspberry Pi board with the chip and connectors facing up and the Raspberry Pi logo in the correct orientation. For Raspberry Pi Zero boards without the logo on the top side, orient the board with the GPIO along the edge furthest away from you.
-
On Raspberry Pi flagship models and Raspberry Pi Zero devices, pin 1 is the pin furthest from you and closest to the GPIO header.
-
On Raspberry Pi Compute Module IO boards, pin 1 is marked with a small circle or dot depending on the model.
When holding the Raspberry Pi camera board with the lens facing down and the connector facing to your right, pin 1 is the pin closest to you.
Camera connector pinout (15-pin)
This is the pinout of the 15-pin Camera Serial Interface (CSI) connector used on flagship Raspberry Pi models prior to Raspberry Pi 5. The connector is compatible with Amphenol SFW15R-2STE1LF.
Signal direction is specified from the perspective of the Raspberry Pi board. The I2C lines (SCL and SDA) are pulled up to 3.3 V on the Raspberry Pi board.
The function and direction of the GPIO lines depend on the specific Camera Module in use. Typically, CAM_IO0 is used as an active-high power enable. Some products don’t include CAM_IO1.
| Pin | Name | Description | Direction and type |
|---|---|---|---|
1 |
GND |
- |
Ground |
2 |
CAM_DN0 |
D-PHY lane 0 (negative) |
Input, D-PHY |
3 |
CAM_DP0 |
D-PHY lane 0 (positive) |
Input, D-PHY |
4 |
GND |
- |
Ground |
5 |
CAM_DN1 |
D-PHY lane 1 (negative) |
Input, D-PHY |
6 |
CAM_DP1 |
D-PHY lane 1 (positive) |
Input, D-PHY |
7 |
GND |
- |
Ground |
8 |
CAM_CN |
D-PHY Clock (negative) |
Input, D-PHY |
9 |
CAM_CP |
D-PHY Clock (positive) |
Input, D-PHY |
10 |
GND |
- |
Ground |
11 |
CAM_IO0 |
GPIO (for example, Power-Enable) |
Bidirectional, 3.3 V |
12 |
CAM_IO1 |
GPIO (for example, Clock, LED) |
Bidirectional, 3.3 V |
13 |
SCL |
I2C Clock |
Bidirectional, 3.3 V |
14 |
SDA |
I2C Data |
Bidirectional, 3.3 V |
15 |
3V3 |
3.3 V Supply |
Output |

Camera connector pinout (22-pin)
This is the pinout of the 22-pin Camera Serial Interface (CSI) connector used on the Raspberry Pi Zero series, the Compute Module IO boards, and flagship models since Raspberry Pi 5. The connector is compatible with Amphenol F32Q-1A7H1-11022.
Signal direction is specified from the perspective of the Raspberry Pi board. The I2C lines (SCL and SDA) are pulled up to 3.3 V on the Raspberry Pi board.
The function and direction of the GPIO lines depend on the specific Camera Module in use. Typically, CAM_IO0 is used as an active-high power enable. Some products don’t include CAM_IO1.
| Pin | Name | Description | Direction and type |
|---|---|---|---|
1 |
GND |
- |
Ground |
2 |
CAM_DN0 |
D-PHY lane 0 (negative) |
Input, D-PHY |
3 |
CAM_DP0 |
D-PHY lane 0 (positive) |
Input, D-PHY |
4 |
GND |
- |
Ground |
5 |
CAM_DN1 |
D-PHY lane 1 (negative) |
Input, D-PHY |
6 |
CAM_DP1 |
D-PHY lane 1 (positive) |
Input, D-PHY |
7 |
GND |
- |
Ground |
8 |
CAM_CN |
D-PHY Clock (negative) |
Input, D-PHY |
9 |
CAM_CP |
D-PHY Clock (positive) |
Input, D-PHY |
10 |
GND |
- |
Ground |
11 |
CAM_DN2 |
D-PHY lane 2 (negative) |
Input, D-PHY |
12 |
CAM_DP2 |
D-PHY lane 2 (positive) |
Input, D-PHY |
13 |
GND |
- |
Ground |
14 |
CAM_DN3 |
D-PHY lane 3 (negative) |
Input, D-PHY |
15 |
CAM_DP3 |
D-PHY lane 3 (positive) |
Input, D-PHY |
16 |
GND |
- |
Ground |
17 |
CAM_IO0 |
GPIO (for example, Power-Enable) |
Bidirectional, 3.3 V |
18 |
CAM_IO1 |
GPIO (for example, Clock, LED) |
Bidirectional, 3.3 V |
19 |
GND |
- |
Ground |
20 |
SCL |
I2C Clock |
Bidirectional, 3.3 V |
21 |
SDA |
I2C Data |
Bidirectional, 3.3 V |
22 |
3V3 |
3.3 V Supply |
Output |