Pages: [1]   Go Down

Author Topic: Arduino code to parse 4800 baud ASCII serial GPS NEMA Sentences?  (Read 437 times)

WA7ARK

  • Member
  • Posts: 1185
Arduino code to parse 4800 baud ASCII serial GPS NEMA Sentences?
« on: September 06, 2019, 07:36:49 PM »

Anybody, anywhere?
Logged
Mike, WA7ARK

W9IQ

  • Member
  • Posts: 8866
Logged
- Glenn W9IQ

God runs electromagnetics on Monday, Wednesday and Friday by the wave theory and the devil runs it on Tuesday, Thursday and Saturday by the Quantum theory.

N6YFM

  • Member
  • Posts: 970
Re: Arduino code to parse 4800 baud ASCII serial GPS NEMA Sentences?
« Reply #2 on: December 24, 2019, 10:17:55 PM »

As Glen pointed out, google is your friend.  There are many dozens of articles on using GPS modules with Arduino.  And there are more than 3 or 4 different arduino libraries, complete with example code, for using GPS modules.

I ended up building two different size and style Dual Timezone Clocks (local time and UTC)
with time and date for both timezones, using an Arduino Nano, a $10 GPS module, and an $6 Real Time Clock module with battery.

The free example code, among other things, includes a snippet of code for reading the NMEA sentences and repeating them to the Arduino Serial Monitor display on your computer.

For an easy way to work with your GPS module, google for the TinyGPS arduino library.
It includes a free sample program called "test_with_GPS_Device" that will do what you want.

Cheers,

Neal
Logged
Pages: [1]   Go Up