SparkFun Forums 

Where electronics enthusiasts find answers.

Tips and questions relating to the GPS modules from SFE
By Lyinginbedmon
I am presently trying to imitate a Find Home Detector seen on, with a couple improvements, but I'm having trouble getting a response from the GPS Minimod I'm using.

I have an LED ring (Mayhew labs) indicating the compass module readout and an LCD screen giving a text-based readout of the same bearing (for the moment, it'll show distance later on). I looked around for some code related to the Minimod that I could reverse engineer to get what I need, but it doesn't seem all that common.

Currently, the Minimod is hooked up to VCC to D24, Gnd on Gnd, and TX to D22 on my Arduino Mega 2560. What I need to find out are the coding requirements for using it, and ideally some code examples of its usage.
Code: Select all
#include <NewSoftSerial.h>
#include <LiquidCrystal.h>

NewSoftSerial gps(22, 24);
LiquidCrystal lcd(7, 8, 9, 10, 11, 12);

void setup()
  lcd.begin(16, 2);
  pinMode(5, OUTPUT);
  analogWrite(5, 90);
  pinMode(13, OUTPUT);

void loop()
  if (gps.available()) {
    lcd.print(, BYTE);
  else {
    lcd.print("No data");

void blink() {
  digitalWrite(13, HIGH);
  digitalWrite(13, LOW);
This is the current code I'm working with, but all it ever returns is No data and the GPS lock LED never initiates.