Interfacing CCD Camera or Web Camera

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
User avatar
greentech
Flowcode V4 User
Posts: 158
Joined: Mon Jan 31, 2011 2:11 pm
Has thanked: 10 times
Been thanked: 2 times

Interfacing CCD Camera or Web Camera

Post by greentech »

Is it possible to interface a ccd camera with pic16f877a?

User avatar
JohnCrow
Valued Contributor
Valued Contributor
Posts: 1367
Joined: Wed Sep 19, 2007 1:21 pm
Location: Lincolnshire
Has thanked: 364 times
Been thanked: 716 times

Re: INTERFACING CCD CAMERA OR WEB CAMERA

Post 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
1 in 10 people understand binary, the other one doesn't !

Spanish_dude
Posts: 594
Joined: Thu Sep 17, 2009 7:52 am
Location: Belgium
Has thanked: 63 times
Been thanked: 102 times

Re: INTERFACING CCD CAMERA OR WEB CAMERA

Post 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

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Interfacing CCD Camera or Web Camera

Post 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.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Interfacing CCD Camera or Web Camera

Post 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.

User avatar
greentech
Flowcode V4 User
Posts: 158
Joined: Mon Jan 31, 2011 2:11 pm
Has thanked: 10 times
Been thanked: 2 times

Re: Interfacing CCD Camera or Web Camera

Post 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.

User avatar
greentech
Flowcode V4 User
Posts: 158
Joined: Mon Jan 31, 2011 2:11 pm
Has thanked: 10 times
Been thanked: 2 times

Re: Interfacing CCD Camera or Web Camera

Post 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....

User avatar
greentech
Flowcode V4 User
Posts: 158
Joined: Mon Jan 31, 2011 2:11 pm
Has thanked: 10 times
Been thanked: 2 times

Re: Interfacing CCD Camera or Web Camera

Post by greentech »

any updates?

User avatar
JohnCrow
Valued Contributor
Valued Contributor
Posts: 1367
Joined: Wed Sep 19, 2007 1:21 pm
Location: Lincolnshire
Has thanked: 364 times
Been thanked: 716 times

Re: Interfacing CCD Camera or Web Camera

Post 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.
1 in 10 people understand binary, the other one doesn't !

Spanish_dude
Posts: 594
Joined: Thu Sep 17, 2009 7:52 am
Location: Belgium
Has thanked: 63 times
Been thanked: 102 times

Re: Interfacing CCD Camera or Web Camera

Post 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: .

Post Reply