tobozo / ESP32-USB-Soft-Host

An Arduino wrapper to @sdima1357's usb_soft_host esp-idf example
GNU Affero General Public License v3.0
265 stars 42 forks source link

Are Wemos Lolin ESP32-S3 with integrated USB-OTG connector compatible ? #49

Open M3te0r opened 4 months ago

M3te0r commented 4 months ago

Hi, I'm a fairly beginner in the esp scene but I have a project to use a old Razer Nostromo Keypad as a "programmable macro keypad"

But first I want to try with a dumb spare keyboard I have

I have some Wemos LOLIN ESP32-S3 (+mini) ( => https://www.wemos.cc/en/latest/s3/s3.html ) at hand and wanted to use the integrated USB-OTG port to plug my keyboard in it...but it doesn't seem to work

From the wemos datasheet D+/D- are on GPIO19/20 but they do not appear on the board itself, are the 19/20 pin internally linked to USB-OTG...idk

Or do I have to use an USB breakout ? But what about the 19/20 pins for D+/D- then ? Is the USB-OTG connector even usable as host for that purpose ?

I'm new to this so if someone could help me understand what's going on...I've seen other S3 devkit with 19/20 pins (D+/D-) + jumper on the back with USB-OTG label like this one : https://fr.aliexpress.com/item/1005004637451669.html?spm=a2g0o.productlist.main.7.1bb4lrB5lrB5VG&algo_pvid=72f72592-110c-4d9f-9796-a3915fba881f&algo_exp_id=72f72592-110c-4d9f-9796-a3915fba881f-3&pdp_npi=4%40dis%21EUR%213.50%213.50%21%21%213.71%213.71%21%402103847817090586028926195ed234%2112000036725496197%21sea%21FR%214009116193%21&curPageLogUid=sZIBwRg1ozyj&utparam-url=scene%3Asearch%7Cquery_from%3A

Videos of attached keyboard projects I found : https://www.youtube.com/watch?v=WPlPRkPx1_8 https://www.youtube.com/watch?v=gg58sClHjIg

tobozo commented 4 months ago

hi,

may I suggest you try the USB_Example with one of those connected the pins 15/16 just to see if your dumb spare keyboard and the Razer Nostromo Keypad get detected.

I couldn't find a lot of information on the Razer Nostromo Keypad, its compatibility with USB 1.0 should be confirmed before thinking about using ESP32-USB-Soft-Host.