Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

C Library with voids to interface a 8051 to a gps

Status
Not open for further replies.

2000

Member level 5
Joined
May 14, 2001
Messages
87
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
764
hello friends,

I´d like to know if there is any C Library with voids to interface a 8051 to a gps.
Any help is welcome!

regards,

2000
 

mitesh

Full Member level 3
Joined
May 13, 2002
Messages
177
Helped
14
Reputation
28
Reaction score
7
Trophy points
1,298
Activity points
1,522
elektroda gps datalogger

Dear 2000
PM me i will send u total source code of GPS interface with 8051 microcontroller and Graphics LCD
 

kao

Newbie level 6
Joined
Oct 4, 2002
Messages
13
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
19
pgrmc garmin

mitesh said:
Dear 2000
PM me i will send u total source code of GPS interface with 8051 microcontroller and Graphics LCD
Can you Send me the source code?
Email:gaonet@163.net
 

ebenni

Advanced Member level 4
Joined
Jan 30, 2002
Messages
105
Helped
3
Reputation
6
Reaction score
2
Trophy points
1,298
Location
Turkey
Activity points
545
gps interfacing to microcontroller sample code

dear mitesh,
i need it . please send me too..
 

7rots51

Advanced Member level 4
Joined
May 17, 2002
Messages
1,184
Helped
25
Reputation
50
Reaction score
12
Trophy points
1,318
Activity points
9,651
8051 code library pin

Hi
The code is in ASM,Is there a GPS LIB code in C?
 

algilsan

Advanced Member level 4
Joined
Jan 20, 2002
Messages
116
Helped
7
Reputation
14
Reaction score
6
Trophy points
1,298
Location
chile
Activity points
1,078
c code library for 8051

it's very simple to make code to interface a GPS receiver, since they use NMEA standard. But if you have this routines written in C code why don't you post them here?

thank you
 

2000

Member level 5
Joined
May 14, 2001
Messages
87
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
764
8051 microcontroller interfacing with gps

hello friends,

actually I need to take $PGMRF but it´s not in the default strings that are transmited each 1 second. How to get it? I´ve tried with $PGRMO,PGRMF,1 CRLF that requests this string but it´s not working.
I´m omiting the checksum *hh is there any problem??
any help is welcome.

regards,

2000
 

eYe

Member level 4
Joined
Aug 12, 2001
Messages
79
Helped
5
Reputation
10
Reaction score
4
Trophy points
1,288
Activity points
607
c code for gps in microcontrollers

I have never heard about this TalkerID $PGRMO.
Is it sending to GPS or receiving from GPS?

If you send it out you should send chksum by xor all byte from '$' to '*'
(excluding $ and *)
 

mitesh

Full Member level 3
Joined
May 13, 2002
Messages
177
Helped
14
Reputation
28
Reaction score
7
Trophy points
1,298
Activity points
1,522
gps microcontroller code

I have GPS code in C for LCD and keypad Interface with datalogger
 

2000

Member level 5
Joined
May 14, 2001
Messages
87
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
764
gps timer 8051

Hello friends,

In the mean time we get the library, anyone could help me with this dam PPS signal??? I've already tried the $PGRMC,,,,,,,,,,,,2 command but it does not work... all the other PGRMC commands work fine... any ideas??? I'm using a garmin 35lvc type...

regads,

2000
 

eYe

Member level 4
Joined
Aug 12, 2001
Messages
79
Helped
5
Reputation
10
Reaction score
4
Trophy points
1,288
Activity points
607
nmea lib for microcontroller

I believe no $PGRMC.

Only $GPRMC.
=========================
$GPxxx

AAM - Waypoint arrival alarm
APA - Autopilot format A
APB - Autopilot format B (xte,steerto,arrivalcircle,arrivalperpendicular,
bearing (orig to dest), bearing (present to dest)
BOD - Bearing, origin to destination
BWC - Bearing and distance to waypoint, great circle
BWR - Bearing and distance to waypoint, rhumb line (overridden by BWC if available)
DBT - Depth below transducer
DPT - Depth of water
GGA - Global Positioning System Fix Data
GLL - Geographic position, latitude and longitude (and time)
GSA - GPS DOP and active satellites
GSV - Satellites in view
HDM - Heading, magnetic north
HDT - Heading, true north
HSC - Steer to heading
MTW - Mean water temperature
RMB - Recommended minimum navigation info when dest. waypoint is active
RMC - Recommended minimum specific GPS/Transit data
VTG - Track made good and ground speed
WCV - Waypoint closure velocity
WPL - Waypoint location
XTE - Cross-track error
XTR - Cross-track error, dead reckoning (overriden by XTE if available)


Recognized and supported proprietary sentences are:

PGRME - Garmin Proprietary Estimated Position Error
PGRMF - Garmin Proprietary Position Fix Sentence
PGRMM - Garmin Proprietary Map Datum Sentence
PGRMV - Garmin Proprietary Velocity Sentence
PGRMZ - Garmin Proprietary Altitude Information
PRWIZCH - Rockwell Zodiac Proprietary Channel Information
 

2000

Member level 5
Joined
May 14, 2001
Messages
87
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
764
8051 gps

sorry,

I meant GPRMC instead. But the command do not work to enable the PPS signal... any sugestions?$GPRMC,,,,,,,,,,,,2 and no good.

regards,

2000
 

eYe

Member level 4
Joined
Aug 12, 2001
Messages
79
Helped
5
Reputation
10
Reaction score
4
Trophy points
1,288
Activity points
607
$pgrmo,pgrmf,1

Hi, 2000

I am not really sure what are you doing.
As i know and work on it.

$GPRMS is a received message from GPS engine to decode by HOST.

PPS signal is for CTS pin to be checked from program or HOST that you got a signal for precision time adjustment.

Without PPS, you can set the GPS engine to send the signal every 1 - 99 second With $PGxxx (based on your GPS manufacturer)

Please describe more specific problem. and also give some example or error. I think many people will provide help...
 

2000

Member level 5
Joined
May 14, 2001
Messages
87
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
764
microcontroller c code for gps

hello eye and friends,

Let´s explain a little better, I need the PPS signal to be active to make a time base. In this equipment the time base is not for usig in a PC but in a 8051 ucontroller. I´ve bought a garmin gps35lvc gps but the PPS signal is not readly available from the corresponding pin. I´ve searched in the internet and found out that some gps do not have their PPS signal available from factory, this way a $PGRMC,,,,,,,,,,,,2<CR><LF> command must be sent to the module to enable the dam PPS pin. As long as the module receives a correct command it echoes back the same command. I´ve been using hyperterminal to access and send commands to the gps and it works well to baudrate select and all other commands, but the PPS is not working. I dont know whether the module is faulty or I´ve to send some more commands to enable the PPS.
Does anyone here have already worked on this gps using the PPS signal??? Any tip to enable this pin?? I´ve tried the garmin support but they simply dont repply my messages.

regards,

2000
 

vishalet

Newbie level 2
Joined
Nov 19, 2009
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
India
Activity points
1,289
Re: gps library for 8051

Hi mitesh can u mail me d codes for gps +lcd+8051
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top