Skip to content

tomerweller/serial-to-socketio

Repository files navigation

#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

About

A simple node.js proxy between a serial connection and websockets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published