Reading USB camera data from a microcontroller

General Robotics Forum - All aspects of robots and their applications. 

Page 1 of 2       1 2 > last >> Bookmark this page:  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Reading USB camera data from a microcontroller Ivan Nathvalski 08-29-2005
If you were  Registered and logged in, you could reply and use other advanced thread options
Posted by Ivan Nathvalski on August 29, 2005, 6:11 am
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
> 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

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


Page 1 of 2       1 2 > last >>

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

Contact Us | Privacy Policy