Connecting USB Camera to Uno Q

It works with the 5V pin (powering using a regulated 5V power source).

I’ve tried many ways to try the example code in the app lab, for detecting object (or anything webcam related) and nothing works.

Powering the uno-q with vin 12 volts (which achieves host mode on the UNO q)

Then attaching a powered usb hub with webcam attached.

Nothing shows up.

working with chat-gtp it came to the conclusion that the board will always default to sink mode.

Why add this example if it can’t be made to work? I’ve found this board to be very frustrating to work with.

Hi @iplayfast. I'm sorry you've had trouble using the webcam-based example Apps.

It can certainly be made to work. It works just fine for me, and for many others as well.

It may well be that it can't be made to work in the specific configuration you are attempting. However, the example was never intended to be used in that configuration, so this is not a reason to refrain from sharing it with the user.

Have you tried connecting the webcam to your UNO Q via a USB USB-C hub, and powering the system by connecting a suitable power supply to the USB-PD port on the hub?:

📷

power.png by Arduino - CC BY-SA 4.0 (remove annotation, add "Camera", crop)

I think if you try this configuration you will find that it works as expected. If not, let us know and we'll provide assistance with the problem.

@iplayfast created a new forum topic related to their efforts to use the camera-based examples:

Since it seems their efforts have moved beyond the "connect USB camera directly to the USB-C port while powering the Uno Q via the 5V pin" subject of this topic, I think it will be best to use that dedicated topic for further discussion of @iplayfast's system.

Further discussion on the subject matter specified in the original post of this topic continues to be welcome here.