EmbDev.net

Forum: FPGA, VHDL & Verilog DE0nano + OV7670 - managed to get image but its weird


von Szymon S. (Company: Student) (imekxus)


Attached files:

Rate this post
useful
not useful
Hello
Im having problems, trying to interface OV7670 with my de0 nano using 
this project: 
http://hamsterworks.co.nz/mediawiki/index.php/OV7670_camera
After few days of trying im getting images, VIDEO:
https://youtu.be/_uttMrgzheA
Problems:
- i have to reapply ov7670 registers setup after uploading it to device 
(it should be also done after startup);
- colours are terrible, almost cant see anything;
- resolution should be like 640x480 but after a while after upload solid 
colors appear at the bottom of the screen (can see it in video), 
moreover when im moving camera around some of the bottom pixels are 
changing too =(
Have anyone been doing this project on his fpga? (i have included my 
quartus files as attachment) - any ideas what might be the cause of 
problems?
My RGB DAC is 5bits per color so im using only the oldest bits for 
colors (i have RGB 332, so im using 3 oldest bits of red, 3 oldest of 
green and 2 oldest of blue, rest are set to '0' (LSB's).
Also in attachments ive added a screenshoot of TOP of the project (made 
it in brd because wanted it to be more clear in reading than just only 
vhdl files).

von Szymon S. (Company: Student) (imekxus)


Rate this post
useful
not useful
Ok little improvement comparing to previous version, now borders are 
looking better than before and images are much more stable (can even 
read letters from calculator :D), now colors are the issue and registers 
setup, my predictions are that something in controller is not working 
properly.
https://youtu.be/i4O3kaw0PjY

edit
ahh and what ive done to improve image: ive moved ground ov7670 pin from 
GPIO pin that was set to GND by gnd symbol in quartus to real gnd pin 
next to 3V3 power supply pin O.o (anyone know why this helped so much?)

: Edited by User
Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.