Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics 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.

microcontroller interfacing with GPS

Status
Not open for further replies.

mr_anderson

Advanced Member level 4
Full Member level 1
Joined
Jan 23, 2007
Messages
100
Helped
5
Reputation
10
Reaction score
4
Trophy points
1,298
Activity points
2,005
gps microcontroller

Hi
i want to interfac a PIC microcontroller to a GPS so i can read the incoming data from the GPS (coordinates), any ideas, similar work, suggestions, libraries.
thank you.
 

Rajeshwariembedded

Newbie level 6
Newbie level 6
Joined
Jun 2, 2008
Messages
14
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,397
microcontroller gps

Which type of GPS, you are going to interface. u can split the coordinates value separately from the whole data. Explain me what you need
 

mr_anderson

Advanced Member level 4
Full Member level 1
Joined
Jan 23, 2007
Messages
100
Helped
5
Reputation
10
Reaction score
4
Trophy points
1,298
Activity points
2,005
gps microcontrollers

i donot have a specific type frankly i would be very grateful if u can recomende me a particular one.
thank you
 

saeed_pk

Full Member level 4
Full Member level 4
Joined
May 20, 2006
Messages
237
Helped
35
Reputation
68
Reaction score
28
Trophy points
1,308
Location
Islamabad, Pakistan
Activity points
2,655
gps interfacing with microcontroller

I suggest you to interface Garmin GPS 18-PC in NMEA format it is Cheaper and easy to use. use PIC MCU for Data Acquisition and Control
 

    mr_anderson

    Points: 2
    Helpful Answer Positive Rating
    V

    Points: 2
    Helpful Answer Positive Rating

septer012

Junior Member level 2
Junior Member level 2
Joined
Jun 17, 2008
Messages
20
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,281
Activity points
1,363
gps microcontroller interface

Here are tutorials for you.

https://www.kronosrobotics.com/Projects/GPS.shtml

With these, I learned all about doing what you are trying to do. First to learn though, i connected my GPS module to my computer and used MATLAB to understand how the data system works, then I redid it.
 

Slayerza

Full Member level 5
Full Member level 5
Joined
Oct 22, 2005
Messages
295
Helped
27
Reputation
54
Reaction score
5
Trophy points
1,298
Location
South Africa
Activity points
3,462
microcontroller interfacing

You could also use a uBlox GPS unit that interfaces with a standard serial interface.
 

mohit1

Newbie level 2
Newbie level 2
Joined
Jan 14, 2009
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,291
interfacing gps with microcontroller

hi .. i am doing a vechile tracking system in which i am planning to use the garmin gps with pic microcontroller only....can u help me in finding the circuit as wel as coding i wil be highly grateful.... i wil gone thrgh tutorials linked in this page ...but i stil cant find ...plzzz help guys...
 

saeed_pk

Full Member level 4
Full Member level 4
Joined
May 20, 2006
Messages
237
Helped
35
Reputation
68
Reaction score
28
Trophy points
1,308
Location
Islamabad, Pakistan
Activity points
2,655
gps microcontroler

I had done vehicle navigation and tracking using
PIC16F628A
PIC18F452
and Garmin 18 PC GPS

it is more about algorithm then circuit.
what kinda techniquie will u follow?
 

wavelet01

Newbie level 1
Newbie level 1
Joined
Apr 29, 2009
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,284
gps module microcontroller

hi I want tı do gsm with pic project with modul xt55 where ı can start? can u help me?
 

love_lee

Newbie level 2
Newbie level 2
Joined
Aug 30, 2008
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,289
gps and microcontroller

hi
anyone knows how can i interface a zilog microcontroller or a slim board to GPS??
Hope someone can give me some ideas
thank you:D
 

GSM Man

Banned
Advanced Member level 2
Joined
Apr 15, 2009
Messages
670
Helped
168
Reputation
338
Reaction score
94
Trophy points
1,308
Location
New Jersey, USA
Activity points
0
gps to microcontroller

love_lee said:
hi
anyone knows how can i interface a zilog microcontroller or a slim board to GPS??
Hope someone can give me some ideas
thank you:D
Most GPS Modules have a serial interface - you simply connect the UART of your microcontroller to the serial port of the GPS receiver. Most receivers will start sending data as soon as power is applied. The data is typically in 'NMEA' format. Of course all of this can vary, depending on the GPS receiver you are using. Documentation on the NMEA protocol can be found at: **broken link removed**
 

love_lee

Newbie level 2
Newbie level 2
Joined
Aug 30, 2008
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,289
microcontroller can gps

thanks for the info =)

does it mean that i can easily interface GPS to MCU if my GPS device have a USB port????Is there any required specifications such as TTL or I2R?
 

doraemon

Super Moderator
Staff member
Advanced Member level 4
Joined
Jun 21, 2009
Messages
1,194
Helped
284
Reputation
576
Reaction score
282
Trophy points
1,363
Location
Japan
Activity points
12,173
Re: microcontroller can gps

Hello!

UART is not USB.
However, there are USB to UART conversion chips, that create a virtual com port
on your PC.
But as you were talking about a zilog controller, you can probably connect the
GPS (almost) directly to the controller. Almost because they may not use the
same voltages.
You can have a look here for GPS modules.
**broken link removed**
They are delivered with source code (for MSP430, but it's C code). And they
recently hired a development engineer: me!
There is also an article about GPS here:


Dora.

love_lee said:
thanks for the info =)

does it mean that i can easily interface GPS to MCU if my GPS device have a USB port????Is there any required specifications such as TTL or I2R?
 

mav3r1ck

Newbie level 5
Newbie level 5
Joined
Feb 19, 2010
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Uk
Activity points
1,324
Hi

I'm trying to connect a GPS unit (GPS-610F) to a GENIE E28 PIC chip through a UART (SC16C2552B from Phillips/NXP), but I'm having trouble connecting the UART up to the GPS. All I want it to do is take the serial data from the GPS and output it again in binary format through the 8 data bus pins (D0 - D7) Specifically, I am unsure how to connect the read and write registers up.

Any help would be appreciated.

mav3r1ck
 

andi21

Junior Member level 1
Junior Member level 1
Joined
Mar 26, 2010
Messages
15
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,281
Location
indonesia
Activity points
1,374
Hey i have a problem to interfacing EG-T10 GPS Receiver Module MCX to micro atmega8. any suggestion. source code is really helpfull.Thanks
 

drbizzarow

Advanced Member level 1
Advanced Member level 1
Joined
May 24, 2006
Messages
414
Helped
25
Reputation
50
Reaction score
15
Trophy points
1,298
Activity points
3,661
check my UDF function for getting lat long from nema data

unsigned int1 get_loc( void )
{
unsigned int16 gps_buf_index;
unsigned temp_buff[10];

gps_dat_ready_flag = LOW;

for ( gps_buf_index = 0; gps_buf_index < GPS_BUFFER_SIZE;gps_buf_index++)
{
gps_buff[ gps_buf_index ] = fgetc(GPS_COM);
}
//$GPGGA,182948,2456.7194,N,06703.6381,E,1,04,09.0,00051.8,M,-044.6,M,,*66
if(gps_buff[13] = ',' && gps_buff[14] != ',')
{ //get Latitude
temp_buff[0] = gps_buff[14];
temp_buff[1] = gps_buff[15];
temp_buff[2] = gps_buff[16];
temp_buff[3] = gps_buff[17];
temp_buff[4] = 0;

current_loc.lat = atol(temp_buff);

temp_buff[0] = gps_buff[19];
temp_buff[1] = gps_buff[20];
//temp_buff[2] = gps_buff[21];
// temp_buff[3] = gps_buff[22];
temp_buff[2] = 0;

current_loc.lat_deg = atol(temp_buff);

//get Longitude
temp_buff[0] = gps_buff[26];
temp_buff[1] = gps_buff[27];
temp_buff[2] = gps_buff[28];
temp_buff[3] = gps_buff[29];
temp_buff[4] = gps_buff[30];
temp_buff[5] = 0;

current_loc.lon = atol(temp_buff);

temp_buff[0] = gps_buff[32];
temp_buff[1] = gps_buff[33];
//temp_buff[2] = gps_buff[34];
//temp_buff[3] = gps_buff[35];
temp_buff[2] = 0;

current_loc.lon_deg = atol(temp_buff);

strncpy (gps_smsdat, gps_buff + 14, 24);
gps_dat_ready_flag = high;
}
}
 

eng.ahmed

Newbie level 5
Newbie level 5
Joined
Sep 29, 2006
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Cairo, Egypt
Activity points
1,326
Hello Guys, I think I've the same problem but not actually like the posted so much, I've a GPS Module Global Sat EM-411 & I want to interface it with a PIC16F877A, so my question is, should I make an interfacing circuit or I can connect the module directly to the PIC as it will be only one pin that I recieve a serial data from it & I can connect it directly to the PIC to take the frame of data of the module & divide it & use it inside the PIC by the written code?
 

jamshid.dastur

Member level 4
Member level 4
Joined
Sep 14, 2007
Messages
77
Helped
15
Reputation
30
Reaction score
5
Trophy points
1,288
Activity points
1,829
eng.ahmed said:
Hello Guys, I think I've the same problem but not actually like the posted so much, I've a GPS Module Global Sat EM-411 & I want to interface it with a PIC16F877A, so my question is, should I make an interfacing circuit or I can connect the module directly to the PIC as it will be only one pin that I recieve a serial data from it & I can connect it directly to the PIC to take the frame of data of the module & divide it & use it inside the PIC by the written code?

Well if the module is capable to send serial data based on RS232 that is 5V level, then you can connect the module directly to the 16F877 but if the voltage potentials are below 3.5 volts then you'll need to use a MAX232 in between, you can simply use a NPN instead of MAX if you like to simplify the design.

Best Regards
JD
 

Naumanpak

Member level 2
Member level 2
Joined
Nov 19, 2009
Messages
51
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Location
Pakistan
Activity points
1,635
Hi, I want to read data from a GPS with USB interface into PIC.

4 lines; vss, d+, d- and ground.

Any suggestions?


thanks
 

starguard2527

Newbie level 4
Newbie level 4
Joined
Aug 6, 2009
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
india
Activity points
1,323
hi guys.. m also interfacin San Joes GPS with PIC16F877A.
according to GPS Module datasheet it has uart of signal level 2.8V * 2... so is it necessary for me to interface a max232 in between??? or else any other way of interfacing (like using transistor) ??

i am attaching device specification sheet of my GPS module for ur reference..

pls help me out on this...

thanks in advance
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top