esp32 s2 tinyUSB
Posted: Sat May 30, 2020 2:45 am
I would like to share good news. Today i finished updating tinyUSB component to master branch and have prepared 3 useful and really cool examples https://github.com/chegewara/esp-idf/tr ... herals/usb:
- CDC usb, communication device class, which allows to connect with any terminal like putty and communicate with system, possible use case AT commands etc, alternative to UART, but using native USB,
- MSC, mass storage class, can be used like a common pendrive, for now example is using only internal ram (small ram disk), possible use case - OTA update by drag and drop, adding SD card will make even more use cases,
- webUSB, usb device controlled from web browser without using wifi, currently example is using website terminal to send message to esp32s2 and esp32s2 is echoing it, also its possible to connect with putty at the same time and text between website esp32 and putty, another example project what can be done with webusb https://github.com/sowbug/weblight, another use case is setup wifi credentials and all other device setting using cloud hosted website, without need to run AP
Still few more usb device types left, like HID or MIDI.
esp-idf PRs on the way, lets hope can be merged soon.
WebUSB: MSC disk: MSC disk benchmark:
- CDC usb, communication device class, which allows to connect with any terminal like putty and communicate with system, possible use case AT commands etc, alternative to UART, but using native USB,
- MSC, mass storage class, can be used like a common pendrive, for now example is using only internal ram (small ram disk), possible use case - OTA update by drag and drop, adding SD card will make even more use cases,
- webUSB, usb device controlled from web browser without using wifi, currently example is using website terminal to send message to esp32s2 and esp32s2 is echoing it, also its possible to connect with putty at the same time and text between website esp32 and putty, another example project what can be done with webusb https://github.com/sowbug/weblight, another use case is setup wifi credentials and all other device setting using cloud hosted website, without need to run AP
Still few more usb device types left, like HID or MIDI.
esp-idf PRs on the way, lets hope can be merged soon.
WebUSB: MSC disk: MSC disk benchmark: