Pure software implementation of USB LS HOST stack for ESP32 chip. Now we can connect usb keyboard,mouse and joystick direct to ESP32 board
https://github.com/sdima1357/esp32_usb_soft_host
esp32 USB-LS pure software host thru general IO pins. Up to 4 HID devices simultaneously.
board ~$3 :https://www.aliexpress.com/premium/LOLIN32.html or any of https://www.aliexpress.com/premium/ESP32.html
usb connectors(for example): https://www.aliexpress.com/item/1005002027124387.html
//set right esp32 env for me it:
export IDF_PATH=$HOME/esp/esp-idf
source $HOME/esp/esp-idf/export.sh
//connect the board, build & flash
git clone https://github.com/sdima1357/esp32_usb_soft_host
cd esp32_usb_soft_host/usb_test/
make flash monitor
ESP32 software USB host can be connected to a mouse, keyboard, and joystick using common IO pins. Up to four USB-LS HID (keyboard mouse joystick) devices can be connected at once. USB LS HOST stack implementation for ESP32 chip done entirely through software. We can now directly connect the USB joystick, keyboard, and mouse to the ESP32 board.