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.

Tag: Improvements

Making the world a better place, one piece at a time

  • E-Bike Brake Sensor Bench Check

    E-Bike Brake Sensor Bench Check

    A pair of brake sensors with LED indicators arrived and should improve the situation on Mary’s bike.

    The connector pinout, as seen looking into the jack on the controller side of the cable:

    Bafang Brake Sensor pinout
    Bafang Brake Sensor pinout

    Of course, one cannot depend on color codes, but now we know it uses a 5 V supply. Some rummaging produced a suitable (“Julet”) connector, a cutoff USB cable, and a USB power supply:

    Tour Easy LED brake sensor - bench test harness
    Tour Easy LED brake sensor – bench test harness

    You’ll note the sensor’s signal wire is blue, not white, but red = 5 VDC and black = common on both sides of the splice. This is not to be sniffed at.

    With the disk magnet (supplied with the sensors) oriented edgewise to the sensor, so the magnetic field is largely cancelled, the maximum separation allowing the sensor to remain On is about 7 mm:

    Tour Easy LED brake sensor - edge - max ON
    Tour Easy LED brake sensor – edge – max ON

    The minimum distance allowing it to be Off is 8 mm:

    Tour Easy LED brake sensor - edge - min OFF
    Tour Easy LED brake sensor – edge – min OFF

    Orienting the disk face-on to the sensor increases the distances, because the magnetic field is not cancelled out in that direction. Similarly, positioning the magnet either above or below the plane of the sensor changes the results.

    The maximum On distance is now 20 mm:

    Tour Easy LED brake sensor - side - max ON
    Tour Easy LED brake sensor – side – max ON

    The minimum Off distance is 22 mm:

    Tour Easy LED brake sensor - side - min OFF
    Tour Easy LED brake sensor – side – min OFF

    The other magnet has a similar field strength and the other sensor responds at nearly the same distances, so they’re reasonably matched.

    The LEDs are, however, not well matched: one sensor is much brighter than the other. I only have one connector, so I cannot show both in the same picture. These pictures have the same exposure (1/120 s and f/1.7), with the top sensor appearing in the previous pictures:

    E-bike Brake Sensors - LED Brightness comparison
    E-bike Brake Sensors – LED Brightness comparison

    The red LEDs show a similar difference. I’m certain this doesn’t rise to the level of a warranty claim, because, hey, maybe the brighter one should be dimmer.

    Now, to fit them on Mary’s bike …

  • Mini-lathe Cross Slide and Compound Backlash Tweakage

    Mini-lathe Cross Slide and Compound Backlash Tweakage

    It being once again time to tweak the mini-lathe’s cross slide and compound backlash …

    The M3 slotted setscrew locking the cross slide’s DRO collar to the feed screw shaft had come loose:

    Mini-lathe - DRO slotted setscrew
    Mini-lathe – DRO slotted setscrew

    Although it has a cone point, presumably to center the slot in the feed screw, an M3 cup point hex setscrew works just fine:

    Mini-lathe - DRO hex setscrew
    Mini-lathe – DRO hex setscrew

    A hex socket is much easier to tighten securely.

    The handle sits against a black washer that looks like it should rest against the aluminum spacer covering the DRO shaft, but it doesn’t. Contrary to what I originally thought, that gap doesn’t contribute to the backlash (given a tight setscrew!), but a filler shim makes it look less like an afterthought:

    Mini-lathe - cross slide handle shim
    Mini-lathe – cross slide handle shim

    What does contribute to the backlash is a loose adjusting screw holding the follower nut against the feed screw:

    Mini-lathe - cross slide backlash screws
    Mini-lathe – cross slide backlash screws

    The mini-lathe manual (page 17) and online references give the tedious process required to adjust the two cap screws and the setscrew to remove (nearly all of) the backlash. While I had the screws out, I took the opportunity to dribble oil through the cap screw holes onto the feed screw along as much of its length as was reachable.

    Adjusting the gib screws is also a good idea, as is renewing the oil along the ways.

    With all that done, the cross slide moves easily without slop and the backlash is a tolerable 0.1 mm.

    The compound feed screw does not have any backlash adjustment, so fitting a suitable shim between the handle and the DRO spacer is essential:

    Mini-lathe - compound handle shim
    Mini-lathe – compound handle shim

    That one looked nice, but was somewhat too thick.

    This time around I could laser-cut and 3D print shims (16 mm OD, 10 mm ID) in a variety of thicknesses, some combination of which would surely fill the gap without binding:

    Mini-lathe - handle backlash shims
    Mini-lathe – handle backlash shims

    The gnarly clear rings over on the left are the original punched-and-trimmed PETG shims. The fabric-looking ones are PTFE sheets intended for heat-press transfer machines, which Mary has used as a slider sheet to let fabric move easily over her sewing machines. The black one in the middle is 1.5 mm acrylic.

    The bright white rings are 3D printed from a few lines of OpenSCAD code:

    Washers = [0.5,0.6,0.7,0.8,1.2];
    
    for (i = [0:len(Washers)-1])
      right(i*20.0 - 40.0)
        tube(Washers[i],od=16.0,id=(10.0 + HoleWindage),anchor=BOTTOM);
    

    Print them with 0.1 mm layers in PETG, add a PTFE shim or two, and fiddle about enough to get minimum backlash with reasonable turning force.

    The compound feed screw now has 0.16 mm of backlash, which is as good as it’s going to get.

    Right now, the only thing preventing the handle from turning on the shaft is the chunky lockwasher gouging both the handle and the cap screw in the end of the shaft, with the side effect of putting far too much pressure on the spacer shims. I want setscrews in the handles bearing on flats filed in the feed screw shafts to put those awful screws + lockwashers out of business, which seems like a good Sherline project.

  • Layered Paper 8×10 inch Gluing Fixture

    Layered Paper 8×10 inch Gluing Fixture

    An embiggened version of the 8×8 inch fixture, built with MDF for improved durability & flatness:

    Layered Paper 8×10in Gluing Fixture - block
    Layered Paper 8×10in Gluing Fixture – block

    That’s an 8×8 quilt pattern as a quick fit check. Should I cut more of those, I’d install rivnuts in the obvious locations:

    Layered Paper 8×10in Gluing Fixture - front overview
    Layered Paper 8×10in Gluing Fixture – front overview

    The white layer is 1 mm thick chipboard with the rivnut heads flush at its surface:

    Layered Paper 8×10in Gluing Fixture - front detail
    Layered Paper 8×10in Gluing Fixture – front detail

    The perspective makes the fit look much worse than it is.

    The back side has squishy foam feet keeping the M3 screws off the table:

    Layered Paper 8×10in Gluing Fixture - back detail
    Layered Paper 8×10in Gluing Fixture – back detail

    The large rectangle on the LightBurn tool layer helped align the 8×12 inch MDF stock. The smaller squares show where the 8×8 inch square will fit and confirmed the hole locations:

    Gluing Fixture - 200x200-250mm - LightBurn layout
    Gluing Fixture – 200×200-250mm – LightBurn layout

    The LightBurn SVG layout is a GitHub Gist, which also includes the template layout for cutting Letter pages to fit the fixture.

  • Home Master CFKDF85GCC-20BB Water Filter Centering Blocks

    Home Master CFKDF85GCC-20BB Water Filter Centering Blocks

    The Home Master whole-house water filter setup that Came With The House™ has a sediment filter with a 6 to 12 months lifetime and a “catalytic carbon” filter that need replacing every 95000 gallons. Poughkeepsie City water isn’t particularly challenging and our average use suggests a three-year cycle for the carbon filter, so changing them every 18 months seems reasonable.

    The filter headers have fingers to center the cartridges, which works well with the relentlessly cylindrical sediment filter. The header’s outlet orifice produces the indented ring around the central hole:

    Sediment water filter - outlet
    Sediment water filter – outlet

    The water flows downward around the outside of the filter and upward through the central hole.

    The carbon filter is about the same diameter, but has a smaller diameter around the outlet that apparently doesn’t engage the centering fingers:

    Carbon water filter - off-center outlet
    Carbon water filter – off-center outlet

    The white crud on the black rubber seal is another example of Nisley’s First Rule of Potable Water Plumbing:

    Never ever look inside the pipes supplying your drinking water.

    Having seen this happen twice, despite my best efforts to keep the filter housing vertical while tightening its screw threads in the header, I laser-cut four acrylic blocks to hold the filter in the center of the housing:

    Carbon water filter - centering blocks
    Carbon water filter – centering blocks

    They’re 13 mm wide, 15 mm tall, and 6 mm thick, but the next time around they should be taller to help keep them vertical while sliding them into place.

    We’ll know how well they worked in about 18 months.

  • Water Heater Anode Rod Replacement

    Water Heater Anode Rod Replacement

    The Bradford White AeroTherm heat pump water heater that Came With The House™ has been running for three years. Based on previous experience with the same City of Poughkeepsie water, it was time for a look at the anode rod.

    Which, as always, required the Greatest Ratchet with a foot of extensions getting the 1-1/16 inch socket down to the rod:

    Water Heater Powered Anode - socket wrench
    Water Heater Powered Anode – socket wrench

    Remember to:

    • Turn off the water heater power
    • Shut off the inlet and outlet valves
    • Open the drain valve to relieve the tank pressure
    • Only then loosen the anode rod

    Seeing the first few inches justified extracting the rod:

    Water Heater Powered Anode - old rod top
    Water Heater Powered Anode – old rod top

    Due to low overhead clearance and inauspicious pipe locations, I had to hacksaw the bottom third off to extract the rod:

    Water Heater Powered Anode - old rod overview
    Water Heater Powered Anode – old rod overview

    Water Heater Powered Anode - old rod bottom
    Water Heater Powered Anode – old rod bottom

    With the rod out, draining a few gallons of water into a pan didn’t produce any notable gravel, so I didn’t do a complete flush. Much to my delight, the drain has a ball valve!

    Given that this is a fancy water heater and I no longer regard anode rod maintenance as a fun-filled activity, I installed a Corro-Protec powered anode rod for cathodic protection without all the crud:

    Water Heater Powered Anode - Corro-Protec parts
    Water Heater Powered Anode – Corro-Protec parts

    The wall wart proclaims 15 mA with a green LED indicating it’s hard at work:

    Water Heater Powered Anode - Corro-Protec wall wart
    Water Heater Powered Anode – Corro-Protec wall wart

    The data plate on the back reports 24VDC 15mA, but, being me, I poked at it with a handful of resistors:

    Corro-Protec power supply measurements
    Corro-Protec power supply measurements

    The electronics could be as simple as a 24 VDC wall wart feeding a 425 Ω series resistor and a transistor switch lighting the LED for currents a little over 6 mA.

    A quick ohmmeter check shows the powered rod electrode is open-circuit with respect to the tank, as it should be without much applied voltage. Applying +24 VDC from the wall wart drives 15 mA into the water: the rod is hard at work.

    I’ll take a look at it in a year or so just to see what’s going on in there …

  • Mini-Lathe 100 TPI Stacked Change Gear

    Mini-Lathe 100 TPI Stacked Change Gear

    Before turning the PVC conduit to the proper diameter for the Shopvac hose adapter, I set up a 20-50-32-80 change gear train for a 100 TPI finish. While the urethane adhesive cured in the hose, I fed the BC gear pair into my change gear generator:

    Mini-lathe stacked change gears - 32-50T - solid model
    Mini-lathe stacked change gears – 32-50T – solid model

    It’s ready for the next time I cut something down to size:

    Mini-lathe 100 TPI change gears
    Mini-lathe 100 TPI change gears

    One reference suggests a 256 TPI finish for “general turning”, which works out to 20-80-20-80:

    Mini-lathe stacked change gears - 20-80T - solid model
    Mini-lathe stacked change gears – 20-80T – solid model

    That’s just crazy talk, because the BC washer overlaps the D gear teeth:

    Mini-lathe 256 TPI change gears
    Mini-lathe 256 TPI change gears

    If all else fails and I really need a 256 TPI finish, lathes are pretty good at making washers.

  • Shopvac Hose Adapter

    Shopvac Hose Adapter

    Adapting a previous adapter to put a much longer hose on the Least Shopvac now lurking under the bandsaw / Sherline / lathe workbench:

    Spiral Hose - 1.25in nozzle adapter - installed
    Spiral Hose – 1.25in nozzle adapter – installed

    The tapered adapter drags the OpenSCAD code into the BOSL2 era:

    Spiral Hose - 1.25in nozzle adapter - solid model
    Spiral Hose – 1.25in nozzle adapter – solid model

    The ID of the hose determined the OD of the lathe-turned PVC tube inside the 3D printed adapter, so a straight pipe would just slide right into both parts.

    It would be possible to skip the 3D printing and make the adapter from a single piece of PVC:

    • Turn one end of the conduit to fit the hose ID
    • Maneuver the lathe compound to the required 1.05° half-angle
    • Turn the taper to fit the crevice tool
    • Clean up the original OD between the two sections

    Just turning the whole pipe to a smaller OD and sliding the taper on was definitely easier, particularly given the mini-lathe’s cramped quarters with the compound nearly parallel to the bed.

    A generous helping of JB PlasticBonder urethane adhesive bonds the PVC pipe inside the vacuum hose and the tapered adapter.

    The as-printed taper perfectly fits the crevice tool shown in the picture and is one wrap of electrical tape smaller than another crevice tool of “the same size”. The Finesse variable handles that situation, should it matter to you.

    The OpenSCAD source code:

    // Shopvac spiral hose to 1.25 in nozzle
    // Ed Nisley - KE4ZNU
    // 2026-07-25
    
    include <BOSL2/std.scad>
    
    Finesse = 0.2;             // [-0.5:0.1:0.5]
    
    // PVC pipe liner final OD
    PipeOD = 28.5;
    
    /* [Hidden] */
    
    NumSides = 4*3*4;
    $fn=NumSides;
    
    Protrusion = 0.1;           // make holes end cleanly
    HoleWindage = 0.2;          // make holes large enough to fit
    
    //----------------------
    // Dimensions
    
    TAPER_MIN = 0;
    TAPER_MAX = 1;
    TAPER_LENGTH = 2;
    
    Tool = [30.0,31.1,30.0] + [Finesse,Finesse,0];
    
    FlangeOD = 37.0;
    FlangeLength = 5.0;
    
    //render()
    difference() {
    
        union() {
            cyl(FlangeLength,d=FlangeOD,anchor=BOTTOM) position(TOP)
              cyl(Tool[TAPER_LENGTH],d1=Tool[TAPER_MAX],d2=Tool[TAPER_MIN],anchor=BOTTOM);
          }
    
        down(Protrusion)
          cyl(2*Tool[TAPER_LENGTH] + FlangeLength,d=PipeOD + HoleWindage,anchor=BOTTOM);
    
    }