28146 Parallax Inc, 28146 Datasheet - Page 10

MODULE RECEIVER PARALLAX GPS

28146

Manufacturer Part Number
28146
Description
MODULE RECEIVER PARALLAX GPS
Manufacturer
Parallax Inc
Datasheet

Specifications of 28146

Frequency
1.575GHz
Sensitivity
-139dBm
Modulation Or Protocol
GPS
Applications
GPS
Current - Receiving
115mA
Data Interface
PCB, Through Hole
Antenna Connector
On-Board, Chip
Voltage - Supply
4.5 V ~ 5.5 V
Operating Temperature
-40°C ~ 85°C
Package / Case
Module
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Features
-
Memory Size
-
Data Rate - Maximum
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Parallax GPS Receiver Module * Revision 1.1
' ----------------------------------------------------
Get_Lat:
' ----------------------------------------------------
Get_Long:
' ----------------------------------------------------
Get_Alt:
' ----------------------------------------------------
Get_Speed:
' ----------------------------------------------------
Get_Head:
GOSUB Correct_Local_Time_Date
DEBUG MoveTo, FieldLen, 9, DEC2 tmHrs, ":", DEC2 tmMins, ":", DEC2 tmSecs
DEBUG MoveTo, FieldLen, 10, DEC2 day, " "
eeAddr = (month - 1) * 4 + MonNames
GOSUB Print_Z_String
DEBUG " 20", DEC2 year
RETURN
SEROUT Sio, Baud, ["!GPS", GetLat]
SERIN
' convert decimal minutes to tenths of seconds
workVal = minutesD ** $0F5C
DEBUG MoveTo, FieldLen, 12, DEC3 degrees, DegSym, " ", DEC2 minutes, MinSym, " "
DEBUG DEC2 (workVal / 10), ".", DEC1 (workVal // 10), SecSym, " "
DEBUG "N" + (dir * 5)
' convert to decimal format, too
workVal = (minutes * 1000 / 6) + (minutesD / 60)
DEBUG " (", " " + (dir * 13), DEC degrees, ".", DEC4 workVal, " )
RETURN
SEROUT Sio, Baud, ["!GPS", GetLong]
SERIN
' convert decimal minutes to tenths of seconds
workVal = minutesD ** $0F5C
DEBUG MoveTo, FieldLen, 13, DEC3 degrees, DegSym, " ", DEC2 minutes, MinSym, " "
DEBUG DEC2 (workVal / 10), ".", DEC1 (workVal // 10), SecSym, " "
DEBUG "E" + (dir * 18)
' convert to decimal format, too
workVal = (minutes * 1000 / 6) + (minutesD / 60)
DEBUG " (", " " + (dir * 13), DEC degrees, ".", DEC4 workVal, " ) "
RETURN
SEROUT Sio, Baud, ["!GPS", GetAlt]
SERIN
DEBUG
workVal = alt / 10
' convert altitude from meters to feet
workVal = (workVal * 3) + (workVal ** $47E5) ' 1 meter = 3.2808399 feet
DEBUG " ( ", DEC workVal, " feet )
RETURN
SEROUT Sio, Baud, ["!GPS", GetSpeed]
SERIN
DEBUG MoveTo, FieldLen, 15, DEC (speed / 10), ".", DEC1 (speed // 10), " Knots
' convert speed from knots to MPH
workVal = speed + (speed ** $2699) ' 1 knot = 1.1507771555 MPH
DEBUG " ( ", DEC (workVal / 10), ".", DEC1 (workVal // 10), " MPH )
RETURN
SEROUT Sio, Baud, ["!GPS", GetHead]
SERIN
IF speed = 0 THEN
DEBUG
Sio, Baud, 3000, No_Response, [degrees, minutes, minutesD.HIGHBYTE, minutesD.LOWBYTE, dir]
Sio, Baud, 3000, No_Response, [degrees, minutes, minutesD.HIGHBYTE, minutesD.LOWBYTE, dir]
Sio, Baud, 3000, No_Response, [alt.HIGHBYTE, alt.LOWBYTE]
MoveTo, FieldLen, 14, DEC (alt / 10), ".", DEC1 (alt // 10), " meters
Sio, Baud, 3000, No_Response, [speed.HIGHBYTE, speed.LOWBYTE]
Sio, Baud, 3000, No_Response, [heading.HIGHBYTE, heading.LOWBYTE]
MoveTo, FieldLen, 16, "N/A
' remove tenths from altitude
' minutesD * 0.06
' minutesD * 0.06
"
"
' get address of month name
' print it
"
"
"
"
Page 10/11

Related parts for 28146