0.31MP OV7251 MIPI CAMERA MODULE
www.ArduCAM.com
7
7.2.3
Manual Install
Manual install the driver is explained here if you want to investigate the details or fix the problem
during the driver installation.
Add the following code to the last line of /boot/config.txt file
dtparam=i2c_vc=on
Save the file and probe the i2c driver using the command below:
sudo modprobe i2c-dev
Compile the device tree for the OV7251 camera
sudo dtc -I dts -O dtb -o /boot/overlays/arducam-ov7251.dtbo arducam-ov7251.dts
Add the following code to the last line of /boot/config.txt file, only one Arducam camera driver
allowed here.
dtoverlay=arducam-ov7251
Save the /boot/config.txt then reboot. The above steps only need to be done for once.
Every time you reboot the board or run after raspivid/raspistill command, you have to run the
following commands
sudo chmod +x camera_i2c
sudo chmod +x rpi3-gpiovirtbuf
./camera_i2c
Install the kernel driver using the following command
./loaddepends.sh
sudo insmod arducam-ov7251-v4l2-pi3.ko (or sudo insmod
arducam-ov7251-v4l2-pi1.ko)
After this step, you should find a new video device like /dev/video0.