8 years, 4 months ago.

ESP8266 USB HID library?

I would like to know how to make ESP8266 work like a keyboard that send data to your computer via USB interface, which I believer it's USB HID, any library for that?

1 Answer

8 years, 4 months ago.

Hi James,

Thanks for the message, let me try and answer your question, why do you require to use the ESP8266 to send the data, what mbed platform are you interfacing the ESP8266 with?

In regards to information on the ESP8266 directly see her for ea number of useful libraries:

https://developer.mbed.org/teams/ESP8266/

In terms of using a USB keyboard you will want to use USB/UART to transmit between your computer and platform:

If you require to attach the keyboard to the platform directly and transmit to a PC follow this page for libraries and instructions:

https://developer.mbed.org/handbook/USBKeyboard

https://developer.mbed.org/handbook/USBHostKeyboard

If you wish to attach the keyboard to your PC and send data to the platform over USB/UART then follow this link.

https://developer.mbed.org/handbook/SerialPC

I hope that answers your question, let me know if you need anything else.

-Andrea, team mbed.