Skip to content
This repository has been archived by the owner on Oct 6, 2019. It is now read-only.

mikenz/trackview-arduino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Trackview Camera Controller

This is the code that runs my trackview camera. I performs 3 main tasks, first it records a bunch of sensor data like GPS, Barometer, Pitch, Roll, Heading. Second it triggers the GoPro cameras at regular intervals. Third it updates a graphical LCD will sensor values and camera status.

Hardware

Software

The code in this repo has a bunch of options at the top. You should be able to comment out and of the ENABLE_ defines at the top if you're not using that particular piece of hardware.

The code relies on a number of other libraries to hand the sensors. They are:

Download all these and put them in you sketchbook/libraries folder (create this if it doesn't already exist). I may have patched some of these, I will create diffs in the future if that is the case.

The data is written directly to the SD card, from start to end. The format isnt documented yet but the basics are: A single character long string followed by a number of float/long/ints. eg: "G", 5 x floats, 1 x long is GPS data (lat, lon, alt, course, speed, age) "I", 3 x floats is IMU data (pitch, roll, yaw)

In the future I'll create another project with code to process this data. It will rely on being able to read the SD card via dd, Microsoft Windows developers will need to create thier own solution.

TODO

  • Add reset button to reset photo number and SD card position
  • Add start button to start taking photos instead of starting imediatly
  • Add stop button to stop taking photos and flush SD card buffer
  • Flush SD card buffer when retry limit hit
  • Alert/retry when SD card writting fails

About

Arduino Code for trackview camera controller

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published