Page 1 of 1

ESP32 with HID USB

Posted: Sat Oct 30, 2021 8:14 am
by maw-service
We are looking to create a simple device as a USB-Stick which should be plugged into a host system and emulates a HID USB Keyboard. The functionality is basically provided by the Arduino Keyboard Lib (https://www.arduino.cc/reference/en/lan ... /keyboard/). I just saw in an older post that the ESP32 would support native USB from Version S2 and up. Is this correct? And/or does only the C3 revision support the keyboard lib ?

Or do we need to switch to a Arduino Board (where at the end an ESP32 take the role anyway for Bluetooth and WLAN) ?

best regards

Carsten

Re: ESP32 with HID USB

Posted: Sun Oct 31, 2021 3:28 am
by ESP_Sprite
I don't know much about Arduino, but the S2 and S3 have a software-configurable USB peripheral that could do the job. The C3 has a simpler USB peripheral that is hardcoded to only act as a debugging tool, so you cannot emulate a keyboard with that.