Firmata powered JavaScript Arduino programming framework.
Johnny-Five artwork by Mike Sgier
- 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.
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.
git clone git://github.com/rwldrn/johnny-five.git && cd johnny-five
npm install
Install the module with:
npm install johnny-five
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();
});
- Accelerometer Pan Tilt
- Accelerometer
- Board Multi
- Board
- Boe Test Servos
- Button Options
- Button
- Claw
- Continuous Clock
- Continuous
- Gp2y0d805z0f
- Hmc5883l
- Ir
- Joystick Claw
- Joystick Laser
- Joystick Motor Led
- Joystick
- Laser
- Lcd
- Led Fade
- Led On Off
- Led Pulse
- Led Rgb
- Led Strobe
- Magnetometer North
- Magnetometer Servo
- Magnetometer
- Motor
- Navigator Joystick
- Navigator Ping
- Navigator
- Piezo
- Ping Radar
- Ping
- Pir
- Potentiometer
- Proximity
- Radar
- Repl
- Sensor Fsr Servo
- Sensor Fsr
- Sensor Ir Led Receiver
- Sensor Slider
- Sensor
- Servo Array
- Servo Diagnostic
- Servo Digital
- Servo Dual
- Servo Tutorial
- Servo
- Slider Pan
- Slider Servo Control
- Socket
- Sonar Scan
- Sonar
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.
(Nothing yet)
Copyright (c) 2012 Rick Waldron [email protected] Licensed under the MIT license.