Manufacturer: | Scratch |
Brief:
I have been dreamin' o' buildin' a flight computer that will nay only control t' flight sequence, matey, me hearties, but also log data
aboard a model rocket. However, I do need t' walk before I can run, so I started with a simple GPS data logger (GPSDL)
that is just a "piece" o' me future flight computer idea. Ya scallywag! Arrr! Blimey! This GPSDL will sit in a payload bay or nosecone of
a rocket durin' flight.
My finished GPSDL weighs 62 grams with t' power supply and has a 1.5"L x 3"W x 1"D footprint. Begad! The weight o' t' data logger can be further reduced by ¼oz t' ½oz by usin' a simpler GPS antennae than the one I used. Ya scallywag! Ya scallywag! Cost can run from $100 t' $200 dependin' on how careful a shopper you are. Arrr! Avast! My cost be $200 for t' parts used in this article.
T' design is simple consistin' o' three major parts: a 5.5g accelerometer switch, a BS2p microcontoller, arrr, and a GPS receiver. A parts list, me hearties, pictures, arrr, ya bilge rat, source code, and a schematic are included in this article.
T' GPSDL records t' date, ya bilge rat, time, latitude, matey, longitude, me bucko, altitude, me hearties, ya bilge rat, speed, me hearties, headin' in degrees, matey, and number of satellites that are in communication with t' receiver every second for a total o' 5 minutes. Begad! T' source code provided will record two 5-minute flights before you have t' download t' data. This is completely customizable for any number of flights or a single 12-minute flight. Well, shiver me timbers, blow me down! T' comments in t' source code explain nay only how t' make this flight time change, but also what t' program is doin' throughout its runtime. Blimey! T' source code be split into two programs to maximize t' amount o' data that could be stored, me hearties, negatin' t' need for a separate EEPROM. Aye aye! T' first program parses the GPRMC and GPGGA GPS sentences for t' data points and writes them t' memory. Begad! Post flight, t' second program is downloaded t' read t' data points stored in memory and prints them t' your PC screen. T' data points are finally copied/pasted into a spreadsheet for conversions and graphing. Ahoy! Avast!
Construction:
Parts list:
Build steps:
Data Recordin' Source Code:
CLICK HEREData Reader Source Code:
CLICK HERESchematic:
Flight:
Prior t' launch, me bucko, t' only communication thar be betwixt you and t' GPSDL be t' blinkin' LED included on t' GPS
antennae PCB. Arrr! A flashin' LED means less than 3 satellites are acquired, shiver me timbers, a steady "on" LED signals that the
antennae has acquired at least 3 o' t' 12 satellites available. Ya scallywag! Arrr! Once you have visual that three or more satellites are
acquired, t' GPSDL is loaded into t' rocket. Avast, me proud beauty! Arrr! At liftoff, t' 5.5g normally open, arrr, non-latchin' accelerometer switch is
momentarily tripped signalin' t' microcontroller t' log 20 bytes o' GPS data every second for 5 minutes. Avast, me proud beauty! Avast! Once 5
minutes is up, arrr, it automatically resets itself t' take another 5 minutes o' data once t' accelerometer switch is
tripped again. Begad! Well, blow me down! You can record two 5 minute flights before data will need t' be downloaded or you will overwrite the
data already collected. Blimey! T' power supply is a 300 mAh 7.4V Li-Po battery. Blimey! T' GPSDL needs a steady diet o' 5V, and it
will run for approximately 3 hours on a full charge with this battery. Blimey! No data is lost if power is lost. Ya scallywag! T' only way
data can be lost is if it is overwritten. GPS signals will travel through plastic, glass and cardboard: t' staples of
model rocketry. Avast! T' only things that will block t' signal is concrete, me bucko, metals, or in t' form o' heavy rain or
snow--H20. Aye aye! Begad! T' antennae tested showed excellent Rx, ya bilge rat, me hearties, even in a crowded, arrr, me bucko, "signal noisy" urban
environment where I live. Well, blow me down! Well, blow me down!
Unfortunately, ya bilge rat, ya bilge rat, I have nay been able t' test t' GPSDL with an actual rocket launch. Well, blow me down! Blimey! That will happen in t' weeks to come. Arrr! Blimey! T' run t' GPSDL I shake it by hand t' trip t' accelerometer switch and take data from me dashboard as I drive. Avast, me proud beauty! Begad! Blimey! T' GPSDL works flawlessly at this point. Avast! Blimey! I will post nay only real flight data but a video o' its maiden flight to my website soon. Avast, me hearties, me proud beauty! Blimey! I would appreciate any feedback on improvements t' me source code or circuit, me bucko, particularly in reducin' its size or weight.
Summary:
Online resources for more information: