Adafruit Industries

WebUSB is here! TinyUSB now has WebUSB support at Adafruit!


Listen Later

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:
https://github.com/hathach/tinyusb/blob/master/examples/device/webusb_serial/src/main.c
and here's what the webpage code looks like:
https://github.com/adafruit/Adafruit_TinyUSB_Arduino/tree/master/docs/examples/webusb-serial
We'll be adding this to our Arduino library shortly, and will follow up when we have the library committed and updated
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.
#usb #tinyusb #webusb
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
https://www.tinyusb.org
Visit the Adafruit shop online - http://www.adafruit.com
-----------------------------------------
LIVE CHAT IS HERE! http://adafru.it/discord
Adafruit on Instagram: https://www.instagram.com/adafruit
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
Join our weekly Show & Tell on G+ Hangouts On Air: http://adafru.it/showtell
New tutorials on the Adafruit Learning System: http://learn.adafruit.com/
-----------------------------------------
...more
View all episodesView all episodes
Download on the App Store

Adafruit IndustriesBy Adafruit Industries

  • 4.8
  • 4.8
  • 4.8
  • 4.8
  • 4.8

4.8

13 ratings


More shows like Adafruit Industries

View all
3D Printing Projects by Adafruit Industries

3D Printing Projects

11 Listeners

Raspberry Pi by Adafruit Industries

Raspberry Pi

23 Listeners

Ask an Engineer by Adafruit Industries

Ask an Engineer

2 Listeners

Collin's Lab by Adafruit Industries

Collin's Lab

3 Listeners

New Products by Adafruit Industries

New Products

3 Listeners

Show and Tell by Adafruit Industries

Show and Tell

0 Listeners

3D Hangouts by Adafruit Industries

3D Hangouts

1 Listeners

Circuit Playground by Adafruit Industries

Circuit Playground

0 Listeners