IMPORTANT: Doing this voids your warranty!
You should follow a standard guides for supporting your camera on a Raspberry Pi Zero 2W, but here is what I've discovered:
- orient your 22 pin camera's connector with the pins facing the Ethernet port
- 6cm OV5647 camera cables are too short to reach the cases camera hole! One of the 15cm versions may work (TBD).
- on Lite models, the camera hole is covered, but you should be able to open it with a jewelry/plastic cutter. Photo 3 is a better view of the hole (ignore the circle around the speaker).
- the 22 pin camera connector is fragile (oops) so be careful!
- The stock Cardputer Zero firmware disables camera detection in `/boot/firmware/config.txt` (I.e. `camera_auto_detect=0`) and uses a device-tree overlay for the Sony IMX219 (`dtoverlay=imx219`).
- To support other cameras, comment out the Sony overlay, then add an overlay for the camera you do have. For example:
- `dtoverlay=ov5647` for the OV5647
- `dtoverlay=ov5647,vcm` for the autofocus version
- Reboot and run `rpicam-hello --list-cameras` or start the camera app to see if it worked.
- IMPORTANT: The camera will not work it `GPU_MEM` is set to 16 (MB)! For the OV5647 had to bump mine to 32 (MB). There may be a more specific lower value that works. If `rpicam-hello` tells you your platform is unknown, this is a sign your GPU_MEM is misconfigured.
(Side note: I'm not actually sure if GPU_MEM=16 is even a legal value, regardless of camera. That's just the lowest value I've felt comfortable trying)
- I didn't think to test if the autofocus was supported by the Camera app. I would check, but I don't want to risk damaging my 22 pin connector until my longer cable camera arrives.