Interface OpenMV Cam M7 with Arduino Uno

Discussion related to "under the hood" OpenMV topics.
James
Posts: 3
Joined: Sun Oct 13, 2019 6:11 pm

Interface OpenMV Cam M7 with Arduino Uno

Postby James » Sun Oct 13, 2019 6:22 pm

.
Last edited by James on Sun Oct 20, 2019 12:10 pm, edited 1 time in total.
User avatar
iabdalkader
Posts: 1193
Joined: Sun May 24, 2015 3:53 pm

Re: Interface OpenMV Cam M7 with Arduino Uno

Postby iabdalkader » Sun Oct 13, 2019 6:28 pm

Hi, we have a few examples here for connecting OpenMV to Arduino:

https://github.com/openmv/openmv/tree/m ... 00-Arduino
James
Posts: 3
Joined: Sun Oct 13, 2019 6:11 pm

Re: Interface OpenMV Cam M7 with Arduino Uno

Postby James » Sun Oct 13, 2019 6:45 pm

.
Last edited by James on Sun Oct 20, 2019 12:10 pm, edited 1 time in total.
User avatar
iabdalkader
Posts: 1193
Joined: Sun May 24, 2015 3:53 pm

Re: Interface OpenMV Cam M7 with Arduino Uno

Postby iabdalkader » Sun Oct 13, 2019 7:54 pm

Yes, again please see the examples, you can modify any example to do exactly what you want. For example, see the arduino_uart.py, you can modify that to save snapshot when it receives a message and then save it as main.py to run when the camera restarts. Also please search the forums, this question has been answered so many times before.
James
Posts: 3
Joined: Sun Oct 13, 2019 6:11 pm

Re: Interface OpenMV Cam M7 with Arduino Uno

Postby James » Mon Oct 14, 2019 7:40 am

.
Last edited by James on Sun Oct 20, 2019 12:10 pm, edited 1 time in total.
User avatar
kwagyeman
Posts: 4271
Joined: Sun May 24, 2015 2:10 pm

Re: Interface OpenMV Cam M7 with Arduino Uno

Postby kwagyeman » Mon Oct 14, 2019 1:55 pm

Sending an image from the camera to an Arduino is very difficult because the Arduino doesn't have enough ram to buffer a jpeg. So, you have to write a serial protocol that sends only a few bytes at a time.

Given this type of usage defeats the purpose of our product I would advise against wanting to do this. You should make the OpenMV Cam the master device and the Arduino and I/O interface device only.
Nyamekye,

Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 4 guests