Pages: [1]   Go Down
Author Topic: Fastrax UP501 Cold fix tooks too long.  (Read 816 times)
0 Members and 1 Guest are viewing this topic.
Athens, Greece
Offline Offline
Newbie
*
Karma: 0
Posts: 18
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello.

In my project, I have installed a Fastrax GPS (UP501).
It works OK, but it tooks TOO LONG for GPS fix. For example, today it needs more than 20' for fix.
I check with my 2 handheld GPSes (at the same position) and I had great reception (>7 satellites).

The hardware of the project consists of an ADXL345, the GPS, a SD card module and an Arduino Nano. They are powered from a 2 cell LiPO and a 7805 voltage regulator. While I'm testing I have no case. (Of course I have the GPS outdoors, for sky view.).
The software I guess is not a problem (as it works excellent, except the fix time).

Any ideas why it is sooooo slow?
What's your fix time? How long is normal?
« Last Edit: November 23, 2012, 04:15:17 pm by vegos » Logged


Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 549
Posts: 46113
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
It works OK, but it tooks TOO LONG for GPS fix. For example, today it needs more than 20' for fix.
Twenty feet for a fix doesn't sound bad at all.

Quote
The software I guess is not a problem (as it works excellent, except the fix time).
Worth looking at it, anyway.
Logged

Athens, Greece
Offline Offline
Newbie
*
Karma: 0
Posts: 18
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
It works OK, but it tooks TOO LONG for GPS fix. For example, today it needs more than 20' for fix.
Twenty feet for a fix doesn't sound bad at all.

20' (minutes) I guess are is too long period of time.

Quote
Quote
The software I guess is not a problem (as it works excellent, except the fix time).
Worth looking at it, anyway.

Here it is.

By the way, I will try to move the GPS 10cm away from the arduino/board, to see what's going on (maybe noise?)...
« Last Edit: November 23, 2012, 06:18:47 pm by vegos » Logged


Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 549
Posts: 46113
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
20' (minutes) I guess are is too long period of time.
Does it take 20 minutes every time? There is a lot of data that needs to be obtained from the satellites, but this only needs to happen each time a new satellite is encountered. The first time that you turn a new GPS on it takes a while to get all the data, because the GPS has never seen any of the satellites it is now finding.

Have you somehow programmed the GPS to not remember this data?
Logged

Athens, Greece
Offline Offline
Newbie
*
Karma: 0
Posts: 18
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Does it take 20 minutes every time? There is a lot of data that needs to be obtained from the satellites, but this only needs to happen each time a new satellite is encountered. The first time that you turn a new GPS on it takes a while to get all the data, because the GPS has never seen any of the satellites it is now finding.

Have you somehow programmed the GPS to not remember this data?

I just checked the settings. Nothing is saved and nothing is forced right now to the GPS. It just receives NMEA data.

BUT when I put it away (10cm) from the board, it looks that the GPS fix tooks just 40" (ok, that's normal). My current problem is that I need to go out with the laptop for debugging NMEA output, to see if everything works OK. (I have on the arduino a led to lit when GPS fix is present, and then save the data on SD. The led works, the SD recording not, but I don't know if it's a SD failure).
Logged


Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 549
Posts: 46113
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
The led works, the SD recording not, but I don't know if it's a SD failure).
A Nano has 2K of SRAM. The SD class needs 1/4 of that for a buffer to hold data to write to the SD card. The Serial class needs some. The SoftwareSerial class needs some. The TinyGPS class needs some. The other three libraries you use need some. Your sketch needs some.

Do you have enough to go around?

Logged

Athens, Greece
Offline Offline
Newbie
*
Karma: 0
Posts: 18
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

It's marginal but it (was) working good  smiley-razz
Logged


Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 549
Posts: 46113
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
It's marginal
Does "marginal" have a discrete value? Where did you measure it?
Logged

Athens, Greece
Offline Offline
Newbie
*
Karma: 0
Posts: 18
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I mean that I know that is overloaded, but I guess that as it's working (or at least, it was working) without any problems, it's ok.

But tomorrow (as it's almost 4:30am here) will try to remove some libraries, to check if that's the problem.


Thanks and goodnight,

Antonis.
Logged


Athens, Greece
Offline Offline
Newbie
*
Karma: 0
Posts: 18
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Update:

I remove the DHT11 library (in order to have more free memory) and still couldn't get a fix.
I put some cables on the GPS and remove it from the "board" for around 3 cm. And -voila-, GPS fix in 46 seconds.
Logged


Pages: [1]   Go Up
Jump to: