Any help for make a WebCam (USB) with ESP32-cam

StefOlivier
Posts: 4
Joined: Fri Nov 13, 2020 8:55 am

Any help for make a WebCam (USB) with ESP32-cam

Postby StefOlivier » Sun Nov 15, 2020 11:12 am

Hello Everybody, :ugeek:

I will try to write my best, but I'm French....

I want to do a webcam with ESP32-cam and I don't find any example to do that.

I make a wifi cam, video streaming, all the thing we find easely but not a WEBCAM (USB) like that https://www.cdiscount.com/pdt2/4/5/1/1/ ... ows-10.jpg

Thank you to have reading me.
Have a nice day.

ESP_Sprite
Posts: 9730
Joined: Thu Nov 26, 2015 4:08 am

Re: Any help for make a WebCam (USB) with ESP32-cam

Postby ESP_Sprite » Mon Nov 16, 2020 3:24 am

The ESP32 does not have native USB; most devboards have an on-board USB-to-serial converter instead. As these are fixed-function devices, you can't re-program them to a webcam interface. You could theoretically connect a separate USB device chip to the ESP32 to make it function as a webcam, but as no one did that before, you would need to develop hardware and software support for that yourself.

StefOlivier
Posts: 4
Joined: Fri Nov 13, 2020 8:55 am

Re: Any help for make a WebCam (USB) with ESP32-cam

Postby StefOlivier » Mon Nov 16, 2020 4:48 am

Thank you for your answer.

nopnop2002
Posts: 111
Joined: Thu Oct 03, 2019 10:52 pm
Contact:

Re: Any help for make a WebCam (USB) with ESP32-cam

Postby nopnop2002 » Fri Oct 07, 2022 8:47 am


ESP_Sprite
Posts: 9730
Joined: Thu Nov 26, 2015 4:08 am

Re: Any help for make a WebCam (USB) with ESP32-cam

Postby ESP_Sprite » Sat Oct 08, 2022 2:18 am

Be aware that 1. this is the other way around (connect an USB webcam to an ESP32S*) and 2. you still can't do this with the original ESP32; you need a chip with integrated USB OTG, which at this point in time are the ESP32S2 and -S3)

nopnop2002
Posts: 111
Joined: Thu Oct 03, 2019 10:52 pm
Contact:

Re: Any help for make a WebCam (USB) with ESP32-cam

Postby nopnop2002 » Fri Oct 14, 2022 11:07 pm

I misunderstood.

As ESP_Sprite states, it is currently not possible to create a USB camera with ESP32-cam.


Here is how to use the USB function of ESP32-Sx as a USB web camera (UVC device).


https://github.com/espressif/esp-iot-so ... usb_webcam

Who is online

Users browsing this forum: Gaston1980, Majestic-12 [Bot] and 107 guests