Reading USB camera data from a microcontroller

 comp.robotics.misc    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Reading USB camera data from a microcontroller Ivan Nathvalski 08-29-2005
Posted by Ivan Nathvalski on August 29, 2005, 6:11 am
Please log in for more thread options
Can some USB, microcontroller expert advise me how can a USB webcam be
interfaced with a microcontroller (PIC, ATMega, etc) so that we can capture
image frames (low speed, low res) with the microcontroller?





Posted by mark jb on August 29, 2005, 6:32 am
Please log in for more thread options
> Can some USB, microcontroller expert advise me how can a USB webcam be
> interfaced with a microcontroller (PIC, ATMega, etc) so that we can
> capture image frames (low speed, low res) with the microcontroller?

you'd need a usb host on the board to interface with the micro, power to run
the cam from the board... you may be better ripping a cheap cam apart and
pulling a direct video output before the usb out (if possible)

-mark



Posted by Roger Hamlett on August 29, 2005, 10:48 am
Please log in for more thread options

> Can some USB, microcontroller expert advise me how can a USB webcam be
> interfaced with a microcontroller (PIC, ATMega, etc) so that we can
> capture image frames (low speed, low res) with the microcontroller?
Forget it.
Better just to buy one of the cameras with a video output.
Key thing about USB, is that it is designed to make the 'slave' device
relatively easy to produce. The 'host' device, requires a _lot_ more
hardware and code. It is possible to produce a basic host, but you are
looking at perhaps 5 to 10* as much work as producing a direct video
grabber...

Best Wishes



Posted by Hans-Bernhard Broeker on August 29, 2005, 10:58 am
Please log in for more thread options
> Can some USB, microcontroller expert advise me how can a USB webcam be
> interfaced with a microcontroller (PIC, ATMega, etc) so that we can capture
> image frames (low speed, low res) with the microcontroller?

About as well as you could pull a 20-ton cargo trailer up a hill using
a bicycle. You need a USB host for that, which needs between one and
two orders of magnitude more CPU power than what you're envisioning.

--
Hans-Bernhard Broeker (broeker@physik.rwth-aachen.de)
Even if all the snow were burnt, ashes would remain.

Posted by Michael J. Noone on August 29, 2005, 12:28 pm
Please log in for more thread options
Cypress makes some nice little USB host chips - I'd reccomend taking a
look at those as I doubt a 8b micro could handle the complexities of a
USB host interface. Best of luck!

-M. Noone


Similar ThreadsPosted
CMOS camera chip + microcontroller = Home made camera August 23, 2005, 10:44 am
any publishers reading this? July 1, 2005, 1:01 pm
Reading 802.11b/g signal strength (SNR) August 4, 2005, 12:14 pm
Reading barcodes using a laser scanner October 18, 2006, 1:58 pm
Re: reading analog signals on a MCU with only digital I/O March 9, 2007, 5:02 pm
Re: reading analog signals on a MCU with only digital I/O March 9, 2007, 5:16 pm
tell Moustapha it's isolated reading in the light of a opening August 14, 2007, 4:35 am
Reading from different memory banks on an Acquisition control register November 16, 2006, 2:43 am
He'll be reading up horizontal Rudy until his tent fires violently. December 1, 2007, 3:57 pm
3d Camera January 8, 2006, 6:12 am

The site map in XML format XML site map
other useful resources:
Official Robosapien Website
Lego Mindstorms Website

Contact Us | Privacy Policy