Replies: 6 comments
-
you dont need USB host for webusb. however, we kinda recommend going with web serial instead of web usb because web usb is much harder to use. |
Beta Was this translation helpful? Give feedback.
-
I'm wondering then, what makes the S2 a candidate for tinyusb support but not the good old esp32? |
Beta Was this translation helpful? Give feedback.
-
webusb, USB serial, USB hid etc are using native USB device, which old esp32 does not have. CP210x on saola board is not used in this case, you may use it only for serial logs or to flash, but all USB device implementations work on native USB which is using pins 19 and 20 on S2. |
Beta Was this translation helpful? Give feedback.
-
you can use webusb with the S2....but we really recommend webserial for web-to-device interaction as it is so much easier to do and you can use your old esp32 :) |
Beta Was this translation helpful? Give feedback.
-
My experience with webserial on ubuntu 20.04 is not good. I have to remove cdc_acm driver every time i connect esp32-S2 with this comand: |
Beta Was this translation helpful? Give feedback.
-
Okay, thanks guys for answers & tips. I wish webserial was not an experimental feature of chrome, it'd make it more appealing. |
Beta Was this translation helpful? Give feedback.
-
Noob question here:
Will the webusb example work with e.g. ESP32-S2-Saola-1, even though the esp-idf does not support USB host functionality? Or is the USB host functionality not required for webusb?
Beta Was this translation helpful? Give feedback.
All reactions