ESP32-USB-Soft-Host
ESP32-USB-Soft-Host copied to clipboard
Does not support digispark, USBHID emulation
Does not support digispark, USBHID emulation
digispark is a USB input device
Hi, thanks for your feedback,
do you mean Digispark BadUSB ?
I don't have one so I can't test but my guess is it's not a USB-LE device as this library requires/
yes,Digispark BadUSB My test seems to be unable to carry out USB enumeration, but the USB package cannot be caught
maybe adding a delay(5000) in the setup() on the atTiny will let the esp32 some time to boot and start listening before the atTiny starts USB emulation ?
I try, how do I feel that USB input devices are not supported。 Because, I wrote two programs to compare.
- The led flashes, just plug it in and it will flash
- The led flashes + keyboard, the led code is behind the keyboard. Plug in the USB, the led does not flicker
I assume you're basing your research on this wiki.
it says:
When the digispark boots up, it uses the USB signal to calibrate its clock to 16.5mhz
Now I'm thinking maybe this can't work with usb-soft-host, or maybe it needs a careful calibration with an oscilloscope, but I can only speculate.
ok thank
Any chance to make it work with a barcode reader? It emulates a keyboard but the esp32 don´t recognise it
@nogueira only if the barcode reader emulates a USB-LS device