Problem with Venus GPS and TinyGPS Library

Hi,

I buyed the Venus GPS. When I use it with an Duemilanove with unplugged atmega chip, or with the FTDI Basic Breakout the GPS works when I read the data out with the Terminal. Also a special GPS Software works. When I do a cold start, the GPS needs about 30sec. to find the position. When the GPS doesn’t have a connection to any satellites, the LED is on, and when there is a connection, the LED flashes every second 1 time.

I wanted to try the example “test_with_gps_device” from the TinyGPS Library. But it doesn’t work. I changed the baudrate of the SoftwareSerial for the GPS to 9600.

I think the GPS gets no connection, because the LED didn’t flash. I tried it outside.

Then I wrote my own code, but it also didn’t work.

#include <TinyGPS.h>
#include <NewSoftSerial.h>

TinyGPS gps;
NewSoftSerial nss(2,3);

void setup(){
  Serial.begin(115200);
  nss.begin(9600);
  Serial.println("Ready... ");
}

void loop(){
  float lat, lon, speed, course;
  unsigned long fix_age, time, date;
  float chars;
  unsigned short sentences, failed_checksum;
  while(nss.available()){
    int c = nss.read();
    if(gps.encode(c)){
      long lat, lon;
      gps.f_get_position(&lat, &lon, &fix_age);
      gps.get_datetime(&date, &time, &fix_age);
      speed = gps.f_speed_kmph();
      course = gps.f_course();
    }
  }
  Serial.println(date);
  Serial.println(time);
  Serial.println(lon);
  Serial.println(lat);
}

What is wrong? What did other people with the Venus GPS do?

Can you help me please?

Philipp