USB Camera

Hey, I was wondering about interfacing a USB Web Cam with the Arduino UNO. Say a 640 x 480, 256 colour one? I have looked at how I want to process the information pixel per pixel and I don't want to save it to the ram so size there is not an issue. Frame rate is not a problem as well. I was looking at using the miniUSB Adapter or something. The main problem that I am facing right now is that I am not exactly sure how web cams send there information. If it is through USB obviously it is one bit at a time. I am assuming that it's gonna be in RAW 8 format as well. Does it wait for you to clock it to send a byte? Does it just send bytes at a certain frequency? How can I capture that input and process it one byte (1 pixel) at a time?

Thanks!!! :smiley:

I am assuming that it's gonna be in RAW 8 format as well.

No.
USB sends data in frames, that is blocks of information of about 1K a time.
With only 2K of SRAM on the entire processor for everything guess how many USB frames you can capture.
Now what are you going to do with that data, and can you do it before the next frame arrives?

You might want to think about why you can't find any links to anyone who has done this before.

( People are very critical, they say I crush the enthusiasm of beginners by telling them their project is impossible )