It's a big, big world out there and we don't want your robots getting lost, soooo...

The team is pleased to introduce everyone to the new GPS class for Johnny-Five. This class adds support for some of the most common GPS modules, receivers, breakouts and shields. It can report on current location, course, ground speed and satellite data. GPS is one of the first uses of firmata's brand new support for serial communication.

The following chip sets have been tested with the GPS class:

The following receiver modules have been tested with the GPS class:

The following breakouts have been tested with the GPS class:

GPS Example


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

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

  var gps = new five.GPS({
    breakout: "ADAFRUIT_ULTIMATE_GPS",
    pins: { rx: 11, tx: 10 }

  // If latitude, longitude, course or speed change log it
  gps.on("change", function() {
    console.log("  latitude   : ", this.latitude);
    console.log("  longitude  : ", this.longitude);

Please report any issues here.

Donovan Buck on March 14th 2016

Hi! The Johnny-Five community is building new projects every day. We made this newsletter to tell you about what's new, what's good, and what's next for Open Source robotics. Join us in exploring what we can make together.

Fork me on GitHub