GpSpeed GUI Download

GpSpeed GUI Download

This is a simple GUI program. When the Download button is clicked it sends a command to the Picaxe when it is run asking it to send all of the data it has in it's log. This is read into the Laptop/PC and saved to a data.csv file on the hard disk. This file can be used with many data analysis programs including simple spread sheet programs like Libreoffice Calc, kst2 or Microsoft Excel.

It also plots some of the data fields into the graphs.
Program

The program is written in Python 2.7 and requires some basic Python libraries which includes pyserial for the serial port access and the wxWidgets and matplotlib libraries..

It sends a command to the GpSpeed to download the data logs and reads these line by line. It re-formats the fields a little before storing them in the data file. It reformats the time to a correct ISO date time and converts the fixed point numbers to floating point format.

To use:

Program the GpSpeed with the example data logging program (Or your full GpSpeed with data logging abilities program): “picaxe28x2 gpspeed-demo-datalog.bas”

Run: “python gpspeed-datalog-gui.py2”

This will download the data log and store the data in the file “data.csv” in the current directory. There is an option “-d <serialport>” that allows you to use a different serial port the the default “/dev/ttyUSB0”.

Further Development

This is a simple program. There's a lot more you can do by extending it. Some ideas:

  1. It only saves and plots some of the data fields sent by the GpSpeed. You can add more.

  2. The layout of the plots can be changed.

  3. The plots could display in real-time as the data is loaded.

  4. It could do calculations on the data and display results.

  5. The filename to save into could be user entered in a dialog and/or saved in a configuration file.


TypeFileNameDateSize

Makefile2016-09-24 08:40am0K
example.csv2016-09-24 07:43am234K
gpspeed-datalog-gui.png2016-09-24 06:34pm87K
gpspeed-datalog-gui.py22016-09-24 08:49am8K
gpspeed-demo-datalog.bas2016-09-24 10:31am10K
info.html2016-09-24 06:35pm3K