Page 1 of 1

Interfacing CCD Camera or Web Camera

Posted: Sun Aug 21, 2011 1:21 pm
by greentech
Is it possible to interface a ccd camera with pic16f877a?

Re: INTERFACING CCD CAMERA OR WEB CAMERA

Posted: Sun Aug 21, 2011 9:06 pm
by JohnCrow
Not something I've done anything with personally but I believe it can be done

For exampel some very cheap ccd devices here
http://proto-pic.co.uk/categories/Senso ... 6-Imaging/

Maybe someone like Sparkfun electonics

Re: INTERFACING CCD CAMERA OR WEB CAMERA

Posted: Mon Aug 22, 2011 12:31 am
by Spanish_dude
The CCD cameras you'll find in John's link communicate through some data transfer protocol such as RS232 or I²C, so it's very plausible you can interface it with a 16F877A.

Nicolas

Re: Interfacing CCD Camera or Web Camera

Posted: Mon Aug 22, 2011 12:14 pm
by Benj
Hello,

We have been doing some work here on the 4D serial camera. Unfortunately the module got damaged due to over voltage on the prototype so our work on this is currently on hold but we hope to be able to offer something along these lines fairly shortly.

Re: Interfacing CCD Camera or Web Camera

Posted: Mon Aug 22, 2011 12:15 pm
by Benj
I've also looked into using USBotg in the PIC24 devices to interface to a web camera using the new USB camera standard. This seems possible but so far I have not had the time to look into this properly.

Re: Interfacing CCD Camera or Web Camera

Posted: Tue Aug 23, 2011 10:27 pm
by greentech
Thats a gr8 idea benj, ne way welcome back. I was told you went on holidays, the forum was kinda stuck during those days. :( sorry to hear abt the module :). Try working on H.264 video format.

Re: Interfacing CCD Camera or Web Camera

Posted: Tue Aug 23, 2011 10:31 pm
by greentech
John i looked at the link but cant get to know about how to interface it. in-addition how do i go by programming the pic for that purpose. is just receiving rs232 chars and tx them the answer???? i guess ill have to decode them, not sure....

Re: Interfacing CCD Camera or Web Camera

Posted: Thu Aug 25, 2011 7:23 pm
by greentech
any updates?

Re: Interfacing CCD Camera or Web Camera

Posted: Thu Aug 25, 2011 9:37 pm
by JohnCrow
Hi
Sorry, Ive not done anything with pics and video cams myself. It is something I would like to look at sometime.
Bert van Dam's 50 Pic Microcontroller Projects book (this is the second one) has projects using the CMU cam.
These are more aimed at detecting objects or colours, than displaying video images.

His books mainly use the JAL language (except the flowcode one stocked my Matrix), though they do have interesting projects in them

Personally I would suspect to do anything apart from very simple detection, It will be nessesary to use at least a 16bit device.

Some of the devices in the link I sent do have an I2C interface, or as Benj posted on earlier, the USB connection on some of the more advanced devices.

Re: Interfacing CCD Camera or Web Camera

Posted: Sat Aug 27, 2011 7:30 pm
by Spanish_dude
JohnCrow wrote:Bert van Dam's 50 Pic Microcontroller Projects book (this is the second one) has projects using the CMU cam.
I have that book too (in Dutch). I got it from elektor a while back :mrgreen: .