New answers tagged

3

USB doesn't have data and clock lines. It has a pair of data lines with inverted polarity (D+ and D-). The USB protocol is considerably more complex than you seem to imagine. However there is a caveat: some keyboards have the ability to work in IBM PS/2 mode. For this you will need a USB to PS/2 adaptor (pictured below) and then use the PS2Keyboard.h library....


0

There's an official Telnet-to-Serial example on Espressif's Arduino GitHub repository. It shows how to set up an ESP32 to act as a serial (over USB if your board has it) to WiFI (using telnet). Hopefully this is something that will help you get along.


Top 50 recent answers are included