Send serial commands to your project from any device with a headphone jack that supports HTML5 and JavaScript. Does potentially require a few components to be added to your project. Designed for reliable results by default, but allows many adjustments. Uses 9600 8N1 by default. The baud rate is easily changed. The library is heavily commented to assist with any tweaking you want to do.
For schematics of how to connect to your MCU/MPU, see http://www.robots-everywhere.com/re_wiki/pub/web/Cookbook.AudioSerial.html
To add this library to your webpage, include this.
<script src='https://audioserial.sourceforge.io/serial-1.0.js'></script> or
<script src='http://audioserial.sourceforge.io/serial-1.0.js'></script>
To see a working demo, click here.
http://audioserial.sourceforge.io/serialdemo.html
Features
- Works with any device with a headphone jack that supports HTML5 and JavaScript.
- Lets you send serial commands to your project.
- Tested with Arduino and USB UART.
- Easily customized.