

The program you write isn't compiled as a whole, into machine code, rather each line of the program is sequentially fed into something called a Python interpreter. Python is an interpreted programming language, which is slightly different than something like Arduino or programming in C. If you are already familiar with installing and running Python, feel free to skip ahead. For the GPS tracking example, you will need a GPS unit, as well as the FTDI.

#Gps tracks on map serial#
We will finish with a real-world example that takes GPS data over the serial port and plots position overlaid on a scaled map of your choice.
#Gps tracks on map how to#
The loopback test demonstrates how to send and receive serial data through Python, which is the first step to interacting with all kinds of embedded hardware over the serial port. Once you can run a simple Python script, we move to an example that shows you how to perform a serial loop back test, by creating a stripped down serial terminal program. This tutorial will start with a general introduction to Python and Python programming. Showing a trip from SparkFun to Boulder, CO. Just enter your NMEA data into a text file and the program will do the rest. The program can also be used as a general purpose NMEA parser, that will plot positions on a map of your choice. I wanted the position of the balloon plotted on my own map, so that I could actively track, without the need for internet or paper maps. Of course, with an internet connection, I could easily load my waypoints into many different online tools to view my position on a map, but I didn't want to rely on internet coverage. However, in this tutorial, instead of using radios, we will use a GPS tethered to your computer over USB, as a proof of concept. My base station is a radio receiver connected to my laptop over a serial to USB connection. My goal was to have my HAB transmit GPS data (as well as other sensor data) over RF, to a base station, and graphically display position and altitude on a map. In my quest to design a radio tracking system for my next HAB, I found it very easy to create applications on my computer and interact with embedded hardware over a serial port using the Python programming language.
