Raspberry Pi

Note

This demo is based on a 5MP camera

Hardware connection

Camera pin

Development board pins

VCC

3.3V

GND

GND

SCK

SCLK

MISO

MISO

MOSI

MOSI

CS

GPIO.3

capture

Download library files

git clone https://github.com/ArduCAM/Arducam_Mega.git
../../_images/downloadLib.bmp

Jump to the capture folder

cd Arducam_Mega/examples/RaspberryPi/capture
../../_images/captureCdCmd.bmp

Compile the driver

make
../../_images/captureMake.bmp

Effect demonstration

sudo ./Arducam_Mega
../../_images/captureRun.bmp

preview

Download library files

git clone https://github.com/ArduCAM/Arducam_Mega.git
../../_images/downloadLib.bmp

Jump to the preview folder

cd Arducam_Mega/examples/RaspberryPi/preview
../../_images/previewCdCmd.bmp

Compile the driver

make
../../_images/previewMake.bmp

Compile the driver

sudo ./Auducam_Mega
../../_images/previewRun.bmp