Does anybody know how to interface an old USB webcam with the USB Host Shield 2.0 connected to an Arduino (Uno or Mega 2560 or other models - excluding Yun).
I've got the USB Host Shield set up properly and I can run all the examples.
My goal is to make the arduino force the webcam to take a picture (the webcam itself has a button for taking pictures) every second and save it to the SD card of the ethernet shield.
I know how to read and write data to the SD card of the ethernet shield. That's not the problem.
The problem is making the Arduino talk to the USB webcam. Can anybody please share a basic .ino file with me so I can see what magic they used to do the trick?
I tried the Arduino PTP Camera Control library by felis over at: https://github.com/felis/Arduino_Camera_Control
But I'm having lots of trouble getting the included examples to work properly with my old USB webcam. I always get the 'can't read data' error in the serial monitor...
Thanks for any help!