Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Technical Discussion (http://www.chiefdelphi.com/forums/forumdisplay.php?f=22)
-   -   Using GPS with VEX? (http://www.chiefdelphi.com/forums/showthread.php?t=123403)

gk20 19-12-2013 08:40

Using GPS with VEX?
 
For a challenge, I need to make a program where I plug in the GPS coordinates and the robot would move to that location. I'm struggling to find a way to connect the GPS to the Cortex and then have it read the coordinates. Does anyone have an idea how to do this?

efoote868 19-12-2013 09:19

Re: Using GPS with VEX?
 
Which GPS chipset are you using?

In my senior design course, my team used a GPS for a self-aiming telescope. The GPS chipset just spewed out its information serially over a couple GPIO pins, so getting location data was as simple as parsing a stream of text.

RyanCahoon 19-12-2013 23:50

Re: Using GPS with VEX?
 
In line with efoote868's comments, the VEX Cortex has two TTL UART serial ports. You should be able to connect directly to any GPS chip that supports TTL serial communication. If you're using ROBOTC, you can use these functions to communicate via the UART ports. There is apparently support in EasyC since v4, but I can't find any documentation online about it. You would need to consult your GPS chip's documentation for the specific format of the commands to send and the data that will be sent back.

gk20 21-01-2014 08:41

Re: Using GPS with VEX?
 
Quote:

Originally Posted by RyanCahoon (Post 1314863)
In line with efoote868's comments, the VEX Cortex has two TTL UART serial ports. You should be able to connect directly to any GPS chip that supports TTL serial communication. If you're using ROBOTC, you can use these functions to communicate via the UART ports. There is apparently support in EasyC since v4, but I can't find any documentation online about it. You would need to consult your GPS chip's documentation for the specific format of the commands to send and the data that will be sent back.

Is there another link you could post? The one for the functions isn't working.

RyanCahoon 22-01-2014 00:18

Re: Using GPS with VEX?
 
Quote:

Originally Posted by gk20 (Post 1330177)
Is there another link you could post? The one for the functions isn't working.

Try http://www.robotc.net/wiki/VEX2_Functions_Serial_Link or http://www.robotc.net/support/cortex...erial_Link.htm


All times are GMT -5. The time now is 17:17.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi