• Just to elaborate on @allObjects post as I'm not sure it's that clear:

    • Do you have all the GNDs connected together?
    • The GPS TX pin needs to be connected to Puck.js RX (it's not TX->TX) - which with the inital code here is D28:

      Serial1.setup(9600,{tx:D29,rx:D28});
      var gps = require("GPS").connect(Serial1, function(data) {
      console.log("DATA", data);
      });
      

    You mentioned in your post that you're getting some data on D29 to it might just be that you have the pins swapped over :)

    You could also try:

    Serial1.setup(9600,{tx:D29,rx:D28});
    Serial1.on('data', function(d) {
      console.log(JSON.stringify(d));
    });
    

    Which will print out all data that was received - whether it's a valid GPS line or not. Might be handy for debugging?

About

Avatar for Gordon @Gordon started