A simple node.js proxy between a serial connection and websockets
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
static cleanup Nov 20, 2015
.gitignore init Nov 11, 2014
README.md binarize Nov 26, 2014
app.js improve documentation Nov 20, 2015
binarize_screenshot.gif binarize Nov 26, 2014
led_array_screenshot.gif binarize Nov 26, 2014
package.json upgrade serial port package Nov 20, 2015
temp_screenshot.png add output Nov 19, 2014

README.md

#Serial to SocketIO This project demonstrates how to implement a thin proxy server in node.js (using expressjs) that relays data to/from the serial port from/to to web clients via socket.io.

##Usage ###install prerequisites

    npm install

###start

    node app.js <serial_port>

You can now access the demos at http://127.0.0.1:3000.

There are three demos in the project: ####1. Input. reading temperatures from a board matching Neil Gershenfeld's hello.temp.45 example (board, code).

Screenshot

####2. Output. writing to a custom led array board (board, code).

Screenshot

####3. Another Output. Writing a byte to a chain of boards. writing to a custom array of led boards (board, code).

Screenshot