Skip to content

kimio-kosaka/webUSB-arduino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Original site

https://github.com/webusb/arduino

WebUSB ❤ ️Arduino

This repository contains an Arduino library for WebUSB-enabling your sketches. Example sketches and JavaScript code are available in the demos directory.

Compatible Hardware

WebUSB requires an Arduino model that gives the sketch complete control over the USB hardware. This library has been tested with the following models:

  • Arduino Leonardo
  • Arduino/Genuino Micro
  • Arduino/Genuino Zero
  • Arduino MKR1000
  • Arduino MKRZero
  • Arduino MKRFox1200
  • Adafruit Feather 32u4

Getting Started

  1. Install at least version 1.8.5 of the Arduino IDE.

  2. Install WebUSB/arduino environment by Board Manager of Arduino IDE
    Use this package json --> https://kimio-kosaka.github.io/webUSB-arduino/package_webUSB_index.json

  3. Select WebUSB board
    Tools --> Board --> 'Arduino Micro (WebUSB)' or 'Arduino Leonardo (WebUSB)'

  4. Load up 'rgb' sketch
    File --> Examples --> WebUSB --> rgb

  5. Compile and upload it to your device.

  6. When the sketch is finished uploading you should see a notification from Chrome: "Go to https://kimio-kosaka.github.io/webUSB-arduino/index.html to connect." Try it out!

Windows: This notification is currently disabled in Chrome on Windows due to Chromium issue 656702. Implementation of new, more stable USB support for Windows is tracked on Chromium issues 422562 and 637404.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published