Do you have a question? Post it now! No Registration Necessary
Subject
- Posted on

Re: Reading USB camera data from a 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

Re: Reading USB camera data from a 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 ( snipped-for-privacy@physik.rwth-aachen.de)
Even if all the snow were burnt, ashes would remain.
Hans-Bernhard Broeker ( snipped-for-privacy@physik.rwth-aachen.de)
Even if all the snow were burnt, ashes would remain.

Re: Reading USB camera data from a microcontroller

Go with an older type serial cam or get a camucam2 or avr cam
or similar.
http://www.cs.cmu.edu/~cmucam /
http://www.jrobot.net /
http://home.teleport.ch/idobson/ using bascom avr
http://home.teleport.ch/idobson/projects/UDP-webcam.htm
http://home.teleport.ch/idobson/start_e.htm
Alex

Re: Reading USB camera data from a microcontroller
USB is a master-slave system. Camera is a slave, so you need a master (USB
host). Low-end micros with USB are USB slaves too.
You need a USB host. It is either built into the higher-end processors or
you need external chip. But this is only half a problem. Then you need USB
host stack, typically found in larger OS, like Linux.
Rudolf


Re: Reading USB camera data from a microcontroller

I'm solving this problem with a Linksys NSLU2 (Network storage system).
This device has one ethernet port, two USB host, and 1.5 serial ports.
You can load a version of Linux on it that will handle a webcam.
I am planning on preporoccesing the image there and then passing on
the relevent information to my main processor.
http://www.nslu2-linux.org/wiki /
--
D. Jay Newman
http://enerd.ws/robots /
D. Jay Newman
http://enerd.ws/robots /
Site Timeline
- » TV repair website recommendation?
- — Next thread in » Electronics Down Under
-
- » How to turn On/Off a +5vcc power?
- — Previous thread in » Electronics Down Under
-
- » Happy Birthday
- — Newest thread in » Electronics Down Under
-
- » Jaycar.
- — Last Updated thread in » Electronics Down Under
-
- » Возможности тестера DT-830B
- — The site's Newest Thread. Posted in » Electronic Circuits (Russian)
-