• sales

    +86-0755-88291180

IMX415 8MP AF Camera (B) User Guide

Specifications​

CategoryParameter
SensorSony IMX415
Resolution8MP (3840 × 2160)
Focus ModeAutofocus
CMOS Size1/2.8 inch
ApertureF2.2
Distortion-0.4%
Focal Length3.3mm
Field of View (FoV)93.5°(D) × 85.2°(H) × 55.5°(V)
Supported DevicesCompatible with Raspberry Pi series boards and compute modules

Dimensions​


Working with Raspberry Pi

Hardware Connection​


Software Environment Configuration and Testing​

Flash the Official Raspberry Pi OS Image​

  • First, flash the latest official Raspberry Pi OS image to a TF card.
  • After flashing, start the Raspberry Pi and complete the basic initial configuration.

Download the Driver and Copy it to the Raspberry Pi​

wget https://files.waveshare.com/wiki/IMX415-8MP-AF-Camera/IMX415-8MP-AF-Camera.zip

If using only one camera, connect it to the CAM1 port.

Extract the Package and Enter the Directory​

unzip IMX415-8MP-AF-Camera.zip
cd IMX415-8MP-AF-Camera

Add Execute Permissions to the Installation Script and Run It​

chmod +x install.sh
./install.sh

Reboot the Raspberry Pi After Installation​

sudo reboot

2-lane / 4-lane Mode Description​

  • By default, 2-lane mode is used, and the IMX415 preview frame rate is 15fps.
  • Raspberry Pi 5 supports 4-lane mode, which can increase the preview frame rate to 30fps. To enable it, add the 4lane parameter to the dtoverlay line in /boot/firmware/config.txt:
dtoverlay=imx415,4lane,clk-37125,addr=0x1a,vcm,aw86017
  • After saving the change, reboot the Raspberry Pi for it to take effect.

Check if the Camera is Successfully Detected​

  • After reboot, run:
rpicam-hello --list-cameras
  • If the camera is successfully detected, you should see output similar to:
Available cameras
-----------------
0 : imx415 [...]

Preview and Autofocus Test​

Raspberry Pi 5​

  • Run:
rpicam-hello --autofocus-mode continuous --qt-preview -t 0 --info-text "focus:%focus, lp:%lp, afstate:%afstate" --tuning-file ~/imx415_af.json
  • Move the object at different distances and check if autofocus works properly.

Raspberry Pi 4 and Other Models​

  • Run:
rpicam-hello --autofocus-mode continuous --qt-preview -t 0 --info-text "focus:%focus, lp:%lp, afstate:%afstate" --tuning-file ~/imx415_af_vc4.json


Resources

1. Other Resources​


Support

Monday-Friday (9:30-6:30) Saturday (9:30-5:30)

Email: services01@spotpear.com

TAG: Arduino Board Managers Tutorial User Guide ESP32-P4 Mini Core Development Board C6 N16R32/N32R32 PSRAM 32MB With USB-HUB / CSI Camera Port / MIPI DSI Display Port Python UART Communication JSON Command Meaning Raspberry Pi Mini TV Raspberry Pi 5 PCIe to M.2 ISX031C GMSL Camera H100 Image Sensor IP67 protection rating For Jetson Orin And MAX9296 GMSL camera Spotpear DeepSeek AI Voice Chat ESP32 C6 Development Board 1.69 inch LCD Display 240x280 1.69inch TouchScreen Programmable Watch Rasperry Pico 2 RP2350 7.3 inch e-Paper Ink Display E6 Full Color Electronic PhotoPainter 800x480 For Calendar/Quotes/Paintings/Posters Raspberry Pi 3 LCD HAT ESP32-C6 AI 1.54-inch e-Paper Ink Screen 1.54inch Display AIoT Development Board Deepseek Raspberry Pi 5 Official Red-White Case RV1103 Industrial Isolated RS485 TO ETH (C) RJ45 Converter Wall/Rail-Mount For Modbus Arducam 64MP Camera X1006 Raspberry Pi 5 PCIe To 2.5 SATA And M.2 KEY-B 2280 SSD/HDD Double-SATA (NOT BOOT From SATA/SSD spotpear Electronic EYE 0.71inch Round LCD Display Screen For Arduino Raspberry Pi ESP32 Pico STM32 X1011 Raspberry Pi 5 PCIe to M.2 NVMe 4-Ports SSD Board HAT Pi5 Four-Times 2280