Knowhow/Others

[Raspberry Pi 4] Arducam 16MP IMX519 카메라 설정

침닦는수건 2025. 7. 3. 17:43
반응형

https://www.youtube.com/watch?v=8-yf_tId62o

 

위 영상을 보면 공식 지원되는 라즈베리 파이 카메라 모듈 V2/V3/HQ 보다 가격, 화각, distortion, color tone, white balance 등 여러 측면에서 낫다고 판단할 만한 모델이 arducam이다. 

 

개인적으로 화각이 80도에 12MP 해상도를 얻을 수 있는 것도 감지덕지인 것 같은데 왜곡이나 색상 같은 부분도 잘 챙겨서 만든 모델이라 쓰기 좋은 것 같다. 가격도 라즈베리파이 카메라 모듈3와 거의 비슷한 수준.

 

하나 귀찮은 점은 라즈베리파이의 공식 카메라가 아니다 보니 libcamera 명령어가 바로 가능한 상태는 아니라는 것. 따로 추가 설정을 해두어야 한다.

 

설정 방법

https://docs.arducam.com/Raspberry-Pi-Camera/Native-camera/16MP-IMX519/

 

16MP IMX519 - Arducam Wiki

16MP IMX519 Introduction Based on the 16MP Sony IMX519 sensor, Arducam released a series of 16MP cameras for Raspberry Pi. With 2 times higher resolution than the V2 camera, and 40% higher than the HQ camera, they are better choices for a whole world of in

docs.arducam.com

사실 위 링크에 들어가서 보면 자세히 나와있다. 

 

wget -O install_pivariety_pkgs.sh https://github.com/ArduCAM/Arducam-Pivariety-V4L2-Driver/releases/download/install_script/install_pivariety_pkgs.sh
chmod +x install_pivariety_pkgs.sh
./install_pivariety_pkgs.sh -p libcamera_dev
./install_pivariety_pkgs.sh -p libcamera_apps

 

이렇게 순차적으로 입력만 하면 1차 설정 완료.

 

마지막으로 2차 config 설정을 하면 끝나는데, 이건 라즈베리파이 4 OS 버전에 따라 명령어가 다르다. 일반적으로 그냥 라즈비안 갖고 대충 구웠다면 bookworm일 확률이 90%. 

cat /etc/os-release

 

모르겠으면 위 명령어 쳐보면 알려준다. (bookworm) 같은 것이 써있을 것. (bullseye)나.

sudo nano /boot/firmware/config.txt # bookworm
sudo nano /boot/config.txt # bullseye

 

내리다 보면 [all] 이라고 적혀있는 위치를 발견할 수 있고 아래와 같이 추가해주면 된다.

[all]
dtoverlay=imx519

 

재부팅! 하면 설정 끝.

반응형