Monday 22 February 2010

GPS: Working! (well, nearly)

So I got my GPS module working.. sort of. After stuffing around with it for ages it turns out I was just being daft, and after fixing several obvious problems in both hardware and software I was getting lovely NMEA codes out:
$GPGGA,202429.009,0000.0000,N,00000.0000,E,0,00,0.0,0.0,M,,,,0000*08
$GPGSV,3,1,12,27,89,000,33,16,66,000,,15,54,000,,25,50,000,*7C
$GPGSV,3,2,12,14,31,000,,19,28,000,,13,24,000,,17,21,000,*7F
$GPGSV,3,3,12,23,18,000,,05,08,000,,29,01,000,,02,-2,000,*68
The $GPGGA line is positioning data and the $GPGSV lines are data about the satellites we can see. Unfortunately from the flat we don't have enough sky view to be able to get a fix. The GPS is only tracking one satellite which is only good enough to give us the current time as shown in the first line (20:24:29).

Next plan is to write some software to do something useful with the data...

No comments:

Post a Comment