ESP32-S2 supports USB Camera or not
ESP32-S2 supports USB Camera or not
Hello Espressif Team,
We have one product requirements in which we want to USB Endoscope Type low dimension camera for one of our product.
So, I just want to know that ESP32-S2 chip/modules supports USB 1.1 Specifications based OTG support and fully provide supports for USB Endoscope Camera or any other USB Camera from hardware and software side?
Let me know if need anything else from my end.
We have one product requirements in which we want to USB Endoscope Type low dimension camera for one of our product.
So, I just want to know that ESP32-S2 chip/modules supports USB 1.1 Specifications based OTG support and fully provide supports for USB Endoscope Camera or any other USB Camera from hardware and software side?
Let me know if need anything else from my end.
Regards,
Ritesh Prajapati
Ritesh Prajapati
Re: ESP32-S2 supports USB Camera or not
At this moment S2 does not have USB host/OTG API yet. There is no official timeline yet.
I cant answer if USB camera will be supported when API will be released.
I cant answer if USB camera will be supported when API will be released.
Re: ESP32-S2 supports USB Camera or not
Thanks for your quick answer and it is really appreciated.
Do you have any idea like apart from ESP32-S2, is there any other variant of ESP32 Chip or Module which has full support of USB host/OTG from hardware and software side?
If no any variant then I need to move to some other controller for time being till it is not fully supported for my prototype and product as well.
Regards,
Ritesh Prajapati
Ritesh Prajapati
Re: ESP32-S2 supports USB Camera or not
Currently only S2 has hardware support for USB and next will be S3, at least it is announced.
I would like to convince you to stay with esp32, but if you need it now then stm32 or rpi pico, maybe other chips with support here:
https://github.com/hathach/tinyusb
Of course there are other usb host stacks.
I would like to convince you to stay with esp32, but if you need it now then stm32 or rpi pico, maybe other chips with support here:
https://github.com/hathach/tinyusb
Of course there are other usb host stacks.
Re: ESP32-S2 supports USB Camera or not
Thank you very much for your quick response.chegewara wrote: ↑Mon Mar 01, 2021 4:10 pmCurrently only S2 has hardware support for USB and next will be S3, at least it is announced.
I would like to convince you to stay with esp32, but if you need it now then stm32 or rpi pico, maybe other chips with support here:
https://github.com/hathach/tinyusb
Of course there are other usb host stacks.
Sorry but Right now i need to move with some other MCU at-least for prototype perspective because I need to prepare and deliver it to client ASAP.
Once ESP32-S2 support USB Host fully from software side then i will move into ESP32-S2 as well.
Do you have any idea like which STM32 or RPI will be fulfilled as per my requirements?
FYI - I have provided few details with reference product image into viewtopic.php?f=12&t=19474 thread.
Let me know if need anything else from my end to understand my overall product requirements as well.
Regards,
Ritesh Prajapati
Ritesh Prajapati
-
- Posts: 9769
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32-S2 supports USB Camera or not
Also note that the S2 and S3 are low/full-speed, not high-speed USB; this means you can get a datarate of 12MBit/second at absolute max. You may want to find out if that is enough for your requirements (FPS, resolution, encoding etc) before deciding to wait for this.
Re: ESP32-S2 supports USB Camera or not
Thanks. I will note for that as well.ESP_Sprite wrote: ↑Tue Mar 02, 2021 5:58 amAlso note that the S2 and S3 are low/full-speed, not high-speed USB; this means you can get a datarate of 12MByte/second at absolute max. You may want to find out if that is enough for your requirements (FPS, resolution, encoding etc) before deciding to wait for this.
Is it 12 or 1.2 MByte per second? Also we need to support max 720P resolution at max.
Regards,
Ritesh Prajapati
Ritesh Prajapati
-
- Posts: 9769
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32-S2 supports USB Camera or not
Whoops, fixed the notation, I meant 12MBit which would be 1.2MByte/sec-ish. I don't think there is much chance you can get 720P to run at any decent framerate, unless your USB camera happens to do great compression (to e.g. h.264/h.265) in-camera, and you don't need to decompress that in your ESP32. (For instance, for uncompressed YUV422 video, you would get (1280*720*1.5)/1200000=1.5FPS; you're lucky if your camera allows you to set that framerate at all.)
Re: ESP32-S2 supports USB Camera or not
Thanks for providing quick response.ESP_Sprite wrote: ↑Wed Mar 03, 2021 1:35 amWhoops, fixed the notation, I meant 12MBit which would be 1.2MByte/sec-ish. I don't think there is much chance you can get 720P to run at any decent framerate, unless your USB camera happens to do great compression (to e.g. h.264/h.265) in-camera, and you don't need to decompress that in your ESP32. (For instance, for uncompressed YUV422 video, you would get (1280*720*1.5)/1200000=1.5FPS; you're lucky if your camera allows you to set that framerate at all.)
Yes. I understood your calculation for the same. Still I will check little bit into details with different camera and USB specification and will let you know if any query for the same.
Regards,
Ritesh Prajapati
Ritesh Prajapati
Re: ESP32-S2 supports USB Camera or not
I didnt have chance to test it yet, but is looking interesting:
https://github.com/sdima1357/esp32_usb_soft_host
https://github.com/sdima1357/esp32_usb_soft_host
Who is online
Users browsing this forum: No registered users and 104 guests