Skip to content

mpmckenna8/pi_gps_camera

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pi gps camera project to track and take pictures

Goal is to have a thing i can put in my backpack or attach to a bicycle to track me and take pictures. Would be great to have either functionality be disabled/enabled.

This repository should contain most of the code, files and instruction for other people to make one.

Directories descriptions:

/hardware

  • Files pertaining to the custom hardware in this project.
    • /hardware/pi_gps_header.brd

      • A .brd file generated by Eagle software for designing PCBs.
      • Can be printed with Oshpark and if put together should function with the provided code.
    • hardware/hardware_pics

      • pictures of the hardware used in this project.

/jpeg2gif

  • script to make a bunch of jpegs into a gif.

/photo_viewer

  • a little photo viewer webapp. needs to have a webserver to serve up the page and pictures. Also includes a map.html with includes a map animation with the pictures. Willneed to have node installed to get it to work with the included server code.

/strava_data

  • A directory for getting a users' route data, using the strava API. Includes it's own readme.md.

Not in any directories:

  • /gpgga2geojson.js
    • A node script to make a file from a log of gps data from a text file into a geojson file.

GPS chip Notes:

The field from the gps data i want is GPGGA.

Basic programming going on with the pi is a loop which will grab gps data then take a picture every few seconds.

For powering the pi there is a Pi UPS designed to be a power supply for a regular style pi in the case of power outage and stuff but I think should run a pi zero for a while.

Orientation of the antenna is super important. Ordered an external antenna but it only seems to work without it if the gps is facing the sky with very few impediments.

Keep forgetting to run stuff in the background i can use screen like in. https://medium.com/@arnab.k/how-to-keep-processes-running-after-ending-ssh-session-c836010b26a3

To transfer stuff from the pi:

scp pi@piface.local:/home/pi/project/1561162913.jpg ./pics

or better using

rsync -avzhe ssh pi@piface.local:/home/pi/project/pics/ ./relative_destination_dir

materials:

And once you have all the pieces put together it should look like:

Side exploded view

About

pi zero, gps, camera & software project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published