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.
USB examples for ESP32-H2-MINI
-
- Posts: 9764
- Joined: Thu Nov 26, 2015 4:08 am
Re: USB examples for ESP32-H2-MINI
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.
-
- Posts: 5
- Joined: Sun Aug 04, 2024 12:57 pm
Re: USB examples for ESP32-H2-MINI
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.
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.
-
- Posts: 9764
- Joined: Thu Nov 26, 2015 4:08 am
Re: USB examples for ESP32-H2-MINI
The other chips also have -mini variants of their modules, e.g. the esp-s3-mini-1. Possibly those are small enough.
-
- Posts: 829
- Joined: Mon Jul 22, 2019 3:20 pm
Re: USB examples for ESP32-H2-MINI
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
https://www.espressif.com/en/products/modules
https://products.espressif.com/#/product-selector
-
- Posts: 5
- Joined: Sun Aug 04, 2024 12:57 pm
Re: USB examples for ESP32-H2-MINI
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.
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.
-
- Posts: 9764
- Joined: Thu Nov 26, 2015 4:08 am
Re: USB examples for ESP32-H2-MINI
Those also don't have USB OTG.lbernstone wrote: ↑Tue Aug 06, 2024 5:28 pmThe 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.
Is that S3 module still too large?thepurplepig wrote:Looks like I'm out of luck.
-
- Posts: 5
- Joined: Sun Aug 04, 2024 12:57 pm
Re: USB examples for ESP32-H2-MINI
Does the S3 do bluetooth classic as well? I thought not but if it does that ticks all boxes.ESP_Sprite wrote: ↑Wed Aug 07, 2024 3:39 amIs that S3 module still too large?thepurplepig wrote:Looks like I'm out of luck.
*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?
-
- Posts: 9764
- Joined: Thu Nov 26, 2015 4:08 am
Re: USB examples for ESP32-H2-MINI
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 113 guests