# Flora Wearable GPS

## Overview

http://youtu.be/SE6vut7nl_4

![](https://cdn-learn.adafruit.com/assets/assets/000/002/553/medium800/flora_1059_orig.jpg?1396784392)

This module is the best way to add a GPS to your wearable project. It's part of the Adafruit Flora series of wearable electronics, designed specifically for use with the Flora motherboard. Installed on the PCB is the latest of our Ultimate GPS modules, a small, super-thin, low power GPS module with built in data-logging capability! This module's easy to use, but extremely powerful:

- -165 dBm sensitivity, 10 Hz updates, 66 channels
- Designed for wearable use with the Flora system
- Only 20mA current draw
- RTC battery-compatible - sew a battery on to create a atomic-precision real time clock
- Built-in datalogging
- \>25Km altitude
- Internal patch antenna + u.FL connector for external active antenna
- Fix status LED

This guide will get you started with the Flora GPS.  
# Flora Wearable GPS

## Hook up GPS

![](https://cdn-learn.adafruit.com/assets/assets/000/002/554/medium800/flora_hooking-up-gps.jpg?1396784406)

Use alligator clips to connect Flora's 3.3V pad to the 3.3V pad on the GPS. Likewise connect RX to TX and TX to RX, then finally GND to GND.

Unlike the GPS breakout and GPS shield we carry, the Flora GPS is for use with 3.3V power and logic only!

![](https://cdn-learn.adafruit.com/assets/assets/000/002/555/medium800/flora_gps-on-fabric.jpg?1396784413)

The four connectors are all in a row just to the left of Flora's JST battery connector for easy sewing. But test your project with alligator clips before sewing it in!

# Flora Wearable GPS

## Program FLORA

![](https://cdn-learn.adafruit.com/assets/assets/000/002/556/medium800/flora_program-with-gps.jpg?1396784428)

Make sure the USB cable is connecting your computer and Flora.

## Basic Echo Test
  
We'll start with the most basic test, where we listen to the raw GPS data, to make sure it shows up! Copy and paste this code into a new sketch window and upload it to your Flora  
# Install Adafruit GPS Library

Our helper library will make using the GPS easy since we have working code already. [The library is available on GitHub](https://github.com/adafruit/Adafruit_GPS)

You can download the most recent version from the Arduino library manager.

First, open up the Arduino library manager

![](https://cdn-learn.adafruit.com/assets/assets/000/084/051/medium800/gps_library_manager_menu.png?1573526978)

Search for the&nbsp; **Adafruit GPS** &nbsp;library and install it

![](https://cdn-learn.adafruit.com/assets/assets/000/084/052/medium800/gps.png?1573527037)

We also have a great tutorial on Arduino library installation at:  
http://learn.adafruit.com/adafruit-all-about-arduino-libraries-install-use

# Load Echo Demo

We'll begin by loading up the HardwareSerial echo test example available in the Adafruit\_GPS library

![](https://cdn-learn.adafruit.com/assets/assets/000/033/726/medium800/flora_hwecho.png?1468294154)

Wire up the GPS module according to the hookup. [Check your board and serial port settings](http://learn.adafruit.com/getting-started-with-flora/blink-onboard-led) and upload this sketch to your Flora using the Upload button in the IDE. Open up the **Serial Monitor.**

You should see something like the following from the serial monitor. You may not have as many numbers, but there should be sentences that start with **$GPRMC** and **$GPGGA** , etc. If you see text like that it means your GPS and connection are working fine.

![](https://cdn-learn.adafruit.com/assets/assets/000/002/568/medium800/flora_rawecho.gif?1448059633)

# Flora Wearable GPS

## Getting location data

## Detailed GPS Test

Now that we know it basically works, we'll try to get 'fix data' from the GPS. For this, you will have to have the GPS outside. It cannot be inside a building, even if its right at the window. The silver antenna must be pointing up with a clear view of the sky!

![](https://cdn-learn.adafruit.com/assets/assets/000/033/727/medium800/flora_hwparse.png?1468294236)

Wire up the GPS module according to the hookup

![](https://cdn-learn.adafruit.com/assets/assets/000/002/560/medium800/flora_GPSoutside.jpg?1396784508)

[Check your board and serial port settings](http://learn.adafruit.com/getting-started-with-flora/blink-onboard-led) and upload this sketch to your Flora using the Upload button in the IDE.

**Place the GPS module (still connected to the Flora)&nbsp; outside.** Once the GPS has located the satellite data, the red LED on the GPS will stop blinking.

If you see the LED blinking once a second, it does not yet have a fix!

It can take many minutes to get a fix if it doesn't see any satellites immediately.

Once it has a fix, you can check the serial monitor for the GPS data, which includes the current date and time in UTC. It will also give you your latitude, longitude and approximate altitude with the Serial monitor

Danger: 

![](https://cdn-learn.adafruit.com/assets/assets/000/002/572/medium800/flora_parsed.gif?1448059620)

Now we know where we are. According to the GPS, my location is **&nbsp;4043.5715 N** (Latitude 40 degrees, 43.5815 minutes North) &&nbsp; **07400.2783 W**. (Longitude 74 degrees, 0.2783 minutes West) To look at this location in Google maps, type&nbsp; **+40°**  **43.5715', -74° 00.2783'** &nbsp;into the&nbsp;[google maps search box](http://maps.google.com/)&nbsp;. Unfortunately gmaps requires you to use +/- instead of NSWE notation. N and E are positive, S and W are negative.

Danger: 

# Flora Wearable GPS

## Downloads

# Files

- [EagleCAD PCB files on GitHub](https://github.com/adafruit/Adafruit-Flora-Ultimate-GPS)
- [Fritzing object in the Adafruit Fritzing Library](https://github.com/adafruit/Fritzing-Library)

## Downloads:

- [MTK3329/MTK3339 command set sheet](https://cdn-shop.adafruit.com/datasheets/PMTK_A11.pdf) for changing the fix data rate, baud rate, sentence outputs, etc!
- [Datasheet for the PA6H (MTK3339) GPS module itself - used in version 3 of this module](https://cdn-shop.adafruit.com/datasheets/GlobalTop-FGPMMOPA6H-Datasheet-V0A.pdf)
- [MT3339 GPS PC Tool (windows only)](https://cdn-shop.adafruit.com/datasheets/GlobalTop%20MT3339%20PC%20Tool%20v1.3%20without%20F2.0&I3.1.rar) and the [PC Tool manual](https://cdn-shop.adafruit.com/datasheets/GlobalTop%20MT3339%20PC%20Tool%20Operation%20Manual%20v1.1.pdf)
- [Mini GPS tool (windows only)](https://cdn-shop.adafruit.com/datasheets/MiniGPS_Tool_1.7.1.zip)

# Schematic & Fabrication Print
![](https://cdn-learn.adafruit.com/assets/assets/000/036/282/medium800/flora_schem.png?1476128668)

![](https://cdn-learn.adafruit.com/assets/assets/000/036/283/medium800/flora_fabprint.png?1476128737)


## Featured Products

### FLORA - Wearable electronic platform: Arduino-compatible

[FLORA - Wearable electronic platform: Arduino-compatible](https://www.adafruit.com/product/659)
FLORA is Adafruit's fully-featured wearable electronics platform. It's a round, sewable, Arduino-compatible microcontroller designed to empower amazing wearables projects.FLORA comes with Adafruit's support, [tutorials and...](http://learn.adafruit.com/category/flora)

In Stock
[Buy Now](https://www.adafruit.com/product/659)
[Related Guides to the Product](https://learn.adafruit.com/products/659/guides)
### Flora Wearable Ultimate GPS Module

[Flora Wearable Ultimate GPS Module](https://www.adafruit.com/product/1059)
This module is the best way to add a GPS to your wearable project. It's part of the Adafruit Flora series of wearable electronics, designed specifically for use with the Flora motherboard. Installed on the PCB is the latest of our Ultimate GPS modules, a small, super-thin, low-power GPS...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/1059)
[Related Guides to the Product](https://learn.adafruit.com/products/1059/guides)
### Small Alligator Clip Test Lead (set of 12)

[Small Alligator Clip Test Lead (set of 12)](https://www.adafruit.com/product/1008)
Connect this to that without soldering using these handy mini alligator clip test leads. 15" cables with alligator clip on each end, color coded. You get 12 pieces in 6 colors. Strong and grippy, these always come in handy! We often use these in conjunction with a multimeter so we...

Out of Stock
[Buy Now](https://www.adafruit.com/product/1008)
[Related Guides to the Product](https://learn.adafruit.com/products/1008/guides)
### Getting Started with Adafruit FLORA

[Getting Started with Adafruit FLORA](https://www.adafruit.com/product/1839)
 **Making Wearables with an Arduino-Compatible Electronics Platform**  
  
This book introduces readers to building wearable electronics projects using Adafruit's tiny FLORA board: at 4.4 grams, and only 1.75 inches in diameter, and featuring Arduino compatibility, it's the...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/1839)
[Related Guides to the Product](https://learn.adafruit.com/products/1839/guides)
### Getting Started with Adafruit FLORA Book Pack

[Getting Started with Adafruit FLORA Book Pack](https://www.adafruit.com/product/2404)
Pickup a copy of&nbsp;[Getting Started with Adafruit FLORA](https://www.adafruit.com/products/1839)&nbsp;and then hit the ground running with everything that you need to become an [Adafruit FLORA](https://www.adafruit.com/products/659) supreme being!

This pack is...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/2404)
[Related Guides to the Product](https://learn.adafruit.com/products/2404/guides)
### FLORA GPS Starter Pack

[FLORA GPS Starter Pack](https://www.adafruit.com/product/1090)
Get started with the fabulous Adafruit Flora platform with this lovely starter kit. Included are plenty of parts to make a few different fun projects! There's a Flora motherboard, a GPS module that can also perform location datalogging, eight ultra-bright chainable RGB pixels, a battery...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/1090)
[Related Guides to the Product](https://learn.adafruit.com/products/1090/guides)
### FLORA Sensor Pack

[FLORA Sensor Pack](https://www.adafruit.com/product/1458)
Sense the world around you! The FLORA Sensor Pack includes many types of sensors for your wearable enjoyment. Sense motion, direction, color, light levels, touch, and connections with FLORA sensor breakouts and conductive materials, and a few NeoPixels for experimenting with displaying your...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/1458)
[Related Guides to the Product](https://learn.adafruit.com/products/1458/guides)
### FLORA Budget Pack

[FLORA Budget Pack](https://www.adafruit.com/product/1405)
Get started with the fabulous Adafruit Flora platform with this lovely budget kit, just enough to get you started with this fun wearable computer. Included are enough parts to make your first wearable electronic project. There's a Flora motherboard, four ultra-bright chainable RGB pixels,...

In Stock
[Buy Now](https://www.adafruit.com/product/1405)
[Related Guides to the Product](https://learn.adafruit.com/products/1405/guides)

## Related Guides

- [Firewalker LED Sneakers](https://learn.adafruit.com/firewalker-led-sneakers.md)
- [NeoPixel Matrix Snowflake Sweater](https://learn.adafruit.com/neopixel-matrix-snowflake-sweater.md)
- [Sewable NeoPixels](https://learn.adafruit.com/flora-rgb-smart-pixels.md)
- [PianoGlove](https://learn.adafruit.com/pianoglove.md)
- [Fiber Optic Pixie Skirt](https://learn.adafruit.com/fiber-optic-pixie-princess-skirt.md)
- [FLORAbrella](https://learn.adafruit.com/florabrella.md)
- [Zipper Switch](https://learn.adafruit.com/zipper-switch.md)
- [Flora Accelerometer](https://learn.adafruit.com/flora-accelerometer.md)
- [VU Meter Baseball Hat](https://learn.adafruit.com/vu-meter-baseball-hat.md)
- [Getting Started with FLORA](https://learn.adafruit.com/getting-started-with-flora.md)
- [Let’s Put LEDs in Things!](https://learn.adafruit.com/lets-put-leds-in-things.md)
- [Memories of an Arduino](https://learn.adafruit.com/memories-of-an-arduino.md)
- [FLORA and GEMMA ICSP](https://learn.adafruit.com/flora-and-gemma-isp.md)
- [FLORA Sensors](https://learn.adafruit.com/flora-sensors.md)
- [Adafruit Arduino IDE Setup](https://learn.adafruit.com/adafruit-arduino-ide-setup.md)
