Skip to content

Capture video and GPS data from a Raspberry Pi Zero and a model rocket

Notifications You must be signed in to change notification settings

paquettej/rocket-pi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

rocket-pi

Ever want to capture video from a model rocket? With the new low-cost Raspberry Pi Zero, now you can!

Properly configured, this script will run when you boot your Pi. If it detects that the camera is attached, it will turn on the LED attached to GPIO pin 17 and begin recording. It will record for 2 minutes, stop capture and power off the Pi.

The initial version of this project just captured video and stored it in the Videos folder of the current user. With this verison, GPS data is captured as well.

We weren't able to get gpsd to work reliably, so we just capture the raw NMEA data from the serial port which is why the script must be run via sudo.

Parts list

Configuration

Clone this repo on your Pi. Edit your .bashrc to run rocket.py. This should be the last line -- and you'll need to run it as root to access the serial port:

sudo rocket-pi/rocket.pi

Amateur-ish Fritzing Diagrams

schematic

About

Capture video and GPS data from a Raspberry Pi Zero and a model rocket

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages