Flora Wearable GPS Datasheet by Adafruit Industries LLC

:z- adafrull learning system
Flora Wearable GPS
Created by Becky Stern
Last updated on 2019-11-12 03:04:35 AM UTC
* adafruit learning system
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.
© Adafruit Industries https://learn.adafruit.com/flora-wearable-gps Page 3 of 14
* adafruit learning system
Hook up GPS
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!
© Adafruit Industries https://learn.adafruit.com/flora-wearable-gps Page 4 of 14
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!
© Adafruit Industries https://learn.adafruit.com/flora-wearable-gps Page 5 of 14
* adafruit learning system rag an 1m; Help Variiy/Cnmpik cm~ R A "Pb” CW” Manage Libraries" “9m“ Ilplnad Using Prognmmu cm~shm+u Add 1!» Library... U, a, ,r/ Benn: awn compiled Binly mum‘s ' |1nc1ud 9”,, mm. Mk, cm~x Ardumu hbvavls Ixnciu: hand: “my , AldumoHMllem I V ”C “ Md mam AvdullmSmmd Audvolun ,r/ we 11:; 21 at a tune, cm: 15 bur midn-
Program FLORA
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://adafru.it/nCR)
You can download the most recent version from the Arduino library manager.
First, open up the Arduino library manager
Search for the Adafruit GPS library and install it
© Adafruit Industries https://learn.adafruit.com/flora-wearable-gps Page 6 of 14
Typé AH um up; "my mum , mm an v an m u. lmuMX-h-nl w: mm. m nuwmnmum m m Wampum-d m Ihr-ry M mmmum u" Mam WWW :4 . Wan, > gs [Luna hardware Sezul (Lg. cps Flora a: FenLhzflllngY W Close cww Sm mks Save As... mum’s v.5: sup mania.» Prim chm magmas cmxomma // and help mapper: open , A Adam MAM lzc Mam GPS may Mafm'l NDOMD Lbnry Mum mama) mm: Mm: "my: Lin-y Mmhmw Mafmi NAM Mmuo mum Mum In) 3.:ka many Mm: usmu Mm: miss “my ng. Bear. used mm blank «mg am_m_saog m mummy M39109 GPS_H-vdwu6uill_Ed-0Im Gps_H.m.6u'uLpam.g Iu:_zchu Im_bm_mmpbasac
We also have a great tutorial on Arduino library installation at:
Load Echo Demo
We'll begin by loading up the HardwareSerial echo test example available in the Adafruit_GPS library
Wire up the GPS module according to the hookup. Check your board and serial port settings (https://adafru.it/aRS) 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.
© Adafruit Industries https://learn.adafruit.com/flora-wearable-gps Page 7 of 14
warm,n.no,r,,mn.nz,u,n.ns,x,mza $m¥.n,arss samuuumno mu.sasn,l,nuno.1asl,w. .7.1.n,us m-quu-sz mks.ns.)5,ns.zs.oa,29.21...,n.ns-o1 ssmazuzuonom.0003.suso,n,onno.zas ,o.12,o.on,nn1nz.,,1«u 6m,ILDDJ::fl,n.lz.fl,n.13.K41‘JF sm.n,s-6E wmuuzsmo.ms.5459.I.onno.zesl.w. .‘69 ml.3.u9,1§,n5.16,ul,zs.zl, 1.w,1.u.u.asrm imam.A.“.35.as.16:,53.25,”.nsz,u,zn,sn,:n1,22,19.u,2u,ssn15 macsv,2.2.na,os,n,n75,ao,ns,15,1s9,:z,na,:a,nm,sa,u,,,nu man 5.0nD.A.was.scsiml,D74nu.zasl,ll,u.us,o.on,nuuz...l*13 sawmmmmx mn.ns.n,n.1n,KA-:9 5mm.n,:-ss ssmzzuzsmno.«m.scsn,l,o7mo.z:sl,w. .7.1.11,:cs.n.fl.73¢.1,I..-sn smmlmsfismsfisml,19.11”, 1.:u,1-u.u.as-m szuzsmnmA.lnu.slsn,ll,o14nn.2asl. .o.n1,n.nn,nmu...n1u “Em.0.00.1..Hvfl.07.fl.fl.12.K.A‘39 Eran-1d
© Adafruit Industries https://learn.adafruit.com/flora-wearable-gps Page 8 of 14
* adafruit learning system mnmnc ('0’ (WW mum svs Ltviry blank 5"! (M's Anhfm'n Imam Limary I dngunzng 3'" Aim CWWWS Wm! HMCSH) mum: I dmghifldjdlog Mama Hum libmy I «M7 mg. smp mum» Wm cm» mm um I nmjumplmg mm my I «15¢;de ”Mm“ (mama. AMmi Io Am...» I (MyamBmLkas Quit Cth mm LID Bulpuk Lhmy I Grin-ImIesmmeing mum mam I IHLKM ,r/ m help :uppaxr. apex) : Adafm'n muss libnly I ImJomsjuwbask
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!
Wire up the GPS module according to the hookup
© Adafruit Industries https://learn.adafruit.com/flora-wearable-gps Page 9 of 14
Check your board and serial port settings (https://adafru.it/aRS) and upload this sketch to your Flora using the Upload
button in the IDE.
Place the GPS module (still connected to the Flora) 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
GPS modules will always send data EVEN IF THEY DO NOT HAVE A FIX! In order to get 'valid' (not-blank)
data you must have the GPS module directly outside, with the square ceramic antenna pointing up with a
clear sky view. In ideal conditions, the module can get a fix in under 45 seconds. however depending on your
location, satellite configuration, solar flares, tall buildings nearby, RF noise, etc it may take up to half an hour
(or more) to get a fix! This does not mean your GPS module is broken, the GPS module will always work as
fast as it can to get a fix.
© Adafruit Industries https://learn.adafruit.com/flora-wearable-gps Page 10 of 14
' 599109.11. rs: wmmsasmno 4m.sun,n,ovwn.21ua,w,1,7,:.ns,sn.I.H.-aa 2,u..~57 ‘GPIKZJZSSSSJDD,A.IDIS‘S'IIDJLD7l0n‘27ul,',0‘l1,fll‘93.Dl1112.nl‘ll smommwr sum,215m.nnu,m:.svzn,l,mmn.21us,w,1,7,:.ns,5n.I,H.—a .umsa Wm,225357.nno,n, mu.5120,u, n7mn.2us,u,o.ss,u.9s, nnmz, , ,A-u nu 11:53:55.5“ Due 21/11/2111: m: 1 cumin: I wanna: 1013571711, "unmas- speed (knot: 9.39 lame: 1L5: Alanine so." Slulliu . 7 Havana‘s! $61,613,225”:.coo.4043.sns.n.onon.2vas.u.1.7.1.os.sn.l.l1ru.2.u..-5: WWII: zxsasamno mummy; n D7lDfl.27I§ i 0.3: ms: nauu nun EM
Now we know where we are. According to the GPS, my location is 4043.5715 N (Latitude 40 degrees, 43.5815 minutes
North) & 07400.2783 W. (Longitude 74 degrees, 0.2783 minutes West) To look at this location in Google maps,
type +40° 43.5715', -74° 00.2783' into the google maps search box (https://adafru.it/aMl) . Unfortunately gmaps
requires you to use +/- instead of NSWE notation. N and E are positive, S and W are negative.
People often get confused because the GPS is working but is "5 miles off" - this is because they are not
parsing the lat/long data correctly. Despite appearances, the geolocation data is NOT in decimal degrees. It
is in degrees and minutes in the following format: Latitude: DDMM.MMMM (The first two characters are the
degrees.) Longitude: DDDMM.MMMM (The first three characters are the degrees.)
© Adafruit Industries https://learn.adafruit.com/flora-wearable-gps Page 11 of 14
* adafruit laarnlng system é" mu: m «awn Inwsvles a 4 s s
EagleCAD PCB files on GitHub (https://adafru.it/rPD)
Fritzing object in the Adafruit Fritzing Library (https://adafru.it/aP3)
MTK3329/MTK3339 command set sheet (https://adafru.it/qif) 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://adafru.it/ria)
MT3339 GPS PC Tool (windows only) (https://adafru.it/uoD) and the PC Tool manual (https://adafru.it/uoE)
Mini GPS tool (windows only) (https://adafru.it/rid)
Schematic & Fabrication Print
© Adafruit Industries https://learn.adafruit.com/flora-wearable-gps Page 12 of 14
© Adafruit Industries https://learn.adafruit.com/flora-wearable-gps Page 13 of 14
© Adafruit Industries Last Updated: 2019-11-12 03:04:34 AM UTC Page 14 of 14