This document is for your first experience using Arducam Pivariety Camera. Let’s open the packaging box and start a happy journey!
Before you use the camera according to your own ideas, please be sure to follow the video demonstration. You have to know that every step is important to us. The video steps will be clearly listed below the video, and the download links involved in the video will also be posted.
You only need to watch the video and copy the code or link needed in the video from this document.
Ready to work
What you need to prepare: SD card, card reader, Pivariety camera module(Everything in the box), Raspberry Pi, a computer.
Hardware
Connect to the adapter board


Note: Please be sure to insert the flexible flat cable as shown in the figure.
Connect to the Raspberry Pi

Burn image
Note: Please be sure to download the mirror using the link we provided.
Mirror link:
Mirror burning tool:
https://www.raspberrypi.org/software/
Install Driver & libcamera-dev & libcamera-apps
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 ./install_pivariety_pkgs.sh -p kernel_driver
Please press y to reboot.
Access Camera
You can refer to the DOC to learn more: How to access and program the Pivariety Camera using Command Line, Python, OpenCV, and GStreamer.
Capture image
libcamera-still -t 5000 -o test.jpg
Record video
libcamera-vid -t 10000 --width 1920 --height 1080 -o test.h264