Skip to content

buxtronix/GpsLogger

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GpsLogger

This is a fork of the original OpenLog v3 firmware. The purpose of this fork is to build a power efficient GPS logger.

This fork only modifies the OpenLog Light firmware.

I originally built a GPS Logging collar for my cats consisting of a tiny GPS unit and the OpenLog just logging the serial data from the GPS. This proved to be very power inefficient, with the GPS module powered up full time. I got about 1.5 hours out of the battery.

This fork of OpenLog allows for very power efficient operation, with a runtime of at least 24 hours. This is achieved by waiting for a GPS fix, then putting the GPS module in standby for a time (60s currently). Then the module is woken up again, gets another fix, and goes back to sleep. The standby mode of the module retains SRAM and satellite sync info, so it takes around 5s to fetch the fix again.

The hardware changes are simple - just a signal from PC1 of the AVR into the OnOff pin of the GPS. Each pulse toggles between standby and full power.

This should be adaptable for other GPS modules, as long as putting them into standby mode is simple.

Below is the original OpenLog readme...

OpenLog
OpenLog (DEV-09530)

OpenLog is an open source data logger that works over a simple serial connection.

OpenLog v1 is stable but only supports FAT16 and up to 2GB.
OpenLog v2 is a bit buggy but supports FAT32 and SD cards up to 16GB.
OpenLog v3 is stable, supports FAT32 and supports higher record speeds (115200/57600).

License Information

The hardware design and firmware are released under Creative Commons Share-alike 3.0.
The FAT16/FAT32 firmware was originally designed by Roland Riegel and is released under GPL v2.
OpenLog v2.0 and above uses sdfatlib written by Bill Greiman and is released under GPL v3.
The OpenLog firmware was created by SparkFun Electronics, and is open source so please feel free to do anything you want with it; you buy me a beer if you use this and we meet someday (Beerware license).

Repository Contents

  • /Firmware
    • OpenLog_v3 - Firmware that ships with OpenLog
    • OpenLog_v3_Light - Alternative version to allow for larger buffers
    • Examples - Example Arduino code for controlling and testing OpenLog
  • /Fritzing - Fritzing image showing the connections between the OpenLog and an FTDI Basic
  • /Hardware - Hardware design files for the OpenLog PCB. These files were designed in Eagle CAD.

Version History

  • v1.0 Buggy initial release
  • v1.1 Small changes to system settings and EEPROM storage.
  • v1.2 Added wild card to listing and remove commands. Added read file command.
  • v1.3 Added auto buffer record if unit sits idle for more than 5 seconds.
  • v1.4 Increase buffer size to 900 bytes. Pinning down URU errors.
  • v1.5 Lowered power consumption to ~2mA avg. Added 4800 and 19200 baud rates.
  • v1.51 Added configurable escape character, and escape character amount.
  • v1.6 Added ability to configure via config.txt file.
  • v2.0 Massive overhaul. Ported to sdfatlib. Now supports FAT16/FAT32/SD/SDHC.
  • v2.1 Power save not working. Fixed issue 35. Dropping characters at 57600bps.
  • v2.11 Tested with 16GB microSD. Fixed issues 30 & 34. Re-enable power save.
  • v2.2 Modified append_file() to use a single buffer. Increased HardwareSerial.cpp buffer to 512 bytes.
  • v2.21 ringp fork brought in. rm dir, cd .., and wildcards now work!
  • v2.3 Migrated to v10.10.10 of sdfatlib. Moved to inline RX interrupt and buffer.
  • v2.4 Merged ringp updates. Commands cd, rm, ls work again!
  • v2.41 Power loss bug fixed. Adding support for 38400bps for testing with SparkFum 9DOF IMU logging.
  • v2.5 Added software reset command. Modified the read command to print extended ASCII characters.
  • v2.51 Changed command prompt control to ignore \n for easier control from microcontroller.
  • v3.0 Migration to Arduino v1.0 and better recording speed at 115200bps and 57600bps.
  • v3.1 Better handling of recording during power loss.
  • v3.2 Freed up RAM for larger RX ring buffer. Added support for wildcards and ability to ignore emergency override.
  • v3.3 Added ability to ignore escape character checking and corrected incremental log naming.

About

A GPS logging variant of OpenLog

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Other 100.0%