Skip to content

pablop94/ArduinoParticles

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 serialport@1.0.6
cd node_modules/serialport
node-gyp configure build

About

Node.js + Canvas + Arduino + Javascript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 80.5%
  • HTML 7.7%
  • C++ 5.9%
  • Processing 5.9%