npm

Share private packages across your team with npm Orgs, now with simplified billing via the aws marketplace!Learn more »

johnny-five

0.2.2 • Public • Published

Johnny 5, is in progress.

Firmata powered Arduino programming framework. "Node-isassemble Stephanie!"

Demo Videos

Slider Controlled Panning Servo

Joystick Controlled Laser (pan/tilt) 1

Joystick Controlled Laser (pan/tilt) 2

Joystick Controlled Claw

Robot Claw

Joystick, Motor & Led

Getting Started

Preparing the Arduino

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

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

Getting Johnny Five:

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

A Simple Program

var five = require("johnny-five"),
    board, led;
 
board = new five.Board({
  debug: true
});
 
board.on("ready", function() {
 
  led = new five.Led({
    pin: 13
  });
 
  led.strobe( 100 );
});

Example Programs

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.

install

npm i johnny-five

Downloadsweekly downloads

1,275

version

0.2.2

license

MIT

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability