Hello! I was inspired by an Arduino project I recently saw to create a similar project for an ESP32 I had. The arduino project presented itself as a USB HID Keyboard when plugged in, and it entered a a series of keystrokes once the device was populated in the OS.
Their project can be found here: https://medium.com/@fsaint/setup-the-wi ... 3dccf92686
I took the code from this project and attempted to use it for ESP32, and it compiled and uploaded, however it does not present itself as a keyboard when I plug it in. There is a step in the above project that says to short the reset and ground pins of the arduino, and then upload a hex file to replace the firmware using a DFU Programmer. I'm unable to replicate this step on the ESP32 as far as I am aware, and I assume this is the reason why it isn't being treated as a USB HID Device.
Has anyone attempted such a thing on the ESP32? I've seen a lot of discussion for Bluetooth HID keyboard, but my google fu hasn't returned anything for USB HID keyboard on ESP32.
Thanks!
ESP-WROOM-32 as USB Keyboard
Re: ESP-WROOM-32 as USB Keyboard
atmega16u2 has USB built in but esp32 does not. Your board may have USB to serial chipset, but not the same. Back to the drawing board...
Who is online
Users browsing this forum: No registered users and 69 guests