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: Machine Shop

Mechanical widgetry

  • MicroMark Bandsaw Cover Screw Knobs

    MicroMark Bandsaw Cover Screw Knobs

    These descend directly from the LMS Mini-Lathe cover knobs:

    Micro-Mark bandsaw cover screw knob
    Micro-Mark bandsaw cover screw knob

    The top pair of screw heads aren’t quite flush with the cover, so the knobs have 1 mm extensions:

    Micromark Bandsaw - cover screw knobs - upper
    Micromark Bandsaw – cover screw knobs – upper

    The bottom pair sit inside 4 mm recesses, so those knobs get matching extensions:

    Micromark Bandsaw - cover screw knobs - lower
    Micromark Bandsaw – cover screw knobs – lower

    Attacking an anonymous 5 mm hex wrench with a Dremel cutoff wheel produced a quartet of 12 mm shafts and reduced drawer clutter by one unit.

    In retrospect, I should have dismantled the cover, grabbed the screws in a vise with their shafts vertical, and epoxied all the knobs with perfect alignment. Next time, maybe.

  • Tektronix AM503: Balance Pot Bushing

    Tektronix AM503: Balance Pot Bushing

    One of the Tekronix AM503 current probe amplifiers arrived without the panel bushing for the Balance trim pot. Back in the day, you could presumably order part number 350-0301-02 and have it delivered (most likely) by your local Tek representative:

    Balance pot panel bushing - Tek part listing
    Balance pot panel bushing – Tek part listing

    Those days are over.

    A few minutes produced a doodle with pretty-close measurements:

    Balance pot panel bushing - dimension doodle
    Balance pot panel bushing – dimension doodle

    The as-built bushing turned out just a smidge too long, so make yours a scant eighth of an inch. Maybe the Tek dimension is the overall length?

    An SLA resin printer might crank out such a thing, but it’s well below the looks-good / fits-well resolution limit of an ordinary fused-filament printer.

    Applying the mini-lathe to a 1/4 inch white acrylic rod produced a reasonable facsimile:

    Tek AM503 Balance pot bushing - front
    Tek AM503 Balance pot bushing – front

    The side view:

    Tek AM503 Balance pot bushing - side
    Tek AM503 Balance pot bushing – side

    Acrylic is definitely the wrong material for the job, but it came readily to hand while pondering the Shelf o’ Rods. Acetal would be better, as you could easily trim off the aforementioned excess length with a knife.

    All’s well that ends well:

    Tek AM503 Balance pot bushing - installed
    Tek AM503 Balance pot bushing – installed

    A dab of white acrylic adhesive around the raw opening holds the bushing in place and it looks good enough to me.

    The motivation for this boils down to having the bushing center the pot twiddler required to set the balance, which I must do every time I fire up the amps, even after waiting for the half-hour required to stabilize them at their operating temperature.

  • Bafang Battery Charge Port: Autopsy

    Bafang Battery Charge Port: Autopsy

    My friends in Raleigh sent a small box with the various tools I made, along with the scorched Bafang battery charge port. As it turned out, none of the tools were useful and the real fix required opening the battery cover enough to remove and replace the charge connector.

    A view looking straight into the connector, with the side contact on the top of the image:

    Bafang Battery Charge Port - damage overview
    Bafang Battery Charge Port – damage overview

    Gutting the connector shows why my homebrew shell drill wasn’t going to work:

    Bafang Battery Charge Port - components
    Bafang Battery Charge Port – components

    There’s not much left of the central pin: the nugget hanging on its side is much larger than I expected. Most of the pin melted into that nugget, with a bonus droplet on the near side.

    The rectangular chunk (upper right) is the switch terminal, with the tab from the side contact (on the right) welded to it.

    Fortunately, none of the mayhem (including a few small sparks during the connector replacement) damaged the battery management circuitry or triggered a shutdown, so the reset tool wasn’t needed.

    It’ll make a great 3D printing show-n-tell exhibit, in the unlikely event I ever do an in-person talk

  • Folding Step Stool Re-seating

    Folding Step Stool Re-seating

    The top step of a folding step stool we’ve been (ab)using forever finally wore out, mostly because it was covered in vinyl and intended as a seat. We always used it as a step, despite knowing you should never stand on the top rung of a ladder: “Do not stand on or above this level”.

    I tossed the ripped vinyl and warped particle board, cut a random chunk of wood-textured paneling (which Came With The House™) to fit, match-drilled four holes, and it looks OK:

    Folding step stool - reseated
    Folding step stool – reseated

    The original seat / step / whatever used press-fit studs with a flat flange covered by the vinyl, but I just slammed 10-32 tee nuts into the paneling:

    Folding step stool - tee nut installed
    Folding step stool – tee nut installed

    That’s a ring of low-strength threadlock around the inside of the nut; I do not expect the screws to come out ever again.

    I cut the screws to length with a Dremel cutoff wheel using a slightly shortened tee nut as a fixture:

    Folding step stool - screw shortening fixture
    Folding step stool – screw shortening fixture

    Not visible: the vacuum hose clamped to the vise sucking up all the abrasive + metal dust.

    Good for an hour of Quality Shop Time™ on a cold winter morning!

  • TWSBI Eco Fountain Pen

    TWSBI Eco Fountain Pen

    A present arrived:

    TWSBI Eco pen - Iroshizuko ink
    TWSBI Eco pen – Iroshizuko ink
    Writing Samples 1-4
    Writing Samples 1-4
    Writing Samples 5-6
    Writing Samples 5-6

    Man, my handwriting printing is terrible.

  • Bafang Battery Charge Port: Battery Reset Tool

    Bafang Battery Charge Port: Battery Reset Tool

    A lithium battery management system can (and should!) disable the battery output to prevent damage from overcurrent or undervoltage, after which it must be reset. The inadvertent charge port short may have damaged the BMS PCB, but did not shut down the battery’s motor output, which means the BMS will not should not require resetting. However, because all this will happen remotely, it pays to be prepared.

    A description of how to reset the BMS in a similar battery involves poking bare hot wires into the battery terminals, which IMO is akin to Tickling The Dragon’s Tail. The alert reader will note that the “Shark” battery shown on that page has its terminal polarity exactly opposite of the “Ultra Slim Shark” battery on our bikes. Given the energies involved, eliminating any possible errors makes plenty of sense.

    The battery connector looks like this:

    Bafang battery - Ultra-Slim Shark connector
    Bafang battery – Ultra-Slim Shark connector

    For this battery, the positive terminal is on the right, as shown by the molded legend and verified by measurement.

    A doodle with various dimensions, most of which are pretty close:

    Bafang battery - connector dimension doodle
    Bafang battery – connector dimension doodle

    Further doodling produced a BMS reset adapter keyed to fit the battery connector in only one way:

    Bafang battery - adapter doodle
    Bafang battery – adapter doodle

    Which turned into the rectangular lump at the top of the tool kit, along with the various shell drills and suchlike discussed earlier:

    Bafang battery tools
    Bafang battery tools

    Looking into the solid model from the battery connector shows the notches and projections that prevent it from making incorrect contact:

    Battery Reset Adapter - show front
    Battery Reset Adapter – show front

    The pin dimensions on the right, along with a mysterious doodle that must have meant something at the time :

    Bafang battery - adapter pin doodle
    Bafang battery – adapter pin doodle

    The pins emerged from 3/16 inch brass rod, with pockets for the soldered wires:

    Bafang battery - reset tool - pins
    Bafang battery – reset tool – pins

    The wires go into a coaxial breakout connector that’s hot-melt glued into the recess. The coaxial connectors are rated for 12 V and intended for CCTV cameras, LED strings, and suchlike, but I think they’re good for momentary use at 48 V with minimal current.

    I printed the block with the battery connector end on top for the best dimensional accuracy and the other end of the pin holes held in place by a single layer of filament bridging the rectangular opening:

    Bafang battery - reset tool - hole support layer
    Bafang battery – reset tool – hole support layer

    I made a hollow punch to cut the bridge filaments:

    Bafang battery - reset tool - pin hole punch
    Bafang battery – reset tool – pin hole punch

    The holes extend along the rectangular cutout for the coaxial connector, so pressing the punch against the notch lines it up neatly with the hole:

    Bafang battery - reset tool - hole punching
    Bafang battery – reset tool – hole punching

    Whereupon a sharp rap with a hammer clears the hole:

    Bafang battery - reset tool - hole cleared
    Bafang battery – reset tool – hole cleared

    A dollop of urethane adhesive followed the pins into their holes to lock them in place. I plugged the block and pins into the battery to align the pins as the adhesive cured, with the wire ends carefully taped apart.

    After curing: unplug the adapter, screw wires into coaxial connector, slobber hot melt glue into the recess, squish into place, align, dribble more glue into all the gaps and over the screw terminals, then declare victory.

    It may never be needed, but that’s fine with me.

    [Update: A few more doodles with better dimensions and fewer malfeatures appeared from the back of the bench.]

    Bafang battery - adapter better doodle
    Bafang battery – adapter better doodle
    Bafang battery - adapter dimension doodle
    Bafang battery – adapter dimension doodle
    Bafang battery - connector key doodle
    Bafang battery – connector key doodle

    The OpenSCAD source code as a GitHub Gist:

    // Adapter to reset Bafang battery management system
    // Ed Nisley KE4ZNU Dec 2021
    Layout = "Block"; // [Show, Build, Pins, Block, CoaxAdapter, Key]
    Gap = 4.0;
    /* [Hidden] */
    ThreadThick = 0.25;
    ThreadWidth = 0.40;
    HoleWindage = 0.2;
    Protrusion = 0.1; // make holes end cleanly
    inch = 25.4;
    function IntegerMultiple(Size,Unit) = Unit * ceil(Size / Unit);
    module PolyCyl(Dia,Height,ForceSides=0) { // based on nophead's polyholes
    Sides = (ForceSides != 0) ? ForceSides : (ceil(Dia) + 2);
    FixDia = Dia / cos(180/Sides);
    cylinder(d=(FixDia + HoleWindage),h=Height,$fn=Sides);
    }
    ID = 0;
    OD = 1;
    LENGTH = 2;
    //———————-
    // Dimensions
    WallThick = 3.0;
    PinSize = [3.5,4.75,9.0 + WallThick]; // LENGTH = exposed + wall
    PinFerrule = [3.5,4.75,10.0]; // larger section for soldering
    PinOC = 18.0;
    PinOffset = [-9.0,0,9.0];
    Keybase = 4.0; // key bottom plate thickness
    KeyBlockSize = [15.0,50.0,15.0];
    CoaxSize = [35.0,15.0,11.0];
    CoaxGlue = [0,2*2,1];
    // without key X section
    BlockSize = [CoaxSize.x + WallThick + PinFerrule[LENGTH],KeyBlockSize.y,KeyBlockSize.z + WallThick];
    echo(BlockSize=BlockSize);
    //———————-
    // Battery connection pin
    // Used to carve out space for real brass pin
    // Long enough to slide ferrule through block
    module Pins() {
    for (j=[-1,1])
    translate(PinOffset + [0,j*PinOC/2,0])
    rotate([0,90,0])
    rotate(180/6) {
    PolyCyl(PinSize[ID],BlockSize.x,6);
    translate([0,0,PinSize[LENGTH]])
    PolyCyl(PinSize[OD],BlockSize.x,6);
    }
    }
    //———————-
    // Coaxial socket adapter nest
    // X=0 at left end of block, Z=0 at bottom
    // includes glue, extends rightward to ensure clearance
    module CoaxAdapter() {
    translate([0,0,CoaxSize.z])
    cube(CoaxSize + CoaxGlue + [CoaxSize.x,0,CoaxSize.z],center=true);
    }
    //———————-
    // Block without key
    // X=0 at connector face, Z=0 at bottom of block
    module BareBlock() {
    difference() {
    translate([BlockSize.x/2,0,BlockSize.z/2])
    cube(BlockSize,center=true);
    Pins();
    translate([BlockSize.x,0,Keybase])
    CoaxAdapter();
    }
    translate([BlockSize.x – CoaxSize.x,0,BlockSize.z/2]) // bridging layer
    cube([ThreadThick,BlockSize.y,BlockSize.z],center=true);
    }
    //———————-
    // Complete block
    module Block() {
    BareBlock();
    BatteryKey();
    }
    //———————-
    // Battery connector key shape
    // Chock full of magic sizes
    // Polygons start at upper left corner
    module BatteryKey() {
    // base outline
    kb = [[-15,KeyBlockSize.y/2],[0,KeyBlockSize.y/2],[0,-KeyBlockSize.y/2],[-15,-KeyBlockSize.y/2]];
    // flange cutout
    kf = [[kb[0].x,20],[-3,20],[-3,15],[-8,15],[-8,-15],[-3,-15],[-3,-20],[kb[0].x,-20]];
    // sidewalls
    kw = [[-15,KeyBlockSize.y/2],[0,KeyBlockSize.y/2],[0,20],kf[0]];
    linear_extrude(height=Keybase)
    difference() {
    polygon(kb);
    polygon(kf);
    }
    linear_extrude(height=KeyBlockSize.z)
    polygon(kw);
    mirror([0,1,0])
    linear_extrude(height=KeyBlockSize.z)
    polygon(kw);
    translate([0,0,KeyBlockSize.z])
    linear_extrude(height=BlockSize.z – KeyBlockSize.z)
    polygon(kb);
    }
    //———————-
    // Build it
    if (Layout == "Block") {
    BareBlock();
    }
    if (Layout == "Pins") {
    Pins();
    }
    if (Layout == "Key") {
    BatteryKey();
    }
    if (Layout == "CoaxAdapter") {
    CoaxAdapter();
    }
    if (Layout == "Show") {
    Block();
    color("Brown",0.3)
    Pins();
    }
    if (Layout == "Build") {
    rotate([0,90,0])
    translate([-BlockSize.x,0,0])
    Block();
    }

  • Bafang Battery Charge Port: Shell Drills

    Bafang Battery Charge Port: Shell Drills

    Continuing to mull the problem of removing a brass nugget fused to the center pin of the Bafang battery’s charge port without the risk of causing further damage suggested a shell drill fitting over the pin and guided by an insulating bushing:

    Bafang battery - shell drill test fit
    Bafang battery – shell drill test fit

    That’s our undamaged battery, now sporting labels inspired by my friend’s mishap.

    The first pass was a 3 mm (actually, 1/8 inch) brass tube rammed into a printed handle descending from the Sherline Tommy Bar handles:

    Bafang battery - brass shell grinder - grit load
    Bafang battery – brass shell grinder – grit load

    The black stuff is coarse grinding compound held on by a dot of oil, with a pair of notches filed into the tip for a little griptivity.

    This worked surprisingly well, at least if you weren’t in much of a hurry, although the grinding compound also erodes the drill:

    Bafang battery - brass shell grinder - tip wear
    Bafang battery – brass shell grinder – tip wear

    I hadn’t thought this through enough to realize there’s no good way to convince the grit to not work its way up into the acetal bushing and jam the rod. While this might be good for final polishing, it’s not going to work well against the nugget, so it’s time for a harder drill with real teeth.

    Drilling a 2.3 mm hole into the end of some non-hardened 3 mm (for real!) ground rod provided enough clearance for the charge port pin and a pair of cross-drilled holes laid the groundwork for a shell drill:

    Bafang battery - steel shell drill - raw holes
    Bafang battery – steel shell drill – raw holes

    I filed the end off down to leave about 3/4 of the holes, then applied a Swiss pattern file with a safe edge to cut some relief behind the tips:

    Bafang battery - shell drill detail
    Bafang battery – shell drill detail

    It would be better to harden the end of the rod, but this is a single-use tool.

    Ram the shank into another printed handle:

    Bafang battery - shell drill - guide
    Bafang battery – shell drill – guide

    The new drill is long enough to reach past the wounded end of the pin and short enough to not bottom out inside the connector.

    A few minutes of twirling and re-filing the tiny teeth improved the cut enough to produce a convincing result in the simulated connector:

    Bafang battery - shell drill - test results
    Bafang battery – shell drill – test results

    I’m reasonably sure the ID of the acetal bushing won’t fit over the nugget, but that’s easy enough to drill out while leaving an insulating shell.

    The charge port’s center pin probably can’t withstand too much torque, so the drill must take small cuts.

    Vacuuming out the chips while cutting will be critical, as you don’t want an accumulation of conductive chaff down in the hole!