ArduCAM / Arduino

This is ArduCAM library for Arduino boards
MIT License
468 stars 346 forks source link

issue about using 5MP OV5647 on RPi 5 #588

Closed Jo3yLu closed 1 month ago

Jo3yLu commented 1 month ago

Hi, I bought a 5MP OV5647 camera for my RPi 5. When I try to follow the tutorial on the official website, there's some issue.

First, the tutorial says I should add dtoverlay=ov5647,vcm in /boot/config.txt. But when I opened the file, it says:

DO NOT EDIT THIS FILE The file you are looking for has moved to /boot/firmware/config.txt

So I add dtoverlay=ov5647,vcm in /boot/firmware/config.txt. After I installed libcamera-apps and executed libcamera-still -t 0 --tuning-file /usr/share/libcamera/ipa/rpi/vc4/ov5647_af.json, it showed the error below. Did I just fail to install the camera for my RPi. How can I fix this?

[0:15:07.543264303] [2093] INFO Camera camera_manager.cpp:284 libcamera v0.1.0+320-5b2af7e6-dirty (2024-04-24T09:02:46+01:00) [0:15:07.552943321] [2098] INFO RPI pisp.cpp:695 libpisp version v1.0.5 999da5acb4f4 17-04-2024 (14:29:29) [0:15:07.599237741] [2098] WARN RPiSdn sdn.cpp:40 Using legacy SDN tuning - please consider moving SDN inside rpi.denoise [0:15:07.599780993] [2098] ERROR IPARPI pisp.cpp:278 Tuning data file target returned "bcm2835", expected "pisp" [0:15:07.599802883] [2098] ERROR RPI pipeline_base.cpp:817 Failed to load a suitable IPA library [0:15:07.599815068] [2098] ERROR RPI pisp.cpp:923 Failed to register camera ov5647 4-0036: -22 Preview window unavailable ERROR: no cameras available