ESP32 HID Keyboard USB

dunato
Posts: 13
Joined: Fri Aug 02, 2019 8:55 am

ESP32 HID Keyboard USB

Postby dunato » Fri Aug 02, 2019 10:37 am

Hi, is it possible to use ESP32 (any ESP32 dev. kit) as HID keyboard with a help of Arduino Keyboard library or other when connected via USB to PC? Similarly to Arduino Leonardo, Zero...

User avatar
rudi ;-)
Posts: 1729
Joined: Fri Nov 13, 2015 3:25 pm

Re: ESP32 HID Keyboard USB

Postby rudi ;-) » Fri Aug 02, 2019 1:59 pm

dunato wrote:
Fri Aug 02, 2019 10:37 am
Hi, is it possible to use ESP32 (any ESP32 dev. kit) as HID keyboard with a help of Arduino Keyboard library or other when connected via USB to PC? Similarly to Arduino Leonardo, Zero...
Hi
you could connect to esp32 pins USB HID controller
also you could use V-USB ..
last but not least, you can use instead CP.. IC an cheap USB IC which support USB Serial, USB HID and so on,
what ever you need in the moment.

the comming new ESP32-S2 support USB itself, not sure when it comes out, but we get native USB on ESP in near time.
hope this helps
best wishes
rudi ;-)

edit:
further info:
ESPUSB32 Full-speed USB Approach
ESPUSB
ESPUSB ESP32?
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

dunato
Posts: 13
Joined: Fri Aug 02, 2019 8:55 am

Re: ESP32 HID Keyboard USB

Postby dunato » Thu Aug 08, 2019 9:44 am

So the external chip is needed till S2 is out. Thanks.

Angeliccare
Posts: 1
Joined: Mon Jan 24, 2022 5:27 am

Re: ESP32 HID Keyboard USB

Postby Angeliccare » Mon Jan 24, 2022 5:33 am

Arduino versions are out for S2.
https://gist.github.com/brgaulin/2dec28 ... 354adf103d
https://github.com/chegewara/EspTinyUSB ... yboard.ino
https://github.com/cyborg5/TinyUSB_Mouse_and_Keyboard

Arduino-> ESP-IDF component versions.
None yet.

ESP-IDF versions:
none yet.

Looking for 2nd two of them.

Who is online

Users browsing this forum: No registered users and 90 guests