Page 1 of 1

Link between Arduino and OpenMV

Posted: Thu Mar 15, 2018 9:03 am
by QHAM
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

Re: Link between Arduino and OpenMV

Posted: Thu Mar 15, 2018 10:52 pm
by kwagyeman
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.

Re: Link between Arduino and OpenMV

Posted: Tue Mar 27, 2018 8:07 am
by QHAM
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

Re: Link between Arduino and OpenMV

Posted: Tue Mar 27, 2018 11:30 am
by kwagyeman
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.

Re: Link between Arduino and OpenMV

Posted: Thu Mar 29, 2018 7:02 am
by QHAM
Hi, ty for your answers, so i understant but i have juste an last question,
should I put a special program in arduino?

Re: Link between Arduino and OpenMV

Posted: Thu Mar 29, 2018 6:45 pm
by kwagyeman
Not sure what you are asking. You have to program the Arduino if you want it do to something...

Re: Link between Arduino and OpenMV

Posted: Tue Apr 10, 2018 7:49 am
by QHAM
yes, but the camera function just with openmv and i don't know how do function arduino with openmv :|

Re: Link between Arduino and OpenMV

Posted: Tue Apr 10, 2018 11:19 am
by kwagyeman
Not sure how to help...