Version 1.0.0-26

Connecting Microcontrollers to Javascript web Pages

All you need is this demo webserial-and-polyfill.html

Super useful:
 chrome://device-log/ 

Super useful:
 chrome://usb-internals/ 
chrome://prefs-internals/ then search the output for
 usb_chooser_data
chrome://settings/content/usbDevices
for permissions

I have moved most of this to Web Polyfill

Also trying arrduino create agent here

Testing Web Browser WebSerial


Here is the latest sketch I am using. the xtx is for viewing the .ino is to download
  • arduino04-webserial.txt This arduino sketch can be viewed
  • arduino04-webserial.ino Click to download: Note: New ArduinoWebSerial testing code. Make sure in Arduino Serial Monitor you don't send a new-line
  • https://googlechromelabs.github.io/serial-terminal/ Kind of works.
  • 01 connects but nothing else
  • 02 fail code is useful
  • 03 fail
  • 04 fail
  • 05

    Testing Web Browser WebUSB

  • 01 started Jun11, 2022 for arduino 0234 nothing really working
  • 02 arduino
  • 03 arduino
    I switched to the XIAO since it suppossedly is ready for webUSB
  • 04 XIAO seeduino 0x2886, xiao 0x802F
  • 05 XIAO
  • 06 XIAO
  • 07 XIAO
  • 08 XIAO
  • good stuff here
  • https://hpssjellis.github.io/gery-web/blog/WebUSB/Example/code/index.html
  • github at https://github.com/hpssjellis/gery-web
  • https://hpssjellis.github.io/web-nrf52-dongle/web_test/index.html
  • github at https://github.com/hpssjellis/web-nrf52-dongle
  • https://hpssjellis.github.io/arduino-webusb/demos/index.html
  • github at https://github.com/hpssjellis/arduino-webusb
    adafruit of course does it well
  • https://adafruit.github.io/Adafruit_TinyUSB_Arduino/examples/webusb-serial/index.html
  • https://learn.adafruit.com/using-webusb-with-arduino-and-tinyusb/serial-communications-example
    Might be able to convert this.
  • github at https://github.com/hpssjellis/arduino-webusb/tree/gh-pages/demos
  • github at https://hutscape.com/tutorials/webusb-send

    Resources

    https://wicg.github.io/webusb/

    Testing WebBLE

  • https://hewittwill.github.io/WebBluetooth-Terminal/ Not my fork the main fork
  • github at https://github.com/hpssjellis/WebBluetooth-Terminal
    Adafruit dashboard is interesting
  • https://adafruit.github.io/Adafruit_WebBluetooth_Dashboard/

    OMG I already have webBLE it is working but only on Android and Desktop

  • https://hpssjellis.github.io/my-examples-of-web-BLE/public/index.html
    webpage
  • github at https://github.com/hpssjellis/my-examples-of-web-BLE

    Testing WebHID

  • github at https://github.com/robatwilliams/awesome-webhid