how I spent my afternoon today...
[web/gag.com] / bdale / blog / posts / TeleMetrum_Power_Supplies.mdwn
1 [[!tag tags/rockets]]
2 After a long hiatus for various reasons, I finally had the chance to try my
3 hand at hand loading a [TeleMetrum](http://altusmetrum.org/TeleMetrum) 
4 board today!
5
6 Sadly, I wasn't able to completely load any boards, because I somehow ended
7 up with the wrong [Digi-Key](http://digikey.com/) part numbers for 4 
8 capacitors, one of which is a critical value.  I placed an order for the
9 missing parts and a few other bits we'll need eventually, hopefully they'll 
10 be here in a couple days and I can try to load a board with all the parts.
11
12 Instead, what I did today was a a partial load of a board with the goal of 
13 testing the various power supplies.  Seemed like a good idea, since I've 
14 had my share of odd problems with power supplies in the past.  This also 
15 gave me a chance to try out my solder paste stencil, get some experience 
16 hand-placing the tiny 0402 passive parts, and an excuse to see if I could 
17 hit the solder reflow temperature profile adequately with my electric 
18 cooking skillet and IR non-contact thermometer.
19
20 The good news is that it all worked right the first time!  We're successfully
21 charging a LiPo battery from USB power, and successfully making 3.3 volts for
22 the electronics from that.  The resistor divider designed to allow the LiPo
23 battery voltage to be sampled by the CPU's analog to digital converter is
24 also working fine.
25
26 A few observations are in order, however.
27
28 Getting the right amount of solder paste down on the board requires some
29 finesse with the spreading blade and the stencil.  I think the paste was a
30 bit heavy around the CC1111 footprint, as I ended up with some bridged
31 pads.  Since I didn't load the actual CPU part, it could just be that not 
32 having something real there to wick up some solder meant there was enough 
33 to form the bridges.  Don't know.  The amount of solder on the ground pad 
34 in the middle of the chip looks good, though!
35
36 The 0603 sized LED in the power supply circuit was the only part that didn't
37 self-align correctly.  I may have had it a bit too far to one side.  The pads
38 on the part have notches in the end, and it looks like one side of each is
39 more or less centered, so I think surface tension did the best it could with
40 what I gave it to work with.  The LED soldered ok, isn't shorting to anything 
41 else, and clearly works fine... but I'd be happier if it were aligned better.
42
43 Found and fixed a solder bridge between two pins on the surface-mount USB
44 connector before first application of power.  Could be further data that the
45 paste layer was a bit too thick.  On the other hand, I had to wiggle the
46 connector around a bit to get it aligned correctly, so I may have smudged
47 the paste into a bridge while doing that.
48
49 I also note that there's some visible flux left on the surface of the solder,
50 particularly on big paste areas like the feet of the USB connector.  I
51 suspect this means I didn't dwell long enough at either or both of the preheat
52 or ultimate reflow temperatures.  Since all the parts clearly soldered 
53 adequately to function, I'm still pretty happy... but since the rockets we
54 fly experience violent accelerations during boost, this is something I'll
55 play with on future reflows.
56
57 All in all, a great way to spend an afternoon, and a big step forward for
58 the TeleMetrum project!
59