# TeleMetrum
-This is a recording altimeter for high power model rocketry with integrated
-telemetry link.
+This is a recording dual-deploy altimeter for high power model rocketry
+with integrated telemetry link.
+
+<a href="loadedpair.jpg"> <img src="loadedpair-thumb.jpg"></a>
+<a href="rawfront.jpg"> <img src="rawfront-thumb.jpg"></a>
+<a href="rawback.jpg"> <img src="rawback-thumb.jpg"></a>
## Motivation ##
* Recording altimeter for model rocketry
* Supports dual deployment (can fire 2 ejection charges)
* 70cm ham-band transceiver for telemetry downlink
-* Primary operations based on pressure sensor
+* Barometric pressure sensor good to 45k feet MSL
* Temperature sensor
* 1-axis high-g accelerometer for motor characterization
* On-board non-volatile memory for flight data storage
* Serial port for attachment of GPS module
* USB for power, configuration, and data recovery
* Integrated support for LiPo rechargeable batteries
-* Designed to fit 29mm airframe tube
+* 2.5 x 1 inch board designed to fit inside 29mm airframe coupler tube
### Developer View ###
-* TI CC1111F32 Low Power RF System-on-Chip
+* [TI CC1111F32](http://focus.ti.com/docs/prod/folders/print/cc1111f32.html) Low Power RF System-on-Chip
* Sub-1Ghz transceiver
* 8051 MCU
* 32k Flash
* 4k RAM
* USB 2.0
- * analog, digital, and serial I/O
-* Microchip 25LC1024 CMOS serial EEPROM
+ * 6 12-bit analog inputs (11 bits with single-ended sensors)
+ * 2 channels of serial I/O
+ * digital I/O
+* [Microchip 25LC1024](http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en520389) CMOS serial EEPROM
* 128k x 8
* SPI interface
* Various Sensors
- * Freescale MP3H6115A pressure sensor
- * Freescale MMA2202EG 50g accelerometer. Can use 40-200g variants!
- * Microchip MCP9700A temperature sensor
+ * [Freescale MP3H6115A](http://www.freescale.com/webapp/search.partparamdetail.framework?PART_NUMBER=MP3H6115A6U) pressure sensor
+ * [Freescale MMA2202EG](http://www.freescale.com/webapp/search.partparamdetail.framework?PART_NUMBER=MMA2202EG) 50g accelerometer. Can use 40-200g variants!
+ * [Microchip MCP9700A](http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en027103) temperature sensor
* Software Features (planned)
* Written mostly in C with some 8051 assembler
* Runs from on-chip flash, uses on-chip RAM, stores flight data to
serial EEPROM chip
* USB serial emulation for "console" interface
- * USB mass storate emulation for data recovery
- * Uses the SDCC compiler and FreeRTOS
+* Tools Used
+ * [gEDA](http://www.gpleda.org/) for schematic capture and PCB layout
+ * [SDCC](http://sdcc.sourceforge.net/) compiler and source debugger
* Licenses
- * The hardware is licensed under the TAPR OHL
- * The software is licensed GPL version 2
+ * The hardware is licensed under the [TAPR](http://www.tapr.org) [Open Hardware License](http://www.tapr.org/ohl.html)
+ * The software is licensed [GPL version 2](http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
+
+## [Production History](production) ##
+
+## [Flight Logs](flightlogs) ##
## Problems ##
-* The CC1111F32 is a 36-pin QFN package, which necessitates reflow soldering.
+* The CC1111F32 is a 36-pin QFN package, which necessitates reflow
+ soldering. Since we needed to reflow solder anyway, and because TI used
+ them in their reference design, we went a little crazy and used 0402
+ passive parts everywhere. That means working under a microscope to
+ place parts! Without an inspection microscope, loading and testing these
+ boards might be impossible.
+
+* The v0.1 artwork has the USB connector footprint placed wrong, so that the
+ connector hangs out over the edge of the board instead of being flush with
+ the edge.
-* Since we needed to reflow solder anyway, and because TI used them in their
- reference design, we went a little crazy and used 0402 passive parts
- everywhere. That means working under a microscope to place parts!
+* The v0.1 artwork has two issues that require cuts and jumps. The first is
+ that we need chip select on the SPI memory. To fix that, we give up the
+ ability to put the accelerometer into self-test mode and use that GPIO line
+ to pull chip select on the memory. The second is that the igniter sense
+ circuits each need a second resistor to complete the voltage divider so our
+ 3.3V CPU ADC can read the 5V ejection voltage. This is fixed by changing
+ two resistor values, and tacking two additional resistors onto the board
+ with jumpers to ground.
## Artifacts ##
The hardware design current gEDA files are available from
-[git.gag.com](http://git.gag.com).
+[git.gag.com](http://git.gag.com) in the project
+[hw/telemetrum](http://git.gag.com/?p=hw/telemetrum;a=summary). The 'fab'
+tag on the master branch reflects
+the artwork as sent out for PCB fab. The 'loaded' tag on the master branch
+indicates the parts Bdale loads for a functional board, but the schematic
+does not reflect the cuts and jumps or added resistors. The 'nextcut' branch
+is work towards our next PCB revision. The 'ground' branch has a cut-down
+schematic used to generate the BOM for partially loading boards to use in
+the matching [TeleTerra](../TeleTerra) ground station design.
+
+For those who don't have ready access to the gEDA suite, here are pdf snapshots
+of files in more easily readable form. The schematic and BOM are from the
+'nextcut' branch as of 20 April 2009, the artwork is of the v0.1 boards:
+
+* [schematic](telemetrum.pdf)
+* [pcb artwork](telemetrum.pcb.pdf)
+* [bill of materials](telemetrum.bom)
+
-As of 1 January 2009, the parts and stencil for v0.1 have arrived, and
-we're waiting for the raw PC boards! Stay tuned for updates, and note that
-Bdale will be giving an update in his session at Linux Conference Australia
-in late January...
+Keith has working firmware that has now been flown once and successfully
+collected flight data to apogee. The source is also available from
+[git.gag.com](http://git.gag.com) in the project
+[fw/altos](http://git.gag.com/?p=fw/altos;a=summary). This repository includes
+sources for the firmware, ground station program, and related utilities. Note
+that actually building these sources requires a modifified version of sdcc,
+for which we have not published diffs since they are in the process of being
+accepted upstream. Watch this space for more details.