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