afc7eb891d4b1895a5e6e95779957fe88c4bdee9
[fw/altos] / doc / altusmetrum.xsl
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3   "/usr/share/xml/docbook/schema/dtd/4.5/docbookx.dtd">
4 <book>
5   <title>The Altus Metrum System</title>
6   <subtitle>An Owner's Manual for Altus Metrum Rocketry Electronics</subtitle>
7   <bookinfo>
8     <author>
9       <firstname>Bdale</firstname>
10       <surname>Garbee</surname>
11     </author>
12     <author>
13       <firstname>Keith</firstname>
14       <surname>Packard</surname>
15     </author>
16     <author>
17       <firstname>Bob</firstname>
18       <surname>Finch</surname>
19     </author>
20     <author>
21       <firstname>Anthony</firstname>
22       <surname>Towns</surname>
23     </author>
24     <copyright>
25       <year>2014</year>
26       <holder>Bdale Garbee and Keith Packard</holder>
27     </copyright>
28     <legalnotice>
29       <para>
30         This document is released under the terms of the
31         <ulink url="http://creativecommons.org/licenses/by-sa/3.0/">
32           Creative Commons ShareAlike 3.0
33         </ulink>
34         license.
35       </para>
36     </legalnotice>
37     <revhistory>
38       <revision>
39         <revnumber>1.3.2</revnumber>
40         <date>24 January 2014</date>
41         <revremark>
42           Bug fixes for TeleMega and AltosUI.
43         </revremark>
44       </revision>
45       <revision>
46         <revnumber>1.3.1</revnumber>
47         <date>21 January 2014</date>
48         <revremark>
49           Bug fixes for TeleMega and TeleMetrum v2.0 along with a few
50           small UI improvements.
51         </revremark>
52       </revision>
53       <revision>
54         <revnumber>1.3</revnumber>
55         <date>12 November 2013</date>
56         <revremark>
57           Updated for software version 1.3. Version 1.3 adds support
58           for TeleMega, TeleMetrum v2.0, TeleMini v2.0 and EasyMini
59           and fixes bugs in AltosUI and the AltOS firmware.
60         </revremark>
61       </revision>
62       <revision>
63         <revnumber>1.2.1</revnumber>
64         <date>21 May 2013</date>
65         <revremark>
66           Updated for software version 1.2. Version 1.2 adds support
67           for TeleBT and AltosDroid. It also adds a few minor features
68           and fixes bugs in AltosUI and the AltOS firmware.
69         </revremark>
70       </revision>
71       <revision>
72         <revnumber>1.2</revnumber>
73         <date>18 April 2013</date>
74         <revremark>
75           Updated for software version 1.2. Version 1.2 adds support
76           for MicroPeak and the MicroPeak USB interface.
77         </revremark>
78       </revision>
79       <revision>
80         <revnumber>1.1.1</revnumber>
81         <date>16 September 2012</date>
82         <revremark>
83           Updated for software version 1.1.1 Version 1.1.1 fixes a few
84           bugs found in version 1.1.
85         </revremark>
86       </revision>
87       <revision>
88         <revnumber>1.1</revnumber>
89         <date>13 September 2012</date>
90         <revremark>
91           Updated for software version 1.1. Version 1.1 has new
92           features but is otherwise compatible with version 1.0.
93         </revremark>
94       </revision>
95       <revision>
96         <revnumber>1.0</revnumber>
97         <date>24 August 2011</date>
98         <revremark>
99           Updated for software version 1.0.  Note that 1.0 represents a
100           telemetry format change, meaning both ends of a link 
101           (TeleMetrum/TeleMini and TeleDongle) must be updated or 
102           communications will fail.
103         </revremark>
104       </revision>
105       <revision>
106         <revnumber>0.9</revnumber>
107         <date>18 January 2011</date>
108         <revremark>
109           Updated for software version 0.9.  Note that 0.9 represents a
110           telemetry format change, meaning both ends of a link (TeleMetrum and
111           TeleDongle) must be updated or communications will fail.
112         </revremark>
113       </revision>
114       <revision>
115         <revnumber>0.8</revnumber>
116         <date>24 November 2010</date>
117         <revremark>Updated for software version 0.8 </revremark>
118       </revision>
119     </revhistory>
120   </bookinfo>
121   <dedication>
122     <title>Acknowledgments</title>
123     <para>
124       Thanks to Bob Finch, W9YA, NAR 12965, TRA 12350 for writing “The
125       Mere-Mortals Quick Start/Usage Guide to the Altus Metrum Starter
126       Kit” which formed the basis of the original Getting Started chapter 
127       in this manual.  Bob was one of our first customers for a production
128       TeleMetrum, and his continued enthusiasm and contributions
129       are immensely gratifying and highly appreciated!
130     </para>
131     <para>
132       And thanks to Anthony (AJ) Towns for major contributions including
133       the AltosUI graphing and site map code and associated documentation. 
134       Free software means that our customers and friends can become our
135       collaborators, and we certainly appreciate this level of
136       contribution!
137     </para>
138     <para>
139       Have fun using these products, and we hope to meet all of you
140       out on the rocket flight line somewhere.
141       <literallayout>
142 Bdale Garbee, KB0G
143 NAR #87103, TRA #12201
144
145 Keith Packard, KD7SQG
146 NAR #88757, TRA #12200
147       </literallayout>
148     </para>
149   </dedication>
150   <chapter>
151     <title>Introduction and Overview</title>
152     <para>
153       Welcome to the Altus Metrum community!  Our circuits and software reflect
154       our passion for both hobby rocketry and Free Software.  We hope their
155       capabilities and performance will delight you in every way, but by
156       releasing all of our hardware and software designs under open licenses,
157       we also hope to empower you to take as active a role in our collective
158       future as you wish!
159     </para>
160     <para>
161       The first device created for our community was TeleMetrum, a dual
162       deploy altimeter with fully integrated GPS and radio telemetry
163       as standard features, and a “companion interface” that will
164       support optional capabilities in the future. The latest version
165       of TeleMetrum, v2.0, has all of the same features but with
166       improved sensors and radio to offer increased performance.
167     </para>
168     <para>
169       Our second device was TeleMini, a dual deploy altimeter with
170       radio telemetry and radio direction finding. The first version
171       of this device was only 13mm by 38mm (½ inch by 1½ inches) and
172       could fit easily in an 18mm air-frame. The latest version, v2.0,
173       includes a beeper, USB data download and extended on-board
174       flight logging, along with an improved barometric sensor.
175     </para>
176     <para>
177       TeleMega is our most sophisticated device, including six pyro
178       channels (four of which are fully programmable), integrated GPS,
179       integrated gyroscopes for staging/air-start inhibit and high
180       performance telemetry.
181     </para>
182     <para>
183       EasyMini is a dual-deploy altimeter with logging and built-in
184       USB data download.
185     </para>
186     <para>
187       TeleDongle was our first ground station, providing a USB to RF
188       interfaces for communicating with the altimeters. Combined with
189       your choice of antenna and notebook computer, TeleDongle and our
190       associated user interface software form a complete ground
191       station capable of logging and displaying in-flight telemetry,
192       aiding rocket recovery, then processing and archiving flight
193       data for analysis and review.
194     </para>
195     <para>
196       For a slightly more portable ground station experience that also
197       provides direct rocket recovery support, TeleBT offers flight
198       monitoring and data logging using a  Bluetooth™ connection between
199       the receiver and an Android device that has the AltosDroid
200       application installed from the Google Play store.
201     </para>
202     <para>
203       More products will be added to the Altus Metrum family over time, and
204       we currently envision that this will be a single, comprehensive manual
205       for the entire product family.
206     </para>
207   </chapter>
208   <chapter>
209     <title>Getting Started</title>
210     <para>
211       The first thing to do after you check the inventory of parts in your
212       “starter kit” is to charge the battery.
213     </para>
214     <para>
215       For TeleMetrum and TeleMega, the battery can be charged by plugging it into the
216       corresponding socket of the device and then using the USB
217       cable to plug the flight computer into your computer's USB socket. The
218       on-board circuitry will charge the battery whenever it is plugged
219       in, because the on-off switch does NOT control the
220       charging circuitry.
221     </para>
222     <para>
223       On TeleMetrum v1 boards, when the GPS chip is initially
224       searching for satellites, TeleMetrum will consume more current
225       than it pulls from the USB port, so the battery must be
226       attached in order to get satellite lock.  Once GPS is locked,
227       the current consumption goes back down enough to enable charging
228       while running. So it's a good idea to fully charge the battery
229       as your first item of business so there is no issue getting and
230       maintaining satellite lock.  The yellow charge indicator led
231       will go out when the battery is nearly full and the charger goes
232       to trickle charge. It can take several hours to fully recharge a
233       deeply discharged battery.
234     </para>
235     <para>
236       TeleMetrum v2.0 and TeleMega use a higher power battery charger,
237       allowing them to charge the battery while running the board at
238       maximum power. When the battery is charging, or when the board
239       is consuming a lot of power, the red LED will be lit. When the
240       battery is fully charged, the green LED will be lit. When the
241       battery is damaged or missing, both LEDs will be lit, which
242       appears yellow.
243     </para>
244     <para>
245       The Lithium Polymer TeleMini and EasyMini battery can be charged by
246       disconnecting it from the board and plugging it into a
247       standalone battery charger such as the LipoCharger product
248       included in TeleMini Starter Kits, and connecting that via a USB
249       cable to a laptop or other USB power source.
250     </para>
251     <para>
252       You can also choose to use another battery with TeleMini v2.0
253       and EasyMini, anything supplying between 4 and 12 volts should
254       work fine (like a standard 9V battery), but if you are planning
255       to fire pyro charges, ground testing is required to verify that
256       the battery supplies enough current to fire your chosen e-matches.
257     </para>
258     <para>
259       The other active device in the starter kit is the TeleDongle USB to
260       RF interface.  If you plug it in to your Mac or Linux computer it should
261       “just work”, showing up as a serial port device.  Windows systems need
262       driver information that is part of the AltOS download to know that the
263       existing USB modem driver will work.  We therefore recommend installing
264       our software before plugging in TeleDongle if you are using a Windows
265       computer.  If you are using an older version of Linux and are having 
266       problems, try moving to a fresher kernel (2.6.33 or newer). 
267     </para>
268     <para>
269       Next you should obtain and install the AltOS software.  The AltOS
270       distribution includes the AltosUI ground station program, current 
271       firmware
272       images for all of the hardware, and a number of standalone
273       utilities that are rarely needed.  Pre-built binary packages are
274       available for Linux, Microsoft Windows, and recent MacOSX
275       versions.  Full source code and build instructions are also
276       available.  The latest version may always be downloaded from
277       <ulink url="http://altusmetrum.org/AltOS"/>.
278     </para>
279     <para>
280       If you're using a TeleBT instead of the TeleDongle, you'll want to 
281       install the AltosDroid application from the Google Play store on an 
282       Android device. You don't need a data plan to use AltosDroid, but 
283       without network access, the Map view will be less useful as it
284       won't contain any map data. You can also use TeleBT connected
285       over USB with your laptop computer; it acts exactly like a
286       TeleDongle. Anywhere this manual talks about TeleDongle, you can
287       also read that as 'and TeleBT when connected via USB'.
288     </para>
289   </chapter>
290   <chapter>
291     <title>Handling Precautions</title>
292     <para>
293       All Altus Metrum products are sophisticated electronic devices.  
294       When handled gently and properly installed in an air-frame, they
295       will deliver impressive results.  However, as with all electronic 
296       devices, there are some precautions you must take.
297     </para>
298     <para>
299       The Lithium Polymer rechargeable batteries have an
300       extraordinary power density.  This is great because we can fly with
301       much less battery mass than if we used alkaline batteries or previous
302       generation rechargeable batteries... but if they are punctured
303       or their leads are allowed to short, they can and will release their
304       energy very rapidly!
305       Thus we recommend that you take some care when handling our batteries
306       and consider giving them some extra protection in your air-frame.  We
307       often wrap them in suitable scraps of closed-cell packing foam before
308       strapping them down, for example.
309     </para>
310     <para>
311       The barometric sensors used on all of our flight computers are 
312       sensitive to sunlight.  In normal mounting situations, the baro sensor
313       and all of the other surface mount components
314       are “down” towards whatever the underlying mounting surface is, so
315       this is not normally a problem.  Please consider this when designing an 
316       installation in an air-frame with a see-through plastic payload bay.  It
317       is particularly important to
318       consider this with TeleMini v1.0, both because the baro sensor is on the
319       “top” of the board, and because many model rockets with payload bays
320       use clear plastic for the payload bay!  Replacing these with an opaque
321       cardboard tube, painting them, or wrapping them with a layer of masking
322       tape are all reasonable approaches to keep the sensor out of direct
323       sunlight.
324     </para>
325     <para>
326       The barometric sensor sampling port must be able to “breathe”,
327       both by not being covered by foam or tape or other materials that might
328       directly block the hole on the top of the sensor, and also by having a
329       suitable static vent to outside air.
330     </para>
331     <para>
332       As with all other rocketry electronics, Altus Metrum altimeters must 
333       be protected from exposure to corrosive motor exhaust and ejection 
334       charge gasses.
335     </para>
336   </chapter>
337   <chapter>
338     <title>Altus Metrum Hardware</title>
339     <section>
340       <title>General Usage Instructions</title>
341       <para>
342         Here are general instructions for hooking up an Altus Metrum
343         flight computer. Instructions specific to each model will be
344         found in the section devoted to that model below.
345       </para>
346       <para>
347         To prevent electrical interference from affecting the
348         operation of the flight computer, it's important to always
349         twist pairs of wires connected to the board. Twist the switch
350         leads, the pyro leads and the battery leads. This reduces
351         interference through a mechanism called common mode rejection.
352       </para>
353       <section>
354         <title>Hooking Up Lithium Polymer Batteries</title>
355         <para>
356           All Altus Metrum flight computers have a two pin JST PH
357           series connector to connect up a single-cell Lithium Polymer
358           cell (3.7V nominal). You can purchase matching batteries
359           from the Altus Metrum store, or other vendors, or you can
360           make your own. Pin 1 of the connector is positive, pin 2 is
361           negative. Spark Fun sells a cable with the connector
362           attached, which they call a <ulink
363           url="https://www.sparkfun.com/products/9914">JST Jumper 2
364           Wire Assembly</ulink>.
365         </para>
366         <para>
367           Many RC vendors also sell lithium polymer batteries with
368           this same connector. All that we have found use the opposite
369           polarity, and if you use them that way, you will damage or
370           destroy the flight computer.
371         </para>
372       </section>
373       <section>
374         <title>Hooking Up Pyro Charges</title>
375         <para>
376           Altus Metrum flight computers always have two screws for
377           each pyro charge. This means you shouldn't need to put two
378           wires into a screw terminal or connect leads from pyro
379           charges together externally.
380         </para>
381         <para>
382           On the flight computer, one lead from each charge is hooked
383           to the positive battery terminal through the power switch.
384           The other lead is connected through the pyro circuit, which
385           is connected to the negative battery terminal when the pyro
386           circuit is fired.
387         </para>
388       </section>
389       <section>
390         <title>Hooking Up a Power Switch</title>
391         <para>
392           Altus Metrum flight computers need an external power switch
393           to turn them on. This disconnects both the computer and the
394           pyro charges from the battery, preventing the charges from
395           firing when in the Off position. The switch is in-line with
396           the positive battery terminal.
397         </para>
398         <section>
399           <title>Using an External Active Switch Circuit</title>
400           <para>
401             You can use an active switch circuit, such as the
402             Featherweight Magnetic Switch, with any Altus Metrum
403             flight computer. These require three connections, one to
404             the battery, one to the positive power input on the flight
405             computer and one to ground. Find instructions on how to
406             hook these up for each flight computer below. The follow
407             the instructions that come with your active switch to
408             connect it up.
409           </para>
410         </section>
411       </section>
412       <section>
413         <title>Using a Separate Pyro Battery</title>
414         <para>
415           As mentioned above in the section on hooking up pyro
416           charges, one lead for each of the pyro charges is connected
417           through the power switch directly to the positive battery
418           terminal. The other lead is connected to the pyro circuit,
419           which connects it to the negative battery terminal when the
420           pyro circuit is fired. The pyro circuit on all of the flight
421           computers is designed to handle up to 16V.
422         </para>
423         <para>
424           To use a separate pyro battery, connect the negative pyro
425           battery terminal to the flight computer ground terminal,
426           the positive battery terminal to the igniter and the other
427           igniter lead to the negative pyro terminal on the flight
428           computer. When the pyro channel fires, it will complete the
429           circuit between the negative pyro terminal and the ground
430           terminal, firing the igniter. Specific instructions on how
431           to hook this up will be found in each section below.
432         </para>
433       </section>
434       <section>
435         <title>Using a Different Kind of Battery</title>
436         <para>
437           EasyMini and TeleMini v2 are designed to use either a
438           lithium polymer battery or any other battery producing
439           between 4 and 12 volts, such as a rectangular 9V
440           battery. TeleMega and TeleMetrum are not designed for this,
441           and must only be powered by a lithium polymer battery. Find
442           instructions on how to use other batteries in the EasyMini
443           and TeleMini sections below.
444         </para>
445       </section>
446     </section>
447     <section>
448       <title>Specifications</title>
449       <para>
450         Here's the full set of Altus Metrum products, both in
451         production and retired.
452       </para>
453       <table frame='all'>
454         <title>Altus Metrum Electronics</title>
455         <?dbfo keep-together="always"?>
456         <tgroup cols='8' align='center' colsep='1' rowsep='1'>
457           <colspec align='center' colwidth='*' colname='Device'/>
458           <colspec align='center' colwidth='*' colname='Barometer'/>
459           <colspec align='center' colwidth='*' colname='Z-axis accelerometer'/>
460           <colspec align='center' colwidth='*' colname='GPS'/>
461           <colspec align='center' colwidth='*' colname='3D sensors'/>
462           <colspec align='center' colwidth='*' colname='Storage'/>
463           <colspec align='center' colwidth='*' colname='RF'/>
464           <colspec align='center' colwidth='*' colname='Battery'/>
465           <thead>
466             <row>
467               <entry align='center'>Device</entry>
468               <entry align='center'>Barometer</entry>
469               <entry align='center'>Z-axis accelerometer</entry>
470               <entry align='center'>GPS</entry>
471               <entry align='center'>3D sensors</entry>
472               <entry align='center'>Storage</entry>
473               <entry align='center'>RF Output</entry>
474               <entry align='center'>Battery</entry>
475             </row>
476           </thead>
477           <tbody>
478             <row>
479               <entry>TeleMetrum v1.0</entry>
480               <entry><para>MP3H6115 10km (33k')</para></entry>
481               <entry><para>MMA2202 50g</para></entry>
482               <entry>SkyTraq</entry>
483               <entry>-</entry>
484               <entry>1MB</entry>
485               <entry>10mW</entry>
486               <entry>3.7V</entry>
487             </row>
488             <row>
489               <entry>TeleMetrum v1.1</entry>
490               <entry><para>MP3H6115 10km (33k')</para></entry>
491               <entry><para>MMA2202 50g</para></entry>
492               <entry>SkyTraq</entry>
493               <entry>-</entry>
494               <entry>2MB</entry>
495               <entry>10mW</entry>
496               <entry>3.7V</entry>
497             </row>
498             <row>
499               <entry>TeleMetrum v1.2</entry>
500               <entry><para>MP3H6115 10km (33k')</para></entry>
501               <entry><para>ADXL78 70g</para></entry>
502               <entry>SkyTraq</entry>
503               <entry>-</entry>
504               <entry>2MB</entry>
505               <entry>10mW</entry>
506               <entry>3.7V</entry>
507             </row>
508             <row>
509               <entry>TeleMetrum v2.0</entry>
510               <entry><para>MS5607 30km (100k')</para></entry>
511               <entry><para>MMA6555 102g</para></entry>
512               <entry>uBlox Max-7Q</entry>
513               <entry>-</entry>
514               <entry>8MB</entry>
515               <entry>40mW</entry>
516               <entry>3.7V</entry>
517             </row>
518             <row>
519               <entry><para>TeleMini <?linebreak?>v1.0</para></entry>
520               <entry><para>MP3H6115 10km (33k')</para></entry>
521               <entry>-</entry>
522               <entry>-</entry>
523               <entry>-</entry>
524               <entry>5kB</entry>
525               <entry>10mW</entry>
526               <entry>3.7V</entry>
527             </row>
528             <row>
529               <entry>TeleMini <?linebreak?>v2.0</entry>
530               <entry><para>MS5607 30km (100k')</para></entry>
531               <entry>-</entry>
532               <entry>-</entry>
533               <entry>-</entry>
534               <entry>1MB</entry>
535               <entry>10mW</entry>
536               <entry>3.7-12V</entry>
537             </row>
538             <row>
539               <entry>EasyMini <?linebreak?>v1.0</entry>
540               <entry><para>MS5607 30km (100k')</para></entry>
541               <entry>-</entry>
542               <entry>-</entry>
543               <entry>-</entry>
544               <entry>1MB</entry>
545               <entry>-</entry>
546               <entry>3.7-12V</entry>
547             </row>
548             <row>
549               <entry>TeleMega <?linebreak?>v1.0</entry>
550               <entry><para>MS5607 30km (100k')</para></entry>
551               <entry><para>MMA6555 102g</para></entry>
552               <entry>uBlox Max-7Q</entry>
553               <entry><para>MPU6000 HMC5883</para></entry>
554               <entry>8MB</entry>
555               <entry>40mW</entry>
556               <entry>3.7V</entry>
557             </row>
558           </tbody>
559         </tgroup>
560       </table>
561       <table frame='all'>
562         <title>Altus Metrum Boards</title>
563         <?dbfo keep-together="always"?>
564         <tgroup cols='6' align='center' colsep='1' rowsep='1'>
565           <colspec align='center' colwidth='*' colname='Device'/>
566           <colspec align='center' colwidth='*' colname='Connectors'/>
567           <colspec align='center' colwidth='*' colname='Screw Terminals'/>
568           <colspec align='center' colwidth='*' colname='Width'/>
569           <colspec align='center' colwidth='*' colname='Length'/>
570           <colspec align='center' colwidth='*' colname='Tube Size'/>
571           <thead>
572             <row>
573               <entry align='center'>Device</entry>
574               <entry align='center'>Connectors</entry>
575               <entry align='center'>Screw Terminals</entry>
576               <entry align='center'>Width</entry>
577               <entry align='center'>Length</entry>
578               <entry align='center'>Tube Size</entry>
579             </row>
580           </thead>
581           <tbody>
582             <row>
583               <entry>TeleMetrum</entry>
584               <entry><para>
585                 Antenna<?linebreak?>
586                 Debug<?linebreak?>
587                 Companion<?linebreak?>
588                 USB<?linebreak?>
589                 Battery
590               </para></entry>
591               <entry><para>Apogee pyro <?linebreak?>Main pyro <?linebreak?>Switch</para></entry>
592               <entry>1 inch (2.54cm)</entry>
593               <entry>2 ¾ inch (6.99cm)</entry>
594               <entry>29mm coupler</entry>
595             </row>
596             <row>
597               <entry><para>TeleMini <?linebreak?>v1.0</para></entry>
598               <entry><para>
599                 Antenna<?linebreak?>
600                 Debug<?linebreak?>
601                 Battery
602               </para></entry>
603               <entry><para>
604                 Apogee pyro <?linebreak?>
605                 Main pyro
606               </para></entry>
607               <entry>½ inch (1.27cm)</entry>
608               <entry>1½ inch (3.81cm)</entry>
609               <entry>18mm coupler</entry>
610             </row>
611             <row>
612               <entry>TeleMini <?linebreak?>v2.0</entry>
613               <entry><para>
614                 Antenna<?linebreak?>
615                 Debug<?linebreak?>
616                 USB<?linebreak?>
617                 Battery
618               </para></entry>
619               <entry><para>
620                 Apogee pyro <?linebreak?>
621                 Main pyro <?linebreak?>
622                 Battery <?linebreak?>
623                 Switch
624                 </para></entry>
625               <entry>0.8 inch (2.03cm)</entry>
626               <entry>1½ inch (3.81cm)</entry>
627               <entry>24mm coupler</entry>
628             </row>
629             <row>
630               <entry>EasyMini</entry>
631               <entry><para>
632                 Debug<?linebreak?>
633                 USB<?linebreak?>
634                 Battery
635               </para></entry>
636               <entry><para>
637                 Apogee pyro <?linebreak?>
638                 Main pyro <?linebreak?>
639                 Battery <?linebreak?>
640                 Switch
641                 </para></entry>
642               <entry>0.8 inch (2.03cm)</entry>
643               <entry>1½ inch (3.81cm)</entry>
644               <entry>24mm coupler</entry>
645             </row>
646             <row>
647               <entry>TeleMega</entry>
648               <entry><para>
649                 Antenna<?linebreak?>
650                 Debug<?linebreak?>
651                 Companion<?linebreak?>
652                 USB<?linebreak?>
653                 Battery
654               </para></entry>
655               <entry><para>
656                 Apogee pyro <?linebreak?>
657                 Main pyro<?linebreak?>
658                 Pyro A-D<?linebreak?>
659                 Switch<?linebreak?>
660                 Pyro battery
661               </para></entry>
662               <entry>1¼ inch (3.18cm)</entry>
663               <entry>3¼ inch (8.26cm)</entry>
664               <entry>38mm coupler</entry>
665             </row>
666           </tbody>
667         </tgroup>
668       </table>
669     </section>
670     <section>
671       <title>TeleMetrum</title>
672       <informalfigure>
673         <mediaobject>
674           <imageobject>
675             <imagedata fileref="telemetrum-v1.1-thside.jpg" width="5.5in" scalefit="1"/>
676           </imageobject>
677         </mediaobject>
678       </informalfigure>
679       <para>
680         TeleMetrum is a 1 inch by 2¾ inch circuit board.  It was designed to
681         fit inside coupler for 29mm air-frame tubing, but using it in a tube that
682         small in diameter may require some creativity in mounting and wiring
683         to succeed!  The presence of an accelerometer means TeleMetrum should
684         be aligned along the flight axis of the airframe, and by default the ¼
685         wave UHF wire antenna should be on the nose-cone end of the board.  The
686         antenna wire is about 7 inches long, and wiring for a power switch and
687         the e-matches for apogee and main ejection charges depart from the
688         fin can end of the board, meaning an ideal “simple” avionics
689         bay for TeleMetrum should have at least 10 inches of interior length.
690       </para>
691       <section>
692         <title>TeleMetrum Screw Terminals</title>
693         <para>
694           TeleMetrum has six screw terminals on the end of the board
695           opposite the telemetry antenna. Two are for the power
696           switch, and two each for the apogee and main igniter
697           circuits. Using the picture above and starting from the top,
698           the terminals are as follows:
699         </para>
700         <table frame='all'>
701           <title>TeleMetrum Screw Terminals</title>
702           <?dbfo keep-together="always"?>
703           <tgroup cols='3' align='center' colsep='1' rowsep='1'>
704             <colspec align='center' colwidth='*' colname='Pin #'/>
705             <colspec align='center' colwidth='2*' colname='Pin Name'/>
706             <colspec align='left' colwidth='5*' colname='Description'/>
707             <thead>
708               <row>
709                 <entry align='center'>Terminal #</entry>
710                 <entry align='center'>Terminal Name</entry>
711                 <entry align='center'>Description</entry>
712               </row>
713             </thead>
714             <tbody>
715               <row>
716                 <entry>1</entry>
717                 <entry>Switch Output</entry>
718                 <entry>Switch connection to flight computer</entry>
719               </row>
720               <row>
721                 <entry>2</entry>
722                 <entry>Switch Input</entry>
723                 <entry>Switch connection to positive battery terminal</entry>
724               </row>
725               <row>
726                 <entry>3</entry>
727                 <entry>Main +</entry>
728                 <entry>Main pyro channel common connection to battery +</entry>
729               </row>
730               <row>
731                 <entry>4</entry>
732                 <entry>Main -</entry>
733                 <entry>Main pyro channel connection to pyro circuit</entry>
734               </row>
735               <row>
736                 <entry>5</entry>
737                 <entry>Apogee +</entry>
738                 <entry>Apogee pyro channel common connection to battery +</entry>
739               </row>
740               <row>
741                 <entry>6</entry>
742                 <entry>Apogee -</entry>
743                 <entry>Apogee pyro channel connection to pyro circuit</entry>
744               </row>
745             </tbody>
746           </tgroup>
747         </table>
748       </section>
749       <section>
750         <title>Using a Separate Pyro Battery with TeleMetrum</title>
751         <para>
752           As described above, using an external pyro battery involves
753           connecting the negative battery terminal to the flight
754           computer ground, connecting the positive battery terminal to
755           one of the igniter leads and connecting the other igniter
756           lead to the per-channel pyro circuit connection.
757         </para>
758         <para>
759           To connect the negative battery terminal to the TeleMetrum
760           ground, insert a small piece of wire, 24 to 28 gauge
761           stranded, into the GND hole just above the screw terminal
762           strip and solder it in place.
763         </para>
764         <para>
765           Connecting the positive battery terminal to the pyro
766           charges must be done separate from TeleMetrum, by soldering
767           them together or using some other connector.
768         </para>
769         <para>
770           The other lead from each pyro charge is then inserted into
771           the appropriate per-pyro channel screw terminal (terminal 4 for the
772           Main charge, terminal 6 for the Apogee charge).
773         </para>
774       </section>
775       <section>
776         <title>Using an Active Switch with TeleMetrum</title>
777         <para>
778           As explained above, an external active switch requires three
779           connections, one to the positive battery terminal, one to
780           the flight computer positive input and one to ground.
781         </para>
782         <para>
783           The positive battery terminal is available on screw terminal
784           2, the positive flight computer input is on terminal 1. To
785           hook a lead to ground, solder a piece of wire, 24 to 28
786           gauge stranded, to the GND hole just above terminal 1.
787         </para>
788       </section>
789     </section>
790     <section>
791       <title>TeleMini v1.0</title>
792       <informalfigure>
793         <mediaobject>
794           <imageobject>
795             <imagedata fileref="telemini-v1-top.jpg" width="5.5in" scalefit="1"/>
796           </imageobject>
797         </mediaobject>
798       </informalfigure>
799       <para>
800         TeleMini v1.0 is ½ inches by 1½ inches.  It was
801         designed to fit inside an 18mm air-frame tube, but using it in
802         a tube that small in diameter may require some creativity in
803         mounting and wiring to succeed!  Since there is no
804         accelerometer, TeleMini can be mounted in any convenient
805         orientation.  The default ¼ wave UHF wire antenna attached to
806         the center of one end of the board is about 7 inches long. Two
807         wires for the power switch are connected to holes in the
808         middle of the board. Screw terminals for the e-matches for
809         apogee and main ejection charges depart from the other end of
810         the board, meaning an ideal “simple” avionics bay for TeleMini
811         should have at least 9 inches of interior length.
812       </para>
813       <section>
814         <title>TeleMini v1.0 Screw Terminals</title>
815         <para>
816           TeleMini v1.0 has four screw terminals on the end of the
817           board opposite the telemetry antenna. Two are for the apogee
818           and two are for main igniter circuits. There are also wires
819           soldered to the board for the power switch.  Using the
820           picture above and starting from the top for the terminals
821           and from the left for the power switch wires, the
822           connections are as follows:
823         </para>
824         <table frame='all'>
825           <title>TeleMini v1.0 Connections</title>
826           <?dbfo keep-together="always"?>
827           <tgroup cols='3' align='center' colsep='1' rowsep='1'>
828             <colspec align='center' colwidth='*' colname='Pin #'/>
829             <colspec align='center' colwidth='2*' colname='Pin Name'/>
830             <colspec align='left' colwidth='5*' colname='Description'/>
831             <thead>
832               <row>
833                 <entry align='center'>Terminal #</entry>
834                 <entry align='center'>Terminal Name</entry>
835                 <entry align='center'>Description</entry>
836               </row>
837             </thead>
838             <tbody>
839               <row>
840                 <entry>1</entry>
841                 <entry>Apogee -</entry>
842                 <entry>Apogee pyro channel connection to pyro circuit</entry>
843               </row>
844               <row>
845                 <entry>2</entry>
846                 <entry>Apogee +</entry>
847                 <entry>Apogee pyro channel common connection to battery +</entry>
848               </row>
849               <row>
850                 <entry>3</entry>
851                 <entry>Main -</entry>
852                 <entry>Main pyro channel connection to pyro circuit</entry>
853               </row>
854               <row>
855                 <entry>4</entry>
856                 <entry>Main +</entry>
857                 <entry>Main pyro channel common connection to battery +</entry>
858               </row>
859               <row>
860                 <entry>Left</entry>
861                 <entry>Switch Output</entry>
862                 <entry>Switch connection to flight computer</entry>
863               </row>
864               <row>
865                 <entry>Right</entry>
866                 <entry>Switch Input</entry>
867                 <entry>Switch connection to positive battery terminal</entry>
868               </row>
869             </tbody>
870           </tgroup>
871         </table>
872       </section>
873       <section>
874         <title>Using a Separate Pyro Battery with TeleMini v1.0</title>
875         <para>
876           As described above, using an external pyro battery involves
877           connecting the negative battery terminal to the flight
878           computer ground, connecting the positive battery terminal to
879           one of the igniter leads and connecting the other igniter
880           lead to the per-channel pyro circuit connection. Because
881           there is no solid ground connection to use on TeleMini, this
882           is not recommended.
883         </para>
884         <para>
885           The only available ground connection on TeleMini v1.0 are
886           the two mounting holes next to the telemetry
887           antenna. Somehow connect a small piece of wire to one of
888           those holes and hook it to the negative pyro battery terminal.
889         </para>
890         <para>
891           Connecting the positive battery terminal to the pyro
892           charges must be done separate from TeleMini v1.0, by soldering
893           them together or using some other connector.
894         </para>
895         <para>
896           The other lead from each pyro charge is then inserted into
897           the appropriate per-pyro channel screw terminal (terminal 3 for the
898           Main charge, terminal 1 for the Apogee charge).
899         </para>
900       </section>
901       <section>
902         <title>Using an Active Switch with TeleMini v1.0</title>
903         <para>
904           As explained above, an external active switch requires three
905           connections, one to the positive battery terminal, one to
906           the flight computer positive input and one to ground. Again,
907           because TeleMini doesn't have any good ground connection,
908           this is not recommended.
909         </para>
910         <para>
911           The positive battery terminal is available on the Right
912           power switch wire, the positive flight computer input is on
913           the left power switch wire. Hook a lead to either of the
914           mounting holes for a ground connection.
915         </para>
916       </section>
917     </section>
918     <section>
919       <title>TeleMini v2.0</title>
920       <informalfigure>
921         <mediaobject>
922           <imageobject>
923             <imagedata fileref="telemini-v2-top.jpg" width="5.5in" scalefit="1"/>
924           </imageobject>
925         </mediaobject>
926       </informalfigure>
927       <para>
928         TeleMini v2.0 is 0.8 inches by 1½ inches. It adds more
929         on-board data logging memory, a built-in USB connector and
930         screw terminals for the battery and power switch. The larger
931         board fits in a 24mm coupler. There's also a battery connector
932         for a LiPo battery if you want to use one of those.
933       </para>
934       <section>
935         <title>TeleMini v2.0 Screw Terminals</title>
936         <para>
937           TeleMini v2.0 has two sets of four screw terminals on the end of the
938           board opposite the telemetry antenna. Using the picture
939           above, the top four have connections for the main pyro
940           circuit and an external battery and the bottom four have
941           connections for the apogee pyro circuit and the power
942           switch. Counting from the left, the connections are as follows:
943         </para>
944         <table frame='all'>
945           <title>TeleMini v2.0 Connections</title>
946           <?dbfo keep-together="always"?>
947           <tgroup cols='3' align='center' colsep='1' rowsep='1'>
948             <colspec align='center' colwidth='*' colname='Pin #'/>
949             <colspec align='center' colwidth='2*' colname='Pin Name'/>
950             <colspec align='left' colwidth='5*' colname='Description'/>
951             <thead>
952               <row>
953                 <entry align='center'>Terminal #</entry>
954                 <entry align='center'>Terminal Name</entry>
955                 <entry align='center'>Description</entry>
956               </row>
957             </thead>
958             <tbody>
959               <row>
960                 <entry>Top 1</entry>
961                 <entry>Main -</entry>
962                 <entry>Main pyro channel connection to pyro circuit</entry>
963               </row>
964               <row>
965                 <entry>Top 2</entry>
966                 <entry>Main +</entry>
967                 <entry>Main pyro channel common connection to battery +</entry>
968               </row>
969               <row>
970                 <entry>Top 3</entry>
971                 <entry>Battery +</entry>
972                 <entry>Positive external battery terminal</entry>
973               </row>
974               <row>
975                 <entry>Top 4</entry>
976                 <entry>Battery -</entry>
977                 <entry>Negative external battery terminal</entry>
978               </row>
979               <row>
980                 <entry>Bottom 1</entry>
981                 <entry>Apogee -</entry>
982                 <entry>Apogee pyro channel connection to pyro circuit</entry>
983               </row>
984               <row>
985                 <entry>Bottom 2</entry>
986                 <entry>Apogee +</entry>
987                 <entry>Apogee pyro channel common connection to
988                 battery +</entry>
989               </row>
990               <row>
991                 <entry>Bottom 3</entry>
992                 <entry>Switch Output</entry>
993                 <entry>Switch connection to flight computer</entry>
994               </row>
995               <row>
996                 <entry>Bottom 4</entry>
997                 <entry>Switch Input</entry>
998                 <entry>Switch connection to positive battery terminal</entry>
999               </row>
1000             </tbody>
1001           </tgroup>
1002         </table>
1003       </section>
1004       <section>
1005         <title>Using a Separate Pyro Battery with TeleMini v2.0</title>
1006         <para>
1007           As described above, using an external pyro battery involves
1008           connecting the negative battery terminal to the flight
1009           computer ground, connecting the positive battery terminal to
1010           one of the igniter leads and connecting the other igniter
1011           lead to the per-channel pyro circuit connection.
1012         </para>
1013         <para>
1014           To connect the negative pyro battery terminal to TeleMini
1015           ground, connect it to the negative external battery
1016           connection, top terminal 4.
1017         </para>
1018         <para>
1019           Connecting the positive battery terminal to the pyro
1020           charges must be done separate from TeleMini v2.0, by soldering
1021           them together or using some other connector.
1022         </para>
1023         <para>
1024           The other lead from each pyro charge is then inserted into
1025           the appropriate per-pyro channel screw terminal (top
1026           terminal 1 for the Main charge, bottom terminal 1 for the
1027           Apogee charge).
1028         </para>
1029       </section>
1030       <section>
1031         <title>Using an Active Switch with TeleMini v2.0</title>
1032         <para>
1033           As explained above, an external active switch requires three
1034           connections, one to the positive battery terminal, one to
1035           the flight computer positive input and one to ground. Use
1036           the negative external battery connection, top terminal 4 for
1037           ground.
1038         </para>
1039         <para>
1040           The positive battery terminal is available on bottom
1041           terminal 4, the positive flight computer input is on the
1042           bottom terminal 3.
1043         </para>
1044       </section>
1045     </section>
1046     <section>
1047       <title>EasyMini</title>
1048       <informalfigure>
1049         <mediaobject>
1050           <imageobject>
1051             <imagedata fileref="easymini-top.jpg" width="5.5in" scalefit="1"/>
1052           </imageobject>
1053         </mediaobject>
1054       </informalfigure>
1055       <para>
1056         EasyMini is built on a 0.8 inch by 1½ inch circuit board. It's
1057         designed to fit in a 24mm coupler tube. The connectors and
1058         screw terminals match TeleMini v2.0, so you can easily swap between
1059         EasyMini and TeleMini.
1060       </para>
1061       <section>
1062         <title>EasyMini Screw Terminals</title>
1063         <para>
1064           EasyMini has two sets of four screw terminals on the end of the
1065           board opposite the telemetry antenna. Using the picture
1066           above, the top four have connections for the main pyro
1067           circuit and an external battery and the bottom four have
1068           connections for the apogee pyro circuit and the power
1069           switch. Counting from the left, the connections are as follows:
1070         </para>
1071         <table frame='all'>
1072           <title>EasyMini Connections</title>
1073           <?dbfo keep-together="always"?>
1074           <tgroup cols='3' align='center' colsep='1' rowsep='1'>
1075             <colspec align='center' colwidth='*' colname='Pin #'/>
1076             <colspec align='center' colwidth='2*' colname='Pin Name'/>
1077             <colspec align='left' colwidth='5*' colname='Description'/>
1078             <thead>
1079               <row>
1080                 <entry align='center'>Terminal #</entry>
1081                 <entry align='center'>Terminal Name</entry>
1082                 <entry align='center'>Description</entry>
1083               </row>
1084             </thead>
1085             <tbody>
1086               <row>
1087                 <entry>Top 1</entry>
1088                 <entry>Main -</entry>
1089                 <entry>Main pyro channel connection to pyro circuit</entry>
1090               </row>
1091               <row>
1092                 <entry>Top 2</entry>
1093                 <entry>Main +</entry>
1094                 <entry>Main pyro channel common connection to battery +</entry>
1095               </row>
1096               <row>
1097                 <entry>Top 3</entry>
1098                 <entry>Battery +</entry>
1099                 <entry>Positive external battery terminal</entry>
1100               </row>
1101               <row>
1102                 <entry>Top 4</entry>
1103                 <entry>Battery -</entry>
1104                 <entry>Negative external battery terminal</entry>
1105               </row>
1106               <row>
1107                 <entry>Bottom 1</entry>
1108                 <entry>Apogee -</entry>
1109                 <entry>Apogee pyro channel connection to pyro circuit</entry>
1110               </row>
1111               <row>
1112                 <entry>Bottom 2</entry>
1113                 <entry>Apogee +</entry>
1114                 <entry>Apogee pyro channel common connection to
1115                 battery +</entry>
1116               </row>
1117               <row>
1118                 <entry>Bottom 3</entry>
1119                 <entry>Switch Output</entry>
1120                 <entry>Switch connection to flight computer</entry>
1121               </row>
1122               <row>
1123                 <entry>Bottom 4</entry>
1124                 <entry>Switch Input</entry>
1125                 <entry>Switch connection to positive battery terminal</entry>
1126               </row>
1127             </tbody>
1128           </tgroup>
1129         </table>
1130       </section>
1131       <section>
1132         <title>Using a Separate Pyro Battery with EasyMini</title>
1133         <para>
1134           As described above, using an external pyro battery involves
1135           connecting the negative battery terminal to the flight
1136           computer ground, connecting the positive battery terminal to
1137           one of the igniter leads and connecting the other igniter
1138           lead to the per-channel pyro circuit connection.
1139         </para>
1140         <para>
1141           To connect the negative pyro battery terminal to TeleMini
1142           ground, connect it to the negative external battery
1143           connection, top terminal 4.
1144         </para>
1145         <para>
1146           Connecting the positive battery terminal to the pyro
1147           charges must be done separate from EasyMini, by soldering
1148           them together or using some other connector.
1149         </para>
1150         <para>
1151           The other lead from each pyro charge is then inserted into
1152           the appropriate per-pyro channel screw terminal (top
1153           terminal 1 for the Main charge, bottom terminal 1 for the
1154           Apogee charge).
1155         </para>
1156       </section>
1157       <section>
1158         <title>Using an Active Switch with EasyMini</title>
1159         <para>
1160           As explained above, an external active switch requires three
1161           connections, one to the positive battery terminal, one to
1162           the flight computer positive input and one to ground. Use
1163           the negative external battery connection, top terminal 4 for
1164           ground.
1165         </para>
1166         <para>
1167           The positive battery terminal is available on bottom
1168           terminal 4, the positive flight computer input is on the
1169           bottom terminal 3.
1170         </para>
1171       </section>
1172     </section>
1173     <section>
1174       <title>TeleMega</title>
1175       <informalfigure>
1176         <mediaobject>
1177           <imageobject>
1178             <imagedata fileref="telemega-v1.0-top.jpg" width="5.5in" scalefit="1"/>
1179           </imageobject>
1180         </mediaobject>
1181       </informalfigure>
1182       <para>
1183         TeleMega is a 1¼ inch by 3¼ inch circuit board. It was
1184         designed to easily fit in a 38mm coupler. Like TeleMetrum,
1185         TeleMega has an accelerometer and so it must be mounted so that
1186         the board is aligned with the flight axis. It can be mounted
1187         either antenna up or down.
1188       </para>
1189       <section>
1190         <title>TeleMega Screw Terminals</title>
1191         <para>
1192           TeleMega has two sets of nine screw terminals on the end of
1193           the board opposite the telemetry antenna. They are as follows:
1194         </para>
1195         <table frame='all'>
1196           <title>TeleMega Screw Terminals</title>
1197           <?dbfo keep-together="always"?>
1198           <tgroup cols='3' align='center' colsep='1' rowsep='1'>
1199             <colspec align='center' colwidth='*' colname='Pin #'/>
1200             <colspec align='center' colwidth='2*' colname='Pin Name'/>
1201             <colspec align='left' colwidth='5*' colname='Description'/>
1202             <thead>
1203               <row>
1204                 <entry align='center'>Terminal #</entry>
1205                 <entry align='center'>Terminal Name</entry>
1206                 <entry align='center'>Description</entry>
1207               </row>
1208             </thead>
1209             <tbody>
1210               <row>
1211                 <entry>Top 1</entry>
1212                 <entry>Switch Input</entry>
1213                 <entry>Switch connection to positive battery terminal</entry>
1214               </row>
1215               <row>
1216                 <entry>Top 2</entry>
1217                 <entry>Switch Output</entry>
1218                 <entry>Switch connection to flight computer</entry>
1219               </row>
1220               <row>
1221                 <entry>Top 3</entry>
1222                 <entry>GND</entry>
1223                 <entry>Ground connection for use with external active switch</entry>
1224               </row>
1225               <row>
1226                 <entry>Top 4</entry>
1227                 <entry>Main -</entry>
1228                 <entry>Main pyro channel connection to pyro circuit</entry>
1229               </row>
1230               <row>
1231                 <entry>Top 5</entry>
1232                 <entry>Main +</entry>
1233                 <entry>Main pyro channel common connection to battery +</entry>
1234               </row>
1235               <row>
1236                 <entry>Top 6</entry>
1237                 <entry>Apogee -</entry>
1238                 <entry>Apogee pyro channel connection to pyro circuit</entry>
1239               </row>
1240               <row>
1241                 <entry>Top 7</entry>
1242                 <entry>Apogee +</entry>
1243                 <entry>Apogee pyro channel common connection to battery +</entry>
1244               </row>
1245               <row>
1246                 <entry>Top 8</entry>
1247                 <entry>D -</entry>
1248                 <entry>D pyro channel connection to pyro circuit</entry>
1249               </row>
1250               <row>
1251                 <entry>Top 9</entry>
1252                 <entry>D +</entry>
1253                 <entry>D pyro channel common connection to battery +</entry>
1254               </row>
1255               <row>
1256                 <entry>Bottom 1</entry>
1257                 <entry>GND</entry>
1258                 <entry>Ground connection for negative pyro battery terminal</entry>
1259               </row>
1260               <row>
1261                 <entry>Bottom 2</entry>
1262                 <entry>Pyro</entry>
1263                 <entry>Positive pyro battery terminal</entry>
1264               </row>
1265               <row>
1266                 <entry>Bottom 3</entry>
1267                 <entry>Lipo</entry>
1268                 <entry>
1269                   Power switch output. Use to connect main battery to
1270                   pyro battery input
1271                 </entry>
1272               </row>
1273               <row>
1274                 <entry>Bottom 4</entry>
1275                 <entry>A -</entry>
1276                 <entry>A pyro channel connection to pyro circuit</entry>
1277               </row>
1278               <row>
1279                 <entry>Bottom 5</entry>
1280                 <entry>A +</entry>
1281                 <entry>A pyro channel common connection to battery +</entry>
1282               </row>
1283               <row>
1284                 <entry>Bottom 6</entry>
1285                 <entry>B -</entry>
1286                 <entry>B pyro channel connection to pyro circuit</entry>
1287               </row>
1288               <row>
1289                 <entry>Bottom 7</entry>
1290                 <entry>B +</entry>
1291                 <entry>B pyro channel common connection to battery +</entry>
1292               </row>
1293               <row>
1294                 <entry>Bottom 8</entry>
1295                 <entry>C -</entry>
1296                 <entry>C pyro channel connection to pyro circuit</entry>
1297               </row>
1298               <row>
1299                 <entry>Bottom 9</entry>
1300                 <entry>C +</entry>
1301                 <entry>C pyro channel common connection to battery +</entry>
1302               </row>
1303             </tbody>
1304           </tgroup>
1305         </table>
1306       </section>
1307       <section>
1308         <title>Using a Separate Pyro Battery with TeleMega</title>
1309         <para>
1310           TeleMega provides explicit support for an external pyro
1311           battery. All that is required is to remove the jumper
1312           between the lipo terminal (Bottom 3) and the pyro terminal
1313           (Bottom 2). Then hook the negative pyro battery terminal to ground
1314           (Bottom 1) and the positive pyro battery to the pyro battery
1315           input (Bottom 2). You can then use the existing pyro screw
1316           terminals to hook up all of the pyro charges.
1317         </para>
1318       </section>
1319       <section>
1320         <title>Using Only One Battery With TeleMega</title>
1321         <para>
1322           Because TeleMega has built-in support for a separate pyro
1323           battery, if you want to fly with just one battery running
1324           both the computer and firing the charges, you need to
1325           connect the flight computer battery to the pyro
1326           circuit. TeleMega has two screw terminals for this—hook a
1327           wire from the Lipo terminal (Bottom 3) to the Pyro terminal
1328           (Bottom 2).
1329         </para>
1330       </section>
1331       <section>
1332         <title>Using an Active Switch with TeleMega</title>
1333         <para>
1334           As explained above, an external active switch requires three
1335           connections, one to the positive battery terminal, one to
1336           the flight computer positive input and one to ground.
1337         </para>
1338         <para>
1339           The positive battery terminal is available on Top terminal
1340           1, the positive flight computer input is on Top terminal
1341           2. Ground is on Top terminal 3.
1342         </para>
1343       </section>
1344     </section>
1345     <section>
1346       <title>Flight Data Recording</title>
1347       <para>
1348         Each flight computer logs data at 100 samples per second
1349         during ascent and 10 samples per second during descent, except
1350         for TeleMini v1.0, which records ascent at 10 samples per
1351         second and descent at 1 sample per second. Data are logged to
1352         an on-board flash memory part, which can be partitioned into
1353         several equal-sized blocks, one for each flight.
1354       </para>
1355       <table frame='all'>
1356         <title>Data Storage on Altus Metrum altimeters</title>
1357         <?dbfo keep-together="always"?>
1358         <tgroup cols='4' align='center' colsep='1' rowsep='1'>
1359           <colspec align='center' colwidth='*' colname='Device'/>
1360           <colspec align='center' colwidth='*' colname='Bytes per sample'/>
1361           <colspec align='center' colwidth='*' colname='Total storage'/>
1362           <colspec align='center' colwidth='*' colname='Minutes of
1363                                                         full-rate'/>
1364           <thead>
1365             <row>
1366               <entry align='center'>Device</entry>
1367               <entry align='center'>Bytes per Sample</entry>
1368               <entry align='center'>Total Storage</entry>
1369               <entry align='center'>Minutes at Full Rate</entry>
1370             </row>
1371           </thead>
1372           <tbody>
1373             <row>
1374               <entry>TeleMetrum v1.0</entry>
1375               <entry>8</entry>
1376               <entry>1MB</entry>
1377               <entry>20</entry>
1378             </row>
1379             <row>
1380               <entry>TeleMetrum v1.1 v1.2</entry>
1381               <entry>8</entry>
1382               <entry>2MB</entry>
1383               <entry>40</entry>
1384             </row>
1385             <row>
1386               <entry>TeleMetrum v2.0</entry>
1387               <entry>16</entry>
1388               <entry>8MB</entry>
1389               <entry>80</entry>
1390             </row>
1391             <row>
1392               <entry>TeleMini v1.0</entry>
1393               <entry>2</entry>
1394               <entry>5kB</entry>
1395               <entry>4</entry>
1396             </row>
1397             <row>
1398               <entry>TeleMini v2.0</entry>
1399               <entry>16</entry>
1400               <entry>1MB</entry>
1401               <entry>10</entry>
1402             </row>
1403             <row>
1404               <entry>EasyMini</entry>
1405               <entry>16</entry>
1406               <entry>1MB</entry>
1407               <entry>10</entry>
1408             </row>
1409             <row>
1410               <entry>TeleMega</entry>
1411               <entry>32</entry>
1412               <entry>8MB</entry>
1413               <entry>40</entry>
1414             </row>
1415           </tbody>
1416         </tgroup>
1417       </table>
1418       <para>
1419         The on-board flash is partitioned into separate flight logs,
1420         each of a fixed maximum size. Increase the maximum size of
1421         each log and you reduce the number of flights that can be
1422         stored. Decrease the size and you can store more flights.
1423       </para>
1424       <para>
1425         Configuration data is also stored in the flash memory on
1426         TeleMetrum v1.x, TeleMini and EasyMini. This consumes 64kB
1427         of flash space.  This configuration space is not available
1428         for storing flight log data. TeleMetrum v2.0 and TeleMega
1429         store configuration data in a bit of eeprom available within
1430         the processor chip, leaving that space available in flash for
1431         more flight data.
1432       </para>
1433       <para>
1434         To compute the amount of space needed for a single flight, you
1435         can multiply the expected ascent time (in seconds) by 100
1436         times bytes-per-sample, multiply the expected descent time (in
1437         seconds) by 10 times the bytes per sample and add the two
1438         together. That will slightly under-estimate the storage (in
1439         bytes) needed for the flight. For instance, a TeleMetrum v2.0 flight spending
1440         20 seconds in ascent and 150 seconds in descent will take
1441         about (20 * 1600) + (150 * 160) = 56000 bytes of storage. You
1442         could store dozens of these flights in the on-board flash.
1443       </para>
1444       <para>
1445         The default size allows for several flights on each flight
1446         computer, except for TeleMini v1.0, which only holds data for a
1447         single flight. You can adjust the size.
1448       </para>
1449       <para>
1450         Altus Metrum flight computers will not overwrite existing
1451         flight data, so be sure to download flight data and erase it
1452         from the flight computer before it fills up. The flight
1453         computer will still successfully control the flight even if it
1454         cannot log data, so the only thing you will lose is the data.
1455       </para>
1456     </section>
1457     <section>
1458       <title>Installation</title>
1459       <para>
1460         A typical installation involves attaching 
1461         only a suitable battery, a single pole switch for 
1462         power on/off, and two pairs of wires connecting e-matches for the 
1463         apogee and main ejection charges.  All Altus Metrum products are 
1464         designed for use with single-cell batteries with 3.7 volts
1465         nominal. TeleMini v2.0 and EasyMini may also be used with other
1466         batteries as long as they supply between 4 and 12 volts. 
1467       </para>
1468       <para>
1469         The battery connectors are a standard 2-pin JST connector and
1470         match batteries sold by Spark Fun. These batteries are
1471         single-cell Lithium Polymer batteries that nominally provide 3.7
1472         volts.  Other vendors sell similar batteries for RC aircraft
1473         using mating connectors, however the polarity for those is
1474         generally reversed from the batteries used by Altus Metrum
1475         products. In particular, the Tenergy batteries supplied for use
1476         in Featherweight flight computers are not compatible with Altus
1477         Metrum flight computers or battery chargers. <emphasis>Check
1478         polarity and voltage before connecting any battery not purchased
1479         from Altus Metrum or Spark Fun.</emphasis>
1480       </para>
1481       <para>
1482         By default, we use the unregulated output of the battery directly
1483         to fire ejection charges.  This works marvelously with standard
1484         low-current e-matches like the J-Tek from MJG Technologies, and with
1485         Quest Q2G2 igniters.  However, if you want or need to use a separate 
1486         pyro battery, check out the “External Pyro Battery” section in this 
1487         manual for instructions on how to wire that up. The altimeters are 
1488         designed to work with an external pyro battery of no more than 15 volts.
1489       </para>
1490       <para>
1491         Ejection charges are wired directly to the screw terminal block
1492         at the aft end of the altimeter.  You'll need a very small straight 
1493         blade screwdriver for these screws, such as you might find in a 
1494         jeweler's screwdriver set.
1495       </para>
1496       <para>
1497         Except for TeleMini v1.0, the flight computers also use the
1498         screw terminal block for the power switch leads. On TeleMini v1.0,
1499         the power switch leads are soldered directly to the board and
1500         can be connected directly to a switch.
1501       </para>
1502       <para>
1503         For most air-frames, the integrated antennas are more than
1504         adequate.   However, if you are installing in a carbon-fiber or
1505         metal electronics bay which is opaque to RF signals, you may need to
1506         use off-board external antennas instead.  In this case, you can
1507         replace the stock UHF antenna wire with an edge-launched SMA connector,
1508         and, on TeleMetrum v1, you can unplug the integrated GPS
1509         antenna and select an appropriate off-board GPS antenna with
1510         cable terminating in a U.FL connector.
1511       </para>
1512     </section>
1513   </chapter>
1514   <chapter>
1515     <title>System Operation</title>
1516     <section>
1517       <title>Firmware Modes </title>
1518       <para>
1519         The AltOS firmware build for the altimeters has two
1520         fundamental modes, “idle” and “flight”.  Which of these modes
1521         the firmware operates in is determined at start up time. For
1522         TeleMetrum and TeleMega, which have accelerometers, the mode is 
1523         controlled by the orientation of the
1524         rocket (well, actually the board, of course...) at the time
1525         power is switched on.  If the rocket is “nose up”, then
1526         the flight computer assumes it's on a rail or rod being prepared for
1527         launch, so the firmware chooses flight mode.  However, if the
1528         rocket is more or less horizontal, the firmware instead enters
1529         idle mode.  Since TeleMini v2.0 and EasyMini don't have an
1530         accelerometer we can use to determine orientation, “idle” mode
1531         is selected if the board is connected via USB to a computer,
1532         otherwise the board enters “flight” mode. TeleMini v1.0
1533         selects “idle” mode if it receives a command packet within the
1534         first five seconds of operation.
1535       </para>
1536       <para>
1537         At power on, you will hear three beeps or see three flashes
1538         (“S” in Morse code for start up) and then a pause while
1539         the altimeter completes initialization and self test, and decides 
1540         which mode to enter next.
1541       </para>
1542       <para>
1543         Here's a short summary of all of the modes and the beeping (or
1544         flashing, in the case of TeleMini v1) that accompanies each
1545         mode. In the description of the beeping pattern, “dit” means a
1546         short beep while "dah" means a long beep (three times as
1547         long). “Brap” means a long dissonant tone.
1548         <table frame='all'>
1549           <title>AltOS Modes</title>
1550           <?dbfo keep-together="always"?>
1551           <tgroup cols='4' align='center' colsep='1' rowsep='1'>
1552             <colspec align='center' colwidth='*' colname='Mode Name'/>
1553             <colspec align='center' colwidth='*' colname='Letter'/>
1554             <colspec align='center' colwidth='*' colname='Beeps'/>
1555             <colspec align='center' colwidth='*' colname='Description'/>
1556             <thead>
1557               <row>
1558                 <entry>Mode Name</entry>
1559                 <entry>Abbreviation</entry>
1560                 <entry>Beeps</entry>
1561                 <entry>Description</entry>
1562               </row>
1563             </thead>
1564             <tbody>
1565               <row>
1566                 <entry>Startup</entry>
1567                 <entry>S</entry>
1568                 <entry>dit dit dit</entry>
1569                 <entry>
1570                   <para>
1571                     Calibrating sensors, detecting orientation.
1572                   </para>
1573                 </entry>
1574               </row>
1575               <row>
1576                 <entry>Idle</entry>
1577                 <entry>I</entry>
1578                 <entry>dit dit</entry>
1579                 <entry>
1580                   <para>
1581                     Ready to accept commands over USB or radio link.
1582                   </para>
1583                 </entry>
1584               </row>
1585               <row>
1586                 <entry>Pad</entry>
1587                 <entry>P</entry>
1588                 <entry>dit dah dah dit</entry>
1589                 <entry>
1590                   <para>
1591                     Waiting for launch. Not listening for commands.
1592                   </para>
1593                 </entry>
1594               </row>
1595               <row>
1596                 <entry>Boost</entry>
1597                 <entry>B</entry>
1598                 <entry>dah dit dit dit</entry>
1599                 <entry>
1600                   <para>
1601                     Accelerating upwards.
1602                   </para>
1603                 </entry>
1604               </row>
1605               <row>
1606                 <entry>Fast</entry>
1607                 <entry>F</entry>
1608                 <entry>dit dit dah dit</entry>
1609                 <entry>
1610                   <para>
1611                     Decelerating, but moving faster than 200m/s.
1612                   </para>
1613                 </entry>
1614               </row>
1615               <row>
1616                 <entry>Coast</entry>
1617                 <entry>C</entry>
1618                 <entry>dah dit dah dit</entry>
1619                 <entry>
1620                   <para>
1621                     Decelerating, moving slower than 200m/s
1622                   </para>
1623                 </entry>
1624               </row>
1625               <row>
1626                 <entry>Drogue</entry>
1627                 <entry>D</entry>
1628                 <entry>dah dit dit</entry>
1629                 <entry>
1630                   <para>
1631                     Descending after apogee. Above main height.
1632                   </para>
1633                 </entry>
1634               </row>
1635               <row>
1636                 <entry>Main</entry>
1637                 <entry>M</entry>
1638                 <entry>dah dah</entry>
1639                 <entry>
1640                   <para>
1641                     Descending. Below main height.
1642                   </para>
1643                 </entry>
1644               </row>
1645               <row>
1646                 <entry>Landed</entry>
1647                 <entry>L</entry>
1648                 <entry>dit dah dit dit</entry>
1649                 <entry>
1650                   <para>
1651                     Stable altitude for at least ten seconds.
1652                   </para>
1653                 </entry>
1654               </row>
1655               <row>
1656                 <entry>Sensor error</entry>
1657                 <entry>X</entry>
1658                 <entry>dah dit dit dah</entry>
1659                 <entry>
1660                   <para>
1661                     Error detected during sensor calibration.
1662                   </para>
1663                 </entry>
1664               </row>
1665             </tbody>
1666           </tgroup>
1667         </table>
1668       </para>
1669       <para>
1670         In flight or “pad” mode, the altimeter engages the flight
1671         state machine, goes into transmit-only mode to send telemetry,
1672         and waits for launch to be detected.  Flight mode is indicated
1673         by an “di-dah-dah-dit” (“P” for pad) on the beeper or lights,
1674         followed by beeps or flashes indicating the state of the
1675         pyrotechnic igniter continuity.  One beep/flash indicates
1676         apogee continuity, two beeps/flashes indicate main continuity,
1677         three beeps/flashes indicate both apogee and main continuity,
1678         and one longer “brap” sound which is made by rapidly
1679         alternating between two tones indicates no continuity.  For a
1680         dual deploy flight, make sure you're getting three beeps or
1681         flashes before launching!  For apogee-only or motor eject
1682         flights, do what makes sense.
1683       </para>
1684       <para>
1685         If idle mode is entered, you will hear an audible “di-dit” or
1686         see two short flashes (“I” for idle), and the flight state
1687         machine is disengaged, thus no ejection charges will fire.
1688         The altimeters also listen for the radio link when in idle
1689         mode for requests sent via TeleDongle.  Commands can be issued
1690         in idle mode over either USB or the radio link
1691         equivalently. TeleMini v1.0 only has the radio link.  Idle
1692         mode is useful for configuring the altimeter, for extracting
1693         data from the on-board storage chip after flight, and for
1694         ground testing pyro charges.
1695       </para>
1696       <para>
1697         In “Idle” and “Pad” modes, once the mode indication
1698         beeps/flashes and continuity indication has been sent, if
1699         there is no space available to log the flight in on-board
1700         memory, the flight computer will emit a warbling tone (much
1701         slower than the “no continuity tone”)
1702       </para>
1703       <para>
1704         Here's a summary of all of the “pad” and “idle” mode indications.
1705         <table frame='all'>
1706           <title>Pad/Idle Indications</title>
1707           <?dbfo keep-together="always"?>
1708           <tgroup cols='3' align='center' colsep='1' rowsep='1'>
1709             <colspec align='center' colwidth='*' colname='Name'/>
1710             <colspec align='center' colwidth='*' colname='Beeps'/>
1711             <colspec align='center' colwidth='*' colname='Description'/>
1712             <thead>
1713               <row>
1714                 <entry>Name</entry>
1715                 <entry>Beeps</entry>
1716                 <entry>Description</entry>
1717               </row>
1718             </thead>
1719             <tbody>
1720               <row>
1721                 <entry>Neither</entry>
1722                 <entry>brap</entry>
1723                 <entry>
1724                   <para>
1725                     No continuity detected on either apogee or main
1726                     igniters.
1727                   </para>
1728                 </entry>
1729               </row>
1730               <row>
1731                 <entry>Apogee</entry>
1732                 <entry>dit</entry>
1733                 <entry>
1734                   <para>
1735                     Continuity detected only on apogee igniter.
1736                   </para>
1737                 </entry>
1738               </row>
1739               <row>
1740                 <entry>Main</entry>
1741                 <entry>dit dit</entry>
1742                 <entry>
1743                   <para>
1744                     Continuity detected only on main igniter.
1745                   </para>
1746                 </entry>
1747               </row>
1748               <row>
1749                 <entry>Both</entry>
1750                 <entry>dit dit dit</entry>
1751                 <entry>
1752                   <para>
1753                     Continuity detected on both igniters.
1754                   </para>
1755                 </entry>
1756               </row>
1757               <row>
1758                 <entry>Storage Full</entry>
1759                 <entry>warble</entry>
1760                 <entry>
1761                   <para>
1762                     On-board data logging storage is full. This will
1763                     not prevent the flight computer from safely
1764                     controlling the flight or transmitting telemetry
1765                     signals, but no record of the flight will be
1766                     stored in on-board flash.
1767                   </para>
1768                 </entry>
1769               </row>
1770             </tbody>
1771           </tgroup>
1772         </table>
1773       </para>
1774       <para>
1775         Once landed, the flight computer will signal that by emitting
1776         the “Landed” sound described above, after which it will beep
1777         out the apogee height (in meters). Each digit is represented
1778         by a sequence of short “dit” beeps, with a pause between
1779         digits. A zero digit is represented with one long “dah”
1780         beep. The flight computer will continue to report landed mode
1781         and beep out the maximum height until turned off.
1782       </para>
1783       <para>
1784         One “neat trick” of particular value when TeleMetrum or TeleMega are used with 
1785         very large air-frames, is that you can power the board up while the 
1786         rocket is horizontal, such that it comes up in idle mode.  Then you can
1787         raise the air-frame to launch position, and issue a 'reset' command 
1788         via TeleDongle over the radio link to cause the altimeter to reboot and 
1789         come up in flight mode.  This is much safer than standing on the top 
1790         step of a rickety step-ladder or hanging off the side of a launch 
1791         tower with a screw-driver trying to turn on your avionics before 
1792         installing igniters!
1793       </para>
1794       <para>
1795         TeleMini v1.0 is configured solely via the radio link. Of course, that
1796         means you need to know the TeleMini radio configuration values
1797         or you won't be able to communicate with it. For situations
1798         when you don't have the radio configuration values, TeleMini v1.0
1799         offers an 'emergency recovery' mode. In this mode, TeleMini is
1800         configured as follows:
1801         <itemizedlist>
1802           <listitem>
1803             <para>
1804             Sets the radio frequency to 434.550MHz
1805             </para>
1806           </listitem>
1807           <listitem>
1808             <para>
1809             Sets the radio calibration back to the factory value.
1810             </para>
1811           </listitem>
1812           <listitem>
1813             <para>
1814             Sets the callsign to N0CALL
1815             </para>
1816           </listitem>
1817           <listitem>
1818             <para>
1819             Does not go to 'pad' mode after five seconds.
1820             </para>
1821           </listitem>
1822         </itemizedlist>
1823       </para>
1824       <para>
1825         To get into 'emergency recovery' mode, first find the row of
1826         four small holes opposite the switch wiring. Using a short
1827         piece of small gauge wire, connect the outer two holes
1828         together, then power TeleMini up. Once the red LED is lit,
1829         disconnect the wire and the board should signal that it's in
1830         'idle' mode after the initial five second startup period.
1831       </para>
1832     </section>
1833     <section>
1834       <title>GPS </title>
1835       <para>
1836         TeleMetrum and TeleMega include a complete GPS receiver.  A
1837         complete explanation of how GPS works is beyond the scope of
1838         this manual, but the bottom line is that the GPS receiver
1839         needs to lock onto at least four satellites to obtain a solid
1840         3 dimensional position fix and know what time it is.
1841       </para>
1842       <para>
1843         The flight computers provide backup power to the GPS chip any time a 
1844         battery is connected.  This allows the receiver to “warm start” on
1845         the launch rail much faster than if every power-on were a GPS 
1846         “cold start”.  In typical operations, powering up
1847         on the flight line in idle mode while performing final air-frame
1848         preparation will be sufficient to allow the GPS receiver to cold
1849         start and acquire lock.  Then the board can be powered down during
1850         RSO review and installation on a launch rod or rail.  When the board
1851         is turned back on, the GPS system should lock very quickly, typically
1852         long before igniter installation and return to the flight line are
1853         complete.
1854       </para>
1855     </section>
1856     <section>
1857       <title>Controlling An Altimeter Over The Radio Link</title>
1858       <para>
1859         One of the unique features of the Altus Metrum system is the
1860         ability to create a two way command link between TeleDongle
1861         and an altimeter using the digital radio transceivers
1862         built into each device. This allows you to interact with the
1863         altimeter from afar, as if it were directly connected to the
1864         computer.
1865       </para>
1866       <para>
1867         Any operation which can be performed with a flight computer can
1868         either be done with the device directly connected to the
1869         computer via the USB cable, or through the radio
1870         link. TeleMini v1.0 doesn't provide a USB connector and so it is
1871         always communicated with over radio.  Select the appropriate 
1872         TeleDongle device when the list of devices is presented and 
1873         AltosUI will interact with an altimeter over the radio link.
1874       </para>
1875       <para>
1876         One oddity in the current interface is how AltosUI selects the
1877         frequency for radio communications. Instead of providing
1878         an interface to specifically configure the frequency, it uses
1879         whatever frequency was most recently selected for the target
1880         TeleDongle device in Monitor Flight mode. If you haven't ever
1881         used that mode with the TeleDongle in question, select the
1882         Monitor Flight button from the top level UI, and pick the
1883         appropriate TeleDongle device.  Once the flight monitoring
1884         window is open, select the desired frequency and then close it
1885         down again. All radio communications will now use that frequency.
1886       </para>
1887       <itemizedlist>
1888         <listitem>
1889           <para>
1890             Save Flight Data—Recover flight data from the rocket without
1891             opening it up.
1892           </para>
1893         </listitem>
1894         <listitem>
1895           <para>
1896             Configure altimeter apogee delays, main deploy heights
1897             and additional pyro event conditions
1898             to respond to changing launch conditions. You can also
1899             'reboot' the altimeter. Use this to remotely enable the
1900             flight computer by turning TeleMetrum or TeleMega on in “idle” mode,
1901             then once the air-frame is oriented for launch, you can
1902             reboot the altimeter and have it restart in pad mode
1903             without having to climb the scary ladder.
1904           </para>
1905         </listitem>
1906         <listitem>
1907           <para>
1908             Fire Igniters—Test your deployment charges without snaking
1909             wires out through holes in the air-frame. Simply assemble the
1910             rocket as if for flight with the apogee and main charges
1911             loaded, then remotely command the altimeter to fire the
1912             igniters.
1913           </para>
1914         </listitem>
1915       </itemizedlist>
1916       <para>
1917         Operation over the radio link for configuring an altimeter, ground
1918         testing igniters, and so forth uses the same RF frequencies as flight
1919         telemetry.  To configure the desired TeleDongle frequency, select
1920         the monitor flight tab, then use the frequency selector and 
1921         close the window before performing other desired radio operations.
1922       </para>
1923       <para>
1924         The flight computers only enable radio commanding in 'idle' mode.
1925         TeleMetrum and TeleMega use the accelerometer to detect which orientation they
1926         start up in, so make sure you have the flight computer lying horizontally when you turn
1927         it on. Otherwise, it will start in 'pad' mode ready for
1928         flight, and will not be listening for command packets from TeleDongle.
1929       </para>
1930       <para>
1931         TeleMini listens for a command packet for five seconds after
1932         first being turned on, if it doesn't hear anything, it enters
1933         'pad' mode, ready for flight and will no longer listen for
1934         command packets. The easiest way to connect to TeleMini is to
1935         initiate the command and select the TeleDongle device. At this
1936         point, the TeleDongle will be attempting to communicate with
1937         the TeleMini. Now turn TeleMini on, and it should immediately
1938         start communicating with the TeleDongle and the desired
1939         operation can be performed.
1940       </para>
1941       <para>
1942         You can monitor the operation of the radio link by watching the 
1943         lights on the devices. The red LED will flash each time a packet
1944         is transmitted, while the green LED will light up on TeleDongle when 
1945         it is waiting to receive a packet from the altimeter.
1946       </para>
1947     </section>
1948     <section>
1949       <title>Ground Testing </title>
1950       <para>
1951         An important aspect of preparing a rocket using electronic deployment
1952         for flight is ground testing the recovery system.  Thanks
1953         to the bi-directional radio link central to the Altus Metrum system,
1954         this can be accomplished in a TeleMega, TeleMetrum or TeleMini equipped rocket 
1955         with less work than you may be accustomed to with other systems.  It 
1956         can even be fun!
1957       </para>
1958       <para>
1959         Just prep the rocket for flight, then power up the altimeter
1960         in “idle” mode (placing air-frame horizontal for TeleMetrum or TeleMega, or
1961         selecting the Configure Altimeter tab for TeleMini).  This will cause 
1962         the firmware to go into “idle” mode, in which the normal flight
1963         state machine is disabled and charges will not fire without
1964         manual command.  You can now command the altimeter to fire the apogee
1965         or main charges from a safe distance using your computer and 
1966         TeleDongle and the Fire Igniter tab to complete ejection testing.
1967       </para>
1968     </section>
1969     <section>
1970       <title>Radio Link </title>
1971       <para>
1972         Our flight computers all incorporate an RF transceiver, but
1973         it's not a full duplex system... each end can only be transmitting or
1974         receiving at any given moment.  So we had to decide how to manage the
1975         link.
1976       </para>
1977       <para>
1978         By design, the altimeter firmware listens for the radio link when
1979         it's in “idle mode”, which
1980         allows us to use the radio link to configure the rocket, do things like
1981         ejection tests, and extract data after a flight without having to
1982         crack open the air-frame.  However, when the board is in “flight
1983         mode”, the altimeter only
1984         transmits and doesn't listen at all.  That's because we want to put
1985         ultimate priority on event detection and getting telemetry out of
1986         the rocket through
1987         the radio in case the rocket crashes and we aren't able to extract
1988         data later...
1989       </para>
1990       <para>
1991         We don't generally use a 'normal packet radio' mode like APRS
1992         because they're just too inefficient.  The GFSK modulation we
1993         use is FSK with the base-band pulses passed through a Gaussian
1994         filter before they go into the modulator to limit the
1995         transmitted bandwidth.  When combined with forward error
1996         correction and interleaving, this allows us to have a very
1997         robust 19.2 kilobit data link with only 10-40 milliwatts of
1998         transmit power, a whip antenna in the rocket, and a hand-held
1999         Yagi on the ground.  We've had flights to above 21k feet AGL
2000         with great reception, and calculations suggest we should be
2001         good to well over 40k feet AGL with a 5-element yagi on the
2002         ground with our 10mW units and over 100k feet AGL with the
2003         40mW devices.  We hope to fly boards to higher altitudes over
2004         time, and would of course appreciate customer feedback on
2005         performance in higher altitude flights!
2006       </para>
2007       <para>
2008         TeleMetrum v2.0 and TeleMega can send APRS if desired, and the
2009         interval between APRS packets can be configured. As each APRS
2010         packet takes a full second to transmit, we recommend an
2011         interval of at least 5 seconds to avoid consuming too much
2012         battery power or radio channel bandwidth.
2013       </para>
2014     </section>
2015     <section>
2016       <title>Configurable Parameters</title>
2017       <para>
2018         Configuring an Altus Metrum altimeter for flight is very
2019         simple.  Even on our baro-only TeleMini and EasyMini boards, the use of a Kalman 
2020         filter means there is no need to set a “mach delay”.  The few 
2021         configurable parameters can all be set using AltosUI over USB or
2022         or radio link via TeleDongle.
2023       </para>
2024       <section>
2025         <title>Radio Frequency</title>
2026         <para>
2027           Altus Metrum boards support radio frequencies in the 70cm
2028           band. By default, the configuration interface provides a
2029           list of 10 “standard” frequencies in 100kHz channels starting at
2030           434.550MHz.  However, the firmware supports use of
2031           any 50kHz multiple within the 70cm band. At any given
2032           launch, we highly recommend coordinating when and by whom each
2033           frequency will be used to avoid interference.  And of course, both
2034           altimeter and TeleDongle must be configured to the same
2035           frequency to successfully communicate with each other.
2036         </para>
2037       </section>
2038       <section>
2039         <title>Apogee Delay</title>
2040         <para>
2041           Apogee delay is the number of seconds after the altimeter detects flight
2042           apogee that the drogue charge should be fired.  In most cases, this
2043           should be left at the default of 0.  However, if you are flying
2044           redundant electronics such as for an L3 certification, you may wish
2045           to set one of your altimeters to a positive delay so that both
2046           primary and backup pyrotechnic charges do not fire simultaneously.
2047         </para>
2048         <para>
2049           The Altus Metrum apogee detection algorithm fires exactly at
2050           apogee.  If you are also flying an altimeter like the
2051           PerfectFlite MAWD, which only supports selecting 0 or 1
2052           seconds of apogee delay, you may wish to set the MAWD to 0
2053           seconds delay and set the TeleMetrum to fire your backup 2
2054           or 3 seconds later to avoid any chance of both charges
2055           firing simultaneously.  We've flown several air-frames this
2056           way quite happily, including Keith's successful L3 cert.
2057         </para>
2058       </section>
2059       <section>
2060         <title>Main Deployment Altitude</title>
2061         <para>
2062           By default, the altimeter will fire the main deployment charge at an
2063           elevation of 250 meters (about 820 feet) above ground.  We think this
2064           is a good elevation for most air-frames, but feel free to change this
2065           to suit.  In particular, if you are flying two altimeters, you may
2066           wish to set the
2067           deployment elevation for the backup altimeter to be something lower
2068           than the primary so that both pyrotechnic charges don't fire
2069           simultaneously.
2070         </para>
2071       </section>
2072       <section>
2073         <title>Maximum Flight Log</title>
2074         <para>
2075           Changing this value will set the maximum amount of flight
2076           log storage that an individual flight will use. The
2077           available storage is divided into as many flights of the
2078           specified size as can fit in the available space. You can
2079           download and erase individual flight logs. If you fill up
2080           the available storage, future flights will not get logged
2081           until you erase some of the stored ones.
2082         </para>
2083         <para>
2084           Even though our flight computers (except TeleMini v1.0) can store
2085           multiple flights, we strongly recommend downloading and saving
2086           flight data after each flight.
2087         </para>
2088       </section>
2089       <section>
2090         <title>Ignite Mode</title>
2091         <para>
2092           Instead of firing one charge at apogee and another charge at
2093           a fixed height above the ground, you can configure the
2094           altimeter to fire both at apogee or both during
2095           descent. This was added to support an airframe Bdale designed that 
2096           had two altimeters, one in the fin can and one in the nose.
2097         </para>
2098         <para>
2099           Providing the ability to use both igniters for apogee or
2100           main allows some level of redundancy without needing two
2101           flight computers.  In Redundant Apogee or Redundant Main
2102           mode, the two charges will be fired two seconds apart.
2103         </para>
2104       </section>
2105       <section>
2106         <title>Pad Orientation</title>
2107         <para>
2108           TeleMetrum and TeleMega measure acceleration along the axis
2109           of the board. Which way the board is oriented affects the
2110           sign of the acceleration value. Instead of trying to guess
2111           which way the board is mounted in the air frame, the
2112           altimeter must be explicitly configured for either Antenna
2113           Up or Antenna Down. The default, Antenna Up, expects the end
2114           of the board connected to the 70cm antenna to be nearest the
2115           nose of the rocket, with the end containing the screw
2116           terminals nearest the tail.
2117         </para>
2118       </section>
2119       <section>
2120         <title>Configurable Pyro Channels</title>
2121         <para>
2122           In addition to the usual Apogee and Main pyro channels,
2123           TeleMega has four additional channels that can be configured
2124           to activate when various flight conditions are
2125           satisfied. You can select as many conditions as necessary;
2126           all of them must be met in order to activate the
2127           channel. The conditions available are:
2128         </para>
2129         <itemizedlist>
2130           <listitem>
2131             <para>
2132               Acceleration away from the ground. Select a value, and
2133               then choose whether acceleration should be above or
2134               below that value. Acceleration is positive upwards, so
2135               accelerating towards the ground would produce negative
2136               numbers. Acceleration during descent is noisy and
2137               inaccurate, so be careful when using it during these
2138               phases of the flight.
2139             </para>
2140           </listitem>
2141           <listitem>
2142             <para>
2143               Vertical speed.  Select a value, and then choose whether
2144               vertical speed should be above or below that
2145               value. Speed is positive upwards, so moving towards the
2146               ground would produce negative numbers. Speed during
2147               descent is a bit noisy and so be careful when using it
2148               during these phases of the flight.
2149             </para>
2150           </listitem>
2151           <listitem>
2152             <para>
2153               Height. Select a value, and then choose whether the
2154               height above the launch pad should be above or below
2155               that value.
2156             </para>
2157           </listitem>
2158           <listitem>
2159             <para>
2160               Orientation. TeleMega contains a 3-axis gyroscope and
2161               accelerometer which is used to measure the current
2162               angle. Note that this angle is not the change in angle
2163               from the launch pad, but rather absolute relative to
2164               gravity; the 3-axis accelerometer is used to compute the
2165               angle of the rocket on the launch pad and initialize the
2166               system. Because this value is computed by integrating
2167               rate gyros, it gets progressively less accurate as the
2168               flight goes on. It should have an accumulated error of
2169               less than 0.2°/second (after 10 seconds of flight, the
2170               error should be less than 2°).
2171             </para>
2172             <para>
2173               The usual use of the orientation configuration is to
2174               ensure that the rocket is traveling mostly upwards when
2175               deciding whether to ignite air starts or additional
2176               stages. For that, choose a reasonable maximum angle
2177               (like 20°) and set the motor igniter to require an angle
2178               of less than that value.
2179             </para>
2180           </listitem>
2181           <listitem>
2182             <para>
2183               Flight Time. Time since boost was detected. Select a
2184               value and choose whether to activate the pyro channel
2185               before or after that amount of time.
2186             </para>
2187           </listitem>
2188           <listitem>
2189             <para>
2190               Ascending. A simple test saying whether the rocket is
2191               going up or not. This is exactly equivalent to testing
2192               whether the speed is &gt; 0.
2193             </para>
2194           </listitem>
2195           <listitem>
2196             <para>
2197               Descending. A simple test saying whether the rocket is
2198               going down or not. This is exactly equivalent to testing
2199               whether the speed is &lt; 0.
2200             </para>
2201           </listitem>
2202           <listitem>
2203             <para>
2204               After Motor. The flight software counts each time the
2205               rocket starts accelerating (presumably due to a motor or
2206               motors igniting). Use this value to count ignitions for
2207               multi-staged or multi-airstart launches.
2208             </para>
2209           </listitem>
2210           <listitem>
2211             <para>
2212               Delay. This value doesn't perform any checks, instead it
2213               inserts a delay between the time when the other
2214               parameters become true and when the pyro channel is
2215               activated.
2216             </para>
2217           </listitem>
2218           <listitem>
2219             <para>
2220               Flight State. The flight software tracks the flight
2221               through a sequence of states:
2222               <orderedlist>
2223                 <listitem>
2224                   <para>
2225                     Boost. The motor has lit and the rocket is
2226                     accelerating upwards.
2227                   </para>
2228                 </listitem>
2229                 <listitem>
2230                   <para>
2231                     Fast. The motor has burned out and the rocket is
2232                     decelerating, but it is going faster than 200m/s.
2233                   </para>
2234                 </listitem>
2235                 <listitem>
2236                   <para>
2237                     Coast. The rocket is still moving upwards and
2238                     decelerating, but the speed is less than 200m/s.
2239                   </para>
2240                 </listitem>
2241                 <listitem>
2242                   <para>
2243                     Drogue. The rocket has reached apogee and is heading
2244                     back down, but is above the configured Main
2245                     altitude.
2246                   </para>
2247                 </listitem>
2248                 <listitem>
2249                   <para>
2250                     Main. The rocket is still descending, and is below
2251                     the Main altitude
2252                   </para>
2253                 </listitem>
2254                 <listitem>
2255                   <para>
2256                     Landed. The rocket is no longer moving.
2257                   </para>
2258                 </listitem>
2259               </orderedlist>
2260             </para>
2261             <para>
2262               You can select a state to limit when the pyro channel
2263               may activate; note that the check is based on when the
2264               rocket transitions <emphasis>into</emphasis> the state, and so checking for
2265               “greater than Boost” means that the rocket is currently
2266               in boost or some later state.
2267             </para>
2268             <para>
2269               When a motor burns out, the rocket enters either Fast or
2270               Coast state (depending on how fast it is moving). If the
2271               computer detects upwards acceleration again, it will
2272               move back to Boost state.
2273             </para>
2274           </listitem>
2275         </itemizedlist>
2276       </section>
2277     </section>
2278
2279   </chapter>
2280   <chapter>
2281     <title>AltosUI</title>
2282     <informalfigure>
2283       <mediaobject>
2284         <imageobject>
2285           <imagedata fileref="altosui.png" width="4.6in"/>
2286         </imageobject>
2287       </mediaobject>
2288     </informalfigure>
2289     <para>
2290       The AltosUI program provides a graphical user interface for
2291       interacting with the Altus Metrum product family. AltosUI can
2292       monitor telemetry data, configure devices and many other
2293       tasks. The primary interface window provides a selection of
2294       buttons, one for each major activity in the system.  This chapter
2295       is split into sections, each of which documents one of the tasks
2296       provided from the top-level toolbar.
2297     </para>
2298     <section>
2299       <title>Monitor Flight</title>
2300       <subtitle>Receive, Record and Display Telemetry Data</subtitle>
2301       <para>
2302         Selecting this item brings up a dialog box listing all of the
2303         connected TeleDongle devices. When you choose one of these,
2304         AltosUI will create a window to display telemetry data as
2305         received by the selected TeleDongle device.
2306       </para>
2307       <informalfigure>
2308         <mediaobject>
2309           <imageobject>
2310             <imagedata fileref="device-selection.png" width="3.1in"/>
2311           </imageobject>
2312         </mediaobject>
2313       </informalfigure>
2314       <para>
2315         All telemetry data received are automatically recorded in
2316         suitable log files. The name of the files includes the current
2317         date and rocket serial and flight numbers.
2318       </para>
2319       <para>
2320         The radio frequency being monitored by the TeleDongle device is
2321         displayed at the top of the window. You can configure the
2322         frequency by clicking on the frequency box and selecting the desired
2323         frequency. AltosUI remembers the last frequency selected for each
2324         TeleDongle and selects that automatically the next time you use
2325         that device.
2326       </para>
2327       <para>
2328         Below the TeleDongle frequency selector, the window contains a few
2329         significant pieces of information about the altimeter providing
2330         the telemetry data stream:
2331       </para>
2332       <itemizedlist>
2333         <listitem>
2334           <para>The configured call-sign</para>
2335         </listitem>
2336         <listitem>
2337           <para>The device serial number</para>
2338         </listitem>
2339         <listitem>
2340           <para>The flight number. Each altimeter remembers how many
2341             times it has flown.
2342           </para>
2343         </listitem>
2344         <listitem>
2345           <para>
2346             The rocket flight state. Each flight passes through several
2347             states including Pad, Boost, Fast, Coast, Drogue, Main and
2348             Landed.
2349           </para>
2350         </listitem>
2351         <listitem>
2352           <para>
2353             The Received Signal Strength Indicator value. This lets
2354             you know how strong a signal TeleDongle is receiving. The
2355             radio inside TeleDongle operates down to about -99dBm;
2356             weaker signals may not be receivable. The packet link uses
2357             error detection and correction techniques which prevent
2358             incorrect data from being reported.
2359           </para>
2360         </listitem>
2361         <listitem>
2362           <para>
2363             The age of the displayed data, in seconds since the last 
2364             successfully received telemetry packet.  In normal operation
2365             this will stay in the low single digits.  If the number starts
2366             counting up, then you are no longer receiving data over the radio
2367             link from the flight computer.
2368           </para>
2369         </listitem>
2370       </itemizedlist>
2371       <para>
2372         Finally, the largest portion of the window contains a set of
2373         tabs, each of which contain some information about the rocket.
2374         They're arranged in 'flight order' so that as the flight
2375         progresses, the selected tab automatically switches to display
2376         data relevant to the current state of the flight. You can select
2377         other tabs at any time. The final 'table' tab displays all of
2378         the raw telemetry values in one place in a spreadsheet-like format.
2379       </para>
2380       <section>
2381         <title>Launch Pad</title>
2382         <informalfigure>
2383           <mediaobject>
2384             <imageobject>
2385               <imagedata fileref="launch-pad.png" width="5.5in"/>
2386             </imageobject>
2387           </mediaobject>
2388         </informalfigure>
2389         <para>
2390           The 'Launch Pad' tab shows information used to decide when the
2391           rocket is ready for flight. The first elements include red/green
2392           indicators, if any of these is red, you'll want to evaluate
2393           whether the rocket is ready to launch:
2394           <variablelist>
2395             <varlistentry>
2396               <term>Battery Voltage</term>
2397               <listitem>
2398                 <para>
2399                   This indicates whether the Li-Po battery powering the 
2400                   flight computer has sufficient charge to last for
2401                   the duration of the flight. A value of more than
2402                   3.8V is required for a 'GO' status.
2403                 </para>
2404               </listitem>
2405             </varlistentry>
2406             <varlistentry>
2407               <term>Apogee Igniter Voltage</term>
2408               <listitem>
2409                 <para>
2410                   This indicates whether the apogee
2411                   igniter has continuity. If the igniter has a low
2412                   resistance, then the voltage measured here will be close
2413                   to the Li-Po battery voltage. A value greater than 3.2V is
2414                   required for a 'GO' status.
2415                 </para>
2416               </listitem>
2417             </varlistentry>
2418             <varlistentry>
2419               <term>Main Igniter Voltage</term>
2420               <listitem>
2421                 <para>
2422                   This indicates whether the main
2423                   igniter has continuity. If the igniter has a low
2424                   resistance, then the voltage measured here will be close
2425                   to the Li-Po battery voltage. A value greater than 3.2V is
2426                   required for a 'GO' status.
2427                 </para>
2428               </listitem>
2429             </varlistentry>
2430             <varlistentry>
2431               <term>On-board Data Logging</term>
2432               <listitem>
2433                 <para>
2434                   This indicates whether there is
2435                   space remaining on-board to store flight data for the
2436                   upcoming flight. If you've downloaded data, but failed
2437                   to erase flights, there may not be any space
2438                   left. Most of our flight computers can store multiple 
2439                   flights, depending on the configured maximum flight log 
2440                   size. TeleMini v1.0 stores only a single flight, so it 
2441                   will need to be
2442                   downloaded and erased after each flight to capture
2443                   data. This only affects on-board flight logging; the
2444                   altimeter will still transmit telemetry and fire
2445                   ejection charges at the proper times even if the flight
2446                   data storage is full.
2447                 </para>
2448               </listitem>
2449             </varlistentry>
2450             <varlistentry>
2451               <term>GPS Locked</term>
2452               <listitem>
2453                 <para>
2454                   For a TeleMetrum or TeleMega device, this indicates whether the GPS receiver is
2455                   currently able to compute position information. GPS requires
2456                   at least 4 satellites to compute an accurate position.
2457                 </para>
2458               </listitem>
2459             </varlistentry>
2460             <varlistentry>
2461               <term>GPS Ready</term>
2462               <listitem>
2463                 <para>
2464                   For a TeleMetrum or TeleMega device, this indicates whether GPS has reported at least
2465                   10 consecutive positions without losing lock. This ensures
2466                   that the GPS receiver has reliable reception from the
2467                   satellites.
2468                 </para>
2469               </listitem>
2470             </varlistentry>
2471           </variablelist>
2472         </para>
2473         <para>
2474           The Launchpad tab also shows the computed launch pad position
2475           and altitude, averaging many reported positions to improve the
2476           accuracy of the fix.
2477         </para>
2478       </section>
2479       <section>
2480         <title>Ascent</title>
2481         <informalfigure>
2482           <mediaobject>
2483             <imageobject>
2484               <imagedata fileref="ascent.png" width="5.5in"/>
2485             </imageobject>
2486           </mediaobject>
2487         </informalfigure>
2488         <para>
2489           This tab is shown during Boost, Fast and Coast
2490           phases. The information displayed here helps monitor the
2491           rocket as it heads towards apogee.
2492         </para>
2493         <para>
2494           The height, speed, acceleration and tilt are shown along
2495           with the maximum values for each of them. This allows you to
2496           quickly answer the most commonly asked questions you'll hear
2497           during flight.
2498         </para>
2499         <para>
2500           The current latitude and longitude reported by the GPS are
2501           also shown. Note that under high acceleration, these values
2502           may not get updated as the GPS receiver loses position
2503           fix. Once the rocket starts coasting, the receiver should
2504           start reporting position again.
2505         </para>
2506         <para>
2507           Finally, the current igniter voltages are reported as in the
2508           Launch Pad tab. This can help diagnose deployment failures
2509           caused by wiring which comes loose under high acceleration.
2510         </para>
2511       </section>
2512       <section>
2513         <title>Descent</title>
2514         <informalfigure>
2515           <mediaobject>
2516             <imageobject>
2517               <imagedata fileref="descent.png" width="5.5in"/>
2518             </imageobject>
2519           </mediaobject>
2520         </informalfigure>
2521         <para>
2522           Once the rocket has reached apogee and (we hope) activated the
2523           apogee charge, attention switches to tracking the rocket on
2524           the way back to the ground, and for dual-deploy flights,
2525           waiting for the main charge to fire.
2526         </para>
2527         <para>
2528           To monitor whether the apogee charge operated correctly, the
2529           current descent rate is reported along with the current
2530           height. Good descent rates vary based on the choice of recovery
2531           components, but generally range from 15-30m/s on drogue and should
2532           be below 10m/s when under the main parachute in a dual-deploy flight.
2533         </para>
2534         <para>
2535           With GPS-equipped flight computers, you can locate the rocket in the
2536           sky using the elevation and bearing information to figure
2537           out where to look. Elevation is in degrees above the
2538           horizon. Bearing is reported in degrees relative to true
2539           north. Range can help figure out how big the rocket will
2540           appear. Ground Distance shows how far it is to a point
2541           directly under the rocket and can help figure out where the
2542           rocket is likely to land. Note that all of these values are
2543           relative to the pad location. If the elevation is near 90°,
2544           the rocket is over the pad, not over you.
2545         </para>
2546         <para>
2547           Finally, the igniter voltages are reported in this tab as
2548           well, both to monitor the main charge as well as to see what
2549           the status of the apogee charge is.  Note that some commercial
2550           e-matches are designed to retain continuity even after being
2551           fired, and will continue to show as green or return from red to
2552           green after firing.
2553         </para>
2554       </section>
2555       <section>
2556         <title>Landed</title>
2557         <informalfigure>
2558           <mediaobject>
2559             <imageobject>
2560               <imagedata fileref="landed.png" width="5.5in"/>
2561             </imageobject>
2562           </mediaobject>
2563         </informalfigure>
2564         <para>
2565           Once the rocket is on the ground, attention switches to
2566           recovery. While the radio signal is often lost once the
2567           rocket is on the ground, the last reported GPS position is
2568           generally within a short distance of the actual landing location.
2569         </para>
2570         <para>
2571           The last reported GPS position is reported both by
2572           latitude and longitude as well as a bearing and distance from
2573           the launch pad. The distance should give you a good idea of
2574           whether to walk or hitch a ride.  Take the reported
2575           latitude and longitude and enter them into your hand-held GPS
2576           unit and have that compute a track to the landing location.
2577         </para>
2578         <para>
2579           Our flight computers will continue to transmit RDF
2580           tones after landing, allowing you to locate the rocket by
2581           following the radio signal if necessary. You may need to get 
2582           away from the clutter of the flight line, or even get up on 
2583           a hill (or your neighbor's RV roof) to receive the RDF signal.
2584         </para>
2585         <para>
2586           The maximum height, speed and acceleration reported
2587           during the flight are displayed for your admiring observers.
2588           The accuracy of these immediate values depends on the quality
2589           of your radio link and how many packets were received.  
2590           Recovering the on-board data after flight may yield
2591           more precise results.
2592         </para>
2593         <para>
2594           To get more detailed information about the flight, you can
2595           click on the 'Graph Flight' button which will bring up a
2596           graph window for the current flight.
2597         </para>
2598       </section>
2599       <section>
2600         <title>Table</title>
2601         <informalfigure>
2602           <mediaobject>
2603             <imageobject>
2604               <imagedata fileref="table.png" width="5.5in"/>
2605             </imageobject>
2606           </mediaobject>
2607         </informalfigure>
2608         <para>
2609           The table view shows all of the data available from the
2610           flight computer. Probably the most useful data on
2611           this tab is the detailed GPS information, which includes
2612           horizontal dilution of precision information, and
2613           information about the signal being received from the satellites.
2614         </para>
2615       </section>
2616       <section>
2617         <title>Site Map</title>
2618         <informalfigure>
2619           <mediaobject>
2620             <imageobject>
2621               <imagedata fileref="site-map.png" width="5.5in"/>
2622             </imageobject>
2623           </mediaobject>
2624         </informalfigure>
2625         <para>
2626           When the TeleMetrum has a GPS fix, the Site Map tab will map
2627           the rocket's position to make it easier for you to locate the
2628           rocket, both while it is in the air, and when it has landed. The
2629           rocket's state is indicated by color: white for pad, red for
2630           boost, pink for fast, yellow for coast, light blue for drogue,
2631           dark blue for main, and black for landed.
2632         </para>
2633         <para>
2634           The map's scale is approximately 3m (10ft) per pixel. The map
2635           can be dragged using the left mouse button. The map will attempt
2636           to keep the rocket roughly centered while data is being received.
2637         </para>
2638         <para>
2639           Images are fetched automatically via the Google Maps Static API,
2640           and cached on disk for reuse. If map images cannot be downloaded,
2641           the rocket's path will be traced on a dark gray background
2642           instead.
2643         </para>
2644         <para>
2645           You can pre-load images for your favorite launch sites
2646           before you leave home; check out the 'Preload Maps' section below.
2647         </para>
2648       </section>
2649     </section>
2650     <section>
2651       <title>Save Flight Data</title>
2652       <para>
2653         The altimeter records flight data to its internal flash memory.
2654         TeleMetrum data is recorded at a much higher rate than the telemetry
2655         system can handle, and is not subject to radio drop-outs. As
2656         such, it provides a more complete and precise record of the
2657         flight. The 'Save Flight Data' button allows you to read the
2658         flash memory and write it to disk. 
2659       </para>
2660       <para>
2661         Clicking on the 'Save Flight Data' button brings up a list of
2662         connected flight computers and TeleDongle devices. If you select a
2663         flight computer, the flight data will be downloaded from that
2664         device directly. If you select a TeleDongle device, flight data
2665         will be downloaded from a flight computer over radio link via the 
2666         specified TeleDongle. See the chapter on Controlling An Altimeter 
2667         Over The Radio Link for more information.
2668       </para>
2669       <para>
2670         After the device has been selected, a dialog showing the
2671         flight data saved in the device will be shown allowing you to
2672         select which flights to download and which to delete. With
2673         version 0.9 or newer firmware, you must erase flights in order
2674         for the space they consume to be reused by another
2675         flight. This prevents accidentally losing flight data
2676         if you neglect to download data before flying again. Note that
2677         if there is no more space available in the device, then no
2678         data will be recorded during the next flight.
2679       </para>
2680       <para>
2681         The file name for each flight log is computed automatically
2682         from the recorded flight date, altimeter serial number and
2683         flight number information.
2684       </para>
2685     </section>
2686     <section>
2687       <title>Replay Flight</title>
2688       <para>
2689         Select this button and you are prompted to select a flight
2690         record file, either a .telem file recording telemetry data or a
2691         .eeprom file containing flight data saved from the altimeter
2692         flash memory.
2693       </para>
2694       <para>
2695         Once a flight record is selected, the flight monitor interface
2696         is displayed and the flight is re-enacted in real time. Check
2697         the Monitor Flight chapter above to learn how this window operates.
2698       </para>
2699     </section>
2700     <section>
2701       <title>Graph Data</title>
2702       <para>
2703         Select this button and you are prompted to select a flight
2704         record file, either a .telem file recording telemetry data or a
2705         .eeprom file containing flight data saved from
2706         flash memory.
2707       </para>
2708       <para>
2709         Note that telemetry files will generally produce poor graphs
2710         due to the lower sampling rate and missed telemetry packets.
2711         Use saved flight data in .eeprom files for graphing where possible.
2712       </para>
2713       <para>
2714         Once a flight record is selected, a window with multiple tabs is
2715         opened.
2716       </para>
2717       <section>
2718         <title>Flight Graph</title>
2719         <informalfigure>
2720           <mediaobject>
2721             <imageobject>
2722               <imagedata fileref="graph.png" width="6in" scalefit="1"/>
2723             </imageobject>
2724           </mediaobject>
2725         </informalfigure>
2726         <para>
2727           By default, the graph contains acceleration (blue),
2728           velocity (green) and altitude (red).
2729         </para>
2730       <para>
2731         The graph can be zoomed into a particular area by clicking and
2732         dragging down and to the right. Once zoomed, the graph can be
2733         reset by clicking and dragging up and to the left. Holding down
2734         control and clicking and dragging allows the graph to be panned.
2735         The right mouse button causes a pop-up menu to be displayed, giving
2736         you the option save or print the plot.
2737       </para>
2738       </section>
2739       <section>
2740         <title>Configure Graph</title>
2741         <informalfigure>
2742           <mediaobject>
2743             <imageobject>
2744               <imagedata fileref="graph-configure.png" width="6in" scalefit="1"/>
2745             </imageobject>
2746           </mediaobject>
2747         </informalfigure>
2748         <para>
2749           This selects which graph elements to show, and, at the
2750           very bottom, lets you switch between metric and
2751           imperial units
2752         </para>
2753       </section>
2754       <section>
2755         <title>Flight Statistics</title>
2756         <informalfigure>
2757           <mediaobject>
2758             <imageobject>
2759               <imagedata fileref="graph-stats.png" width="6in" scalefit="1"/>
2760             </imageobject>
2761           </mediaobject>
2762         </informalfigure>
2763         <para>
2764           Shows overall data computed from the flight.
2765         </para>
2766       </section>
2767       <section>
2768         <title>Map</title>
2769         <informalfigure>
2770           <mediaobject>
2771             <imageobject>
2772               <imagedata fileref="graph-map.png" width="6in" scalefit="1"/>
2773             </imageobject>
2774           </mediaobject>
2775         </informalfigure>
2776         <para>
2777           Shows a satellite image of the flight area overlaid
2778           with the path of the flight. The red concentric
2779           circles mark the launch pad, the black concentric
2780           circles mark the landing location.
2781         </para>
2782       </section>
2783     </section>
2784     <section>
2785       <title>Export Data</title>
2786       <para>
2787         This tool takes the raw data files and makes them available for
2788         external analysis. When you select this button, you are prompted to 
2789         select a flight data file, which can be either a .eeprom or .telem.
2790         The .eeprom files contain higher resolution and more continuous data, 
2791         while .telem files contain receiver signal strength information.  
2792         Next, a second dialog appears which is used to select
2793         where to write the resulting file. It has a selector to choose
2794         between CSV and KML file formats.
2795       </para>
2796       <section>
2797         <title>Comma Separated Value Format</title>
2798         <para>
2799           This is a text file containing the data in a form suitable for
2800           import into a spreadsheet or other external data analysis
2801           tool. The first few lines of the file contain the version and
2802           configuration information from the altimeter, then
2803           there is a single header line which labels all of the
2804           fields. All of these lines start with a '#' character which
2805           many tools can be configured to skip over.
2806         </para>
2807         <para>
2808           The remaining lines of the file contain the data, with each
2809           field separated by a comma and at least one space. All of
2810           the sensor values are converted to standard units, with the
2811           barometric data reported in both pressure, altitude and
2812           height above pad units.
2813         </para>
2814       </section>
2815       <section>
2816         <title>Keyhole Markup Language (for Google Earth)</title>
2817         <para>
2818           This is the format used by Google Earth to provide an overlay 
2819           within that application. With this, you can use Google Earth to 
2820           see the whole flight path in 3D.
2821         </para>
2822       </section>
2823     </section>
2824     <section>
2825       <title>Configure Altimeter</title>
2826       <informalfigure>
2827         <mediaobject>
2828           <imageobject>
2829             <imagedata fileref="configure-altimeter.png" width="3.6in" scalefit="1"/>
2830           </imageobject>
2831         </mediaobject>
2832       </informalfigure>
2833       <para>
2834         Select this button and then select either an altimeter or
2835         TeleDongle Device from the list provided. Selecting a TeleDongle
2836         device will use the radio link to configure a remote altimeter. 
2837       </para>
2838       <para>
2839         The first few lines of the dialog provide information about the
2840         connected device, including the product name,
2841         software version and hardware serial number. Below that are the
2842         individual configuration entries.
2843       </para>
2844       <para>
2845         At the bottom of the dialog, there are four buttons:
2846       </para>
2847       <variablelist>
2848         <varlistentry>
2849           <term>Save</term>
2850           <listitem>
2851             <para>
2852               This writes any changes to the
2853               configuration parameter block in flash memory. If you don't
2854               press this button, any changes you make will be lost.
2855             </para>
2856           </listitem>
2857         </varlistentry>
2858         <varlistentry>
2859           <term>Reset</term>
2860           <listitem>
2861             <para>
2862               This resets the dialog to the most recently saved values,
2863               erasing any changes you have made.
2864             </para>
2865           </listitem>
2866         </varlistentry>
2867         <varlistentry>
2868           <term>Reboot</term>
2869           <listitem>
2870             <para>
2871               This reboots the device. Use this to
2872               switch from idle to pad mode by rebooting once the rocket is
2873               oriented for flight, or to confirm changes you think you saved 
2874               are really saved.
2875             </para>
2876           </listitem>
2877         </varlistentry>
2878         <varlistentry>
2879           <term>Close</term>
2880           <listitem>
2881             <para>
2882               This closes the dialog. Any unsaved changes will be
2883               lost.
2884             </para>
2885           </listitem>
2886         </varlistentry>
2887       </variablelist>
2888       <para>
2889         The rest of the dialog contains the parameters to be configured.
2890       </para>
2891       <section>
2892         <title>Main Deploy Altitude</title>
2893         <para>
2894           This sets the altitude (above the recorded pad altitude) at
2895           which the 'main' igniter will fire. The drop-down menu shows
2896           some common values, but you can edit the text directly and
2897           choose whatever you like. If the apogee charge fires below
2898           this altitude, then the main charge will fire two seconds
2899           after the apogee charge fires.
2900         </para>
2901       </section>
2902       <section>
2903         <title>Apogee Delay</title>
2904         <para>
2905           When flying redundant electronics, it's often important to
2906           ensure that multiple apogee charges don't fire at precisely
2907           the same time, as that can over pressurize the apogee deployment
2908           bay and cause a structural failure of the air-frame. The Apogee
2909           Delay parameter tells the flight computer to fire the apogee
2910           charge a certain number of seconds after apogee has been
2911           detected.
2912         </para>
2913       </section>
2914       <section>
2915         <title>Radio Frequency</title>
2916         <para>
2917           This configures which of the frequencies to use for both
2918           telemetry and packet command mode. Note that if you set this
2919           value via packet command mode, the TeleDongle frequency will
2920           also be automatically reconfigured to match so that
2921           communication will continue afterwards.
2922         </para>
2923       </section>
2924       <section>
2925         <title>RF Calibration</title>
2926         <para>
2927           The radios in every Altus Metrum device are calibrated at the
2928           factory to ensure that they transmit and receive on the
2929           specified frequency.  If you need to you can adjust the calibration 
2930           by changing this value.  Do not do this without understanding what
2931           the value means, read the appendix on calibration and/or the source
2932           code for more information.  To change a TeleDongle's calibration, 
2933           you must reprogram the unit completely.
2934         </para>
2935       </section>
2936       <section>
2937         <title>Telemetry/RDF/APRS Enable</title>
2938         <para>
2939           Enables the radio for transmission during flight. When
2940           disabled, the radio will not transmit anything during flight
2941           at all.
2942         </para>
2943       </section>
2944       <section>
2945         <title>APRS Interval</title>
2946         <para>
2947           How often to transmit GPS information via APRS. This option
2948           is available on TeleMetrum v2 and TeleMega
2949           boards. TeleMetrum v1 boards cannot transmit APRS
2950           packets. Note that a single APRS packet takes nearly a full
2951           second to transmit, so enabling this option will prevent
2952           sending any other telemetry during that time.
2953         </para>
2954       </section>
2955       <section>
2956         <title>Callsign</title>
2957         <para>
2958           This sets the call sign included in each telemetry packet. Set this
2959           as needed to conform to your local radio regulations.
2960         </para>
2961       </section>
2962       <section>
2963         <title>Maximum Flight Log Size</title>
2964         <para>
2965           This sets the space (in kilobytes) allocated for each flight
2966           log. The available space will be divided into chunks of this
2967           size. A smaller value will allow more flights to be stored,
2968           a larger value will record data from longer flights.
2969         </para>
2970       </section>
2971       <section>
2972         <title>Ignite Mode</title>
2973         <para>
2974           TeleMetrum and TeleMini provide two igniter channels as they
2975           were originally designed as dual-deploy flight
2976           computers. This configuration parameter allows the two
2977           channels to be used in different configurations.
2978         </para>
2979           <variablelist>
2980             <varlistentry>
2981               <term>Dual Deploy</term>
2982               <listitem>
2983                 <para>
2984                   This is the usual mode of operation; the
2985                   'apogee' channel is fired at apogee and the 'main'
2986                   channel at the height above ground specified by the
2987                   'Main Deploy Altitude' during descent.
2988                 </para>
2989               </listitem>
2990             </varlistentry>
2991             <varlistentry>
2992               <term>Redundant Apogee</term>
2993               <listitem>
2994                 <para>
2995                   This fires both channels at
2996                   apogee, the 'apogee' channel first followed after a two second
2997                   delay by the 'main' channel.
2998                 </para>
2999               </listitem>
3000             </varlistentry>
3001             <varlistentry>
3002               <term>Redundant Main</term>
3003               <listitem>
3004                 <para>
3005                   This fires both channels at the
3006                   height above ground specified by the Main Deploy
3007                   Altitude setting during descent. The 'apogee'
3008                   channel is fired first, followed after a two second
3009                   delay by the 'main' channel.
3010                 </para>
3011               </listitem>
3012             </varlistentry>
3013         </variablelist>
3014       </section>
3015       <section>
3016         <title>Pad Orientation</title>
3017         <para>
3018           Because they include accelerometers, TeleMetrum and
3019           TeleMega are sensitive to the orientation of the board. By
3020           default, they expect the antenna end to point forward. This
3021           parameter allows that default to be changed, permitting the
3022           board to be mounted with the antenna pointing aft instead.
3023         </para>
3024         <variablelist>
3025           <varlistentry>
3026             <term>Antenna Up</term>
3027             <listitem>
3028               <para>
3029                 In this mode, the antenna end of the
3030                 flight computer must point forward, in line with the
3031                 expected flight path.
3032               </para>
3033             </listitem>
3034           </varlistentry>
3035           <varlistentry>
3036             <term>Antenna Down</term>
3037             <listitem>
3038               <para>
3039                 In this mode, the antenna end of the
3040                 flight computer must point aft, in line with the
3041                 expected flight path.
3042               </para>
3043             </listitem>
3044           </varlistentry>
3045         </variablelist>
3046       </section>
3047       <section>
3048         <title>Configure Pyro Channels</title>
3049         <informalfigure>
3050           <mediaobject>
3051             <imageobject>
3052               <imagedata fileref="configure-pyro.png" width="6in" scalefit="1"/>
3053             </imageobject>
3054           </mediaobject>
3055         </informalfigure>
3056         <para>
3057           This opens a separate window to configure the additional
3058           pyro channels available on TeleMega.  One column is
3059           presented for each channel. Each row represents a single
3060           parameter, if enabled the parameter must meet the specified
3061           test for the pyro channel to be fired. See the Pyro Channels
3062           section in the System Operation chapter above for a
3063           description of these parameters.
3064         </para>
3065         <para>
3066           Select conditions and set the related value; the pyro
3067           channel will be activated when <emphasis>all</emphasis> of the
3068           conditions are met. Each pyro channel has a separate set of
3069           configuration values, so you can use different values for
3070           the same condition with different channels.
3071         </para>
3072         <para>
3073           Once you have selected the appropriate configuration for all
3074           of the necessary pyro channels, you can save the pyro
3075           configuration along with the rest of the flight computer
3076           configuration by pressing the 'Save' button in the main
3077           Configure Flight Computer window.
3078         </para>
3079       </section>
3080     </section>
3081     <section>
3082       <title>Configure AltosUI</title>
3083       <informalfigure>
3084         <mediaobject>
3085           <imageobject>
3086             <imagedata fileref="configure-altosui.png" width="2.4in" scalefit="1"/>
3087           </imageobject>
3088         </mediaobject>
3089       </informalfigure>
3090       <para>
3091         This button presents a dialog so that you can configure the AltosUI global settings.
3092       </para>
3093       <section>
3094         <title>Voice Settings</title>
3095         <para>
3096           AltosUI provides voice announcements during flight so that you
3097           can keep your eyes on the sky and still get information about
3098           the current flight status. However, sometimes you don't want
3099           to hear them.
3100         </para>
3101         <variablelist>
3102           <varlistentry>
3103             <term>Enable</term>
3104             <listitem>
3105               <para>Turns all voice announcements on and off</para>
3106             </listitem>
3107           </varlistentry>
3108           <varlistentry>
3109             <term>Test Voice</term>
3110             <listitem>
3111               <para>
3112                 Plays a short message allowing you to verify
3113                 that the audio system is working and the volume settings
3114                 are reasonable
3115               </para>
3116             </listitem>
3117           </varlistentry>
3118         </variablelist>
3119       </section>
3120       <section>
3121         <title>Log Directory</title>
3122         <para>
3123           AltosUI logs all telemetry data and saves all TeleMetrum flash
3124           data to this directory. This directory is also used as the
3125           staring point when selecting data files for display or export.
3126         </para>
3127         <para>
3128           Click on the directory name to bring up a directory choosing
3129           dialog, select a new directory and click 'Select Directory' to
3130           change where AltosUI reads and writes data files.
3131         </para>
3132       </section>
3133       <section>
3134         <title>Callsign</title>
3135         <para>
3136           This value is transmitted in each command packet sent from 
3137           TeleDongle and received from an altimeter.  It is not used in 
3138           telemetry mode, as the callsign configured in the altimeter board
3139           is included in all telemetry packets.  Configure this
3140           with the AltosUI operators call sign as needed to comply with
3141           your local radio regulations.
3142         </para>
3143         <para>
3144           Note that to successfully command a flight computer over the radio
3145           (to configure the altimeter, monitor idle, or fire pyro charges), 
3146           the callsign configured here must exactly match the callsign
3147           configured in the flight computer.  This matching is case 
3148           sensitive.
3149         </para>
3150       </section>
3151       <section>
3152         <title>Imperial Units</title>
3153         <para>
3154           This switches between metric units (meters) and imperial
3155           units (feet and miles). This affects the display of values
3156           use during flight monitoring, configuration, data graphing
3157           and all of the voice announcements. It does not change the
3158           units used when exporting to CSV files, those are always
3159           produced in metric units.
3160         </para>
3161       </section>
3162       <section>
3163         <title>Font Size</title>
3164         <para>
3165           Selects the set of fonts used in the flight monitor
3166           window. Choose between the small, medium and large sets.
3167         </para>
3168       </section>
3169       <section>
3170         <title>Serial Debug</title>
3171         <para>
3172           This causes all communication with a connected device to be
3173           dumped to the console from which AltosUI was started. If
3174           you've started it from an icon or menu entry, the output
3175           will simply be discarded. This mode can be useful to debug
3176           various serial communication issues.
3177         </para>
3178       </section>
3179       <section>
3180         <title>Manage Frequencies</title>
3181         <para>
3182           This brings up a dialog where you can configure the set of
3183           frequencies shown in the various frequency menus. You can
3184           add as many as you like, or even reconfigure the default
3185           set. Changing this list does not affect the frequency
3186           settings of any devices, it only changes the set of
3187           frequencies shown in the menus.
3188         </para>
3189       </section>
3190     </section>
3191     <section>
3192       <title>Configure Groundstation</title>
3193       <informalfigure>
3194         <mediaobject>
3195           <imageobject>
3196             <imagedata fileref="configure-groundstation.png" width="3.1in" scalefit="1"/>
3197           </imageobject>
3198         </mediaobject>
3199       </informalfigure>
3200       <para>
3201         Select this button and then select a TeleDongle Device from the list provided.
3202       </para>
3203       <para>
3204         The first few lines of the dialog provide information about the
3205         connected device, including the product name,
3206         software version and hardware serial number. Below that are the
3207         individual configuration entries.
3208       </para>
3209       <para>
3210         Note that the TeleDongle itself doesn't save any configuration
3211         data, the settings here are recorded on the local machine in
3212         the Java preferences database. Moving the TeleDongle to
3213         another machine, or using a different user account on the same
3214         machine will cause settings made here to have no effect.
3215       </para>
3216       <para>
3217         At the bottom of the dialog, there are three buttons:
3218       </para>
3219       <variablelist>
3220         <varlistentry>
3221           <term>Save</term>
3222           <listitem>
3223             <para>
3224               This writes any changes to the
3225               local Java preferences file. If you don't
3226               press this button, any changes you make will be lost.
3227             </para>
3228           </listitem>
3229         </varlistentry>
3230         <varlistentry>
3231           <term>Reset</term>
3232           <listitem>
3233             <para>
3234               This resets the dialog to the most recently saved values,
3235               erasing any changes you have made.
3236             </para>
3237           </listitem>
3238         </varlistentry>
3239         <varlistentry>
3240           <term>Close</term>
3241           <listitem>
3242             <para>
3243               This closes the dialog. Any unsaved changes will be
3244               lost.
3245             </para>
3246           </listitem>
3247         </varlistentry>
3248       </variablelist>
3249       <para>
3250         The rest of the dialog contains the parameters to be configured.
3251       </para>
3252       <section>
3253         <title>Frequency</title>
3254         <para>
3255           This configures the frequency to use for both telemetry and
3256           packet command mode. Set this before starting any operation
3257           involving packet command mode so that it will use the right
3258           frequency. Telemetry monitoring mode also provides a menu to
3259           change the frequency, and that menu also sets the same Java
3260           preference value used here.
3261         </para>
3262       </section>
3263       <section>
3264         <title>Radio Calibration</title>
3265         <para>
3266           The radios in every Altus Metrum device are calibrated at the
3267           factory to ensure that they transmit and receive on the
3268           specified frequency.  To change a TeleDongle's calibration, 
3269           you must reprogram the unit completely, so this entry simply
3270           shows the current value and doesn't allow any changes.
3271         </para>
3272       </section>
3273     </section>
3274     <section>
3275       <title>Flash Image</title>
3276       <para>
3277         This reprograms Altus Metrum devices with new
3278         firmware. TeleMetrum v1.x, TeleDongle, TeleMini and TeleBT are
3279         all reprogrammed by using another similar unit as a
3280         programming dongle (pair programming). TeleMega, TeleMetrum v2
3281         and EasyMini are all programmed directly over their USB ports
3282         (self programming).  Please read the directions for flashing
3283         devices in the Updating Device Firmware chapter below.
3284       </para>
3285     </section>
3286     <section>
3287       <title>Fire Igniter</title>
3288       <informalfigure>
3289         <mediaobject>
3290           <imageobject>
3291             <imagedata fileref="fire-igniter.png" width="1.2in" scalefit="1"/>
3292           </imageobject>
3293         </mediaobject>
3294       </informalfigure>
3295       <para>
3296         This activates the igniter circuits in the flight computer to help 
3297         test recovery systems deployment. Because this command can operate
3298         over the Packet Command Link, you can prepare the rocket as
3299         for flight and then test the recovery system without needing
3300         to snake wires inside the air-frame.
3301       </para>
3302       <para>
3303         Selecting the 'Fire Igniter' button brings up the usual device
3304         selection dialog. Pick the desired device. This brings up another 
3305         window which shows the current continuity test status for all
3306         of the pyro channels.
3307       </para>
3308       <para>
3309         Next, select the desired igniter to fire. This will enable the
3310         'Arm' button.
3311       </para>
3312       <para>
3313         Select the 'Arm' button. This enables the 'Fire' button. The
3314         word 'Arm' is replaced by a countdown timer indicating that
3315         you have 10 seconds to press the 'Fire' button or the system
3316         will deactivate, at which point you start over again at
3317         selecting the desired igniter.
3318       </para>
3319     </section>
3320     <section>
3321       <title>Scan Channels</title>
3322       <informalfigure>
3323         <mediaobject>
3324           <imageobject>
3325             <imagedata fileref="scan-channels.png" width="3.2in" scalefit="1"/>
3326           </imageobject>
3327         </mediaobject>
3328       </informalfigure>
3329       <para>
3330         This listens for telemetry packets on all of the configured
3331         frequencies, displaying information about each device it
3332         receives a packet from. You can select which of the three
3333         telemetry formats should be tried; by default, it only listens
3334         for the standard telemetry packets used in v1.0 and later
3335         firmware.
3336       </para>
3337     </section>
3338     <section>
3339       <title>Load Maps</title>
3340       <informalfigure>
3341         <mediaobject>
3342           <imageobject>
3343             <imagedata fileref="load-maps.png" width="5.2in" scalefit="1"/>
3344           </imageobject>
3345         </mediaobject>
3346       </informalfigure>
3347       <para>
3348         Before heading out to a new launch site, you can use this to
3349         load satellite images in case you don't have internet
3350         connectivity at the site. This loads a fairly large area
3351         around the launch site, which should cover any flight you're likely to make.
3352       </para>
3353       <para>
3354         There's a drop-down menu of launch sites we know about; if
3355         your favorites aren't there, please let us know the lat/lon
3356         and name of the site. The contents of this list are actually
3357         downloaded from our server at run-time, so as new sites are sent 
3358         in, they'll get automatically added to this list.
3359       </para>
3360       <para>
3361         If the launch site isn't in the list, you can manually enter the lat/lon values
3362       </para>
3363       <para>
3364         Clicking the 'Load Map' button will fetch images from Google
3365         Maps; note that Google limits how many images you can fetch at
3366         once, so if you load more than one launch site, you may get
3367         some gray areas in the map which indicate that Google is tired
3368         of sending data to you. Try again later.
3369       </para>
3370     </section>
3371     <section>
3372       <title>Monitor Idle</title>
3373       <para>
3374         This brings up a dialog similar to the Monitor Flight UI,
3375         except it works with the altimeter in “idle” mode by sending
3376         query commands to discover the current state rather than
3377         listening for telemetry packets. Because this uses command
3378         mode, it needs to have the TeleDongle and flight computer
3379         callsigns match exactly. If you can receive telemetry, but
3380         cannot manage to run Monitor Idle, then it's very likely that
3381         your callsigns are different in some way.
3382       </para>
3383     </section>
3384   </chapter>
3385   <chapter>
3386     <title>AltosDroid</title>
3387     <para>
3388       AltosDroid provides the same flight monitoring capabilities as
3389       AltosUI, but runs on Android devices and is designed to connect
3390       to a TeleBT receiver over Bluetooth™. AltosDroid monitors
3391       telemetry data, logging it to internal storage in the Android
3392       device, and presents that data in a UI the same way the 'Monitor
3393       Flight' window does in AltosUI.
3394     </para>
3395     <para>
3396       This manual will explain how to configure AltosDroid, connect
3397       to TeleBT, operate the flight monitoring interface and describe
3398       what the displayed data means.
3399     </para>
3400     <section>
3401       <title>Installing AltosDroid</title>
3402       <para>
3403         AltosDroid is available from the Google Play store. To install
3404         it on your Android device, open the Google Play Store
3405         application and search for “altosdroid”. Make sure you don't
3406         have a space between “altos” and “droid” or you probably won't
3407         find what you want. That should bring you to the right page
3408         from which you can download and install the application.
3409       </para>
3410     </section>
3411     <section>
3412       <title>Connecting to TeleBT</title>
3413       <para>
3414         Press the Android 'Menu' button or soft-key to see the
3415         configuration options available. Select the 'Connect a device'
3416         option and then the 'Scan for devices' entry at the bottom to
3417         look for your TeleBT device. Select your device, and when it
3418         asks for the code, enter '1234'.
3419       </para>
3420       <para>
3421         Subsequent connections will not require you to enter that
3422         code, and your 'paired' device will appear in the list without
3423         scanning.
3424       </para>
3425     </section>
3426     <section>
3427       <title>Configuring AltosDroid</title>
3428       <para>
3429         The only configuration option available for AltosDroid is
3430         which frequency to listen on. Press the Android 'Menu' button
3431         or soft-key and pick the 'Select radio frequency' entry. That
3432         brings up a menu of pre-set radio frequencies; pick the one
3433         which matches your altimeter.
3434       </para>
3435     </section>
3436     <section>
3437       <title>AltosDroid Flight Monitoring</title>
3438       <para>
3439         AltosDroid is designed to mimic the AltosUI flight monitoring
3440         display, providing separate tabs for each stage of your rocket
3441         flight along with a tab containing a map of the local area
3442         with icons marking the current location of the altimeter and
3443         the Android device.
3444       </para>
3445       <section>
3446         <title>Pad</title>
3447         <para>
3448           The 'Launch Pad' tab shows information used to decide when the
3449           rocket is ready for flight. The first elements include red/green
3450           indicators, if any of these is red, you'll want to evaluate
3451           whether the rocket is ready to launch:
3452           <variablelist>
3453             <varlistentry>
3454               <term>Battery Voltage</term>
3455               <listitem>
3456                 <para>
3457                   This indicates whether the Li-Po battery
3458                   powering the TeleMetrum has sufficient charge to last for
3459                   the duration of the flight. A value of more than
3460                   3.8V is required for a 'GO' status.
3461                 </para>
3462               </listitem>
3463             </varlistentry>
3464             <varlistentry>
3465               <term>Apogee Igniter Voltage</term>
3466               <listitem>
3467                 <para>
3468                   This indicates whether the apogee
3469                   igniter has continuity. If the igniter has a low
3470                   resistance, then the voltage measured here will be close
3471                   to the Li-Po battery voltage. A value greater than 3.2V is
3472                   required for a 'GO' status.
3473                 </para>
3474               </listitem>
3475             </varlistentry>
3476             <varlistentry>
3477               <term>Main Igniter Voltage</term>
3478               <listitem>
3479                 <para>
3480                   This indicates whether the main
3481                   igniter has continuity. If the igniter has a low
3482                   resistance, then the voltage measured here will be close
3483                   to the Li-Po battery voltage. A value greater than 3.2V is
3484                   required for a 'GO' status.
3485                 </para>
3486               </listitem>
3487             </varlistentry>
3488             <varlistentry>
3489               <term>On-board Data Logging</term>
3490               <listitem>
3491                 <para>
3492                   This indicates whether there is
3493                   space remaining on-board to store flight data for the
3494                   upcoming flight. If you've downloaded data, but failed
3495                   to erase flights, there may not be any space
3496                   left. TeleMetrum can store multiple flights, depending
3497                   on the configured maximum flight log size. TeleMini
3498                   stores only a single flight, so it will need to be
3499                   downloaded and erased after each flight to capture
3500                   data. This only affects on-board flight logging; the
3501                   altimeter will still transmit telemetry and fire
3502                   ejection charges at the proper times.
3503                 </para>
3504               </listitem>
3505             </varlistentry>
3506             <varlistentry>
3507               <term>GPS Locked</term>
3508               <listitem>
3509                 <para>
3510                   For a TeleMetrum or TeleMega device, this indicates whether the GPS receiver is
3511                   currently able to compute position information. GPS requires
3512                   at least 4 satellites to compute an accurate position.
3513                 </para>
3514               </listitem>
3515             </varlistentry>
3516             <varlistentry>
3517               <term>GPS Ready</term>
3518               <listitem>
3519                 <para>
3520                   For a TeleMetrum or TeleMega device, this indicates whether GPS has reported at least
3521                   10 consecutive positions without losing lock. This ensures
3522                   that the GPS receiver has reliable reception from the
3523                   satellites.
3524                 </para>
3525               </listitem>
3526             </varlistentry>
3527           </variablelist>
3528         </para>
3529         <para>
3530           The Launchpad tab also shows the computed launch pad position
3531           and altitude, averaging many reported positions to improve the
3532           accuracy of the fix.
3533         </para>
3534       </section>
3535     </section>
3536     <section>
3537       <title>Downloading Flight Logs</title>
3538       <para>
3539         AltosDroid always saves every bit of telemetry data it
3540         receives. To download that to a computer for use with AltosUI,
3541         simply remove the SD card from your Android device, or connect
3542         your device to your computer's USB port and browse the files
3543         on that device. You will find '.telem' files in the TeleMetrum
3544         directory that will work with AltosUI directly.
3545       </para>
3546     </section>
3547   </chapter>
3548   <chapter>
3549     <title>Using Altus Metrum Products</title>
3550     <section>
3551       <title>Being Legal</title>
3552       <para>
3553         First off, in the US, you need an <ulink url="http://www.altusmetrum.org/Radio/">amateur radio license</ulink> or
3554         other authorization to legally operate the radio transmitters that are part
3555         of our products.
3556       </para>
3557       </section>
3558       <section>
3559         <title>In the Rocket</title>
3560         <para>
3561           In the rocket itself, you just need a flight computer and
3562           a single-cell, 3.7 volt nominal Li-Po rechargeable battery.  An 
3563           850mAh battery weighs less than a 9V alkaline battery, and will 
3564           run a TeleMetrum or TeleMega for hours.
3565           A 110mAh battery weighs less than a triple A battery and is a good
3566           choice for use with TeleMini.
3567         </para>
3568         <para>
3569           By default, we ship flight computers with a simple wire antenna.  
3570           If your electronics bay or the air-frame it resides within is made 
3571           of carbon fiber, which is opaque to RF signals, you may prefer to 
3572           install an SMA connector so that you can run a coaxial cable to an 
3573           antenna mounted elsewhere in the rocket.  However, note that the 
3574           GPS antenna is fixed on all current products, so you really want
3575           to install the flight computer in a bay made of RF-transparent
3576           materials if at all possible.
3577         </para>
3578       </section>
3579       <section>
3580         <title>On the Ground</title>
3581         <para>
3582           To receive the data stream from the rocket, you need an antenna and short
3583           feed-line connected to one of our <ulink url="http://www.altusmetrum.org/TeleDongle/">TeleDongle</ulink> units.  If possible, use an SMA to BNC 
3584         adapter instead of feedline between the antenna feedpoint and 
3585         TeleDongle, as this will give you the best performance.  The
3586           TeleDongle in turn plugs directly into the USB port on a notebook
3587           computer.  Because TeleDongle looks like a simple serial port, your computer
3588           does not require special device drivers... just plug it in.
3589         </para>
3590         <para>
3591           The GUI tool, AltosUI, is written in Java and runs across
3592           Linux, Mac OS and Windows. There's also a suite of C tools
3593           for Linux which can perform most of the same tasks.
3594         </para>
3595         <para>
3596           Alternatively, a TeleBT attached with an SMA to BNC adapter at the
3597           feed point of a hand-held yagi used in conjunction with an Android
3598           device running AltosDroid makes an outstanding ground station.
3599         </para>
3600         <para>
3601           After the flight, you can use the radio link to extract the more detailed data
3602           logged in either TeleMetrum or TeleMini devices, or you can use a mini USB cable to plug into the
3603           TeleMetrum board directly.  Pulling out the data without having to open up
3604           the rocket is pretty cool!  A USB cable is also how you charge the Li-Po
3605           battery, so you'll want one of those anyway... the same cable used by lots
3606           of digital cameras and other modern electronic stuff will work fine.
3607         </para>
3608         <para>
3609           If your rocket lands out of sight, you may enjoy having a hand-held 
3610           GPS receiver, so that you can put in a way-point for the last 
3611           reported rocket position before touch-down.  This makes looking for 
3612           your rocket a lot like Geo-Caching... just go to the way-point and 
3613           look around starting from there.  AltosDroid on an Android device
3614           with GPS receiver works great for this, too!
3615         </para>
3616         <para>
3617           You may also enjoy having a ham radio “HT” that covers the 70cm band... you
3618           can use that with your antenna to direction-find the rocket on the ground
3619           the same way you can use a Walston or Beeline tracker.  This can be handy
3620           if the rocket is hiding in sage brush or a tree, or if the last GPS position
3621           doesn't get you close enough because the rocket dropped into a canyon, or
3622           the wind is blowing it across a dry lake bed, or something like that...  Keith
3623           currently uses a Yaesu VX-7R, Bdale has a Baofung UV-5R
3624           which isn't as nice, but was a whole lot cheaper.
3625         </para>
3626         <para>
3627           So, to recap, on the ground the hardware you'll need includes:
3628           <orderedlist inheritnum='inherit' numeration='arabic'>
3629             <listitem>
3630               <para>
3631               an antenna and feed-line or adapter
3632               </para>
3633             </listitem>
3634             <listitem>
3635               <para>
3636               a TeleDongle
3637               </para>
3638             </listitem>
3639             <listitem>
3640               <para>
3641               a notebook computer
3642               </para>
3643             </listitem>
3644             <listitem>
3645               <para>
3646               optionally, a hand-held GPS receiver
3647               </para>
3648             </listitem>
3649             <listitem>
3650               <para>
3651               optionally, an HT or receiver covering 435 MHz
3652               </para>
3653             </listitem>
3654           </orderedlist>
3655         </para>
3656         <para>
3657           The best hand-held commercial directional antennas we've found for radio
3658           direction finding rockets are from
3659           <ulink url="http://www.arrowantennas.com/" >
3660             Arrow Antennas.
3661           </ulink>
3662           The 440-3 and 440-5 are both good choices for finding a
3663           TeleMetrum- or TeleMini- equipped rocket when used with a suitable 
3664           70cm HT.  TeleDongle and an SMA to BNC adapter fit perfectly
3665           between the driven element and reflector of Arrow antennas.
3666         </para>
3667       </section>
3668       <section>
3669         <title>Data Analysis</title>
3670         <para>
3671           Our software makes it easy to log the data from each flight, both the
3672           telemetry received during the flight itself, and the more
3673           complete data log recorded in the flash memory on the altimeter
3674           board.  Once this data is on your computer, our post-flight tools make it
3675           easy to quickly get to the numbers everyone wants, like apogee altitude,
3676           max acceleration, and max velocity.  You can also generate and view a
3677           standard set of plots showing the altitude, acceleration, and
3678           velocity of the rocket during flight.  And you can even export a TeleMetrum data file
3679           usable with Google Maps and Google Earth for visualizing the flight path
3680           in two or three dimensions!
3681         </para>
3682         <para>
3683           Our ultimate goal is to emit a set of files for each flight that can be
3684           published as a web page per flight, or just viewed on your local disk with
3685           a web browser.
3686         </para>
3687       </section>
3688       <section>
3689         <title>Future Plans</title>
3690         <para>
3691           We've designed a simple GPS based radio tracker called TeleGPS.  
3692           If all goes well, we hope to introduce this in the first
3693           half of 2014.
3694         </para>
3695         <para>
3696           We have designed and prototyped several “companion boards” that 
3697           can attach to the companion connector on TeleMetrum and TeleMega
3698           flight computers to collect more data, provide more pyro channels, 
3699           and so forth.  We do not yet know if or when any of these boards
3700           will be produced in enough quantity to sell.  If you have specific
3701           interests for data collection or control of events in your rockets
3702           beyond the capabilities of our existing productions, please let 
3703           us know!
3704         </para>
3705         <para>
3706           Because all of our work is open, both the hardware designs and the 
3707           software, if you have some great idea for an addition to the current 
3708           Altus Metrum family, feel free to dive in and help!  Or let us know 
3709           what you'd like to see that we aren't already working on, and maybe 
3710           we'll get excited about it too...
3711         </para>
3712         <para>
3713           Watch our 
3714           <ulink url="http://altusmetrum.org/">web site</ulink> for more news 
3715           and information as our family of products evolves!
3716         </para>
3717     </section>
3718   </chapter>
3719   <chapter>
3720     <title>Altimeter Installation Recommendations</title>
3721     <para>
3722       Building high-power rockets that fly safely is hard enough. Mix
3723       in some sophisticated electronics and a bunch of radio energy
3724       and some creativity and/or compromise may be required. This chapter
3725       contains some suggestions about how to install Altus Metrum
3726       products into a rocket air-frame, including how to safely and
3727       reliably mix a variety of electronics into the same air-frame.
3728     </para>
3729     <section>
3730       <title>Mounting the Altimeter</title>
3731       <para>
3732         The first consideration is to ensure that the altimeter is
3733         securely fastened to the air-frame. For most of our products, we 
3734         prefer nylon standoffs and nylon screws; they're good to at least 50G
3735         and cannot cause any electrical issues on the board.  Metal screws
3736         and standoffs are fine, too, just be careful to avoid electrical
3737         shorts!  For TeleMini v1.0, we usually cut small pieces of 1/16 inch 
3738         balsa to fit
3739         under the screw holes, and then take 2x56 nylon screws and
3740         screw them through the TeleMini mounting holes, through the
3741         balsa and into the underlying material.
3742       </para>
3743       <orderedlist inheritnum='inherit' numeration='arabic'>
3744         <listitem>
3745           <para>
3746             Make sure accelerometer-equipped products like TeleMetrum and
3747             TeleMega are aligned precisely along the axis of
3748             acceleration so that the accelerometer can accurately
3749             capture data during the flight.
3750           </para>
3751         </listitem>
3752         <listitem>
3753           <para>
3754             Watch for any metal touching components on the
3755             board. Shorting out connections on the bottom of the board
3756             can cause the altimeter to fail during flight.
3757           </para>
3758         </listitem>
3759       </orderedlist>
3760     </section>
3761     <section>
3762       <title>Dealing with the Antenna</title>
3763       <para>
3764         The antenna supplied is just a piece of solid, insulated,
3765         wire. If it gets damaged or broken, it can be easily
3766         replaced. It should be kept straight and not cut; bending or
3767         cutting it will change the resonant frequency and/or
3768         impedance, making it a less efficient radiator and thus
3769         reducing the range of the telemetry signal.
3770       </para>
3771       <para>
3772         Keeping metal away from the antenna will provide better range
3773         and a more even radiation pattern. In most rockets, it's not
3774         entirely possible to isolate the antenna from metal
3775         components; there are often bolts, all-thread and wires from other
3776         electronics to contend with. Just be aware that the more stuff
3777         like this around the antenna, the lower the range.
3778       </para>
3779       <para>
3780         Make sure the antenna is not inside a tube made or covered
3781         with conducting material. Carbon fiber is the most common
3782         culprit here -- CF is a good conductor and will effectively
3783         shield the antenna, dramatically reducing signal strength and
3784         range. Metallic flake paint is another effective shielding
3785         material which should be avoided around any antennas.
3786       </para>
3787       <para>
3788         If the ebay is large enough, it can be convenient to simply
3789         mount the altimeter at one end and stretch the antenna out
3790         inside. Taping the antenna to the sled can keep it straight
3791         under acceleration. If there are metal rods, keep the
3792         antenna as far away as possible.
3793       </para>
3794       <para>
3795         For a shorter ebay, it's quite practical to have the antenna
3796         run through a bulkhead and into an adjacent bay. Drill a small
3797         hole in the bulkhead, pass the antenna wire through it and
3798         then seal it up with glue or clay. We've also used acrylic
3799         tubing to create a cavity for the antenna wire. This works a
3800         bit better in that the antenna is known to stay straight and
3801         not get folded by recovery components in the bay. Angle the
3802         tubing towards the side wall of the rocket and it ends up
3803         consuming very little space.
3804       </para>
3805       <para>
3806         If you need to place the UHF antenna at a distance from the
3807         altimeter, you can replace the antenna with an edge-mounted
3808         SMA connector, and then run 50Ω coax from the board to the
3809         antenna. Building a remote antenna is beyond the scope of this
3810         manual.
3811       </para>
3812     </section>
3813     <section>
3814       <title>Preserving GPS Reception</title>
3815       <para>
3816         The GPS antenna and receiver used in TeleMetrum and TeleMega is 
3817         highly sensitive and normally have no trouble tracking enough
3818         satellites to provide accurate position information for
3819         recovering the rocket. However, there are many ways the GPS signal
3820         can end up attenuated, negatively affecting GPS performance. 
3821       <orderedlist inheritnum='inherit' numeration='arabic'>
3822         <listitem>
3823           <para>
3824             Conductive tubing or coatings. Carbon fiber and metal
3825             tubing, or metallic paint will all dramatically attenuate the
3826             GPS signal. We've never heard of anyone successfully
3827             receiving GPS from inside these materials.
3828           </para>
3829         </listitem>
3830         <listitem>
3831           <para>
3832             Metal components near the GPS patch antenna. These will
3833             de-tune the patch antenna, changing the resonant frequency
3834             away from the L1 carrier and reduce the effectiveness of the
3835             antenna. You can place as much stuff as you like beneath the
3836             antenna as that's covered with a ground plane. But, keep
3837             wires and metal out from above the patch antenna.
3838           </para>
3839         </listitem>
3840       </orderedlist>
3841       </para>
3842     </section>
3843     <section>
3844       <title>Radio Frequency Interference</title>
3845       <para>
3846         Any altimeter will generate RFI; the digital circuits use
3847         high-frequency clocks that spray radio interference across a
3848         wide band. Altus Metrum altimeters generate intentional radio
3849         signals as well, increasing the amount of RF energy around the board.
3850       </para>
3851       <para>
3852         Rocketry altimeters also use precise sensors measuring air
3853         pressure and acceleration. Tiny changes in voltage can cause
3854         these sensor readings to vary by a huge amount. When the
3855         sensors start mis-reporting data, the altimeter can either
3856         fire the igniters at the wrong time, or not fire them at all.
3857       </para>
3858       <para>
3859         Voltages are induced when radio frequency energy is
3860         transmitted from one circuit to another. Here are things that
3861         influence the induced voltage and current:
3862       </para>
3863       <itemizedlist>
3864         <listitem>
3865           <para>
3866             Keep wires from different circuits apart. Moving circuits
3867             further apart will reduce RFI.
3868           </para>
3869         </listitem>
3870         <listitem>
3871           <para>
3872           Avoid parallel wires from different circuits. The longer two
3873           wires run parallel to one another, the larger the amount of
3874           transferred energy. Cross wires at right angles to reduce
3875           RFI.
3876           </para>
3877         </listitem>
3878         <listitem>
3879           <para>
3880           Twist wires from the same circuits. Two wires the same
3881           distance from the transmitter will get the same amount of
3882           induced energy which will then cancel out. Any time you have
3883           a wire pair running together, twist the pair together to
3884           even out distances and reduce RFI. For altimeters, this
3885           includes battery leads, switch hookups and igniter
3886           circuits.
3887           </para>
3888         </listitem>
3889         <listitem>
3890           <para>
3891           Avoid resonant lengths. Know what frequencies are present
3892           in the environment and avoid having wire lengths near a
3893           natural resonant length. Altus Metrum products transmit on the
3894           70cm amateur band, so you should avoid lengths that are a
3895           simple ratio of that length; essentially any multiple of ¼
3896           of the wavelength (17.5cm).
3897           </para>
3898         </listitem>
3899       </itemizedlist>
3900     </section>
3901     <section>
3902       <title>The Barometric Sensor</title>
3903       <para>
3904         Altusmetrum altimeters measure altitude with a barometric
3905         sensor, essentially measuring the amount of air above the
3906         rocket to figure out how high it is. A large number of
3907         measurements are taken as the altimeter initializes itself to
3908         figure out the pad altitude. Subsequent measurements are then
3909         used to compute the height above the pad.
3910       </para>
3911       <para>
3912         To accurately measure atmospheric pressure, the ebay
3913         containing the altimeter must be vented outside the
3914         air-frame. The vent must be placed in a region of linear
3915         airflow, have smooth edges, and away from areas of increasing or 
3916         decreasing pressure.
3917       </para>
3918       <para>
3919         All barometric sensors are quite sensitive to chemical damage from 
3920         the products of APCP or BP combustion, so make sure the ebay is 
3921         carefully sealed from any compartment which contains ejection 
3922         charges or motors.
3923       </para>
3924     </section>
3925     <section>
3926       <title>Ground Testing</title>
3927       <para>
3928         The most important aspect of any installation is careful
3929         ground testing. Bringing an air-frame up to the LCO table which
3930         hasn't been ground tested can lead to delays or ejection
3931         charges firing on the pad, or, even worse, a recovery system
3932         failure.
3933       </para>
3934       <para>
3935         Do a 'full systems' test that includes wiring up all igniters
3936         without any BP and turning on all of the electronics in flight
3937         mode. This will catch any mistakes in wiring and any residual
3938         RFI issues that might accidentally fire igniters at the wrong
3939         time. Let the air-frame sit for several minutes, checking for
3940         adequate telemetry signal strength and GPS lock.  If any igniters
3941         fire unexpectedly, find and resolve the issue before loading any
3942         BP charges!
3943       </para>
3944       <para>
3945         Ground test the ejection charges. Prepare the rocket for
3946         flight, loading ejection charges and igniters. Completely
3947         assemble the air-frame and then use the 'Fire Igniters'
3948         interface through a TeleDongle to command each charge to
3949         fire. Make sure the charge is sufficient to robustly separate
3950         the air-frame and deploy the recovery system.
3951       </para>
3952     </section>
3953   </chapter>
3954   <chapter>
3955     <title>Updating Device Firmware</title>
3956     <para>
3957       TeleMega, TeleMetrum v2 and EasyMini are all programmed directly
3958       over their USB connectors (self programming). TeleMetrum v1, TeleMini and
3959       TeleDongle are all programmed by using another device as a
3960       programmer (pair programming). It's important to recognize which
3961       kind of devices you have before trying to reprogram them.
3962     </para>
3963     <para>
3964       You may wish to begin by ensuring you have current firmware images.
3965       These are distributed as part of the AltOS software bundle that
3966       also includes the AltosUI ground station program.  Newer ground
3967       station versions typically work fine with older firmware versions,
3968       so you don't need to update your devices just to try out new
3969       software features.  You can always download the most recent
3970       version from <ulink url="http://www.altusmetrum.org/AltOS/"/>.
3971     </para>
3972     <para>
3973       If you need to update the firmware on a TeleDongle, we recommend 
3974       updating the altimeter first, before updating TeleDongle.  However,
3975       note that TeleDongle rarely need to be updated.  Any firmware version
3976       1.0.1 or later will work, version 1.2.1 may have improved receiver
3977       performance slightly.
3978     </para>
3979     <para>
3980       Self-programmable devices (TeleMega, TeleMetrum v2 and EasyMini)
3981       are reprogrammed by connecting them to your computer over USB
3982     </para>
3983     <section>
3984       <title>
3985         Updating TeleMega, TeleMetrum v2 or EasyMini Firmware
3986       </title>
3987       <orderedlist inheritnum='inherit' numeration='arabic'>
3988         <listitem>
3989           <para>
3990             Attach a battery and power switch to the target
3991             device. Power up the device.
3992           </para>
3993         </listitem>
3994         <listitem>
3995           <para>
3996             Using a Micro USB cable, connect the target device to your
3997             computer's USB socket.
3998           </para>
3999         </listitem>
4000         <listitem>
4001           <para>
4002             Run AltosUI, and select 'Flash Image' from the File menu.
4003           </para>
4004         </listitem>
4005         <listitem>
4006           <para>
4007             Select the target device in the Device Selection dialog.
4008           </para>
4009         </listitem>
4010         <listitem>
4011           <para>
4012             Select the image you want to flash to the device, which
4013             should have a name in the form
4014             &lt;product&gt;-v&lt;product-version&gt;-&lt;software-version&gt;.ihx, such
4015             as TeleMega-v1.0-1.3.0.ihx.
4016           </para>
4017         </listitem>
4018         <listitem>
4019           <para>
4020             Make sure the configuration parameters are reasonable
4021             looking. If the serial number and/or RF configuration
4022             values aren't right, you'll need to change them.
4023           </para>
4024         </listitem>
4025         <listitem>
4026           <para>
4027             Hit the 'OK' button and the software should proceed to flash
4028             the device with new firmware, showing a progress bar.
4029           </para>
4030         </listitem>
4031         <listitem>
4032           <para>
4033             Verify that the device is working by using the 'Configure
4034             Altimeter' item to check over the configuration.
4035           </para>
4036         </listitem>
4037       </orderedlist>
4038       <section>
4039         <title>Recovering From Self-Flashing Failure</title>
4040         <para>
4041           If the firmware loading fails, it can leave the device
4042           unable to boot. Not to worry, you can force the device to
4043           start the boot loader instead, which will let you try to
4044           flash the device again.
4045         </para>
4046         <para>
4047           On each device, connecting two pins from one of the exposed
4048           connectors will force the boot loader to start, even if the
4049           regular operating system has been corrupted in some way.
4050         </para>
4051         <variablelist>
4052           <varlistentry>
4053             <term>TeleMega</term>
4054             <listitem>
4055               <para>
4056                 Connect pin 6 and pin 1 of the companion connector. Pin 1
4057                 can be identified by the square pad around it, and then
4058                 the pins could sequentially across the board. Be very
4059                 careful to <emphasis>not</emphasis> short pin 8 to
4060                 anything as that is connected directly to the battery. Pin
4061                 7 carries 3.3V and the board will crash if that is
4062                 connected to pin 1, but shouldn't damage the board.
4063               </para>
4064             </listitem>
4065           </varlistentry>
4066           <varlistentry>
4067             <term>TeleMetrum v2</term>
4068             <listitem>
4069               <para>
4070                 Connect pin 6 and pin 1 of the companion connector. Pin 1
4071                 can be identified by the square pad around it, and then
4072                 the pins could sequentially across the board. Be very
4073                 careful to <emphasis>not</emphasis> short pin 8 to
4074                 anything as that is connected directly to the battery. Pin
4075                 7 carries 3.3V and the board will crash if that is
4076                 connected to pin 1, but shouldn't damage the board.
4077               </para>
4078             </listitem>
4079           </varlistentry>
4080           <varlistentry>
4081             <term>EasyMini</term>
4082             <listitem>
4083               <para>
4084                 Connect pin 6 and pin 1 of the debug connector, which is
4085                 the six holes next to the beeper. Pin 1 can be identified
4086                 by the square pad around it, and then the pins could
4087                 sequentially across the board, making Pin 6 the one on the
4088                 other end of the row.
4089               </para>
4090             </listitem>
4091           </varlistentry>
4092         </variablelist>
4093       </section>
4094     </section>
4095     <section>
4096       <title>Pair Programming</title>
4097       <para>
4098         The big concept to understand is that you have to use a
4099         TeleMega, TeleMetrum or TeleDongle as a programmer to update a
4100         pair programmed device. Due to limited memory resources in the
4101         cc1111, we don't support programming directly over USB for these
4102         devices.
4103       </para>
4104     </section>
4105     <section>
4106       <title>Updating TeleMetrum v1.x Firmware</title>
4107       <orderedlist inheritnum='inherit' numeration='arabic'>
4108         <listitem>
4109           <para>
4110           Find the 'programming cable' that you got as part of the starter
4111           kit, that has a red 8-pin MicroMaTch connector on one end and a
4112           red 4-pin MicroMaTch connector on the other end.
4113           </para>
4114         </listitem>
4115         <listitem>
4116           <para>
4117           Take the 2 screws out of the TeleDongle case to get access
4118           to the circuit board.
4119           </para>
4120         </listitem>
4121         <listitem>
4122           <para>
4123           Plug the 8-pin end of the programming cable to the
4124           matching connector on the TeleDongle, and the 4-pin end to the
4125           matching connector on the TeleMetrum.
4126           Note that each MicroMaTch connector has an alignment pin that
4127           goes through a hole in the PC board when you have the cable
4128           oriented correctly.
4129           </para>
4130         </listitem>
4131         <listitem>
4132           <para>
4133           Attach a battery to the TeleMetrum board.
4134           </para>
4135         </listitem>
4136         <listitem>
4137           <para>
4138           Plug the TeleDongle into your computer's USB port, and power
4139           up the TeleMetrum.
4140           </para>
4141         </listitem>
4142         <listitem>
4143           <para>
4144           Run AltosUI, and select 'Flash Image' from the File menu.
4145           </para>
4146         </listitem>
4147         <listitem>
4148           <para>
4149           Pick the TeleDongle device from the list, identifying it as the
4150           programming device.
4151           </para>
4152         </listitem>
4153         <listitem>
4154           <para>
4155           Select the image you want put on the TeleMetrum, which should have a
4156           name in the form telemetrum-v1.2-1.0.0.ihx.  It should be visible
4157         in the default directory, if not you may have to poke around
4158         your system to find it.
4159           </para>
4160         </listitem>
4161         <listitem>
4162           <para>
4163           Make sure the configuration parameters are reasonable
4164           looking. If the serial number and/or RF configuration
4165           values aren't right, you'll need to change them.
4166           </para>
4167         </listitem>
4168         <listitem>
4169           <para>
4170           Hit the 'OK' button and the software should proceed to flash
4171           the TeleMetrum with new firmware, showing a progress bar.
4172           </para>
4173         </listitem>
4174         <listitem>
4175           <para>
4176           Confirm that the TeleMetrum board seems to have updated OK, which you
4177           can do by plugging in to it over USB and using a terminal program
4178           to connect to the board and issue the 'v' command to check
4179           the version, etc.
4180           </para>
4181         </listitem>
4182         <listitem>
4183           <para>
4184           If something goes wrong, give it another try.
4185           </para>
4186         </listitem>
4187       </orderedlist>
4188     </section>
4189     <section>
4190       <title>Updating TeleMini Firmware</title>
4191       <orderedlist inheritnum='inherit' numeration='arabic'>
4192         <listitem>
4193 <para>
4194           You'll need a special 'programming cable' to reprogram the
4195           TeleMini.  You can make your own using an 8-pin MicroMaTch 
4196           connector on one end and a set of four pins on the other.
4197         </para>
4198 </listitem>
4199         <listitem>
4200 <para>
4201           Take the 2 screws out of the TeleDongle case to get access
4202           to the circuit board.
4203         </para>
4204 </listitem>
4205         <listitem>
4206 <para>
4207           Plug the 8-pin end of the programming cable to the matching
4208           connector on the TeleDongle, and the 4-pins into the holes
4209           in the TeleMini circuit board.  Note that the MicroMaTch
4210           connector has an alignment pin that goes through a hole in
4211           the PC board when you have the cable oriented correctly, and
4212           that pin 1 on the TeleMini board is marked with a square pad
4213           while the other pins have round pads.
4214         </para>
4215 </listitem>
4216         <listitem>
4217 <para>
4218           Attach a battery to the TeleMini board.
4219         </para>
4220 </listitem>
4221         <listitem>
4222 <para>
4223           Plug the TeleDongle into your computer's USB port, and power
4224           up the TeleMini
4225         </para>
4226 </listitem>
4227         <listitem>
4228 <para>
4229           Run AltosUI, and select 'Flash Image' from the File menu.
4230         </para>
4231 </listitem>
4232         <listitem>
4233 <para>
4234           Pick the TeleDongle device from the list, identifying it as the
4235           programming device.
4236         </para>
4237 </listitem>
4238         <listitem>
4239 <para>
4240           Select the image you want put on the TeleMini, which should have a
4241           name in the form telemini-v1.0-1.0.0.ihx.  It should be visible
4242         in the default directory, if not you may have to poke around
4243         your system to find it.
4244         </para>
4245 </listitem>
4246         <listitem>
4247 <para>
4248           Make sure the configuration parameters are reasonable
4249           looking. If the serial number and/or RF configuration
4250           values aren't right, you'll need to change them.
4251         </para>
4252 </listitem>
4253         <listitem>
4254 <para>
4255           Hit the 'OK' button and the software should proceed to flash
4256           the TeleMini with new firmware, showing a progress bar.
4257         </para>
4258 </listitem>
4259         <listitem>
4260 <para>
4261           Confirm that the TeleMini board seems to have updated OK, which you
4262           can do by configuring it over the radio link through the TeleDongle, or
4263           letting it come up in “flight” mode and listening for telemetry.
4264         </para>
4265 </listitem>
4266         <listitem>
4267 <para>
4268           If something goes wrong, give it another try.
4269         </para>
4270 </listitem>
4271       </orderedlist>
4272     </section>
4273     <section>
4274       <title>Updating TeleDongle Firmware</title>
4275       <para>
4276         Updating TeleDongle's firmware is just like updating TeleMetrum or TeleMini
4277         firmware, but you use either a TeleMetrum or another TeleDongle as the programmer.
4278         </para>
4279       <orderedlist inheritnum='inherit' numeration='arabic'>
4280         <listitem>
4281 <para>
4282           Find the 'programming cable' that you got as part of the starter
4283           kit, that has a red 8-pin MicroMaTch connector on one end and a
4284           red 4-pin MicroMaTch connector on the other end.
4285         </para>
4286 </listitem>
4287         <listitem>
4288 <para>
4289           Find the USB cable that you got as part of the starter kit, and
4290           plug the “mini” end in to the mating connector on TeleMetrum or TeleDongle.
4291         </para>
4292 </listitem>
4293         <listitem>
4294 <para>
4295           Take the 2 screws out of the TeleDongle case to get access
4296           to the circuit board.
4297         </para>
4298 </listitem>
4299         <listitem>
4300 <para>
4301           Plug the 8-pin end of the programming cable to the
4302           matching connector on the programmer, and the 4-pin end to the
4303           matching connector on the TeleDongle.
4304           Note that each MicroMaTch connector has an alignment pin that
4305           goes through a hole in the PC board when you have the cable
4306           oriented correctly.
4307         </para>
4308 </listitem>
4309         <listitem>
4310 <para>
4311           Attach a battery to the TeleMetrum board if you're using one.
4312         </para>
4313 </listitem>
4314         <listitem>
4315 <para>
4316           Plug both the programmer and the TeleDongle into your computer's USB
4317           ports, and power up the programmer.
4318         </para>
4319 </listitem>
4320         <listitem>
4321 <para>
4322           Run AltosUI, and select 'Flash Image' from the File menu.
4323         </para>
4324 </listitem>
4325         <listitem>
4326 <para>
4327           Pick the programmer device from the list, identifying it as the
4328           programming device.
4329         </para>
4330 </listitem>
4331         <listitem>
4332 <para>
4333           Select the image you want put on the TeleDongle, which should have a
4334           name in the form teledongle-v0.2-1.0.0.ihx.  It should be visible
4335         in the default directory, if not you may have to poke around
4336         your system to find it.
4337         </para>
4338 </listitem>
4339         <listitem>
4340 <para>
4341           Make sure the configuration parameters are reasonable
4342           looking. If the serial number and/or RF configuration
4343           values aren't right, you'll need to change them.  The TeleDongle
4344           serial number is on the “bottom” of the circuit board, and can
4345           usually be read through the translucent blue plastic case without
4346           needing to remove the board from the case.
4347         </para>
4348 </listitem>
4349         <listitem>
4350 <para>
4351           Hit the 'OK' button and the software should proceed to flash
4352           the TeleDongle with new firmware, showing a progress bar.
4353         </para>
4354 </listitem>
4355         <listitem>
4356 <para>
4357           Confirm that the TeleDongle board seems to have updated OK, which you
4358           can do by plugging in to it over USB and using a terminal program
4359           to connect to the board and issue the 'v' command to check
4360           the version, etc.  Once you're happy, remove the programming cable
4361           and put the cover back on the TeleDongle.
4362         </para>
4363 </listitem>
4364         <listitem>
4365 <para>
4366           If something goes wrong, give it another try.
4367         </para>
4368 </listitem>
4369       </orderedlist>
4370       <para>
4371         Be careful removing the programming cable from the locking 8-pin
4372         connector on TeleMetrum.  You'll need a fingernail or perhaps a thin
4373         screwdriver or knife blade to gently pry the locking ears out
4374         slightly to extract the connector.  We used a locking connector on
4375         TeleMetrum to help ensure that the cabling to companion boards
4376         used in a rocket don't ever come loose accidentally in flight.
4377       </para>
4378     </section>
4379   </chapter>
4380   <chapter>
4381     <title>Hardware Specifications</title>
4382     <section>
4383       <title>
4384         TeleMega Specifications
4385       </title>
4386       <itemizedlist>
4387         <listitem>
4388           <para>
4389             Recording altimeter for model rocketry.
4390           </para>
4391         </listitem>
4392         <listitem>
4393           <para>
4394             Supports dual deployment and four auxiliary pyro channels
4395             (a total of 6 events).
4396           </para>
4397         </listitem>
4398         <listitem>
4399           <para>
4400             70cm 40mW ham-band transceiver for telemetry down-link.
4401           </para>
4402         </listitem>
4403         <listitem>
4404           <para>
4405             Barometric pressure sensor good to 100k feet MSL.
4406           </para>
4407         </listitem>
4408         <listitem>
4409           <para>
4410             1-axis high-g accelerometer for motor characterization, capable of
4411             +/- 102g.
4412           </para>
4413         </listitem>
4414         <listitem>
4415           <para>
4416             9-axis IMU including integrated 3-axis accelerometer,
4417             3-axis gyroscope and 3-axis magnetometer.
4418           </para>
4419         </listitem>
4420         <listitem>
4421           <para>
4422             On-board, integrated uBlox Max 7 GPS receiver with 5Hz update rate capability.
4423           </para>
4424         </listitem>
4425         <listitem>
4426           <para>
4427             On-board 8 Megabyte non-volatile memory for flight data storage.
4428           </para>
4429         </listitem>
4430         <listitem>
4431           <para>
4432             USB interface for battery charging, configuration, and data recovery.
4433           </para>
4434         </listitem>
4435         <listitem>
4436           <para>
4437             Fully integrated support for Li-Po rechargeable batteries.
4438           </para>
4439         </listitem>
4440         <listitem>
4441           <para>
4442             Can use either main system Li-Po or optional separate pyro battery
4443             to fire e-matches.
4444           </para>
4445         </listitem>
4446         <listitem>
4447           <para>
4448             3.25 x 1.25 inch board designed to fit inside 38mm air-frame coupler tube.
4449           </para>
4450         </listitem>
4451       </itemizedlist>
4452     </section>
4453     <section>
4454       <title>
4455         TeleMetrum v2 Specifications
4456       </title>
4457       <itemizedlist>
4458         <listitem>
4459           <para>
4460             Recording altimeter for model rocketry.
4461           </para>
4462         </listitem>
4463         <listitem>
4464           <para>
4465             Supports dual deployment (can fire 2 ejection charges).
4466           </para>
4467         </listitem>
4468         <listitem>
4469           <para>
4470             70cm, 40mW ham-band transceiver for telemetry down-link.
4471           </para>
4472         </listitem>
4473         <listitem>
4474           <para>
4475             Barometric pressure sensor good to 100k feet MSL.
4476           </para>
4477         </listitem>
4478         <listitem>
4479           <para>
4480             1-axis high-g accelerometer for motor characterization, capable of
4481             +/- 102g.
4482           </para>
4483         </listitem>
4484         <listitem>
4485           <para>
4486             On-board, integrated uBlox Max 7 GPS receiver with 5Hz update rate capability.
4487           </para>
4488         </listitem>
4489         <listitem>
4490           <para>
4491             On-board 8 Megabyte non-volatile memory for flight data storage.
4492           </para>
4493         </listitem>
4494         <listitem>
4495           <para>
4496             USB interface for battery charging, configuration, and data recovery.
4497           </para>
4498         </listitem>
4499         <listitem>
4500           <para>
4501             Fully integrated support for Li-Po rechargeable batteries.
4502           </para>
4503         </listitem>
4504         <listitem>
4505           <para>
4506             Uses Li-Po to fire e-matches, can be modified to support 
4507             optional separate pyro battery if needed.
4508           </para>
4509         </listitem>
4510         <listitem>
4511           <para>
4512             2.75 x 1 inch board designed to fit inside 29mm air-frame coupler tube.
4513           </para>
4514         </listitem>
4515       </itemizedlist>
4516     </section>
4517     <section>
4518       <title>TeleMetrum v1 Specifications</title>
4519       <itemizedlist>
4520         <listitem>
4521           <para>
4522             Recording altimeter for model rocketry.
4523           </para>
4524         </listitem>
4525         <listitem>
4526           <para>
4527             Supports dual deployment (can fire 2 ejection charges).
4528           </para>
4529         </listitem>
4530         <listitem>
4531           <para>
4532             70cm, 10mW ham-band transceiver for telemetry down-link.
4533           </para>
4534         </listitem>
4535         <listitem>
4536           <para>
4537             Barometric pressure sensor good to 45k feet MSL.
4538           </para>
4539         </listitem>
4540         <listitem>
4541           <para>
4542             1-axis high-g accelerometer for motor characterization, capable of
4543             +/- 50g using default part.
4544           </para>
4545         </listitem>
4546         <listitem>
4547           <para>
4548             On-board, integrated GPS receiver with 5Hz update rate capability.
4549           </para>
4550         </listitem>
4551         <listitem>
4552           <para>
4553             On-board 1 megabyte non-volatile memory for flight data storage.
4554           </para>
4555         </listitem>
4556         <listitem>
4557           <para>
4558             USB interface for battery charging, configuration, and data recovery.
4559           </para>
4560         </listitem>
4561         <listitem>
4562           <para>
4563             Fully integrated support for Li-Po rechargeable batteries.
4564           </para>
4565         </listitem>
4566         <listitem>
4567           <para>
4568             Uses Li-Po to fire e-matches, can be modified to support 
4569             optional separate pyro battery if needed.
4570           </para>
4571         </listitem>
4572         <listitem>
4573           <para>
4574             2.75 x 1 inch board designed to fit inside 29mm air-frame coupler tube.
4575           </para>
4576         </listitem>
4577       </itemizedlist>
4578     </section>
4579     <section>
4580       <title>
4581         TeleMini v2.0 Specifications
4582       </title>
4583       <itemizedlist>
4584         <listitem>
4585           <para>
4586             Recording altimeter for model rocketry.
4587           </para>
4588         </listitem>
4589         <listitem>
4590           <para>
4591             Supports dual deployment (can fire 2 ejection charges).
4592           </para>
4593         </listitem>
4594         <listitem>
4595           <para>
4596             70cm, 10mW ham-band transceiver for telemetry down-link.
4597           </para>
4598         </listitem>
4599         <listitem>
4600           <para>
4601             Barometric pressure sensor good to 100k feet MSL.
4602           </para>
4603         </listitem>
4604         <listitem>
4605           <para>
4606             On-board 1 megabyte non-volatile memory for flight data storage.
4607           </para>
4608         </listitem>
4609         <listitem>
4610           <para>
4611             USB interface for configuration, and data recovery.
4612           </para>
4613         </listitem>
4614         <listitem>
4615           <para>
4616             Support for Li-Po rechargeable batteries (using an
4617             external charger), or any 3.7-15V external battery.
4618           </para>
4619         </listitem>
4620         <listitem>
4621           <para>
4622             Uses Li-Po to fire e-matches, can be modified to support 
4623             optional separate pyro battery if needed.
4624           </para>
4625         </listitem>
4626         <listitem>
4627           <para>
4628             1.5 x .8 inch board designed to fit inside 24mm air-frame coupler tube.
4629           </para>
4630         </listitem>
4631       </itemizedlist>
4632     </section>
4633     <section>
4634       <title>
4635         TeleMini v1.0 Specifications
4636       </title>
4637       <itemizedlist>
4638         <listitem>
4639           <para>
4640             Recording altimeter for model rocketry.
4641           </para>
4642         </listitem>
4643         <listitem>
4644           <para>
4645             Supports dual deployment (can fire 2 ejection charges).
4646           </para>
4647         </listitem>
4648         <listitem>
4649           <para>
4650             70cm, 10mW ham-band transceiver for telemetry down-link.
4651           </para>
4652         </listitem>
4653         <listitem>
4654           <para>
4655             Barometric pressure sensor good to 45k feet MSL.
4656           </para>
4657         </listitem>
4658         <listitem>
4659           <para>
4660             On-board 5 kilobyte non-volatile memory for flight data storage.
4661           </para>
4662         </listitem>
4663         <listitem>
4664           <para>
4665             RF interface for configuration, and data recovery.
4666           </para>
4667         </listitem>
4668         <listitem>
4669           <para>
4670             Support for Li-Po rechargeable batteries, using an external charger.
4671           </para>
4672         </listitem>
4673         <listitem>
4674           <para>
4675             Uses Li-Po to fire e-matches, can be modified to support 
4676             optional separate pyro battery if needed.
4677           </para>
4678         </listitem>
4679         <listitem>
4680           <para>
4681             1.5 x .5 inch board designed to fit inside 18mm air-frame coupler tube.
4682           </para>
4683         </listitem>
4684       </itemizedlist>
4685     </section>
4686     <section>
4687       <title>
4688         EasyMini Specifications
4689       </title>
4690       <itemizedlist>
4691         <listitem>
4692           <para>
4693             Recording altimeter for model rocketry.
4694           </para>
4695         </listitem>
4696         <listitem>
4697           <para>
4698             Supports dual deployment (can fire 2 ejection charges).
4699           </para>
4700         </listitem>
4701         <listitem>
4702           <para>
4703             Barometric pressure sensor good to 100k feet MSL.
4704           </para>
4705         </listitem>
4706         <listitem>
4707           <para>
4708             On-board 1 megabyte non-volatile memory for flight data storage.
4709           </para>
4710         </listitem>
4711         <listitem>
4712           <para>
4713             USB interface for configuration, and data recovery.
4714           </para>
4715         </listitem>
4716         <listitem>
4717           <para>
4718             Support for Li-Po rechargeable batteries (using an
4719             external charger), or any 3.7-15V external battery.
4720           </para>
4721         </listitem>
4722         <listitem>
4723           <para>
4724             Uses Li-Po to fire e-matches, can be modified to support 
4725             optional separate pyro battery if needed.
4726           </para>
4727         </listitem>
4728         <listitem>
4729           <para>
4730             1.5 x .8 inch board designed to fit inside 24mm air-frame coupler tube.
4731           </para>
4732         </listitem>
4733       </itemizedlist>
4734     </section>
4735   </chapter>
4736   <chapter>
4737     <title>FAQ</title>
4738       <para>
4739         <emphasis>TeleMetrum seems to shut off when disconnected from the
4740         computer.</emphasis>  <?linebreak?>
4741         Make sure the battery is adequately charged.  Remember the
4742         unit will pull more power than the USB port can deliver before the
4743         GPS enters “locked” mode.  The battery charges best when TeleMetrum
4744         is turned off.
4745       </para>
4746       <para>
4747         <emphasis>It's impossible to stop the TeleDongle when it's in “p” mode, I have
4748         to unplug the USB cable? </emphasis><?linebreak?>
4749         Make sure you have tried to “escape out” of
4750         this mode.  If this doesn't work the reboot procedure for the
4751         TeleDongle *is* to simply unplug it. 'cu' however will retain it's
4752         outgoing buffer IF your “escape out” ('~~') does not work.
4753         At this point using either 'ao-view' (or possibly
4754         'cutemon') instead of 'cu' will 'clear' the issue and allow renewed
4755         communication.
4756       </para>
4757       <para>
4758         <emphasis>The amber LED (on the TeleMetrum) lights up when both
4759         battery and USB are connected. Does this mean it's charging? 
4760         </emphasis><?linebreak?>
4761         Yes, the yellow LED indicates the charging at the 'regular' rate.
4762         If the led is out but the unit is still plugged into a USB port,
4763         then the battery is being charged at a 'trickle' rate.
4764       </para>
4765       <para>
4766         <emphasis>There are no “dit-dah-dah-dit” sound or lights like the manual 
4767         mentions?</emphasis><?linebreak?>
4768         That's the “pad” mode.  Weak batteries might be the problem.
4769         It is also possible that the flight computer is horizontal and the 
4770         output
4771         is instead a “dit-dit” meaning 'idle'. For TeleMini, it's possible that
4772         it received a command packet which would have left it in “pad” mode.
4773       </para>
4774       <para>
4775         <emphasis>How do I save flight data?</emphasis><?linebreak?>
4776         Live telemetry is written to file(s) whenever AltosUI is connected
4777         to the TeleDongle.  The file area defaults to ~/TeleMetrum
4778         but is easily changed using the menus in AltosUI. The files that
4779         are written end in '.telem'. The after-flight
4780         data-dumped files will end in .eeprom and represent continuous data
4781         unlike the .telem files that are subject to losses
4782         along the RF data path.
4783         See the above instructions on what and how to save the eeprom stored
4784         data after physically retrieving your altimeter.  Make sure to save
4785         the on-board data after each flight; while the TeleMetrum can store
4786         multiple flights, you never know when you'll lose the altimeter...
4787       </para>
4788   </chapter>
4789   <appendix>
4790     <title>Notes for Older Software</title>
4791     <para>
4792       <emphasis>
4793       Before AltosUI was written, using Altus Metrum devices required
4794       some finesse with the Linux command line. There was a limited
4795       GUI tool, ao-view, which provided functionality similar to the
4796       Monitor Flight window in AltosUI, but everything else was a
4797       fairly 80's experience. This appendix includes documentation for
4798       using that software.
4799       </emphasis>
4800     </para>
4801     <para>
4802       Both TeleMetrum and TeleDongle can be directly communicated
4803       with using USB ports. The first thing you should try after getting
4804       both units plugged into to your computer's USB port(s) is to run
4805       'ao-list' from a terminal-window to see what port-device-name each
4806       device has been assigned by the operating system.
4807       You will need this information to access the devices via their
4808       respective on-board firmware and data using other command line
4809       programs in the AltOS software suite.
4810     </para>
4811     <para>
4812       TeleMini can be communicated with through a TeleDongle device
4813       over the radio link. When first booted, TeleMini listens for a
4814       TeleDongle device and if it receives a packet, it goes into
4815       'idle' mode. Otherwise, it goes into 'pad' mode and waits to be
4816       launched. The easiest way to get it talking is to start the
4817       communication link on the TeleDongle and the power up the
4818       TeleMini board.
4819     </para>
4820     <para>
4821       To access the device's firmware for configuration you need a terminal
4822       program such as you would use to talk to a modem.  The software
4823       authors prefer using the program 'cu' which comes from the UUCP package
4824       on most Unix-like systems such as Linux.  An example command line for
4825       cu might be 'cu -l /dev/ttyACM0', substituting the correct number
4826       indicated from running the
4827       ao-list program.  Another reasonable terminal program for Linux is
4828       'cutecom'.  The default 'escape'
4829       character used by CU (i.e. the character you use to
4830       issue commands to cu itself instead of sending the command as input
4831       to the connected device) is a '~'. You will need this for use in
4832       only two different ways during normal operations. First is to exit
4833       the program by sending a '~.' which is called a 'escape-disconnect'
4834       and allows you to close-out from 'cu'. The
4835       second use will be outlined later.
4836     </para>
4837     <para>
4838       All of the Altus Metrum devices share the concept of a two level
4839       command set in their firmware.
4840       The first layer has several single letter commands. Once
4841       you are using 'cu' (or 'cutecom') sending (typing) a '?'
4842       returns a full list of these
4843       commands. The second level are configuration sub-commands accessed
4844       using the 'c' command, for
4845       instance typing 'c?' will give you this second level of commands
4846       (all of which require the
4847       letter 'c' to access).  Please note that most configuration options
4848       are stored only in Flash memory; TeleDongle doesn't provide any storage
4849       for these options and so they'll all be lost when you unplug it.
4850     </para>
4851     <para>
4852       Try setting these configuration ('c' or second level menu) values.  A good
4853       place to start is by setting your call sign.  By default, the boards
4854       use 'N0CALL' which is cute, but not exactly legal!
4855       Spend a few minutes getting comfortable with the units, their
4856       firmware, and 'cu' (or possibly 'cutecom').
4857       For instance, try to send
4858       (type) a 'c r 2' and verify the channel change by sending a 'c s'.
4859       Verify you can connect and disconnect from the units while in your
4860       terminal program by sending the escape-disconnect mentioned above.
4861     </para>
4862         <para>
4863           To set the radio frequency, use the 'c R' command to specify the
4864           radio transceiver configuration parameter. This parameter is computed
4865           using the desired frequency, 'F', the radio calibration parameter, 'C' (showed by the 'c s' command) and
4866           the standard calibration reference frequency, 'S', (normally 434.550MHz):
4867           <programlisting>
4868             R = F / S * C
4869           </programlisting>
4870           Round the result to the nearest integer value.
4871           As with all 'c' sub-commands, follow this with a 'c w' to write the
4872           change to the parameter block in the on-board flash on
4873           your altimeter board if you want the change to stay in place across reboots.
4874         </para>
4875         <para>
4876           To set the apogee delay, use the 'c d' command.
4877           As with all 'c' sub-commands, follow this with a 'c w' to write the
4878           change to the parameter block in the on-board DataFlash chip.
4879         </para>
4880         <para>
4881           To set the main deployment altitude, use the 'c m' command.
4882           As with all 'c' sub-commands, follow this with a 'c w' to write the
4883           change to the parameter block in the on-board DataFlash chip.
4884         </para>
4885         <para>
4886           To calibrate the radio frequency, connect the UHF antenna port to a
4887           frequency counter, set the board to 434.550MHz, and use the 'C'
4888           command to generate a CW carrier.  Wait for the transmitter temperature
4889           to stabilize and the frequency to settle down.
4890           Then, divide 434.550 MHz by the
4891           measured frequency and multiply by the current radio cal value show
4892           in the 'c s' command.  For an unprogrammed board, the default value
4893           is 1186611 for cc1111 based products and 7119667 for cc1120
4894           based products.  Take the resulting integer and program it using the 'c f'
4895           command.  Testing with the 'C' command again should show a carrier
4896           within a few tens of Hertz of the intended frequency.
4897           As with all 'c' sub-commands, follow this with a 'c w' to write the
4898           change to the configuration memory.
4899         </para>
4900     <para>
4901       Note that the 'reboot' command, which is very useful on the altimeters,
4902       will likely just cause problems with the dongle.  The *correct* way
4903       to reset the dongle is just to unplug and re-plug it.
4904     </para>
4905     <para>
4906       A fun thing to do at the launch site and something you can do while
4907       learning how to use these units is to play with the radio link access
4908       between an altimeter and the TeleDongle.  Be aware that you *must* create
4909       some physical separation between the devices, otherwise the link will
4910       not function due to signal overload in the receivers in each device.
4911     </para>
4912     <para>
4913       Now might be a good time to take a break and read the rest of this
4914       manual, particularly about the two “modes” that the altimeters
4915       can be placed in. TeleMetrum uses the position of the device when booting
4916       up will determine whether the unit is in “pad” or “idle” mode. TeleMini
4917       enters “idle” mode when it receives a command packet within the first 5 seconds
4918       of being powered up, otherwise it enters “pad” mode.
4919     </para>
4920     <para>
4921       You can access an altimeter in idle mode from the TeleDongle's USB
4922       connection using the radio link
4923       by issuing a 'p' command to the TeleDongle. Practice connecting and
4924       disconnecting ('~~' while using 'cu') from the altimeter.  If
4925       you cannot escape out of the “p” command, (by using a '~~' when in
4926       CU) then it is likely that your kernel has issues.  Try a newer version.
4927     </para>
4928     <para>
4929       Using this radio link allows you to configure the altimeter, test
4930       fire e-matches and igniters from the flight line, check pyro-match
4931       continuity and so forth. You can leave the unit turned on while it
4932       is in 'idle mode' and then place the
4933       rocket vertically on the launch pad, walk away and then issue a
4934       reboot command.  The altimeter will reboot and start sending data
4935       having changed to the “pad” mode. If the TeleDongle is not receiving
4936       this data, you can disconnect 'cu' from the TeleDongle using the
4937       procedures mentioned above and THEN connect to the TeleDongle from
4938       inside 'ao-view'. If this doesn't work, disconnect from the
4939       TeleDongle, unplug it, and try again after plugging it back in.
4940     </para>
4941     <para>
4942       In order to reduce the chance of accidental firing of pyrotechnic
4943       charges, the command to fire a charge is intentionally somewhat
4944       difficult to type, and the built-in help is slightly cryptic to
4945       prevent accidental echoing of characters from the help text back at
4946       the board from firing a charge.  The command to fire the apogee
4947       drogue charge is 'i DoIt drogue' and the command to fire the main
4948       charge is 'i DoIt main'.
4949     </para>
4950     <para>
4951       On TeleMetrum, the GPS will eventually find enough satellites, lock in on them,
4952       and 'ao-view' will both auditorily announce and visually indicate
4953       that GPS is ready.
4954       Now you can launch knowing that you have a good data path and
4955       good satellite lock for flight data and recovery.  Remember
4956       you MUST tell ao-view to connect to the TeleDongle explicitly in
4957       order for ao-view to be able to receive data.
4958     </para>
4959     <para>
4960       The altimeters provide RDF (radio direction finding) tones on
4961       the pad, during descent and after landing. These can be used to
4962       locate the rocket using a directional antenna; the signal
4963       strength providing an indication of the direction from receiver to rocket.
4964     </para>
4965     <para>
4966       TeleMetrum also provides GPS tracking data, which can further simplify
4967       locating the rocket once it has landed. (The last good GPS data
4968       received before touch-down will be on the data screen of 'ao-view'.)
4969     </para>
4970     <para>
4971       Once you have recovered the rocket you can download the eeprom
4972       contents using either 'ao-dumplog' (or possibly 'ao-eeprom'), over
4973       either a USB cable or over the radio link using TeleDongle.
4974       And by following the man page for 'ao-postflight' you can create
4975       various data output reports, graphs, and even KML data to see the
4976       flight trajectory in Google-earth. (Moving the viewing angle making
4977       sure to connect the yellow lines while in Google-earth is the proper
4978       technique.)
4979     </para>
4980     <para>
4981       As for ao-view.... some things are in the menu but don't do anything
4982       very useful.  The developers have stopped working on ao-view to focus
4983       on a new, cross-platform ground station program.  So ao-view may or
4984       may not be updated in the future.  Mostly you just use
4985       the Log and Device menus.  It has a wonderful display of the incoming
4986       flight data and I am sure you will enjoy what it has to say to you
4987       once you enable the voice output!
4988     </para>
4989   </appendix>
4990   <appendix>
4991     <title>Drill Templates</title>
4992     <para>
4993       These images, when printed, provide precise templates for the
4994       mounting holes in Altus Metrum flight computers
4995     </para>
4996     <section>
4997       <title>TeleMega template</title>
4998       <para>
4999         TeleMega has overall dimensions of 1.250 x 3.250 inches, and
5000         the mounting holes are sized for use with 4-40 or M3 screws.
5001       </para>
5002       <informalfigure>
5003         <mediaobject id="TeleMegaTemplate">
5004           <imageobject>
5005             <imagedata format="SVG" fileref="telemega-outline.svg"/>
5006           </imageobject>
5007         </mediaobject>
5008       </informalfigure>
5009     </section>
5010     <section>
5011       <title>TeleMetrum template</title>
5012       <para>
5013         TeleMetrum has overall dimensions of 1.000 x 2.750 inches, and the
5014         mounting holes are sized for use with 4-40 or M3 screws.
5015       </para>
5016       <informalfigure>
5017         <mediaobject id="TeleMetrumTemplate">
5018           <imageobject>
5019             <imagedata format="SVG" fileref="telemetrum.svg"/>
5020           </imageobject>
5021         </mediaobject>
5022       </informalfigure>
5023     </section>
5024     <section>
5025       <title>TeleMini v2/EasyMini template</title>
5026       <para>
5027         TeleMini v2 and EasyMini have overall dimensions of 0.800 x 1.500 inches, and the
5028         mounting holes are sized for use with 4-40 or M3 screws.
5029       </para>
5030       <informalfigure>
5031         <mediaobject id="MiniTemplate">
5032           <imageobject>
5033             <imagedata format="SVG" fileref="easymini-outline.svg"/>
5034           </imageobject>
5035         </mediaobject>
5036       </informalfigure>
5037     </section>
5038     <section>
5039       <title>TeleMini v1 template</title>
5040       <para>
5041         TeleMini has overall dimensions of 0.500 x 1.500 inches, and the
5042         mounting holes are sized for use with 2-56 or M2 screws.
5043       </para>
5044       <informalfigure>
5045         <mediaobject id="TeleMiniTemplate">
5046           <imageobject>
5047             <imagedata format="SVG" fileref="telemini.svg"/>
5048           </imageobject>
5049         </mediaobject>
5050       </informalfigure>
5051     </section>
5052   </appendix>
5053   <appendix>
5054       <title>Calibration</title>
5055       <para>
5056         There are only two calibrations required for TeleMetrum and
5057         TeleMega, and only one for TeleDongle, TeleMini and EasyMini.
5058         All boards are shipped from the factory pre-calibrated, but
5059         the procedures are documented here in case they are ever
5060         needed.  Re-calibration is not supported by AltosUI, you must
5061         connect to the board with a serial terminal program and
5062         interact directly with the on-board command interpreter to
5063         effect calibration.
5064       </para>
5065       <section>
5066         <title>Radio Frequency</title>
5067         <para>
5068           The radio frequency is synthesized from a clock based on the
5069           crystal on the board.  The actual frequency of this oscillator 
5070           must be measured to generate a calibration constant.  While our 
5071           GFSK modulation
5072           bandwidth is wide enough to allow boards to communicate even when
5073           their oscillators are not on exactly the same frequency, performance
5074           is best when they are closely matched.
5075           Radio frequency calibration requires a calibrated frequency counter.
5076           Fortunately, once set, the variation in frequency due to aging and
5077           temperature changes is small enough that re-calibration by customers
5078           should generally not be required.
5079         </para>
5080         <para>
5081           To calibrate the radio frequency, connect the UHF antenna
5082           port to a frequency counter, set the board to 434.550MHz,
5083           and use the 'C' command in the on-board command interpreter
5084           to generate a CW carrier.  For USB-enabled boards, this is
5085           best done over USB.  For TeleMini v1, note that the only way
5086           to escape the 'C' command is via power cycle since the board
5087           will no longer be listening for commands once it starts
5088           generating a CW carrier.
5089         </para>
5090         <para>
5091           Wait for the transmitter temperature to stabilize and the frequency 
5092           to settle down.  Then, divide 434.550 MHz by the
5093           measured frequency and multiply by the current radio cal value show
5094           in the 'c s' command.  For an unprogrammed board, the default value
5095           is 1186611.  Take the resulting integer and program it using the 'c f'
5096           command.  Testing with the 'C' command again should show a carrier
5097           within a few tens of Hertz of the intended frequency.
5098           As with all 'c' sub-commands, follow this with a 'c w' to write the
5099           change to the parameter block in the on-board storage chip.
5100         </para>
5101         <para>
5102           Note that any time you re-do the radio frequency calibration, the
5103           radio frequency is reset to the default 434.550 Mhz.  If you want
5104           to use another frequency, you will have to set that again after
5105           calibration is completed.
5106         </para>
5107       </section>
5108       <section>
5109         <title>TeleMetrum and TeleMega Accelerometers</title>
5110         <para>
5111           While barometric sensors are factory-calibrated,
5112           accelerometers are not, and so each must be calibrated once
5113           installed in a flight computer.  Explicitly calibrating the
5114           accelerometers also allows us to load any compatible device.
5115           We perform a two-point calibration using gravity.
5116         </para>
5117         <para>
5118           To calibrate the acceleration sensor, use the 'c a 0' command.  You
5119           will be prompted to orient the board vertically with the UHF antenna
5120           up and press a key, then to orient the board vertically with the
5121           UHF antenna down and press a key.  Note that the accuracy of this
5122           calibration depends primarily on how perfectly vertical and still
5123           the board is held during the cal process.  As with all 'c' 
5124           sub-commands, follow this with a 'c w' to write the
5125           change to the parameter block in the on-board DataFlash chip.
5126         </para>
5127         <para>
5128           The +1g and -1g calibration points are included in each telemetry
5129           frame and are part of the header stored in onboard flash to be
5130           downloaded after flight.  We always store and return raw ADC 
5131           samples for each sensor... so nothing is permanently “lost” or 
5132           “damaged” if the calibration is poor.
5133         </para>
5134         <para>
5135          In the unlikely event an accel cal goes badly, it is possible
5136          that TeleMetrum or TeleMega may always come up in 'pad mode'
5137          and as such not be listening to either the USB or radio link.
5138          If that happens, there is a special hook in the firmware to
5139          force the board back in to 'idle mode' so you can re-do the
5140          cal.  To use this hook, you just need to ground the SPI clock
5141          pin at power-on.  This pin is available as pin 2 on the 8-pin
5142          companion connector, and pin 1 is ground.  So either
5143          carefully install a fine-gauge wire jumper between the two
5144          pins closest to the index hole end of the 8-pin connector, or
5145          plug in the programming cable to the 8-pin connector and use
5146          a small screwdriver or similar to short the two pins closest
5147          to the index post on the 4-pin end of the programming cable,
5148          and power up the board.  It should come up in 'idle mode'
5149          (two beeps), allowing a re-cal.
5150         </para>
5151       </section>
5152   </appendix>
5153   <appendix>
5154     <title>Release Notes</title>
5155     <simplesect>
5156       <title>Version 1.3.2</title>
5157       <xi:include
5158           xmlns:xi="http://www.w3.org/2001/XInclude"
5159           href="release-notes-1.3.2.xsl"
5160           xpointer="xpointer(/article/*)"/>
5161     </simplesect>
5162     <simplesect>
5163       <title>Version 1.3.1</title>
5164       <xi:include
5165           xmlns:xi="http://www.w3.org/2001/XInclude"
5166           href="release-notes-1.3.1.xsl"
5167           xpointer="xpointer(/article/*)"/>
5168     </simplesect>
5169     <simplesect>
5170       <title>Version 1.3</title>
5171       <xi:include
5172           xmlns:xi="http://www.w3.org/2001/XInclude"
5173           href="release-notes-1.3.xsl"
5174           xpointer="xpointer(/article/*)"/>
5175     </simplesect>
5176     <simplesect>
5177       <title>Version 1.2.1</title>
5178       <xi:include
5179           xmlns:xi="http://www.w3.org/2001/XInclude"
5180           href="release-notes-1.2.1.xsl"
5181           xpointer="xpointer(/article/*)"/>
5182     </simplesect>
5183     <simplesect>
5184       <title>Version 1.2</title>
5185       <xi:include
5186           xmlns:xi="http://www.w3.org/2001/XInclude"
5187           href="release-notes-1.2.xsl"
5188           xpointer="xpointer(/article/*)"/>
5189     </simplesect>
5190     <simplesect>
5191       <title>Version 1.1.1</title>
5192       <xi:include
5193           xmlns:xi="http://www.w3.org/2001/XInclude"
5194           href="release-notes-1.1.1.xsl"
5195           xpointer="xpointer(/article/*)"/>
5196     </simplesect>
5197     <simplesect>
5198       <title>Version 1.1</title>
5199       <xi:include
5200           xmlns:xi="http://www.w3.org/2001/XInclude"
5201           href="release-notes-1.1.xsl"
5202           xpointer="xpointer(/article/*)"/>
5203     </simplesect>
5204     <simplesect>
5205       <title>Version 1.0.1</title>
5206       <xi:include
5207           xmlns:xi="http://www.w3.org/2001/XInclude"
5208           href="release-notes-1.0.1.xsl"
5209           xpointer="xpointer(/article/*)"/>
5210     </simplesect>
5211     <simplesect>
5212       <title>Version 0.9.2</title>
5213       <xi:include
5214           xmlns:xi="http://www.w3.org/2001/XInclude"
5215           href="release-notes-0.9.2.xsl"
5216           xpointer="xpointer(/article/*)"/>
5217     </simplesect>
5218     <simplesect>
5219       <title>Version 0.9</title>
5220       <xi:include
5221           xmlns:xi="http://www.w3.org/2001/XInclude"
5222           href="release-notes-0.9.xsl"
5223           xpointer="xpointer(/article/*)"/>
5224     </simplesect>
5225     <simplesect>
5226       <title>Version 0.8</title>
5227       <xi:include
5228           xmlns:xi="http://www.w3.org/2001/XInclude"
5229           href="release-notes-0.8.xsl"
5230           xpointer="xpointer(/article/*)"/>
5231     </simplesect>
5232     <simplesect>
5233       <title>Version 0.7.1</title>
5234       <xi:include
5235           xmlns:xi="http://www.w3.org/2001/XInclude"
5236           href="release-notes-0.7.1.xsl"
5237           xpointer="xpointer(/article/*)"/>
5238     </simplesect>
5239   </appendix>
5240 </book>
5241
5242 <!-- LocalWords: Altusmetrum
5243 -->