Skip to Content
Hardware GuidesPi Camera installation

Pi Camera installation

Mechanical steps

  1. Power off the Pi.
  2. Lift the camera connector latch on the Pi (or use the mini CSI port on Pi Zero variants).
  3. Insert the ribbon contacts facing the HDMI / USB side (Pi 4 rule of thumb — metal pads toward the board edge).
  4. Close the latch firmly.

⚠️ Warning: Forcing the cable upside-down kills the camera port. If there is no picture, power off before reseating.

Enable stack (Pi OS Bookworm)

  1. sudo raspi-configInterface OptionsCameraEnable (wording varies).
  2. Reboot.
  3. Test preview:
libcamera-hello --timeout 5000

M2C2 integration

  1. Open Settings → Camera on the mirror.
  2. Select Pi Camera as source.
  3. Set rotation if mounted upside-down.

Troubleshooting

NO CAMERA
vcgencmd get_camera legacy output vs libcamera — follow Bookworm docs; re-seat cable.

Pink/green image
Damaged cable; EMI — shorten cable run, avoid parallel to HDMI high-speed bundles.

Last updated on

Was this helpful?