more Tmega text
[web/altusmetrum] / Documents / SeparatePyroBattery / index.mdwn
1 [[!meta title="SeparatePyroBattery"]]
2
3 # Using a Separate Pyro Battery with Altus Metrum Flight Computers #
4
5 As we have discussed
6 [elsewhere](http://gag.com/bdale/blog/posts/Batteries_and_Pyro_Circuits.html),
7 the most reliable solution for pyro control circuits in large and complex 
8 rocket projects is to use a separate battery to provide the current
9 used for actually igniting the charges from the one used to power the
10 electronics.  This document explains how to do this with various 
11 [Altus Metrum](http://altusmetrum.org) flight computer models.
12
13 ## Pyro Circuit Background ##
14
15 All Altus Metrum flight computers use low-side FET switches to control pyro 
16 events.  What this means is that the pyro circuit provides the equivalent of
17 a switch to ground on one pin of each pyro circuit, and a source of power on
18 the other.  The continuity sense circuitry is on the switch side of the pyro
19 terminals, and was designed to cope with any pyro voltage through nominal
20 12 volts (15 volts DC maximum).  Using a separate pyro battery is therefore
21 as simple as just ignoring the terminal that provides a source of voltage and
22 only connecting the side that provides the switch to ground.
23
24 The negative lead of your pyro battery needs to be connected to ground on 
25 the flight computer.  The plating around the mounting screw holes is one 
26 good place to find ground.  The negative terminal of the LiPo battery 
27 connector is also grounded.  And on TeleMetrum boards there's an explicit 
28 ground connection hole you can solder a wire to.
29
30 The positive lead of your pyro battery needs to connect to one side of each
31 e-match, with the other side of the match connecting to the appropriate
32 pyro terminal on the flight computer.  This obviously means you need to make
33 connections off-board.  Whether you choose to do this with a screw terminal
34 strip, crimp connectors, or by soldering wires together is of course entirely
35 up to you!
36
37 ## TeleMetrum ##
38
39 Early [TeleMetrum](http://altusmetrum.org/TeleMetrum) boards had an 
40 unpopulated connector footprint on the board
41 for a separate pyro battery, but due to a wiring error in the design of the
42 board, that connector was never useful.  Just ignore it.
43
44 If you look at the bottom of the board where all the surface-mounted components
45 are, on the end where the pyro screw terminals are located, you can see a
46 fat trace connecting three of the screw terminals together.  This is the 
47 source of pyro power, which comes from the LiPo battery through the power
48 switch and then to one side of each pyro channel.  The pins that trace 
49 connects are therefore the ones you want to ignore.  The others are the 
50 switches to ground.
51
52 Here's a photo of the pyro end of a TeleMetrum board augmented to show what
53 to connect where:
54
55 <img src="TeleMetrumSepPyro.jpg"/>
56
57 ## TeleMini ##
58
59 Wiring a [TeleMini](http://altusmetrum.org/TeleMini) board for use with a
60 separate pyro battery works the same way.
61
62 If you look at the bottom of the board where all the surface-mounted components
63 are, on the end where the pyro screw terminals are located, you can see a fat
64 trace connecting two of the screws.  This is the 
65 source of pyro power, which comes from the LiPo battery through the power
66 switch and then to one side of each pyro channel.  The pins that trace 
67 connects are therefore the ones you want to ignore.  The others are the 
68 switches to ground.
69
70 Here's a photo of the pyro end of a TeleMini board augmented to show what
71 to connect where:
72
73 <img src="TeleMiniSepPyro.jpg"/>
74
75 ## TeleMega ##
76
77 Because [TeleMega](http://altusmetrum.org/TeleMega) was designed to 
78 be especially well suited for use in large
79 and complex projects, it includes extra screw terminals on board to make use
80 of a separate pyro battery easy.  In fact, use of a TeleMega with only one
81 battery requires putting a jumper between two adjacent screw terminals to
82 connect the main LiPo battery to the pyro power rail.
83
84 To use a separate pyro battery, just leave out the jumper and connect the
85 pyro battery to the two adjacent screw terminals marked 'gnd' and 'pyro',
86 using the 'gnd' terminal for the negative battery lead and the 'pyro'
87 terminal for the positive side.  Connect the e-match leads to the pyro screw
88 terminals as usual... no off-board connections are required.
89
90 Here's a photo showing the a TeleMega board wired this way:
91
92 <img src="TeleMegaSepPyro.jpg"/>