Mega 2560, GPS logger and Lassen IQ

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
menkar
 
Posts: 2
Joined: Sat Feb 05, 2011 12:45 pm

Mega 2560, GPS logger and Lassen IQ

Post by menkar »

Hi all,

I'm new to the Arduino. I have the Mega2560 with the GPS Logger with the Lassen IQ. The logger is working, I do have files created on the SD card, but no GPS data on the Serial monitor. I'm now tryging for more than 2 weeks and still don't have any data out of the Lassen. Nothing on the Serial monitor.

I'm using the new SoftSerial 11 and nothing ! I even bought a second GPS module to be sure the first one was not dead. For now I'm just trying to get some data out of that thing.

Any help will be appreciated.

Thanks

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: Mega 2560, GPS logger and Lassen IQ

Post by adafruit »

use an oscilloscope or logic analyzer (or similar) to check the TX and RX pins, are you seeing data coming out at all?

menkar
 
Posts: 2
Joined: Sat Feb 05, 2011 12:45 pm

Re: Mega 2560, GPS logger and Lassen IQ

Post by menkar »

HI,

Unfortunatly I don't have an oscilloscope.

But i finally got some data, but on pin 50 and 51, not on any UART !

Here is the code I'm using :

Code: Select all

#include <SoftwareSerial.h>

SoftwareSerial mySerial(50, 51);

void setup()  
{
  Serial.begin(57600);
  Serial.println("Goodnight moon!");

  // set the data rate for the SoftwareSerial port
  mySerial.begin(4800);
  
  pinMode(4, OUTPUT);
  digitalWrite(4, LOW);
}

void loop() // run over and over
{
  if (mySerial.available())
    Serial.print((char)mySerial.read());
}


Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino Shields from Adafruit”