GithubHelp home page GithubHelp logo

krolow / arduinoparticles Goto Github PK

View Code? Open in Web Editor NEW
20.0 3.0 8.0 138 KB

Node.js + Canvas + Arduino + Javascript

Processing 5.88% JavaScript 80.48% HTML 7.73% C++ 5.90%
arduino canvas javascript

arduinoparticles's Introduction

ArduinoParticle

A simple example using node.js, canvas and javascript integrated with arduino.

This application depends of, express.js 3.x, socket.io and serialport. To install do:

cd node
npm install

To run the application, access the node folder and start the app.js

node app.js

After that you can access in your browser:

http://127.0.0.1:8090

Probably you will need edit the USB port, so go to app.js at line 6, and edit:

SerialPort('/dev/tty.usbserial-A800G0JO');

Demo at youtube: http://www.youtube.com/watch?v=6yl_jmYQLhM

If you have problems like this:

node.js:201
    throw e; // process.nextTick error, or 'error' event on first tick
Error: Could not load the bindings file. Tried:

Fix it like this:

npm install [email protected]
cd node_modules/serialport
node-gyp configure build

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.