I’m trying to use an Arducam OV2640 camera with a Raspberry Pi Pico in CircuitPython (8.2.10) to capture an image every two seconds at low resolution (320x240) and store it to an SD card (via Adafruit 4682 SD Breakout board).
Using one of my scripts, the camera managed to capture a number of photos (about 200) without any issues. In the script, I was always first initializing the camera, then waited for 2 seconds in order to stabilize the system and then started a loop to take a picture every 2 seconds.
However, suddenly, when running the script the first photo consistently became corrupted ; following photos were ok.
Now, the camera isn’t functioning at all, even with the simplest code provided by Arducam, and it fails to initialize. I’m encountering an SPI Interface error.
I tried different computers (Windows and Mac), different USB ports, different Picos… I am always encountering the same SPI Interface error.
Have you tried contacting ArduCam support? YES
Here is their reply :
" Can you modify 0x04 to 0x08 and give it a try again?"
This was refering to the line command : arducam_wrSensorReg16_8(0x4407, 0x04); of the library (Arducam.py) used by the camera. You can find the complete file here : https://github.com/ArduCAM/PICO_SPI_CAM/blob/master/Python/Arducam.py > LINE290.
I obviously tried this modification but with no luck…
As this camera is actually the second module with an “SPI Inteface Error” after only a couple of uses, either I am doing something terribly wrong or the reliability of the Arducam OV2640 module with a Raspberry Pi Pico is highly questionable.
Could it be a defective batch ?
I am still waiting for an answer from Arducam support to continue troubleshooting with them (as suggested).
Do you know any camera module that is 100% reliable with the Pico ? I just want to get a picture every 2 seconds in low resolution.
A second camera module has been ordered on February 16th or so while trying to debug. I was not the one who did this second order but if needed I could provide you with the second order ID.