Monday, July 29, 2019

WebUSB is here! TinyUSB now has WebUSB support at Adafruit! @tinyusb #tinyusb #webusb #chrome @googlechrome @adafruit @reillyeon @arduino

WebUSB is here! TinyUSB now has WebUSB support at Adafruit (video). Following up on our earlier mass-storage support announcement for TinyUSB, we just added WebUSB support! You can now send and receive data over Chrome (or other WebUSB) browsers with Javascript or whatever else is your favorite web programming language. This can make for really interesting interactions where people don’t need any drivers or software to send/receive commands, or perhaps to expose some sort of REPL.

The example code is here – GitHub.

And here’s what the webpage code looks like – GitHub.

We’ll be adding this to our Arduino library shortly, and will follow up when we have the library committed and updated.

Great work Hathach!

tinyUSB currently supports SAMD21, SAMD51, nRF52840, various LPCs, and STM32F4 – more chips will be supported soon!

tinyusb is an open-source (BSD-licensed) USB Host/Device/OTG stack for embedded micro-controllers, especially ARM MCUs. It is designed to be user-friendly in term of configuration and out-of-the-box running experience.

In addition to running without an RTOS, tinyusb is an OS-awared stack that can run across RTOS vendors. For the purpose of eliminating bugs as soon as possible, the stack is developed using Test-Driven Development (TDD) approach. More documents and API reference can be found at http://docs.tinyusb.org


Related

  • Making an Internet of Things scale with PyPortal – Adafruit.
  • Use WebUSB to allow Microsoft MakeCode to download direct to Circuit Playground Express – Adafruit.
  • Adafruit interviews Numworks – Python Programmable calculator – Adafruit.
  • an arduino that shows up as a disk drive – ARDUINO DEVELOPER LIST.

No comments:

Post a Comment