ArduCAM / PICO_SPI_CAM

BSD Zero Clause License
37 stars 12 forks source link

PICO_SPI_CAM Examples

The example demonstrates how to use C or python language to drive the SPI Camera mini camera on the Pcio platform. This demonstration is made for ArduCAM_Mini_2MP/5MP, and it needs to be used in conjunction with PC software.

Download driver

git clone https://github.com/ArduCAM/PICO_SPI_CAM.git

Use C language to drive SPI Camera

To configure the development environment, please refer to the official manual, the link is as follows.

https://www.raspberrypi.org/documentation/rp2040/getting-started/#getting-started-with-c

Use Python to drive SPI camera

Note: The development system is Windows.

To configure the development environment, please refer to the official manual, the link is as follows.

https://circuitpython.org/

Development software download link.

https://thonny.org/

Copy the file under PICO_SPI_CAM/Python/ path except boot.py to the Pico device.

EasyBehavior

Open Thonny software, select environment and port number.

EasyBehavior EasyBehavior EasyBehavior EasyBehavior

Copy the boot.py from the PICO_SPI_CAM/Python/ path to the Pico device, restart the Pico, open the device manager, and use the new port number for USB communication

EasyBehavior
EasyBehavior

Open the camera driver.

EasyBehavior EasyBehavior

Click Run, it displays [48], CameraType is OV2640, and SPI interface OK means that the camera is initialized.

EasyBehavior

Open hostapp.exe in the HostApp file,Select the port number for USB communication and click Image.

EasyBehavior