creating tag page bdale/blog/tags/tags/hp
[web/gag.com] / bdale / blog / posts / TeleMetrum_Working.mdwn
1 [[!tag tags/rockets]]
2 [Keith](http://keithp.com/keithp) and I have been plugging 
3 away for the last couple weeks 
4 turning on and testing the various 
5 bits of [TeleMetrum](http://altusmetrum.org/TeleMetrum),
6 and I can now very happily report that we have all the hardware 
7 working!  Amazingly, we got almost everything right in the 
8 hardware design.  Only two things need to be changed. 
9
10 We need to be able to control the chip select line on the the SPI 
11 non-volatile memory chip, which means we need one more GPIO line to it 
12 from the processor.  To free up a line, we gave up the ability to put 
13 the accelerometer in to self test mode.  Two trace cuts and two jumpers 
14 to the current board implement this change.
15
16 The last thing we got working just this evening was the ability to sense 
17 the presence of an ejection charge igniter.  We need another resistor in 
18 each of the two sense circuits to form a voltage divider so that we don't 
19 overload the ADC input.  Not sure how we missed that in our many design 
20 reviews!  Oh well.  To ensure robust ignition of the electric matches 
21 we prefer to use for ejection charges, we charge a 1000uF cap to a voltage 
22 higher than our ADC inputs can handle.  Fixing this problem on the current 
23 boards requires changing the values of two resistors, then tacking extra 
24 resistor to one end of each of the existing ones and then wiring the other 
25 ends of the new resistors to ground.  Since the resistors in question are 
26 all 0402 surface mount parts, this is a royal pain...  but with my finest 
27 dental-pick soldering iron tip, and working under the inspection 
28 microscope, it is indeed possible.
29
30 Alternatively, if the ability to sense igniter continuity isn't important,
31 just leaving off R14 and R15 at least prevents the 3.3V processor from going
32 whacko due to having 5V applied to two ADC inputs!
33
34 I'm really impressed at how well these first two boards reflow soldered in the
35 electric skillet in my basement came out.  Getting the right amount of solder
36 paste on the board is something I'm likely to get better at with practice,
37 but so far we've only had a few (very obvious during inspection) shorts to
38 clean up, and a couple poorly soldered pins.  All in all, I couldn't be
39 happier with how this has gone... and I'm really looking forward to flying
40 one of these boards sometime soon as an auxiliarly payload to gather some
41 initial flight data!