cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F4Discovery + DCMI + OV7660 (OV7670)

jeno
Associate II
Posted on July 21, 2013 at 18:42

The original post was too long to process during our migration. Please click on the attachment to read the original post.
20 REPLIES 20
Posted on July 22, 2013 at 22:19

Not much into cameras and DCMI, but the screen shot seems to suggest you have the horizontal scan settings wrong, and not a multiple of the actual pixel count.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
jeno
Associate II
Posted on July 31, 2013 at 08:53

Thank you for the suggestion! I managed to get picture from the camera, the fault was in the python script, the picture resolution. But now I have another problem, the left side of the picture is black, but not solid black (maybe sensor problem?) and the resolution from the sensor seems to be not correct.

0690X00000602kwQAA.jpg

Posted on July 31, 2013 at 17:31

Look at horizontal blanking, and sync settings, or perhaps those for the front/back porch on the horizontal line signal.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
jeno
Associate II
Posted on August 01, 2013 at 08:57

I found out, that if I didn't change the resolution from the default 640*480 there is no black line, and the resolution is also ok. When I change the resolution to cif I receive 2 picture in 640 pixel width side-by-syde with black line. Maybe the camera did not crop the image, and sends windowed picture? The second attached picture's resolution is ok if I widen it to 2 picture.

I'll try to crop it with DCMI.

jeno
Associate II
Posted on August 03, 2013 at 13:29

The problem was with hstart hstop registers. I corrected them, and the image is fine now. Thank you for your help!

muhammet
Associate II
Posted on August 14, 2013 at 10:53

Can you send true form of code.

yesil_kaya76
Associate II
Posted on August 15, 2013 at 14:53

i will be happy if can you send your true code. thanks 0690X0000060Mm9QAE.gif

Posted on August 15, 2013 at 18:16

What's the relationship between you two?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
yesil_kaya76
Associate II
Posted on August 16, 2013 at 14:43

we are working at alike project