Skip to content

How do we run arducam ov5642 mini 5mp plus with arduino uno r3? #571

Open

Description

@DavidNtlele

We have tried running the mini ov5642 plus 5mp with the arduino uno r3. We wired them as instructed and the code gets uploaded swifly, but the com in the host app does not open. What could be the problem?

Activity

  1. nextdayy commented on Mar 8, 2023

    @nextdayy

    what is the error: cannot open port or camera open error?
    what com port are you using? try using a different one (i.e. not com1)

  2. DavidNtlele commented on Mar 9, 2023

    @DavidNtlele
    Author

    We have tried using different com ports and the problem still won't dissolve. The error that pops up is '' SPI interface error ''
    I have done some research and it all leads me to the clock pulse speed of the master(UNO R3 board/16MHz) and the slave(arducam mini 5mp plus/8MHZ). How do we REDUSE the uno r3 clock speed to match the Arducam mini 5mp plus.

    Just maybe this is the solution to our problem.

  3. nextdayy commented on Mar 9, 2023

    @nextdayy

    the problem is probably with your wiring, as the camera is on a 4mhz clock and that is the clock speed for the board, not the SPI interface (which is controlled by the code, and does work).

    could you please send a photo of your connection?

  4. DavidNtlele commented on Mar 10, 2023

    @DavidNtlele
    Author

    20230310_110524
    20230310_110709
    20230310_110729

  5. nextdayy commented on Mar 10, 2023

    @nextdayy

    the gray wire should be in pin 7.

  6. DavidNtlele commented on Mar 10, 2023

    @DavidNtlele
    Author

    We have tried it in different pins like pins 6, 7, and 10, but it still reflects the error "SPI interface error".

  7. nextdayy commented on Mar 10, 2023

    @nextdayy

    if you change the pin, you must make sure the pin you choose reflects the one in the code.

    Also, have you made sure to select the correct chip in the code (ov5642/5mp plus), and the chip select (gray wire), and using the correct example code?

  8. DavidNtlele commented on Mar 10, 2023

    @DavidNtlele
    Author

    We have done all that accordingly and still.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions