Pages: [1]   Go Down
Author Topic: Using OV7670 camera module in UNO or Mega  (Read 570 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 13
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi guys,

i'm looking for using ov7670 in UNO or mega. especially in UNO. i've already read :
http://forum.arduino.cc/index.php/topic,159557.0.html (from Mr_Arduino) and also  https://github.com/dalmirdasilva/ArduinoCamera some camera library for arduino.

but i still don't understand, how to use the library? Can someone give me some example sketch using Arduino IDE? i'll be very thanks.
in my project i want to get the picture bytes in jpeg (RGB565, 640x480) and stream it to TFT lcd with 30fps.
« Last Edit: June 24, 2014, 08:25:46 am by mardikarifqi » Logged

Narvik, Norway
Offline Offline
God Member
*****
Karma: 23
Posts: 993
electronics engineer, teacher.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

That module allows for a single picture, maybe every 30sec!   Movie.. FORGET IT
 If the cameraboard doesn't have the AL422 memorychip onboard, it's useless without
the additional 'arducam' shield..

http://www.arducam.com/software/
« Last Edit: June 25, 2014, 03:47:08 pm by knut_ny » Logged

Ny

Offline Offline
Sr. Member
****
Karma: 11
Posts: 327
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The ov7670 does not support jpeg output. Also one image every 30 seconds is a huge exaggeration. Even with the 8bit based arduinos you can do better than that. Also the ov7670 is a Soc it can do processing including resizing so if frame rate is desired but not resolution you could downscale the images. Also the code you posted does not appear to truly support the ov7670. Why not use my code instead.
Here is complex example that runs on the arduino mega and features a tft screen https://github.com/ComputerNerd/arduino-camera-tft
Here is a simple example that runs on the arduino uno and uses external spi ram and sends the data to your PC using serial communications. https://github.com/ComputerNerd/ov7670-simple
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 13
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for your suggestions Mr_Arduino and knut_ny. Can I get some schematic to connect spi ram, camera, etc?
Logged

Offline Offline
Sr. Member
****
Karma: 11
Posts: 327
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I will try and get to that at some point.
Logged

Offline Offline
Faraday Member
**
Karma: 61
Posts: 2879
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Did you read all of Mr Arduino's enormous long thread ?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 13
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Did you read all of Mr Arduino's enormous long thread ?

If you mean at the first, yes. But  why?
Logged

Offline Offline
Faraday Member
**
Karma: 61
Posts: 2879
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
If you mean at the first, yes. But  why?

Because the answer to your question is already in there.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 13
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
If you mean at the first, yes. But  why?

Because the answer to your question is already in there.

I'm sorry if I disturbed you by this topic. I know you and Mr Arduino already discussed this topic before. But I still don't understand about your conversation with Mr Arduino. So I re-post this topic and hope one of you answer my question. Mr Arduino already answered my question and gave me a super simple sketch about ov7670 in uno.
I hope you understand. I'm still newbie in image processing.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 13
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Mr Arduino, can i continue this post? i've understand a little bit of your code at github. i found one of your discussion with
firashelou in 2013. So the basic is, i need to use your i2c/twi libary to communicate register of ov7670 fifo, and use some of your header file, right?  So i decided to continue this project and bought an ov7670 with fifo v2.

Here is the camera https://onedrive.live.com/embed?cid=8C9EFE74E5CEBDED&resid=8C9EFE74E5CEBDED%212753&authkey=AOM-7CRHAE5La48

Can i get help for the next step how to capture the data from camera? did i need to use 74hca125 with the ov7670 fifo . alot of thanks.  smiley
« Last Edit: July 06, 2014, 06:49:37 pm by mardikarifqi » Logged

Pages: [1]   Go Up
Jump to: