HomePage/assetList/GPS Stopwatch & Trajectory Data Recorder
GPS Stopwatch & Trajectory Data Recorder
2700 0
Production process

Project Description

At first, writing this program was to make a bike stopwatch;
Later, I wanted to try to export the GPS information to computer. So I studied the GPX file and Google Earth. Eventually, I completed this program at the end of the last October.
There are five Microduino modules been used in this project:
  • Core+(The core)
  • GPS(To locate)
  • SD(To record)
  • BM(The battery)
  • OLED(To display)
(The wiki of these modules is:http://www.microduino.cc/wiki/index.php?title=Main_Page
Introduction of the displaying part:
  • Start the equipment it will enter the stopwatch interface directly, and display the current speed in a large font and the latitude and longitude;
  • It has judged the west longitude, east longitude, north latitude, and south latitude in the program, so it will also display the state of GPS.
  • If the GPS hasn’t located, there will display“–GPS is Not Ready–”.
  • After locating correctly, it will display the current date and time;
  • At the bottom of the OLED, the icon on the left shows the current power, followed by the number of satellites having been connected with, and the values of elevation.
The method of recording the trajectory:
  • Electrify, and when you see the light on the GPS module twinkles, it is that the GPS module has been connected to the satellite;
  • At this time, press the D5 key, and it will create GPX file automatically according to the current date:“year – month – day – number”;
  • If you want to finish the creation, press the D5 key on the baseboard again. Then the screen will prompt the file name that has been created.

Modules Preparation

Apart from the five Microduino modules that have been mentioned above, I have also prepared a SD card, a battery, copper cylinders, screws, and weather station floor without sensors.
Because Core+ supports two-way serial ports. The material in wiki:Click on me.)
So I change the communication of GPS module into serial port 1: D2 and D3 here, and in this way the serial port 0 is freed up for easy of program debugging.

Module Assemblage

Put the SD card into the SD module at first, and put the GPS antenna into the IPEX socket of the GPS module.
Connect the wires of OLED.
Connect to the corresponding interface on the baseboard.
The USBTTL module can be taken away after downloading programs to Core+.
Stack modules, and assemble the baseboard and battery!

Electrifying and Using

Note:BM module needs to be connected with USB to be activated when connected to the battery for the first to use.Related posts of BM:http://www.geek-workshop.com/thread-11132-1-1.html
Start up BM, and electrify!If there is no signal indoor, go out!
Waiting for a few minutes, when the GPS signal light twinkles, it means there is a signal. At this time, press D5, then it can start to create a new file and record the trajectory in the SD card.
Walk to try it.

Exporting to View

To stop recording, press D5 again, and the screen will prompt the name of the file that has been created.
Take away the SD card, connect it to the computer with a card reader, and you will see the file that has been created, whose name is picked in the form of year – month – day – number, in order to be managed easily.
Open the Google earth, and choose “Tool”-“GPS” the toolbar.
Setting is as shown in the picture. Click to import, and select the file created.
You will see the trajectory that you have walked!
Click on the trajectory points, you can see more detailed information such as speed, altitude, coordinates and so on.

Related Resources

1.To get the support for Core+, you need to download the Microduino hardware support package:(Click here).
2.The Core+ and the official original SD library is not compatible, so please to download the SD library that has been modified by Microduino official.(For the sake of compatibility, if you use the complete library support package, you’d better empty all library files in IDE original Library.):https://github.com/wasdpkj/libraries

Required hardware
Code show
Attachment download
Asset info

Creation time:11/08/2018

Course recommendation
Master, don't look at it silently. Please login to help me comment.

Register now