Hi all, I’m stuck trying to get an Arducam Mini 2MP Plus SPI camera (B0067) working on a Raspberry Pi Pico. Whenever I try to run the 2MP video streaming I get a ‘SPI interface Error’. Also, when I open HostApp and set the port, the window just closes by itself - and after that I can’t even open hostapp.exe again. The project has to be done in Python only, so I’m suspecting there might be a bug in the code. I followed every step in the guide but no luck. Has anyone run into this?
Thanks for posting. Could you give me a few more details? Which exact platform/product you’re using, how you wired the pins, which COM port shows up in Device Manager, and which guide/repo you’re following.
Sure. Platform is Raspberry Pi Pico, camera is the SPI Camera Module 2MP-Plus (B0067). Wiring: CS-5, MOSI-3, MISO-4, SCK-2, GND-GND, VCC-3V, SDA-8, SCL-9. Device Manager shows COM port 7. I’m following the paper diagram and the repo at GitHub - ArduCAM/PICO_SPI_CAM · GitHub. Code is Python since the project requires Python only.
Thanks. What’s the exact output you see when you run the streaming script, and what have you tried so far? Does it ever report the SPI interface as OK, or is it always the error?
This is what I observed: after waiting about 30 minutes it once reported ‘SPI interface OK’. But when I actually run the 2MP video streaming it comes back with ‘SPI interface Error’. So the result isn’t consistent.
Understood. And what troubleshooting steps have you already done on your end?
I’ve checked the wiring, followed every step in the guide, and tried running HostApp and setting the port - but the window closes automatically. I don’t have another Pico to test with either.
Got it. To summarize what I see: Raspberry Pi Pico with Arducam Mini 2MP Plus SPI camera (B0067), following the PICO_SPI_CAM repo and paper instructions. Wiring CS-5, MOSI-3, MISO-4, SCK-2, GND-GND, VCC-3V, SDA-8, SCL-9. The error shows up when running 2MP video streaming, and after roughly 30 minutes you once saw ‘SPI interface OK’. HostApp closes automatically after setting the port, and the port is COM7.
One thing to be upfront about: the Python script path is not tested on our side, so the root cause isn’t confirmed yet. My suspicion is it’s specific to that untested Python script. To validate the camera itself, I’d recommend trying the C project instead as the reference:
https://github.com/ArduCAM/PICO_SPI_CAM/tree/master/C/Examples/Arducam_MINI_2MP_Plus_Videostreaing
For that C project, wire the Pico to the camera using this SPI pin mapping (from the /spi pin source/ section in the code):
#define SPI_PORT spi0
#define PIN_SCK 2
#define PIN_MOSI 3
#define PIN_MISO 4
#define PIN_CS 5
Then build/flash and run the Arducam_MINI_2MP_Plus_Videostreaing example from the C folder. Let me know whether the camera still shows an interface error with the C project. Since we haven’t tested the Python script, the C example is the verified reference path for checking the camera on the Pico - if it works there, the problem is likely in the Python code rather than the wiring or the module.