Manual
SOFTWARE SETUP 
To facilitate copying, please refer to doc page: hps://
www.arducam.com/docs/pico/arducam-camera-module-
for-raspberry-pi-pico/spi-camera-for-raspberry-pi-pico/ 
We will keep online up-to-date connuously. 
1. Get the driver 
2. How to access SPI Camera using C 
2.1 Cameras supported by the driver 
•  OV2640 2MP_Plus JPEG format 
•   OV5642 5MP_Plus JPEG format 
2.2 Demos provided 
2.3 Compile the driver library 
Note: Refer to the ocial manual for the development 
environment: hps://www.raspberrypi.org/
documentaon/rp2040/geng-started/#geng-started-
with-c 
Choose the demo and input the following code to compile 
it. (default is Arducam_MINI_2MP_Plus_Videostreaing) 
git clone hps://github.com/ArduCAM/PICO_SPI_CAM.git 
2.4 Run the .uf2 le 
•  Copy the PICO_SPI_CAM/C/build/Examples/
Arducam_MINI_2MP_Plus_Videostreaing/
Arducam_mini_2mp_plus_videostreaming.uf2 le to Pico 
to run the test. 
•  Open HostApp.exe under PICO_SPI_CAM/HostApp le 
path, congure the port number, and click Image to view 
the image. 
cd PICO_SPI_CAM 
mkdir build 
cd build 
cmake .. 
make 
3. How to access Camera using Python 
(on Windows) 
3.1 Download and install developing soware Thonny 
Refer to the ocial manual: hps://thonny.org/ 
3.2 Congure the IDE 
Refer to the ocial manual: hps://circuitpython.org/ 
3.3 Run Thonny 
•  Copy all the les except boot.py under PI-
CO_SPI_CAM/Python/ le path to Pico. 
•  Open Thonny soware->Select Interpreter->Select 
Circuit Python(generic)-> Press OK 
•  Open Device Manager to check the Ports(COM & LPT) 
of Pico and then congure port number of Circuit 
Python(generic) 
•  Copy all the boot.py le under PICO_SPI_CAM/
Python/ le path to Pico. 
•  Reboot Pico and then check the new port number 
under Ports(COM & LPT), it’s used to USB communica-
on. 
•  Open the camera drive program CircuitPython device 
via opening le on Thonny 
•  Click Run, and it appears [48], CameraType is OV2640, 
SPI Interface OK means that the inializaon of the 
camera is completed. Note [48] refers to the I2C 
device address of OV2640 camera. 
•  Open HostApp.exe under PICO_SPI_CAM/HostApp le 
path, select the port number used for USB communi-
caon, and click Image to view the image. 
If you need our help or the API detailed informaon, feel 
free to contact us.   
Email: support@arducam.com 
Web: www.arducam.com 
Doc Page: hps://www.arducam.com/docs/pico/arducam
-camera-module-for-raspberry-pi-pico/spi-camera-for-
raspberry-pi-pico/ 


