Step-by-step walkthrough for connecting the Camera Module 3 to your Raspberry Pi 5, getting autofocus working, and capturing photos, videos, and timelapses.
What's covered:
- Installing the correct 22-pin CSI cable (many kits ship the wrong 15-pin)
- Proper cable latching and sensor detection
- Live autofocus preview with rpicam-hello
- Photo capture with macro autofocus modes
- MP4 video recording with continuous AF
- Headless SSH capture from your laptop
- Timelapse recording + FFmpeg stitching
Useful for:
- 3D printer monitoring and OctoPrint timelapses
- Wildlife feeders and outdoor cameras
- Macro product photography
- DIY teleprompter setups
- Motion detection and smart alerts
🔗 Watch the video:
Full parts list, timestamps, and all commands are in the video description. If you run into issues with cable compatibility or autofocus, this should help.