ESP32 with HID USB

maw-service
Posts: 1
Joined: Sat Oct 30, 2021 8:00 am

ESP32 with HID USB

Postby maw-service » Sat Oct 30, 2021 8:14 am

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

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

Re: ESP32 with HID USB

Postby ESP_Sprite » Sun Oct 31, 2021 3:28 am

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.

Who is online

Users browsing this forum: No registered users and 189 guests