Page 1 of 1
Any help for make a WebCam (USB) with ESP32-cam
Posted: Sun Nov 15, 2020 11:12 am
by StefOlivier
Hello Everybody,
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.
Re: Any help for make a WebCam (USB) with ESP32-cam
Posted: Mon Nov 16, 2020 3:24 am
by ESP_Sprite
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.
Re: Any help for make a WebCam (USB) with ESP32-cam
Posted: Mon Nov 16, 2020 4:48 am
by StefOlivier
Thank you for your answer.
Re: Any help for make a WebCam (USB) with ESP32-cam
Posted: Fri Oct 07, 2022 8:47 am
by nopnop2002
Re: Any help for make a WebCam (USB) with ESP32-cam
Posted: Sat Oct 08, 2022 2:18 am
by ESP_Sprite
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)
Re: Any help for make a WebCam (USB) with ESP32-cam
Posted: Fri Oct 14, 2022 11:07 pm
by nopnop2002
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