Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Firmata based Arduino Framework

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 assets
Octocat-spinner-32 docs
Octocat-spinner-32 eg
Octocat-spinner-32 lib
Octocat-spinner-32 test
Octocat-spinner-32 tpl
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .npmignore
Octocat-spinner-32 LICENSE-MIT
Octocat-spinner-32 README.md
Octocat-spinner-32 grunt.js
Octocat-spinner-32 package.json
Octocat-spinner-32 parts.md
README.md

Node-isassemble Johnny-Five

Firmata powered JavaScript Arduino programming framework.

Johnny-Five artwork by Mike Sgier

Many fragments. Some large, some small.

Slider Controlled Panning Servo

Joystick Controlled Laser (pan/tilt) 1

Joystick Controlled Laser (pan/tilt) 2

Joystick Controlled Claw

Robot Claw

Joystick, Motor & Led

Setup and Assemble Arduino

  • Download Arduino IDE
  • Plug in your Arduino or Arduino compatible microcontroller via USB
  • Open the Arduino IDE, select: File > Examples > Firmata > StandardFirmata
  • Click the "Upload" button.

If the upload was successful, the board is now prepared and you can close the Arduino IDE.

Attention There is a known issue in where the Firmata protocol layer has issues freeing itself on the serial line which results in the program hanging in when it tries to connect. For now, the only way to get around the issue is to send a SIGINT ^C to kill the hanging program and simply run it again.

Hey you, here's Johnny!

Source Code:

git clone git://github.com/rwldrn/johnny-five.git && cd johnny-five

npm install

npm package:

Install the module with:

npm install johnny-five

Johnny-Five is...

var five = require("johnny-five"),
    board = new five.Board();

board.on("ready", function() {

  // Create an Led on pin 13 and strobe it on/off
  // Optionall set the speed; defaults to 100ms
  (new five.Led(13)).strobe();

});

Watch it here!

More Input

Contributing

All contributions must adhere to the the Idiomatic.js Style Guide, by maintaining the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.

Release History

(Nothing yet)

License

Copyright (c) 2012 Rick Waldron waldron.rick@gmail.com Licensed under the MIT license.

Something went wrong with that request. Please try again.