Interfacing a Garmin GPS Receiver
Windmill software lets you collect data from Garmin GPS Receivers, and other instruments with an RS232 serial port, on a PC running Windows. The software is currently reduced from £145 to £50. Alternatively, subscribers to the Monitor newsletter (ISSN 1472-0221) can download free logging software: ComDebug. This lets you log data from one instrument and save it in a text file.
This page helps you get started with Windmill 7 Software.
- Run the Windmill ComDebug program and enter your Garmin's communication settings.
- Run the Windmill DDE Panel or Logger program to save and display data from your GPS.
After you have entered your configuration settings with ComDebug, you don't need to use this again and can go straight to the logging and display programs. More details on entering the configuration settings are below.
Follow the instructions in the overview of using Windmill ComDebug. When you come entering specific settings for the Garmin (point 3 onwards), return to this page and see our suggestions below. You might also find our Connecting a GPS Receiver to a Laptop PC page useful.
COM Port Settings
These must be the same as your GPS uses. If in doubt start with...
|Comm Port:||Select the port to which your instrument is connected.|
|Instrument Idle or Wait Time:||250 ms|
|Data Persistence Time:||5000 ms|
You should now see data from the GPS receiver in ComDebug's Terminal or Message Screen (see Trouble-Shooting below if not). Click the Parse button and enter instructions to extract the data from the GPS's message string.
|Prompt command:||Not generally needed|
|Example data string:||$GPRMC,hhmmss,A,llll.ll,N,yyyyy.yy,W,kk.k,tt.t,ddmmyy,mm.m,W*CS|
where lllll.ll is latitude and yyyyy.yy is longitude
|Example parsing to extract latitude:||Search for "$GPRMC"|
Ignore 10 characters
Extract Until comma
|Example parsing to extract longitude:||Search for "N,"|
Extract Until comma
Depth data is contained in a different data string, prefixed by $SDDPT
xxx.x is depth in metres
yyy.y is keel offset in metres
*CS is the check sum
To extract depth, in ComDebug's Parser window you could: Search for "$SDDPT," Extract until the next comma.
Now open Windmill DDE Panel
When you've finished with ComDebug use DDE Panel to show your data.
- From the File menu select Load Hardware Setup and choose the *.ims file you just saved.
- Connect your GPS channels. You should see the correct weight in DDE Panel.
- Proceed similarly for the Logger and Chart programs.
Getting the data into Excel or Mapping Programs
You can use the Windmill Logger program to collect data, and after collection has finished import it into Excel or your mapping program. Alternatively, you can collect data with Excel in real-time by using an Excel macro to read data from the Windmill DDE Panel. For more details see our Data Logging with Excel page.
If you don't see any data...
- Make sure that the GPS receiver is switched on and plugged into the PC's com (RS232) port.
- Check that the communication settings you entered in ComDebug match those currently in use by the GPS: COM port, baud rate, parity, etc.
- If using a USB-RS232 converter, its settings must also match those used by the GPS - read the USB-Serial converter tips page for details, especially point 7.
- If you still have problems then if possible try swapping the cable between the GPS and the PC for another to see if that is the problem.
- If still no luck see our Testing Serial Port Communication page.
If you still have problems and you have followed the above instructions, fill in this from with as many details as possible. Include the steps you have taken so far and any error messages that you have received.
Need More Information?
Try these pages.
- Technical Support
- Getting Started with ComDebug
- Serial Settings
- Connecting a GPS Receiver to a Laptop PC
- Data Logging from NMEA Devices
- Step-by-Step Guide to Sea-Floor Mapping
- Monitoring coastal dye dispersion
- Seabed Surveying and Mapping
- Investigating Pollution from Submarine Springs
- Monitor #30 - GPS
- Monitor #44 - GIS
- Monitor #52 - Interfacing NMEA Instruments over RS232
- Monitor #69 - Parsing Notes
- Subscribe Monitor
- COMIML RS232 Driver