Connecting and reading USB Webcam with Arduino?


hello everyone,

i have old usb webcam, wanted connected arduino mega board. want read , store data output in file on pc using serial port or sd card.  cut off usb connector , got 4 wires: 5v, data-, data+ , gnd. connected d- tx , d+ rx of arduino board.

my questions are:

1- possible do?

2- correct connection?

3- how can read data output of webcam? format?

4- there protocol needed connection?

i'm open suggestions,

appreciate help, answer :) 

no, not stands.  wires supposed connect usb port.  furthermore camera behave usb slave device.  arduino mega behave usb slave device.  won't able communicate each other on usb.  (one device has host work).

you around slight hiccough getting usb host shield, still tiny step towards solution.

the next issue have webcams not equall.  why can't have 1 driver fits in windows.  within windows bad enough low level details of how particular camera communicates, going more trouble worth.  involve extensive research , endless hours of perseverance stage can start communicating it.

alas after effort you'll realise sram on arduino mega can't hold single image camera, it'll next useless.

add fact final solution work exact camera , technical details you've gleaned along way won't portable.  i'd project non runner.  sorry :(


Arduino Forum > Topics > Device Hacking > Connecting and reading USB Webcam with Arduino?


arduino

Comments

Popular posts from this blog

invalid use of void expresion in FlexiTimer2 library

error: a function-definition is not allowed here before '{' token

LED Strip Code