Let's Make Robots!

read raw gpa data from gps module to arduino

Hey guys I am trying to read raw data from a gps module using TTL communication on RX pin 0 on the arduino mega. i dont know how to program it since i am total noob at arduino programming. 

can someone help me out please.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Dan M's picture

Bajdi is correct. Also check http://letsmakerobots.com/node/5972

Gareth has a lot of pointers on using GPS with an Arduino.

 

Bajdi's picture

Are you trying to read data from the GPS while you have the Arduino connected to your PC? Do not use pin 0 and 1 because these are used for the serial connection to your pc. The mega has 3 serial busses, so use another one.Have you looked at the tinygps library? Looked at the examples that come with it?