Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
DavidNtlele opened this issue Mar 7, 2023 · 8 comments
Open

Comments

@DavidNtlele
Copy link

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?

@nextdayy
Copy link

nextdayy commented Mar 8, 2023

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)

@DavidNtlele
Copy link
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.

@nextdayy
Copy link

nextdayy commented Mar 9, 2023

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?

@DavidNtlele
Copy link
Author

20230310_110524
20230310_110709
20230310_110729

@nextdayy
Copy link

the gray wire should be in pin 7.

@DavidNtlele
Copy link
Author

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

@nextdayy
Copy link

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?

@DavidNtlele
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants