Hello,
I know this isn't strictly an Arduino question but I've seen people interface things with an USB to TTL adapter and the Arduino IDE before.
My problem is: I have a webcam which serves as a digital camera of sorts. It connects via USB to Processing without a problem. However I'd like to be able to click a button on the housing of that camera, and the program would read it and take a picture if it is pressed. If I had a lot of space I would use an arduino and two usb cables (one for the arduino, one for the webcam). However that seems a bit unneccessary and it wouldn't be super easy to use. Is there any way to fit both informations in one cable?
Hi!
Well, for now, just through its USB cable. It's a Logitech webcam I opened up to put in a new housing with the pushbutton. The goal is to create a "digital camera", although it would have to be tethered to a computer. I was wondering if there was a way to get both informations (1. is the button pressed? 2. What is the webcam seeing?) through one cable to minimise the mess of cables coming from it.
The easiest way I can see now is to hide the smallest usb hub I can find in the enclosure, along with an arduino nano and plug the webcam and the arduino to the hub. However using an arduino (even a nano) for a single button seemed a bit much and I wondering if there was a way around this...