-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for ESP32 #2
Comments
Hi! Just my 2 cents. From what I gathered about the ESP32, only the ESP32-S2 supports Bluetooth HID Host. Can the S3 do that? |
Actually ESP32-S2 doesn't come with Bluetooth while it does have WiFi and USB but not the Bluetooth hardware itself. ESP nowadays has many various hardware, so it's easy to get confused. I've provided some hardware table here to give a better idea on their hardware capabilities.
Actually they have over 144 variants of this, for the full list of capabilities, you can see from here: https://products.espressif.com/#/product-selector?language=en&names= Regarding the ESP32-Sx series supporting USB HID, yes, ESP32-S2 and ESP32-S3 both supports USB HID, there's a good examples and documentation using TinyUSB with ESP32-S2 and ESP32-S3 here: https://github.com/espressif/esp-iot-solution/tree/usb/add_usb_solutions/examples/usb/device/usb_hid_device Makes me wonder if they support USB HID composite device (mouse + keyboard) example so that we can support both mouse and keyboard at the same time. Seeing that this project is more focused on Bluetooth HID proxy, I would say ESP32-S3 would be most suitable with USB OTG with HID examples and Bluetooth capabilities available as well. |
Sounds very promising then! Should you or @houkanshan make an all-on-one solution with an ESP32, I'll be happy go get my hand on one and do some tests with my two bluetooth keyboards (Logitech K810 and K380). If mouse support is added, I also have a Logitech M535 Bluetooth mouse. |
@Jerther I just realized that you were also asking about the BT HID host mode which is required to pair the keyboard/mouse into the ESP32, but doesn't seem like there's an existing example on BT HID host mode, but there's an example of using BT HID client mode (to act as a keyboard) https://gist.github.com/manuelbl/66f059effc8a7be148adb1f104666467 |
Please keep us updated, I am also interested in using the ESP32. Will keep an eye on this thread and maybe I can help with as well. |
@houkanshan @Jerther I found a code that has implemented a Bluetooth HID Host mode accepting keyboard as input into ESP32. It might be worth a look at their implementation. |
@houkanshan Did you get your S3? How is it? I hope you have some good news ;) |
Hey @Jerther , I got it. But unfortunately I was not able to connect it to my Magic Keyboard (Bluetooth 3.0) so I did not continue at that time. I might try again later. |
@houkanshan I'd like to contribute but my knowledge and most of all my spare time are fairly limited. I'm still willing to get my hand on a proper ESP32 and do some tests for you, but I would need some directions. I have access to a logitech K810 and a K380. If you're interrested, could you point me to the exact ESP32 make and model I should look for? |
Any progress?
I think Wemos S3 MINI or C3 Boards are good candidates for this: |
Great project, I love this project as this has been my pain point for sometime now and there's no solution in the market that is able to resolve this.
Is there any plans to adopt ESP32 with USB HID and Bluetooth as a single package solution for this? This would make it much leaner and smaller in package and if we turn off Wi-Fi, potentially it would be relatively low power as well.
The text was updated successfully, but these errors were encountered: