I am a road runner (by foot) myself, and I like numbers and math as well (as an Engineering student). The idea of tracking/marking my running path for post-analysis has always fascinated me, but I always face a problem acquiring GPS-enable wrist watches: they are very very expensive, ranging from $120 up to $1,500 and so on.

That's a prohibitive price point for a hobbyist like me, so I decided to make my own GPS-enable tracker/logger for my road races. The idea was to unite my two passions (electronics and running) in a single solution to make my life easier and more fun.

Step 1: Choosing the Components

I wanted to keep the budget as low as possible while still being able to make it. So all components listed below were obtained from eBay sellers, even the cheapest ones I could find on that website. You are going to need:

- Arduino Pro Mini > US$ 1,99

- MicroSD card Breakout > US$ 2,00

- 2GB (or greater) microSD card > US$ 2,49

- GPS module (uBlox Neo-6M) > US$ 9,95

- 3.7V/600mAh Li-ion Battery (model aircraft ones) > US$ 2,01

- 3.7V to 5V step-up converter > US$ 0,76

Step 2: Schematic Diagram of the Data Logger

The idea is that the Arduino Pro mini manages everything, from GPS readings to SD card writings, because the components needed are only those presented in the imagem below.

Another important detail is the dc-dc boost converter; it is necessary to step-up and adjust the variable voltage from the battery (3.7V and down) to steady 5V that the Arduino Pro Mini and the GPS module requires.

The imagem shows:

- in RED the +5V and Battery voltages

- in BLACK the ground (reference, GND)

- in Green and Yellow the GPS serial communications line

- The other colors are communications and control lines for the micro SD card breakout.

Step 3: The Arduino Code

The most updated version (if any) of this GPS data logger code can be found in my GitHub page, on this link.

What the code below does is save Latitude, Longitude, date, time and speed to a .csv file called "rundata.csv", every 2 seconds.

Click here to see the code (on GitHub) for the Arduino Pro Mini

Step 4: Utilization and Example of Data Obtained

Here is a picture of a 21km race I made while carrying my GPS data logger. The track is in red over a satellite view map.

All you have to do is power up the circuit, and it will instantly start logging your GPS data (even befor GPS fix) to the microSD card.

Below I extracted a bit (16 seconds) of the raw data saved to a microSD card.

Lat Long Altitude Speed (km/h)
-26,4750720 -49,0913160 41,9 3,83

-26,4750630 -49,0913350 42,1 0,96

-26,4750490 -49,0913500 42,4 6,74

-26,4750440 -49,0913080 39,9 3,63

-26,4750550 -49,0913390 36,9 9,59

-26,4750480 -49,0914190 44 10,91

-26,4750480 -49,0914190 44 10,91

-26,4750780 -49,0915560 47 15,74

<p>Good morning i would like to tell me which library you are using and with what kind of load is loaded in arduino thanks</p>
<p>nice project ..</p><p>but how can i convert the data to a map ?</p>
<p>Hi, thank you for asking this! I will update this instructables soon. You can vizualize .gpx data files directly on this website: http://www.gpsvisualizer.com/ . If you have .csv (comma separated values) files you can vizualize them by importing it into Microsoft Excel and generating a line chart.</p>

About This Instructable




Bio: Brazilian ECE student (3rd year) interested in DIY electronics and programming. I'm a real makers always willing to learn by doing something.
More by clovisf:GPS Data Logger for Road Runners PCB mockup prototype in cardboard 
Add instructable to: