Making a Homemade Webcam?
Space-Bot asks: "I remember back in high-school photography the simple and very basic homemade cameras that we made that surprisingly worked fairly well. Amazing how something so great started so basic. These days we have all these high tech gadgets that do it all so quickly you never really think about any of the work behind it. Well I would like to start to understand the modern digital cameras more and I figure what better way then to make a homemade webcam of some sort. Might some of you Slashdot guru's have some ideas or experience for my project?"
Step 1: Buy a webcam.
Step 2: Take webcam apart.
Step 3: Make a webcam out of parts from step 2.
A webcam is a lot more electronics than optics, so your high school photography class won't help much here. A lot of the stuff that goes into a webcam is going to be surface mount only and very tiny. I understand you want to learn about them, but you might be better off buying one and taking it apart and studying that.
It'd be quite difficult to make a digital web cam. Sure, basic photography is simple. The reason? All you need to do is capture the light, and you've got a nice chemical compound that does that fine. You don't have to delve into the actual process of getting it to capture (yea you have to develop it, but the chemical compound on the film does the capturing).
With anything digital, you have to use a matrix of photo-sensitive sensors, process, and send them out to the computer. Which means you either need to buy a CMOS board, or that other kind of photographic digital thing. Figure out how it interfaces, connect a USB interfacing chip onto it (I think they're pretty cheap, Buffer->USB->Program, you handle the arrows and the Program, everything else you'd practically have to buy. I guess you could create the USB interfacing yourself, but that would be tedious, and not important. Using the serial or parallel ports would be easier if you're going to do it yourself, btw.)
Anyway, what another poster said. Go buy a cheap rebate webcam, take it apart, play with the parts some, and put it back together. I'm pretty sure there's nothing that's going to be hurt by light or by touching in a webcam (though not positive, IANADigiPhotgrapher).
This post is getting kinda long, but I wanna share this. I had this idea on a way to make a cheap, possibly portable, digital camera....well, not film camera at least. I'd take three photodiodes (diodes that block when there's light, and don't block when there's not), put the three primary color filters over them, have the light coming in through a slit, and hitting two mirrors, then going to the photodiodes. When you hit the button to take the photo, it rotates the first mirror horizontally, back and forth, as fast as possible, and the second mirror slowly scans down. The output from the photodiodes would directly going to a cassette tape. Later, I could read the cassette tape on my computer, and write a program to analyze it and extract the picture. I thought it was neat because the parts were cheap, but highly impractical. Especially considering it'd take about a second to take the picture with standard photodiodes (~25ns per reading, IIRC). Anything longer than 1/15th of a second *requires* a tripod...imagine the shaking going on with the motors as well.
Anyway, yea, happy learning and stuff.
A normal memory chip is actually light sensitive, in a nasty gray-scale sort of way. :) and write consistent values out (all ones or zeroes) then display what you read back in.
So, take an old memory chip, like a 1-meg or so. Carefully split the top off of it (might take a half-dozen tries to get one with pins still intact after).
The one I saw was plugged directly into a memory card. These days you'd probably have to rig up a parallel port interface.
Then all you do is put a lens over it for focus (watch out for the sun!
I know what I have learned back in grade school will apply to this project.
step 1. get shoe box
step 2. get needle
step 3. get charged coupled device CCD
step 4. make small hole in box
step 5. put CCD in box.
Step 6. Connect shoe box to PC
Step 6. aw crap, go to Circuit city.
...::----::...
I am in no way affiliated with this sig.
Take the linear CCD array from it, add some mechanics, and with some luck you can get nice (in the range of megapixels) images.
These guys did it already: here and here
Better than a webcam, and pretty good for understanding how digital imaging works.
If your interest is purely academic, you might check out the CCD Camera Cookbook Webpage. The CCD Camera Cookbook is a book covering the design of two CCD cameras for Astrophotography. The resolution of these cameras is not high, and they do not come out being cheap. I am currently reading the book and will probably build the TC245 camera as a prelude to trying to design my own higher resolution CCD camera for Astrophotography. I think the book alone would be a good start in an attempt to understand CCDs.
I've used my Cellphone as a webcam as a proof of concept and it worked fine.
I was even able to walk across the room with bluetooth.