GPS devices communicate via a NMEA (National Marine Electronic Association) spec which costs about $250.
see also:
Suppliers:
Garmin GPS 16/17 to DB9 PC serial port
interconnect:
Here is a Javascript function to calculate distance in miles. Change the multiplier to equal the number of your preferred units in one mile. For example, to get results in feet the multiplier would be 5280.
function calcDist(lon1,lat1,lon2,lat2) { var r = 3963.0; var multiplier = 1; return multiplier * r * Math.acos(Math.sin(lat1/57.2958) * Math.sin(lat2/57.2958) + Math.cos(lat1/57.2958) * Math.cos(lat2/57.2958) * Math.cos(lon2/57.2958 - lon1/57.2958)); }:
See:
file: /Techref/io/sensor/pos/gps.htm, 3KB, , updated: 2010/7/16 13:03, local time: 2024/10/4 11:09,
3.237.15.145:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://www.ecomorder.com/techref/io/sensor/pos/gps.htm"> Global Positioning Systems</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to www.ecomorder.com! |
.