Link between Arduino and OpenMV

OpenMV related project discussion.
QHAM
Posts: 4
Joined: Thu Mar 15, 2018 8:45 am

Link between Arduino and OpenMV

Postby QHAM » Thu Mar 15, 2018 9:03 am

Hello, i'm a student french and i have a project for de end years for that i have chosen the camera MV 7 and i would like know, how i can program her for her to do an detection face and take a picture when a face is detected .
It is necessary what function with arduino because we are four in the group and the camera rejoin the main program.
I know that need use OpenMv like a slave for arduino but i do not know how to do.


I look forward to your response

thanks
User avatar
kwagyeman
Posts: 2042
Joined: Sun May 24, 2015 2:10 pm

Re: Link between Arduino and OpenMV

Postby kwagyeman » Thu Mar 15, 2018 10:52 pm

Hi, what is the Arduino goingto be doing? Maybe the camera can replace it. It's much easier to use the camera in this case without an Arduino.
Nyamekye,
QHAM
Posts: 4
Joined: Thu Mar 15, 2018 8:45 am

Re: Link between Arduino and OpenMV

Postby QHAM » Tue Mar 27, 2018 8:07 am

Hi thanks for your answers, so in my project the camera is plugged on the arduino card for complete him. But if we can use only openmv while plugging the camera to an arduino card it will be better, it's possible ?Because i see on the net than for use the cam, it is necessary to make it work openmv as a slave ... so i'm little lost
User avatar
kwagyeman
Posts: 2042
Joined: Sun May 24, 2015 2:10 pm

Re: Link between Arduino and OpenMV

Postby kwagyeman » Tue Mar 27, 2018 11:30 am

Hi, the easiest way for the camera to be a slave device to an Arduino is by communicating via a serial port via serial messages. This works very well.

Unless you plan to build up a protocol layer that can handle NACKs from the camera when it is busy and doesn't repsond then I don't suggest using SPI or I2C with the OpenMV Cam as a slave device.

It's hard for the camera to be in sync with the Arduino and waiting to receive a SPI or I2C message at the right time.
Nyamekye,
QHAM
Posts: 4
Joined: Thu Mar 15, 2018 8:45 am

Re: Link between Arduino and OpenMV

Postby QHAM » Thu Mar 29, 2018 7:02 am

Hi, ty for your answers, so i understant but i have juste an last question,
should I put a special program in arduino?
User avatar
kwagyeman
Posts: 2042
Joined: Sun May 24, 2015 2:10 pm

Re: Link between Arduino and OpenMV

Postby kwagyeman » Thu Mar 29, 2018 6:45 pm

Not sure what you are asking. You have to program the Arduino if you want it do to something...
Nyamekye,
QHAM
Posts: 4
Joined: Thu Mar 15, 2018 8:45 am

Re: Link between Arduino and OpenMV

Postby QHAM » Tue Apr 10, 2018 7:49 am

yes, but the camera function just with openmv and i don't know how do function arduino with openmv :|
User avatar
kwagyeman
Posts: 2042
Joined: Sun May 24, 2015 2:10 pm

Re: Link between Arduino and OpenMV

Postby kwagyeman » Tue Apr 10, 2018 11:19 am

Not sure how to help...
Nyamekye,

Return to “Project Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest