🛠 Caméra sur le port CSI 22 broches (flex court) + time-lapse

Raspberry Pi Zero W (2017) — Board Sheet · avance · Schéma : IMG-zero-w-avance-2-camera-csi-flex-court-et-time-lapse.svg — nappe courte 22 broches pas fin 0,5 mm insérée dans le connecteur CSI de la Zero W, module caméra posé à côté, images envoyées en Wi-Fi vers un serveur.

Objectives

Use the CSI port of the Zero W for a time-lapse sent over Wi-Fi: from the Zero 1.3 onwards, all Zero models feature a mini 22-pin CSI port, 0.5 mm pitch, 11.5 mm wide — you need the specific short ribbon cable for the Zero.

Hardware

Steps

  1. Power off. Lift the CSI connector latch, insert the ribbon cable with contacts facing the mini-HDMI port, and close the latch.
  2. Enable the camera: sudo raspi-config → Interface Options → Camera (activates libcamera on recent images).
  3. Test image (5 s for white balance):
libcamera-still -t 5000 -o shot.jpg
  1. Time-lapse every 5 min, Wi-Fi transfer:
while sleep 300; do
  libcamera-still -o /tmp/img.jpg && \
  scp /tmp/img.jpg user@serveur:/data/
done

Verification

shot.jpg arrives on the server; vcgencmd measure_temp stays well below 80 °C despite codec + radio usage.

Common Errors

Other tutorials for this board

Code examples for this board

← Back to the board 🛠 All tutorials