FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Forum index » Electronix » Basics
C3088 CMOS Imaging Sensor Questions
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Author Message
weg22@drexel.edu
electronics forum beginner


Joined: 02 Jun 2006
Posts: 4

PostPosted: Thu Jul 13, 2006 8:36 pm    Post subject: C3088 CMOS Imaging Sensor Questions Reply with quote

Hi all,

I'm looking to purchase the C3088 CMOS imaging sensor. I plan to
interface it with a PIC microcontroller in order to do some image
processing on-board my robot. I was wondering if someone could take a
moment and answer a couple of questions for me.

(1) Would this be reasonable code for capturing a frame of data from
the C3088

row=0;
col=0;

// generate interrupt if VSYNC goes high
#INT vsync_isr()
{
while(VSYNC); // wait until VSYNC goes low
while(!HREF); // wait until HREF goes high
while(HREF) // while HREF remains high
{
while(!PCLK); // wait until PCLK goes high
image[row][col] = Y7*128+Y6*64+Y5*32+Y4*16+Y3*8+Y2*4+Y1*2+Y0;
while(PCLK); // wait until PCLK goes low

if(row<356) row++;
else row=0;
}

if(col<292) col++;
else col=0;
}



(2) I know the clock on the C3088 (I believe it's called the pixel
clock or PCLK) has to be synced up with the clock on my PIC
microcontroller. What's the best way of going about this? If I use a
20 MHz external clock for my PIC, can I also feed that same clock line
into the CMOS sensor?

(3) Any other recommendations for a digital CMOS imaging sensor besides
the C3088?

Thanks in advance,
-weg
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
The time now is Fri Sep 03, 2010 11:35 pm | All times are GMT
Forum index » Electronix » Basics
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Measure long distance using ultrasoni... thieunguyen design 0 Wed Nov 19, 2008 5:34 pm
No new posts Re: PIC assembly language beginners q... David L. Jones Basics 0 Sat Aug 19, 2006 4:11 am
No new posts Re: PIC assembly language beginners q... Don McKenzie Basics 0 Fri Aug 18, 2006 9:23 pm
No new posts Call for Medical Imaging Talents sabreen design 0 Wed Jul 19, 2006 9:46 am
No new posts AC socket/wiring questions helluvanengineer@gmail.co Basics 18 Mon Jul 17, 2006 2:13 pm

Copyright © 2004-2005 DeniX Solutions SRL
Other DeniX Solutions sites: Unix/Linux blog |  Unix/Linux documentation |  Unix/Linux forums |  Medicine forum |  Science forum  |  Send and track newsletters
 
Breast Enlargement | Breast Enlargement | Cheap Home Insurance | Breast Enlargement | Breast Enlargement


Powered by phpBB © 2001, 2005 phpBB Group