Hi all,
I am new here. I have an Arduino mega and a OV7670 camera what I want only is how to send a simple image to my PC from OV7670 .
I have read too many threads about it nothing helped me, because i am still beginner.
Please I want to know what stuff I need and how to configure camera, I need to know where to connect ports on Camera because I don't know anything about Arduino I only want this to complete my image processing project.
I have read that thread a number if times and the OP doesn't really explain how to wire it up
Also, from what I can tell, his code doesn't compile inside the Arduino IDE either, he uses Atmel Studio, because he does some things the IDE can't do. Something to do with outputting an 8MHz clock without reprogramming the fuses.
Also the OP, released some new code for the Arduino side of things, which sends images to the PC, but has not released the PC side of the program. I.e his new code is useless due to omission
Btw
Did you buy a module with or without a FIFO?
I have 2 of these modules, I.e with and without FIFO and have not been able to get either of them to work.
Also the newer on, with the FIFO has 2 more pins than is listed on any data sheet that I can find.
And the eBay seller, could only send me the data sheet for the version with less pins.
From memory I think my module has 20 instead of 18 pins, but I have no way to determine what the other 2 pins do, apart from trying to trace their path to the various surface mount devices on the board, which is very hard to do, as its appears to be more than a 2 layer board
Also, from what I can tell, his code doesn't compile inside the Arduino IDE either, he uses Atmel Studio, because he does some things the IDE can't do. Something to do with outputting an 8MHz clock without reprogramming the fuses.
Actually it is just because I don't really like using the arduino IDE that much and no I did not use Atmel Studio for this, I just used avr-gcc. You can paste the code into the Arduino IDE and use some of it. Also the fuse bits stuff is really old no need for that now just use the PWM code which generates an 8 MHz clock. I do have some old arduino IDE sketches you can improve them if needed.
Also the OP, released some new code for the Arduino side of things, which sends images to the PC, but has not released the PC side of the program. I.e his new code is useless due to omission
Yes I have. It even has instructions on how to compile and all you need is SDL.
Is this why I get so many questions due to misreading?
Sorry, but your grabber code on that link you reference does not compile on Ubuntu with SDL 1.2 installed. Here is what gcc puts out:
main.c:163:8: warning: "/" within comment [-Wcomment]
main.c:174:4: warning: "/" within comment [-Wcomment]
main.c:189:5: warning: "/" within comment [-Wcomment]
main.c:203:5: warning: "/" within comment [-Wcomment]
main.c: In function ‘main’:
main.c:334:2: error: too few arguments to function ‘RS232_OpenComport’
rs232.h:57:5: note: declared here
main.c:349:10: warning: unused variable ‘yuvDat’ [-Wunused-variable]
main.c:333:1: warning: label ‘tryagain’ defined but not used [-Wunused-label]
main.c: In function ‘clampD’:
main.c:236:1: warning: control reaches end of non-void function [-Wreturn-type]
rs232.c:53:24: warning: initializer-string for array of chars is too long [enabled by default]
rs232.c:53:24: warning: (near initialization for ‘comports[37]’) [enabled by default]