PICO & OV5642 tutorial ( C code) wasn`t work

  1. Where did you get the camera module(s)?
    electrincshop

  2. Model number of the product(s)?
    OV5642

  3. What hardware/platform were you working on?
    PICO

  4. Instructions you have followed. (link/manual/etc.)
    SPI Camera for Raspberry Pi Pico - Arducam Wiki

  5. Problems you were having?
    minicom get only SPI interface Error! msg.

  6. The dmesg log from your hardware?

  7. Troubleshooting attempts you’ve made?
    Try in arduino
    And it works.
    Also, It works in py code.
    However, I need c code

  8. What help do you need?
    is the PIN CODE number Information right in tutorial?

First, I was curious about whether it was a pin-wire issue, so I moved the work I was doing on pico to arduino.
Contrary to what I thought, it was a power issue. The power was converted to about 5.13V using a converter (it didn’t work).
I moved this to Arduino and used external power only, but it failed. I succeeded when I replaced the power source with Arduino.
Arduino voltage 4.4V
So I wondered if the opposite was possible, so I tried it, but it failed.
At this time, the external power voltage was 5V.
Currently, I don’t have a pin to operate the converter directly, so I’ll try to work on it tomorrow.

Power problem. Solved. Thank you

Hello adbc, I’m also using OV5642 on my pico w. I’m able to initialize the camera by the .py file, but I can’t open the camera with Hostapp. Following are the messages from Hostapp. Did you have the problem? Since there was a “Camera Open Success” attempt, I’m sure the port number is correct.

[13:26:15]: Port Connect Success
[13:26:16]: Camera Open Success
[13:26:17]: Camera Open Failure, Please check that the port number is correct
[13:26:17]: Camera Open Failure, Please check that the port number is correct
[13:26:18]: Camera Open Failure, Please check that the port number is correct
[13:26:18]: Camera Close Success