Monday, November 8, 2010

NMEA Parser update

We have agreed on a protocol for the file that the microcontroller stores on the SD card.  The file will contain normal NMEA data, mixed in with depth measurements.  Since all NMEA data begins with a  '$' sign, the depth measurements are easily singled out.  Also, since the GPS only updates one time per second, and we are able to take several depth measurements during that time, the desktop application takes an average of all of the depth measurements taken during the GPS refresh time.  The regex that I am using to pull the GPS coordinates is


self.gpgga = re.compile('^\$GPGGA,\d+,(?P\d+\.\d+),[NS],(?P\d+\.\d+),[EW],\d,(?P\d+),.*,(?P\d+\.\d+),M');


Thursday, November 4, 2010

NMEA Parser

I wrote some nice code today to parse the NMEA input.  We are able to gather latitude, longitude, altitude, and depth data.  The code can be found in our svn repository.

Wednesday, October 27, 2010

SD Card socket

I mounted the SD card socket, and necessary resistors, onto a piece of perfboard.  Below is the pinout.  The pin numbers correspond to inputs on the Arduino for the SD card library we are using.


Below is the schematic 

Progress Report (Presentation)

Get the final draft here

Thursday, October 7, 2010

Desktop Application Update

Since Sage uses python, and I have experience using Python/Tk, it made sense to write the desktop application in Python.  The project has been codenamed Chamomile and has been imported into our SVN repository.  It's still very much a work in progress, but check out the screenshot below.

Thursday, September 30, 2010