Software Archive
Read-only legacy content
17061 Discussions

Guideness for Gps

MATHAN_KUMAR_B_
Beginner
337 Views

I'm going to track the particular object with the help of gps,so i need some guideness to connect the gps to galileo,so i need the connecting code for gps to galileo either in c,C#

0 Kudos
2 Replies
Stan_G_
Beginner
337 Views

 

Some hints.

1. Google TinyGPS - you will have to make some changes but it will work fairly well to decode the GPS strings. 2. A GPS IS a very simple device - it is connected serially via tx/rx (HARDWARE Serial). 3. Normally the defaults are ok so you don't have to send data to it. 4. Write a simple program to ...... a. connect to hardware rx (various baud rates) b. Poll hw serial - for every character there, output it to console - that will allow you to see if you have the baud rate correct. Research Ports on galileo and mapping to devices in /dev (I think they are in this forum somewhere) C code to read from hardware port - nothing magical about this - will be fairly standard unix C GPS Sentence construction. C language Sorry I havens written the code for you - but from my lofty age (58) I believe it is better to point people to where the answers are - they learn more that way. Stan

 

0 Kudos
PeterKerney
Employee
337 Views

StanG is correct and I will just add a key word. GPS is typically serial comms. They output NMEA sentences. Search for "NMEA library" and you will get more than you need.

0 Kudos
Reply