The Smell of Molten Projects in the Morning

Ed Nisley's Blog: Shop notes, electronics, firmware, machinery, 3D printing, laser cuttery, and curiosities. Contents: 100% human thinking, 0% AI slop.

Category: Electronics Workbench

Electrical & Electronic gadgets

  • FC1002 Frequency Counter Battery Pack

    The main reason for taking the FC1002 frequency counter apart was to replace the failed quad-AA NiCd battery pack. Rather than buy new cells with tabs, I recycled some low-discharge “ready to use” NiMH cells from the heap. Back in 2009, they looked like this:

    Tenergy RTU Pack A Tests - Aug 2009
    Tenergy RTU Pack A Tests – Aug 2009

    Nowadays, they’re a bit less peppy:

    Tenergy RTU - 2014-01 - loose cells
    Tenergy RTU – 2014-01 – loose cells

    The red blooper shows that you can’t trust a smart fast charger to get the right answer; it concluded that pair was fully charged. After the discharge test and an overnight C/10 charge, they regained as much enthusiasm as they’ll ever have.

    They have slightly less capacity than in 2009 and also a somewhat lower terminal voltage. That shouldn’t matter here, as the frequency meter has a power supply to take care of that problem.

    Although I’ve sometimes been able to (quickly!) solder directly to ordinary AA cells, a trial run on a defunct RTU cell showed that wasn’t going to work on whatever variety of steel they used, no matter how much I scuffed it and despite using aggressive flux that normally blends silver solder onto stainless steel.

    Fortunately, the top half of a four cell case fit exactly in the space available, so I used woven copper fabric tape inside the case to interconnect the cells, then lashed everything together with the obligatory Kapton tape:

    FC1002 Frequency Counter - battery pack
    FC1002 Frequency Counter – battery pack

    That cracked faceplate isn’t the nicest thing to confront, but it’ll suffice until I get more motivation:

    FC1002 Frequency Counter - repaired
    FC1002 Frequency Counter – repaired

    I’ve misplaced my stack of Round Tuits again…

  • MHV LUG Lightning Talk: Intro to NSA Hardware Implants

    Meme - Nixon - I see what you did there - 5x38k
    Meme – Nixon – I see what you did there – 5x38k

    I did five minutes of standup comedy at yesterday’s MHV Lug meeting, pointing out some of the more interesting ways to compromise a PC when you have an infinite budget for development and consumables.

    You don’t get my patter with the PDF (unless you had access to the room’s bugging hardware), but the links may come in handy in the unlikely event you haven’t been following the story closely.

    If you have a security clearance or are in line for one, you probably shouldn’t click on the link, because it contains copies of pages from the leaked NSA catalog:

    I See What You Did There – NSA Hardware Guide

  • Water Cooled Stepper Motors: Flow Calculation

    A discussion on the Makergear Google Group about a heated enclosure prompted me to run the numbers for cooling stepper motors with water, rather than fans and finned heatsinks.

    The general idea comes from my measurements of the air-cooled heatsink stuck to a stepper’s end cap. The metal-to-metal conductivity works surprisingly well and reduces the case temperature to slightly over ambient with decent airflow through the heatsink; epoxying a cold plate to the end cap should work just as well. A NEMA 17 stepper case is 42.3 mm square, so a standard 40 mm square CPU cooling plate will fit almost exactly.

    The question then becomes: how much water flow do you need to keep the motors cool?

    Some numbers:

    • Water’s heat capacity is 4.2 J/g·K
    • 1 J = 1 W·s, 1 W = 1 J/s
    • NEMA 17 motors dissipate about 5 W (13 W if you’re abusing them)
    • We’ll cool all four motors in parallel, for a total of 20 W
    • Allow a 5 K = 5 °C temperature rise in each cold plate

    Rub them all together:

    (20 J/s) / (5 K * (4.2 J/g·K)) = 0.95 g/s

    For water, 1 g = 1 cc, so the total flow is 1 cc/s = 3600 cc/h = 3.6 liter/h, which, here in the US, works out to a scant 1 gallon/hour. It’s tough getting a pump that small and cheap flowmeters run around 0.5 liter/m…

    If you don’t want a pump. put an aquarium up on a (sturdy) shelf and drain it through the cold plates. A cubic foot of water, all eight gallons and sixty-some-odd pounds of it, will last 8 hours, which should be enough for most printing projects.

    If you want reliability, drain the coolers into a sump with a float switch (high = on), put another float switch (high = off) on the aquarium, and have the pump top up the aquarium. If the pump fails, your steppers stay cool for the next 8 hours. Heating the water about 5 °C during 8 hours won’t require active cooling.

    Now, managing the hoses leading to the X axis stepper may be challenging, but a cable drag chain would control the rest of the wiring, too.

  • External DVD Battery Pack Status

    One of the battery packs powering the GPS+audio interface on our bikes has completely failed, with zero volts at the output and no charge indication. The other five chug along as well as can be expected:

    Initial-brand DVD External Packs - 2013-11
    Initial-brand DVD External Packs – 2013-11

    The push-to-test button on Pack 4 has become increasingly erratic over the last few months, rendering the charge status LEDs mostly useless, so it has two curves: the lower capacity came directly from the bike, the higher hot off the charger.

    For reference, here’s what they looked like in May 2012:

    External Li-Ion packs - 2012-05
    External Li-Ion packs – 2012-05

    And right after they arrived:

    Initial External Li-Ion packs
    Initial External Li-Ion packs

    Given their nearly constant use and charge cycling, I’m impressed.

    Those Lenmar DVDU923 packs look similar, at twice the no-name 2010 price. So it goes…

  • Sony NP-FS11 Battery Status & Rebuild

    The trio of batteries I built for the Sony DSC-F505V two years ago faded away; that camera seems particularly hard on the batteries, perhaps because they’re two cells in parallel that don’t share well. Two of the three seem pretty well gone:

    Sony NP-FS11 2011 Packs - 2013-11 tests
    Sony NP-FS11 2011 Packs – 2013-11 tests

    Back then, I bought 12 cells, built six into those batteries, and left six charged cells sitting in a bag. After rebuilding the two worst batteries with those new-old-stock cells, it seems they maintained a substantial fraction of their charge while resting in the cool and the dark:

    Sony NP-FS11 2011 Cells - 2013 packs - 2013-11-24
    Sony NP-FS11 2011 Cells – 2013 packs – 2013-11-24

    However, the camera would regard them as discharged, because it infers charge state from voltage. Squinting at the curves, their condition after a few minutes is roughly equal to a new & freshly charged battery produces over on the right when it’s nearly discharged.

    The other curves show the result after their first charge in two years: basically, full capacity. The fact that both pairs of curves come pretty close to overlaying means they’re still well matched.

    Sony NP-FS11 batteries - rebuilt
    Sony NP-FS11 batteries – rebuilt

    The third cell isn’t up to their spec, but it’s close enough to not bother rebuilding right now: 1.2 vs 1.4 A·h.

    The Kapton tape pull tabs work wonderfully well, as the rebuilt batteries fit the compartment rather more snugly than the un-hacked cases.

  • Canon NB-5L Battery Status

    One of the junker NB-5L eBay batteries for my Canon SX-230HS pocket camera gave up, but the other two have some usable capacity left. The OEM Canon battery seems to be doing fine, perhaps because it sees a relatively low duty cycle:

    Canon NB-5L - 2013-11
    Canon NB-5L – 2013-11

    Compare those curves with the previous tests:

    Canon NB-5L - 2011-08-26
    Canon NB-5L – 2011-08-26

    I harvested the weakest of the four junkers to make that dummy battery.

    It’s about time to pick up a few more junkers: alas, I can find no bare cells in a size to fit that case.

  • Hall Effect Current Control PCB: Voltage Variations

    The whole point of the Hall effect current sensor was to get a reasonably efficient linear LED driver that could control the LED current until the battery voltage matched the LED forward drop. Based on the preliminary firmware, it works pretty well.

    With a setpoint of 160 mA, the current stabilizes around 150 mA due to the Arduino’s 0.4% PWM resolution. It steps back and forth between 150 and 190 mA as the loop bumps the PWM by one count; these scope shots came from the lower current passes.

    At 8.4 V from the bench supply, the MOSFET sees about 2 V. The top trace is the drain voltage, the bottom is LED current at 50 mA/div:

    VIN 8.4 V - VD ILED 50 mA-div
    VIN 8.4 V – VD ILED 50 mA-div

    At 7.4 V, close to the nominal voltage during most of the discharge curve, the drain sees about 1 V:

    VIN 7.4 V - VD ILED 50 mA-div
    VIN 7.4 V – VD ILED 50 mA-div

    And at 6.4 V, even though the drain voltage hits zero, the current remains around 150 mA:

    VIN 6.4 V - VD ILED 50 mA-div
    VIN 6.4 V – VD ILED 50 mA-div

    Admittedly, down there the loop doesn’t have much in the way of control authority, but I planned to turn the lights out at about that point, anyway.

    The driver efficiency is 86% at 7.4 V and it’s pretty nearly 100% at 6.4 V.

    Of course, the Hall effect circuitry and Arduino Pro Mini soak up another 40 mA or so, so (assuming a 10% duty cycle) the overall efficiency is down around 70%, but that’s including the debugging LEDs and suchlike, so some tweaking is in order.