---
title: NMEA GPS String Parsing
description: "[Quick Byte: GPS NMEA String Parsing](https://www.youtube.com/embed/P4fUvNKssIo?feature=oembed) ##### Description This Quick Byte shows how to use a GPS module in your projects, and provides a SPIN2 code driver to access the GPS data. The example code shows how to access the…"
url: "https://obex.parallax.com/docs/quick-bytes/propeller-2/nmea-gps-string-parsing/"
updated: "2026-09-29"
category: Propeller 2
---

# NMEA GPS String Parsing

[Quick Byte: GPS NMEA String Parsing](https://www.youtube.com/embed/P4fUvNKssIo?feature=oembed)

##### Description

This Quick Byte shows how to use a GPS module in your projects, and provides a SPIN2 code driver to access the GPS data.

The example code shows how to access the GPS driver in various configurations, outputting the GPS data to the Propeller Tool debug window!

The intention of this demo is to introduce the low level code that handles the NMEA GPS string parsing for you, so that each element of the GPS message can be read directly by your code. Further processing of the data is open for the user application.

Adding a GPS module to your project will allow you to have accurate time, date and location information that is updated every second!

##### Hardware Connections

Follow these pictures to wire up the hardware listed under Parts Used (below). **Note:** The RTC module in these pictures is not used for this Quick Byte.

For help please feel free to ask your questions here, or for a wider audience of helpers at our [https://forums.parallax.com](https://forums.parallax.com/).

![Collection of hardware needed for this Quick Byte, as listed in Parts Used](/qbi/NMEA GPS String Parsing - Parallax_files/GPSDemo_Hardware_1-768x432.jpg)![Plug in the Prop Plug and power plug to the P2 Edge Mini Breakout Board](/qbi/NMEA GPS String Parsing - Parallax_files/GPSDemo_Hardware_2-768x432.jpg)![Connect the GPS module to the Breakout Board with jumper wires](/qbi/NMEA GPS String Parsing - Parallax_files/GPSDemo_Hardware_3-768x432.jpg)![Assembled GPS P2 Quick Byte project](/qbi/NMEA GPS String Parsing - Parallax_files/GPSDemo_Hardware_4-768x432.jpg)

##### Parts Used

- [200mm Jumper Wires FF, 40-piece Ribbon](https://www.parallax.com/product/200mm-jumper-wires-ff-40-piece-ribbon/)
- [SIM33EAU GPS Module](https://www.parallax.com/product/sim33eau-gps-module/)
- [P2 Edge Module](https://www.parallax.com/product/p2-edge-module/)
- [USB Mains Adapter, 18W, 5V, 3A](https://www.parallax.com/product/usb-mains-adapter-18w-5v-3a/)
- [P2 Edge Mini Breakout Board](https://www.parallax.com/product/p2-edge-mini-breakout-board/)
- [Prop Plug Rev E](https://www.parallax.com/product/prop-plug/)
- [USB A to Micro B Cable](https://www.parallax.com/product/usb-a-to-micro-b-cable/)

##### Source Code

- [NMEA GPS String Parsing Quick Start Code](/qbi/downloads/28504_GPS_Module_Examples-Archive-Date-2022.12.20-Time-14.07.zip)

##### Programming Language

- [Spin 2](https://docs.google.com/document/d/16qVkmA6Co5fUNKJHF6pBfGfDupuRwDtf-wyieh_fbqw/)
- [PASM2](https://docs.google.com/spreadsheets/d/1_vJk-Ad569UMwgXTKTdfJkHYHpc1rZwxB-DcIiAZNdk/)

##### Tools and Operating System

- [Propeller Tool for Windows](https://www.parallax.com/package/propeller-tool-software-for-windows-spin-assembly-2/)
- [FlexProp for Windows, Mac and Linux](https://www.patreon.com/totalspectrum)

##### Additional Resources

- [Propeller 2 Spin Documentation](https://docs.google.com/document/d/16qVkmA6Co5fUNKJHF6pBfGfDupuRwDtf-wyieh_fbqw/edit)

##### Document Author

- Michael Mulholland

##### Source Code Author

- Michael Mulholland
