Skip to content

Quick Start Guide

Hardware Connection


Supported Platform


☑ ROCK-5A
☑ ROCK-5B

Software


Resolution & Frame Rate


Camera Module Resolution Framerate Pixel format
IMX519 Camera 4656x3496 9FPS 2LANE RAW10
3840x2160 20FPS 2LANE RAW10
1920x1080 60FPS 2LANE RAW10
IMX477P Camera 4056x3040 10FPS 2LANE RGGB10
3840x2160 20FPS 2LANE RGGB10
1920x1080 60FPS 2LANE RGGB10

Download and install image


  • For ROCK 5A

ROCK 5A IMAGE Download Resources

  • For ROCK 5B

ROCK 5B IMAGE Download Resources

  • Operation System

Install OS

Driver Installation


  • Step 1. Download and Run script
wget https://github.com/ArduCAM/Arducam_RK_Driver/releases/download/arducam_rk_driver_installation_script/rk_install_script.py -O rk_install_script.py

python3 rk_install_script.py
  • Step 2. Select the sensor and resolution you are using

Tip

Choose the corresponding camera driver and resolution according to the camera module you are using.
Note that for imx477P Camera, please choose arducam-pivariety driver.

Reboot


sudo reboot

Access Camera Module


Ensure the driver has been installed successfully


media-ctl -p

Select camera and resolution


Run:

python3 rk_install_script.py

Preview


gst-launch-1.0 v4l2src device=/dev/video11 io-mode=4 ! videoconvert ! video/x-raw,format=NV12,width=4656,height=3496 ! autovideosink sync=false

Focus Control


  • Check Focus Control
v4l2-ctl -d /dev/v4l-subdev3 -l

Camera Controls

focus_absolute 0x009a090a (int) : min=0 max=4095 step=1 default=900 value=900

  • Set Focus Parameters
v4l2-ctl -d /dev/v4l-subdev3 -c focus_absolute=4095