Serial Connection/ Arduino / Node.js

So I attempted to create some kind of serial connection between an arduino (with a button/LED) and node.js using javascript. I tried a few different sample codes I found on the internet, but could not get anything to work. Here is the documentation for the one I spent the most time trying to get to work:

(source: http://blog.safaribooksonline.com/2013/07/16/javascript-powered-arduino-with-johnny-five/)

Javascript: IMG_1505 IMG_1506 Screen Shot 2013-10-28 at 10.37.43 PM

 

I also have been trying to get this to work (“Arduino Particles”)  : http://cobaia.net/projects/2012/05/27/having-fun-with-websocket-using-nodejs-javascript-canvas-and-arduino/

github: https://github.com/krolow/ArduinoParticles

I wanted to do something like this for my midterm.

 

1 Comment

Filed under Homework, Uncategorized

One response to “Serial Connection/ Arduino / Node.js

  1. Pingback: phpduino-lib – Arduino Serial PHP/PC Library » Joshua Solanes

Leave a comment