Skip to content
 
 

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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;

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:

$ 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:

$ 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

The MIT License

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

About

A web FrontEnd for Arduino

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages