GPS 11058

Hi, i had bought a Venus GPS with SMA Connector and an antenna GPS Embedded SMA as shown below:

i connected them to my Arduino UNO:
-3.3v power supply to 3.3v of Venus GPS,
-Tx0 pin of Venus GPS to RX of Arduino UNO,
-GND to GND

However, the red led of my Venus GPS did light up but there is no blinking and this is what i get in my serial monitor:
Lat: 0000.0000N Long: 00000.0000E.
(i got my code from the tutorial of Simon Monk).

can anyone tell me what's wrong with my circuit? thanks!

Tx0 pin of Venus GPS to RX of Arduino UNO

Which pin number is that on the Arduino ?

-Tx0 pin of Venus GPS to 10 of Arduino UNO,

Hook a battery to the aduino and take it outside or try near a window it looks the the gps unit is not getting a fix. Remember it can take a minute or two to get a fix.

Mark

Its steel the same..

-3.3v power supply to 3.3v of Venus GPS,

The 3.3V pin on the Arduino is not intended to provide much current. The GOS may need more than the Arduino can supply.

Post your code here. Don't expect people to go looking for it.

Take it outside and wait at least ten minutes.

This GPS only requires a max of 90mA so I don't think powers the issue here.

Try the following

Write some code to read from the software serial and copy the data to serial. Then let us see what you get on the serial monitor. This we can see what the GPS is doing without "Dr Monks" code getting in the way.

Here some code which should do the job!

#include <SoftwareSerial.h>

SoftwareSerial gpsSerial(10, 11); // RX, TX (TX not used)

void setup()
{
  Serial.begin(9600);
  gpsSerial.begin(9600);
}

void loop()
{
  if (gpsSerial.available()>0)
  {
    Serial.write(gpsSerial.read());
  }
}

Mark

This GPS only requires a max of 90mA so I don't think powers the issue here.

From: http://arduino.cc/en/Main/ArduinoBoardUno

DC Current for 3.3V Pin 50 mA

90 mA could be a problem.

DC Current for 3.3V Pin 50 mA

That's not a misprint is it :astonished:

Mark

That's not a misprint is it

No. The 3.3V regulator is not intended to provide a lot of power. Generally, the GPS is expected to deal with the 5V that the Arduino puts out, passing it through a beefier 3.3V regulator, if appropriate.

I haven't looked at this GPS in detail but my Venus GPS (not a Sparkfun breakout) has 3.3v its lowest possible voltage!.

Mark

holmes4:

DC Current for 3.3V Pin 50 mA

That's not a misprint is it :astonished:

Mark

could be : on this datasheet, the LP2885 is rated 150mA max
http://www.nxp.com/documents/data_sheet/LP2985-XX_3.pdf

edit : anyway, I'd use PaulS advice and power it with a 3.3V reg. :wink:

holmes4:
This GPS only requires a max of 90mA so I don't think powers the issue here.

Try the following

Write some code to read from the software serial and copy the data to serial. Then let us see what you get on the serial monitor. This we can see what the GPS is doing without "Dr Monks" code getting in the way.

Here some code which should do the job!

#include <SoftwareSerial.h>

SoftwareSerial gpsSerial(10, 11); // RX, TX (TX not used)

void setup()
{
  Serial.begin(9600);
  gpsSerial.begin(9600);
}

void loop()
{
  if (gpsSerial.available()>0)
  {
    Serial.write(gpsSerial.read());
  }
}




Mark

Copy and Paste would be much better than a screen print. But according to the GPGGA message you have no fix and it seems that your GPS is set to give lat 0 N long, 0 E as a default.

Good news, the power seem to be OK.

Mark

$GPGGA,120003.000,0000.0000,N,00000.0000,E,0,00,0.0,0.0,M,0.0,M,,00006D
$GPGSA,A,1,,,,,,,,,,,,,0.0,0.0,0.0
30
$GPRMC,120003.000,V,0000.0000,N,00000.0000,E,000.0,000.0,280606,,,N7C
$GPVTG,000.0,T,,M,000.0,N,000.0,K,N
02
$GPGGA,120004.000,0000.0000,N,00000.0000,E,0,00,0.0,0.0,M,0.0,M,,00006A
$GPGSA,A,1,,,,,,,,,,,,,0.0,0.0,0.0
30
$GPRMC,120004.000,V,0000.0000,N,00000.0000,E,000.0,000.0,280606,,,N7B
$GPVTG,000.0,T,,M,000.0,N,000.0,K,N
02
$GPGGA,120005.000,0000.0000,N,00000.0000,E,0,00,0.0,0.0,M,0.0,M,,00006B
$GPGSA,A,1,,,,,,,,,,,,,0.0,0.0,0.0
30
$GPRMC,120005.000,V,0000.0000,N,00000.0000,E,000.0,000.0,280606,,,N7A
$GPVTG,000.0,T,,M,000.0,N,000.0,K,N
02
$GPGGA,120006.000,0000.0000,N,00000.0000,E,0,00,0.0,0.0,M,0.0,M,,000068
$GPGSA,A,1,,,,,,,,,,,,,0.0,0.0,0.0
30
$GPRMC,120006.000,V,0000.0000,N,00000.0000,E,000.0,000.0,280606,,,N79
$GPVTG,000.0,T,,M,000.0,N,000.0,K,N
02
$GPGGA,120007.000,0000.0000,N,00000.0000,E,0,00,0.0,0.0,M,0.0,M,,000069
$GPGSA,A,1,,,,,,,,,,,,,0.0,0.0,0.0
30
$GPRMC,120007.000,V,0000.0000,N,00000.0000,E,000.0,000.0,280606,,,N78
$GPVTG,000.0,T,,M,000.0,N,000.0,K,N
02
$GPGGA,120008.000,0000.0000,N,00000.0000,E,0,00,0.0,0.0,M,0.0,M,,000066
$GPGSA,A,1,,,,,,,,,,,,,0.0,0.0,0.0
30
$GPRMC,120008.000,V,0000.0000,N,00000.0000,E,000.0,000.0,280606,,,N77
$GPVTG,000.0,T,,M,000.0,N,000.0,K,N
02
$GPGGA,120009.000,0000.0000,N,00000.0000,E,0,00,0.0,0.0,M,0.0,M,,000067
$GPGSA,A,1,,,,,,,,,,,,,0.0,0.0,0.0
30
$GPRMC,120009.000,V,0000.0000,N,00000.0000,E,000.0,000.0,280606,,,N76
$GPVTG,000.0,T,,M,000.0,N,000.0,K,N
02
$GPGGA,120010.000,0000.0000,N,00000.0000,E,0,00,0.0,0.0,M,0.0,M,,00006F
$GPGSA,A,1,,,,,,,,,,,,,0.0,0.0,0.0
30
$GPRMC,120010.000,V,0000.0000,N,00000.0000,E,000.0,000.0,280606,,,N7E
$GPVTG,000.0,T,,M,000.0,N,000.0,K,N
02
$GPGGA,120011.000,0000.0000,N,00000.0000,E,0,00,0.0,0.0,M,0.0,M,,00006E
$GPGSA,A,1,,,,,,,,,,,,,0.0,0.0,0.0
30
$GPRMC,120011.000,V,0000.0000,N,00000.0000,E,000.0,000.0,280606,,,N7F
$GPVTG,000.0,T,,M,000.0,N,000.0,K,N
02
$GPGGA,120012.000,0000.0000,N,00000.0000,E,0,00,0.0,0.0,M,0.0,M,,00006D
$GPGSA,A,1,,,,,,,,,,,,,0.0,0.0,0.0
30
$GPRMC,120012.000,V,0000.0000,N,00000.0000,E,000.0,000.0,280606,,,N7C
$GPVTG,000.0,T,,M,000.0,N,000.0,K,N
02
$GPGGA,120013.000,0000.0000,N,00000.0000,E,0,00,0.0,0.0,M,0.0,M,,00006C
$GPGSA,A,1,,,,,,,,,,,,,0.0,0.0,0.0
30
$GPRMC,120013.000,V,0000.0000,N,00000.0000,E,000.0,000.0,280606,,,N7D
$GPVTG,000.0,T,,M,000.0,N,000.0,K,N
02
$GPGGA,120014.000,0000.0000,N,00000.0000,E,0,00,0.0,0.0,M,0.0,M,,00006B
$GPGSA,A,1,,,,,,,,,,,,,0.0,0.0,0.0
30
$GPRMC,120014.000,V,0000.0000,N,00000.0000,E,000.0,000.0,280606,,,N7A
$GPVTG,000.0,T,,M,000.0,N,000.0,K,N
02
$GPGGA,120015.000,0000.0000,N,00000.0000,E,0,00,0.0,0.0,M,0.0,M,,00006A
$GPGSA,A,1,,,,,,,,,,,,,0.0,0.0,0.0
30
$GPRMC,120015.000,V,0000.0000,N,00000.0000,E,000.0,000.0,280606,,,N7B
$GPVTG,000.0,T,,M,000.0,N,000.0,K,N
02
$GPGGA,120016.000,0000.0000,N,00000.0000,E,0,00,0.0,0.0,M,0.0,M,,000069
$GPGSA,A,1,,,,,,,,,,,,,0.0,0.0,0.0
30
$GPRMC,120016.000,V,0000.0000,N,00000.0000,E,000.0,000.0,280606,,,N78
$GPVTG,000.0,T,,M,000.0,N,000.0,K,N
02
$GPGGA,120017.000,0000.0000,N,00000.0000,E,0,00,0.0,0.0,M,0.0,M,,000068
$GPGSA,A,1,,,,,,,,,,,,,0.0,0.0,0.0
30
$GPRMC,120017.000,V,0000.0000,N,00000.0000,E,000.0,000.0,280606,,,N79
$GPVTG,000.0,T,,M,000.0,N,000.0,K,N
02
$GPGGA,120018.000,0000.0000,N,00000.0000,E,0,00,0.0,0.0,M,0.0,M,,000067
$GPGSA,A,1,,,,,,,,,,,,,0.0,0.0,0.0
30
$GPRMC,120018.000,V,0000.0000,N,00000.0000,E,000.0,000.0,280606,,,N76
$GPVTG,000.0,T,,M,000.0,N,000.0,K,N
02
$GPGGA,120019.000,0000.0000,N,00000.0000,E,0,00,0.0,0.0,M,0.0,M,,000066
$GPGSA,A,1,,,,,,,,,,,,,0.0,0.0,0.0
30
$GPRMC,120019.000,V,0000.0000,N,00000.0000,E,000.0,000.0,280606,,,N77
$GPVTG,000.0,T,,M,000.0,N,000.0,K,N
02
$GPGGA,120020.000,0000.0000,N,00000.0000,E,0,00,0.0,0.0,M,0.0,M,,00006C
$GPGSA,A,1,,,,,,,,,,,,,0.0,0.0,0.0
30
$GPRMC,120020.000,V,0000.0000,N,00000.0000,E,000.0,000.0,280606,,,N7D
$GPVTG,000.0,T,,M,000.0,N,000.0,K,N
02

So the GPS seems to work, and it sends datas :slight_smile:
What you should do know is try it outside (direct sky sight ), and wait until these "0000.0000" values change. Remember that the first time, it may take a while (sometimes more than 10mn ! ) before the GPS gets a valid fix . Next ones will be faster :wink:

Something is weird anyway : it seems to send the right hour (it's UTC time, did your try match with it ? ), but the date is false.
When I start mine inside, and it can't fix, the first GPRMC sentences contain empty fields for anything, including Time and Date, then it sends the right Time and Date, even if no valid fix is obtained . I've never received such a wrong date.

This data sheet http://www.hobbytronics.co.uk/datasheets/sparkfun/GP-635T-121130.pdf is not for your GPS but it does contain an explanation of the messages.

You only need 1 Sat to get the time but many (4?) to get a fix.

Mark

I think the date and time are just defaults in the chips firmware.

Mark

it was work like 1 hour and still the same