Connecting HID device to ESP32-S3

shlomoaran
Posts: 1
Joined: Mon May 01, 2023 1:29 pm

Connecting HID device to ESP32-S3

Postby shlomoaran » Tue May 02, 2023 5:04 am

I have been struggling trying to connect an HID USB sensor to my ESP32-S3 for two weeks.
I have tried to work with the examples provided by Arduino IDE and by ESPress and nothing works.
Most of the examples just don't compile, because one reason or another.

In other cases it just doesn't connect.
I don't see the USB in my "yat" terminal or in Windows' "Device Manager".
The only sketch that partially worked is from: http://www.arduino.cc/en/Tutorial/hidSerial that uses: USB HID Keyboard.h
In this example, I can see the HID port in the "yat" and in "Device Manager", but when I try to write (from the SerialMonitor) to its display, it doesn't show it, instead it is written back the SerialMonitor input-box.

Please note that I need HIDRaw, because I am connecting a sensor that receives and sends packets, but I can't compile this code.
Do you have something that I can compile and works?

bidrohini
Posts: 202
Joined: Thu Oct 27, 2022 12:55 pm

Re: Connecting HID device to ESP32-S3

Postby bidrohini » Thu May 04, 2023 12:59 pm


Who is online

Users browsing this forum: Bing [Bot] and 117 guests