fix nested list syntax
[web/altusmetrum] / TeleMetrum / index.mdwn
1 # TeleMetrum
2
3 This is a recording dual-deploy altimeter for high power model rocketry 
4 with integrated telemetry link.
5
6 <a href="loadedpair.jpg"> <img src="loadedpair-thumb.jpg"></a>
7 <a href="rawfront.jpg"> <img src="rawfront-thumb.jpg"></a>
8 <a href="rawback.jpg"> <img src="rawback-thumb.jpg"></a>
9
10 ## Motivation ##
11
12 Bdale and Keith both own 
13 [BeeLine](http://www.bigredbee.com/BeeLine.htm)
14 trackers from 
15 [Big Red Bee](http://www.bigredbee.com), and are pretty happy with them.
16 They use a PIC processor and a TI CC1050 transmitter chip, and
17 operate in the ham radio 70cm band.
18
19 One weekend while attending a conference together, we got to wondering if 
20 we couldn't adapt one to use as a downlink for the
21 [AltusMetrum](../AltusMetrum/) altimeter board in addition to direction
22 finding after flight.  That caused us to start thinking about other things
23 in the design we might want to tweak, and before long we were working on the
24 design of a new tracker board derived from the BeeLine design.
25 Another friend at the same conference showed us a board he was working on 
26 using a different part in the same TI series, that integrated a transceiver
27 and CPU on the same chip.
28 It didn't take us long to realize that with such a part we could combine and
29 simplify things by building a new altimeter with integrated RF link!
30
31 ## Features ##
32
33 ### User View ###
34
35 * Recording altimeter for model rocketry
36 * Supports dual deployment (can fire 2 ejection charges)
37 * 70cm ham-band transceiver for telemetry downlink
38 * Barometric pressure sensor good to 45k feet MSL
39 * Temperature sensor
40 * 1-axis high-g accelerometer for motor characterization
41 * On-board non-volatile memory for flight data storage
42 * Serial port for attachment of GPS module
43 * USB for power, configuration, and data recovery
44 * Integrated support for LiPo rechargeable batteries
45 * 2.5 x 1 inch board designed to fit inside 29mm airframe coupler tube
46
47 ### Developer View ###
48
49 * [TI CC1111F32](http://focus.ti.com/docs/prod/folders/print/cc1111f32.html) Low Power RF System-on-Chip
50         * Sub-1Ghz transceiver
51         * 8051 MCU
52         * 32k Flash
53         * 4k RAM
54         * USB 2.0
55         * 6 12-bit analog inputs (11 bits with single-ended sensors)
56         * 2 channels of serial I/O
57         * digital I/O
58 * [Microchip 25LC1024](http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en520389) CMOS serial EEPROM
59         * 128k x 8
60         * SPI interface
61 * Various Sensors
62         * [Freescale MP3H6115A](http://www.freescale.com/webapp/search.partparamdetail.framework?PART_NUMBER=MP3H6115A6U) pressure sensor
63         * [Freescale MMA2202EG](http://www.freescale.com/webapp/search.partparamdetail.framework?PART_NUMBER=MMA2202EG) 50g accelerometer.  Can use 40-200g variants!
64         * [Microchip MCP9700A](http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en027103) temperature sensor
65 * Software Features (planned)
66         * Written mostly in C with some 8051 assembler
67         * Runs from on-chip flash, uses on-chip RAM, stores flight data to
68                 serial EEPROM chip
69         * USB serial emulation for "console" interface
70 * Tools Used
71         * [gEDA](http://www.gpleda.org/) for schematic capture and PCB layout
72         * [SDCC](http://sdcc.sourceforge.net/) compiler and source debugger
73 * Licenses
74         * The hardware is licensed under the [TAPR](http://www.tapr.org) [Open Hardware License](http://www.tapr.org/ohl.html)
75         * The software is licensed [GPL version 2](http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
76
77 ## [Production History](production) ##
78
79 ## [Flight Logs](flightlogs) ##
80
81 ## Problems ##
82
83 * The CC1111F32 is a 36-pin QFN package, which necessitates reflow 
84   soldering.  Since we needed to reflow solder anyway, and because TI used 
85   them in their reference design, we went a little crazy and used 0402 
86   passive parts everywhere.  That means working under a microscope to 
87   place parts!  Without an inspection microscope, loading and testing these
88   boards might be impossible.
89
90 * The v0.1 artwork has the USB connector footprint placed wrong, so that the
91   connector hangs out over the edge of the board instead of being flush with
92   the edge.
93
94 * The v0.1 artwork has two issues that require cuts and jumps.  The first is
95   that we need chip select on the SPI memory.  To fix that, we give up the 
96   ability to put the accelerometer into self-test mode and use that GPIO line
97   to pull chip select on the memory.  The second is that the igniter sense
98   circuits each need a second resistor to complete the voltage divider so our
99   3.3V CPU ADC can read the 5V ejection voltage.  This is fixed by changing
100   two resistor values, and tacking two additional resistors onto the board
101   with jumpers to ground.
102
103 ## Artifacts ##
104
105 The hardware design current gEDA files are available from 
106 [git.gag.com](http://git.gag.com) in the project 
107 [hw/telemetrum](http://git.gag.com/?p=hw/telemetrum;a=summary).  
108
109 Work on the next version proceeds on the master branch, with occasional
110 temporary branches created when Bdale is making some major / speculative
111 change.  The 'v0.2' and 'v0.1' branches document what we're actually flying 
112 right now on the two respective PCB revisions.  The 'ground' branch has a 
113 cut-down schematic used to generate the BOM for partially loading v0.1 boards 
114 to used on the ground.  We call the on-the-ground version 'TeleDongle'.
115
116 For those who don't have ready access to the gEDA suite, here are pdf snapshots
117 of files in more easily readable form.  
118
119 * These are from the v0.2 branch:
120  * [schematic](v0.2/telemetrum.pdf)
121  * [pcb artwork](v0.2/telemetrum.pcb.pdf)
122  * [bill of materials](v0.2/partslist.csv)
123 * These are as of the working-v0.1 tag:  
124  * [schematic](v0.1/telemetrum.pdf)
125  * [pcb artwork](v0.1/telemetrum.pcb.pdf)
126  * [bill of materials](v0.1/telemetrum.bom)
127
128 We have firmware that works well enough that we now routinely allow TeleMetrum 
129 to control flights by firing ejection charges.  We've flown v0.1 boards in 
130 rockets exceeding 50g acceleration, above Mach 1, and to altitudes greater 
131 than 12k feet AGL with great results.  Keith wrote a ground station program 
132 called 
133 ao-view that logs telemetry to disk, displays current and max
134 values for key parameters during flight, and even includes voice synthesis 
135 during the flight so that our eyes can stay on the rockets!  We have post
136 flight analysis software that makes it easy to extract data from the board,
137 analyze it, and even generate KML files for viewing flights in GoogleEarth!
138 More details on the software, including full source code and pre-built packages
139 can be found on the [AltOS](../AltOS) page on this site.
140
141 ## Future Plans ##
142
143 Work is underway on a second revision of TeleMetrum with the following changes:
144
145 * stretch board length by 0.25 inches
146 * adjust USB connector position to be flush with edge of board
147 * eliminate temperature sensor, since baro sensor is already compensated and there's a sensor on the cc1111
148 * eliminate serial port connector
149 * integrate SkyTraq Venus GPS receiver and patch antenna on-board
150 * change debug connector to 4 pin Tyco MicroMaTch
151 * add 8 pin Tyco MicroMaTch connector for companion board interface
152 * use v_lipo as pyro power, eliminating the huge 1000uF capacitor and instead
153   adding ballast capacitance on the 3.3V rail to prevent brownouts
154 * move all connectors, beeper, and GPS patch antenna to the "other side" of the board from the surface mount parts
155 * add a rectangle of silk screen material for improved serial number labeling
156
157 As of early December 2009, the layout work for v0.2 is done and we're busy
158 verifying it and deciding exactly how we're going to build them.  We hope to
159 have first prototypes to test in time to show the new version at LCA in late
160 January 2010.  If it works out as well as we hope, v0.2 may be made available 
161 in assembled and tested form to others in the rocketry hobby who have 
162 expressed interest sometime in 2010.