USB examples for ESP32-H2-MINI

thepurplepig
Posts: 5
Joined: Sun Aug 04, 2024 12:57 pm

USB examples for ESP32-H2-MINI

Postby thepurplepig » Sun Aug 04, 2024 1:04 pm

Hi, my first post.

I have a ESP32-H2-MINI hooked up up on USB port.
I can program in the HWCDC_Events example out the 'ESP32' folder, that works fine but if I try any of the other USB examples like USBVendor out of the 'USB' folder, nothing happens. Perhaps there is something in the examples configuration that I need to change, or maybe they are not for this device?

I am looking for more USB examples that will work with ESP32-H2. I would specifically like to set the module up as a custom HID device for one project and as a mouse for another project.

Any pointers appreciated, thank you.

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

Re: USB examples for ESP32-H2-MINI

Postby ESP_Sprite » Mon Aug 05, 2024 2:49 am

The -H2 does not have the USB-OTG controller you'd need for those examples; it only has a fixed-function USB-serial-JTAG controller.

thepurplepig
Posts: 5
Joined: Sun Aug 04, 2024 12:57 pm

Re: USB examples for ESP32-H2-MINI

Postby thepurplepig » Mon Aug 05, 2024 9:00 am

Ok thanks, makes sense now.
Does that mean there are no modules that have a fully fledged that USB small enough go into a USB dongle? WROOM is too wide.

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

Re: USB examples for ESP32-H2-MINI

Postby ESP_Sprite » Tue Aug 06, 2024 9:16 am

The other chips also have -mini variants of their modules, e.g. the esp-s3-mini-1. Possibly those are small enough.

lbernstone
Posts: 829
Joined: Mon Jul 22, 2019 3:20 pm

Re: USB examples for ESP32-H2-MINI

Postby lbernstone » Tue Aug 06, 2024 5:28 pm

The 8684/8685 modules have some small and different form factors that may work for you, although this means that they have lower production volumes and availability.
https://www.espressif.com/en/products/modules
https://products.espressif.com/#/product-selector

thepurplepig
Posts: 5
Joined: Sun Aug 04, 2024 12:57 pm

Re: USB examples for ESP32-H2-MINI

Postby thepurplepig » Tue Aug 06, 2024 6:35 pm

Thanks all,
What I really need is a mini format but with both Bluetooth Classic and either USB CDC or USB.
Looks like I'm out of luck.

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

Re: USB examples for ESP32-H2-MINI

Postby ESP_Sprite » Wed Aug 07, 2024 3:39 am

lbernstone wrote:
Tue Aug 06, 2024 5:28 pm
The 8684/8685 modules have some small and different form factors that may work for you, although this means that they have lower production volumes and availability.
Those also don't have USB OTG.
thepurplepig wrote:Looks like I'm out of luck.
Is that S3 module still too large?

thepurplepig
Posts: 5
Joined: Sun Aug 04, 2024 12:57 pm

Re: USB examples for ESP32-H2-MINI

Postby thepurplepig » Wed Aug 07, 2024 8:16 am

ESP_Sprite wrote:
Wed Aug 07, 2024 3:39 am
thepurplepig wrote:Looks like I'm out of luck.
Is that S3 module still too large?
Does the S3 do bluetooth classic as well? I thought not but if it does that ticks all boxes.

*just checked seems not. So there are no BTC capable modules with USB OTG and vice versa.
However I could make do with USB HWCDC and not fully fledged OTG, but there is no USB CDC in the part selector.
If I select 'USB OTG' in the selector, are parts with HWCDC also listed?

If not, are there any parts with USHWCDC and Bluetooth Classic?

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

Re: USB examples for ESP32-H2-MINI

Postby ESP_Sprite » Thu Aug 08, 2024 1:25 am

Nope. Only chip that does BT Classic is the 'original' ESP32, and that does not have USB of any sort.

Who is online

Users browsing this forum: No registered users and 47 guests