Simple node script to control a robot (e.g. psychotron) via WebSockets with a Blockly UI.
- Clone or download the repo
- cd into websocket-bot folder
- Install the dependencies:
npm install express socket.io serialport
- Run the server
node server.js [serial port] [baud rate]
- Point your browser to http://[host]:8080/
Note: Requires a modern (HTML5) browser. Tested on Chrome and Firefox. Speech features don't currently work on Firefox due to browser limitations. http://caniuse.com/#feat=speech-synthesis