ESP32-S2 with two USB Ports

kino0924
Posts: 3
Joined: Fri Jul 29, 2022 1:46 am

ESP32-S2 with two USB Ports

Postby kino0924 » Fri Jul 29, 2022 2:01 am

Hi,

I am trying to build a toy project that translates HID msg into different HID msg
keyboard -> ESP32-S2 -> PC

This means that ESP32-S2 requires to have two usb port; one HOST and other OTG
I know ESP32-S2 only has one USB OTG port which means I will need extra USB HOST shield.

However, is there any all in one board that has extra USB HOST and USB OTG in separated plug?
https://www.cnx-software.com/2022/05/06 ... otg-ports/
This is something similar that Im looking for but I am very confused about above product.
ESP32-S2 has only 1 USB OTG port but the description says it has one male and one female (which is perfect for my needs)
But at the same time, I see the dipswitch that flicks OTG port to male to female
So I think above product has two ports but I wont be able to utilize both port at the same time.

If I cant find a product thats all in one, can someone suggest me a ESP32-S2 and USB HOST Shield that I can use as just plug?
I am trying to stay away from having any kind of jump wires and want to have direct pin header connections.

I may able to build my own PCB to accomplish the goal but thats not an option and I have to utilize whats available on the market.

Thank you so much

kino0924
Posts: 3
Joined: Fri Jul 29, 2022 1:46 am

Re: ESP32-S2 with two USB Ports

Postby kino0924 » Fri Jul 29, 2022 5:22 am

I googled like crazy and found one possible solution

https://www.adafruit.com/product/4775
+
https://www.sparkfun.com/products/retired/9947

I know sparkfun usb host shield is discontinued but there are tons of clone availble
Will this work?


Thanks

Who is online

Users browsing this forum: Google [Bot] and 149 guests