jmdmahdi / ESP32-USB-TO-BLE

This project involves the creation of a Bluetooth adapter using an ESP32, enabling wireless connectivity for USB keyboards and mice. By leveraging the ESP32's capabilities, users can effortlessly connect their input devices to various devices without the constraint of physical cables.
MIT License
30 stars 2 forks source link

does i need USB host #2

Open Ashish-Coder12 opened 3 months ago

Ashish-Coder12 commented 3 months ago

i saw somewhere that i need a usb host to connect my usb keyboard to esp32 board because esp32 board does not understand usb connections

jmdmahdi commented 2 months ago

Yep! ESP32-S2/S3 can handle USB connections all by themselves, no extra stuff needed (ref). For other ESP32s, you've got two choices: either add a USB Host controller module or use a software implementation on GPIOs. In this project, we've gone with the software option, using the ESP32 USB Soft Host Arduino library.