Offline
Sr. Member
Karma: 0
Posts: 275
|
 |
« on: April 18, 2012, 01:17:55 pm » |
Has anyone successfully interfaced an Arduino with an OV7670 or any of it siblings (OV7725, OV9650, OV2640, OV3640, OV5642). It is my understanding that the interface is the same for all of them.
I am interested in using the Arduino to grab periodic frames (every second, minute, or hour) and saving them to an SD card.
My hope is that I can use a cheap camera and SD card interface to do it all.
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 240
Posts: 16460
Available for Design & Build services
|
 |
« Reply #1 on: April 18, 2012, 01:22:01 pm » |
Got links to any specs?
That SD card appears to have its own 3.3V regulator, which is good, but then use resistor voltage dividers for the control & data lines, which could be problematic with newer, higher speed SD cards.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Sr. Member
Karma: 0
Posts: 275
|
 |
« Reply #2 on: April 18, 2012, 01:25:48 pm » |
How did you interface the Camera to the Arduino?
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 240
Posts: 16460
Available for Design & Build services
|
 |
« Reply #3 on: April 18, 2012, 01:27:15 pm » |
I have not seen that camera before, hence the request to a link for its spec.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 4
|
 |
« Reply #4 on: October 03, 2012, 04:41:47 pm » |
Hello,
i know this thread is old, but there were no satisfying reply and I'm in the same situation.
I got an Arduino mega2560 and a OV7670 camera module.
I hooked it up correctly (at least I think I did) for I2C communication.
Despite many trials, I can't successfully read the camera registers. I don't know what I'm doing wrong but here are some hunches:
- The integrated pull up of the arduino pull the I2C lines to 5V when the camera works with 3.3V. So maybe I burnt it? - The address of the device is 42/43 according to the datasheet. It doesn't say if it's hex or not, although i've tried both. I've also tried without the MSB because the wire.h lib uses only 7bit address - My code sequence is bad. I couldn't find any example with this module and an arduino on google
Has anyone succeeded in using one of these modules?
Thank you
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 4
|
 |
« Reply #5 on: October 08, 2012, 01:59:22 pm » |
up?
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
UK
Offline
Brattain Member
Karma: 137
Posts: 19006
I don't think you connected the grounds, Dave.
|
 |
« Reply #6 on: October 08, 2012, 02:00:46 pm » |
Still waiting for a link.
|
|
|
|
|
Logged
|
Pete, it's a fool looks for logic in the chambers of the human heart.
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 4
|
 |
« Reply #7 on: October 08, 2012, 02:05:46 pm » |
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 2
|
 |
« Reply #8 on: November 13, 2012, 08:01:19 am » |
Hi. I bought same hardware and want to do same things (grab frames and save it to sd card). Anybody did it? Can't find information in web. Please help
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 2
|
 |
« Reply #9 on: November 15, 2012, 01:56:37 pm » |
Somebody can help? Plz
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
UK
Offline
Brattain Member
Karma: 137
Posts: 19006
I don't think you connected the grounds, Dave.
|
 |
« Reply #10 on: November 15, 2012, 02:48:10 pm » |
The data sheet says the device has a minimum clock speed of 10MHz. It isn't a device I'd choose to interface to a slow processor with limited memory.
|
|
|
|
|
Logged
|
Pete, it's a fool looks for logic in the chambers of the human heart.
|
|
|
|
|
|
Offline
Sr. Member
Karma: 0
Posts: 275
|
 |
« Reply #12 on: December 27, 2012, 05:29:45 pm » |
This may be a solution. I will look at it some more.
However, it seems to be over-kill. The interface board costs more than the Arduino and camera combined. I was hoping to keep the cost much lower.
It may be that a solution does not exist with an Arduino and OV7670. The solution may be with a Raspberry Pi and a cheap web-cam. The Raspberry Pi costs about twice as much as an Arduino but has a lot of memory and power. The nice thing about the Arduino is that once you have a solution working with, say an Uno, you can move the design to a bare ATMega chip very easily. And the bare chips are only a couple dollars each.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 1
|
 |
« Reply #13 on: January 07, 2013, 05:23:20 pm » |
Hi I'd like to get the 5MP OV5642 just grab an image and FTP it. I took a look at the Arducam code for the OV5642 but it seems they only get a 320x240 image and I'm not sure where to set it to go to 5MP. Also in Arducam it requires the shield and LCD to grab the image. Is there documentation on how and where to connect the cam directly to the Arduino? I don't need video just the image, time is not an issue for me either, if it takes 10 seconds to send it, I don't mind.
|
|
|
|
|
Logged
|
|
|
|
|
Norfolk UK
Offline
Edison Member
Karma: 23
Posts: 1319
|
 |
« Reply #14 on: January 08, 2013, 02:11:55 am » |
Hi I'd like to get the 5MP OV5642 just grab an image and FTP it. I took a look at the Arducam code for the OV5642 but it seems they only get a 320x240 image and I'm not sure where to set it to go to 5MP. Also in Arducam it requires the shield and LCD to grab the image. Is there documentation on how and where to connect the cam directly to the Arduino? I don't need video just the image, time is not an issue for me either, if it takes 10 seconds to send it, I don't mind.
I have also been looking at this camera and the general idea I got was you need some form of external memory to buffer the camera image into as the data needs to be read quite quickly. Then the arduino can read and process this data at leisure as the arduino does not have the memory to store the image and process it quick enough. As your using a higher resolution camera I would assume your going to need a larger buffer memory than the Arducam has.
|
|
|
|
|
Logged
|
|
|
|
|
|