Johnny-Five is the original JavaScript Robotics programming framework. Released by Bocoup in 2012, Johnny-Five is maintained by a community of passionate software developers and hardware engineers. Over 75 developers have made contributions towards building a robust, extensible and composable ecosystem.

Hello World!

The ubiquitous "Hello World" program of the microcontroller and SoC world is "blink an LED!". The following code demonstrates how this is done using the Johnny-Five framework.

  1. Install Node.js or io.js.
  2. Setup your board.
  3. npm install johnny-five
Arduino | Tessel 2 | BeagleBone | Intel Edison | Particle Photon | See All...
var five = require("johnny-five");
var board = new five.Board();

board.on("ready", function() {
  var led = new five.Led(13);
Browse more examples
<--TODO: I don’t know what this thing is.-->

Platform Support

Johnny-Five has been tested with a variety of Arduino-compatible Boards. For non-Arduino based projects, platform-specific IO Plugins are available. IO Plugins allow Johnny-Five code to communicate with any hardware in whatever language that platform speaks!

Arduino Uno SparkFun RedBoard Arduino Leonardo Arduino Mega Arduino Fio Arduino Micro Arduino Mini Arduino Nano Arduino Pro Mini BotBoarduino chipKit Uno32 Spider Robot Controller DFRobot Romeo Teensy 3 BeagleBone Black Blend Micro v1.0 Electric Imp April Intel Galileo Gen 1 Intel Galileo Gen 2 Intel Edison Arduino Intel Edison Mini SparkFun Edison GPIO Block SparkFun Arduino Block LightBlue Bean Linino One pcDuino3 Dev Board Pinoccio Scout Raspberry Pi 2 Model B Raspberry Pi Model A Plus Raspberry Pi Model B Plus Raspberry Pi Model B Rev 1 Raspberry Pi Model B Rev 2 Particle Core (Spark Core) Particle Photon Sparkfun Photon RedBoard Tessel 2

Cover of “Make: JavaScript Robotics”

JavaScript Robotics is on the rise. Rick Waldron, the creator of the Johnny-Five platform and lead author of Make: JavaScript Robotics, is at the forefront of this movement. This book brings together fifteen innovative programmers, each creating a unique Johnny-Five robot step-by-step, and offering tips and tricks along the way. Experience with JavaScript is a prerequisite.

Project authors: David Resseguie, Raquel Velez, Anna Gerber, Lyza Danger Gardner, Kassandra Perch, Susan Hinton, Andrew Fisher, Sara Gorecki, Julian David Duque, Jonathan Beri, Donovan Buck, Emily Rose, Bryan Hughes, Pawel Szymczykowski

Fork me on GitHub Fork me on GitHub