Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4491

Compute Module • CM5 and Raspberry Pi HQ Camera

$
0
0
This is probably old news to some. However, I had to do a lot of searching with no real answers in one spot so here I am.

I have a CM5 installed in a CM5 IO Board.
Installed is a NVMe drive.
I have a passive heatsink on the CM5 (runs pretty cool so far)
I have a HQ camera with a microscope lens mounted in an adjustable stand. It works great out of the box on Pi 4 and with a Pi 5 by switching to the proper Camera cable.
When I installed it on the CM5 IO Board at cam/disp 0, I THOUGHT it would be as straight forward as the Pi 5 -WRONG.
After reading LOTs of post about camera issues on the CM4 IO Board and reading through the official CM5 and camera manuals I FINALLY got it working.
First - install the jumpers on the IO board at J6 (regardless of which cam/disp you intend to use, I'm using cam/disp 0).
Next - add to the /boot/firmware/config.txt a section for the CM5
[cm5}
dtoverlay=dwc2,dr_mode=host

The HQ camera is IMX477 according to the camera install instructions for the CM5.
Now maybe you don't need all of the following but, it's in my config and it's working so here goes
dtoverlay=imx477,pi5,cam0
dtoverlay=imx477,pi5,cam1
dtoverlay=imx477,cam0
dtoverlay=imx477,cam1

Comment out
camera_auto_detect=1

Save the config.txt, cross your fingers, throw sat, kiss horseshoe, whatever and reboot.

Run rpicam-hello --list
you should see your camera location and details listed.

Run rpicam-hello --timeout 0
you should have a perpetual screen of your microscope/HQ camera.

Statistics: Posted by Duewester — Tue Feb 25, 2025 8:54 pm — Replies 0 — Views 23



Viewing all articles
Browse latest Browse all 4491

Trending Articles