+

+node-webduino

+ +

A web FrontEnd for Arduino. Real-time I/O monitoring and controlling in your browser.

+ +

arduino

+ +

+Installation

+ +

See http://nodejs.org on how to setup Node, NPM and CoffeeScript, then clone +this repository and prepare it for use with:

+ +
$ git clone https://github.com/coopermaa/node-webduino
+$ cd node-webduino
+$ npm install
+
+ +

+Usage

+ +

Upload Standard Firmata to your Arduino. Better to change samplingInterval from +19ms to larger, for example 50ms. For Arduino Mega, 100ms is sugggested.

+ +
int samplingInterval = 50;
 
-

If you're using the GitHub for Mac, simply sync your repository and you'll see the new branch.

+

You'll need to adjust the name of the serial port to match your setup in the +file app.coffee, then start the server using either of these:

-

-Designer Templates

+
$ coffee app.coffee
+$ nodemon app.coffee
+
+ +

Then point your browser at http://localhost:3000/.

+ +

Here is a screencut of node-webduino for Arduino UNO:

+ +

screencut

+ +

+Dockerized node-webduino

+ +

Suppose your Arduino is on /dev/ttyS1, then save the alias setting below to ~/.profile +or ~/.bashrc:

-

We've crafted some handsome templates for you to use. Go ahead and continue to layouts to browse through them. You can easily go back to edit your page before publishing. After publishing your page, you can revisit the page generator and switch to another theme. Your Page content will be preserved if it remained markdown format.

+
$ alias node-webduino="sudo docker run -d --privileged \
+   -v /dev/ttyS1:/dev/ttyACM0 \
+   -p 3000:3000 coopermaa/node-webduino"
+
+ +

Then run following to start node-webduino:

+ +
$ node-webdunio
+
+ +

+License

-

-Rather Drive Stick?

+

The MIT License

-

If you prefer to not use the automatic generator, push a branch named gh-pages to your repository to create a page manually. In addition to supporting regular HTML content, GitHub Pages support Jekyll, a simple, blog aware static site generator written by our own Tom Preston-Werner. Jekyll makes it easy to create site-wide headers and footers without having to copy them across every page. It also offers intelligent blog support and other advanced templating features.

+

Credits: Developers of node.js, Arduino, SocketStream, AngularJS, firmata and +people who involved in improving Web technologies.

-

-Authors and Contributors

+ -

-Support or Contact

+