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.

Author: Ed

  • Small Spider vs. Marmorated Stink Bug

    Small Spider vs. Marmorated Stink Bug

    Spiders know how to handle much larger prey:

    Spider draining Marmorated Stinkbug
    Spider draining Marmorated Stinkbug

    Apparently the stink bug’s armor doesn’t count for much when the spider has the luxury of attacking through a weak spot in the underbelly after the critter stops struggling.

    Stink bugs cause considerable damage to crops (notably apples) in the Hudson Valley, but they haven’t been the existential catastrophe we all expected when they first arrived.

    Hooray for spiders!

  • OXO Not-salt Grinder: Aluminum Shaft

    OXO Not-salt Grinder: Aluminum Shaft

    Having recently emptied the OXO pepper grinder we (mistakenly?) bought as a salt mill, I took it apart for a deep rinsing and cleanup:

    OXO salt-pepper mill - aluminum shaft
    OXO salt-pepper mill – aluminum shaft

    It turns out the somewhat corroded square shaft is aluminum, neither the cheap steel I expected nor the stainless steel it should be. Perhaps OXO cost-reduced the shaft, discovered aluminum is a poor choice in a saline environment, and changed the packaging to compensate?

    Removing / installing the Jesus clip requires careful whacking with a hollow-tip punch against the shaft, with the whole affair laid flat on shop towels, the handle held down to prevent rotation, and the wrap-around body capturing the escaping clip.

    Shaft corrosion as of Summer 2020:

    OXO Salt Mill - corrosion
    OXO Salt Mill – corrosion

    Soaking the body in hot water got rid of salt crusts and filled the shell with water. There being no way to completely dry the thing, I parked it in the sun for a day, refilled it, and was unsurprised when the (dried) salt turned into an assortment of moist crystals.

    We obviously need a real salt mill …

  • Clearing the Noto Font Clutter: Again

    Installing Atkinson Hyperlegible reminded me to clear out the Noto font clutter in this (relatively recent) Manjaro installation. Of course fonts now appear in slightly different locations with slightly different names, so this remains just a serving suggestion:

    cd /usr/share/fonts/noto
    sudo chmod a-w NotoSans-*
    sudo chmod a-w NotoSansMono*
    sudo chmod a-w NotoSansDisplay*
    sudo chmod a-w NotoSansMath*
    sudo chmod a-w NotoSansSymbol*
    sudo chmod a-w NotoSerif-*
    sudo chmod a-w NotoSerifDisplay*
    sudo chmod a-w NotoMusic*
    sudo chmod a-w NotoMath*
    sudo find . -perm /u=w -name \*ttf -delete
    

    Get rid of some other clutter:

    cd ../TTF
    sudo chmod a-w DejaVu*
    sudo chmod a-w Inconsolata-*
    sudo find . -perm /u=w -name \*ttf -delete
    cd ../droid
    sudo chmod a-w DroidSans-Bold.ttf 
    sudo chmod a-w DroidSans.ttf 
    sudo chmod a-w DroidSansFallback*
    sudo chmod a-w DroidSansMono.ttf 
    sudo chmod a-w DroidSerif-*
    cd ../adobe-source-han-sans
    sudo rm *otf
    

    For unknown reasons, we now have two font cache updaters:

    sudo fc-cache -v -f
    sudo fc-cache-32 -v -f
    

    Now font selection in, say, LibreOffice doesn’t involve paging through a myriad fonts in languages I cannot recognize, let alone read. Admittedly, Inconsolata does have more variations than I’ll ever use.

  • DIY e-Bike Conversions & Solid Modeling: Presentation

    DIY e-Bike Conversions & Solid Modeling: Presentation

    I’ll be talking about e-bikes and the solid modeling required to hang a Bafang motor and battery on your favorite bike for the Poughkeepsie Chapter of the ACM at 1930 EDT this evening:

    Bafang Battery Mount - Show view
    Bafang Battery Mount – Show view

    It’s a Zoom meeting, so (in the unlikely event you have nothing better to do) you could actually “attend”. The ACM meeting description and the Meetup announcement will get you there.

    A PDF of the presentation slides (remember slides?) includes copious linkies to sources / blog posts / distractions:

    If you’re only in it for the geometry, the OpenSCAD source code lives slumbers in a pair of GitHub Gists:

    Tour Easy

    Terry Symmetry

    Enjoy …

  • Bafang Headlight Circuit Current Limit

    Bafang Headlight Circuit Current Limit

    Having just replaced Rev 1 of the amber running light with Rev 3 (about which, more later) on Mary’s Tour Easy, both the front and rear lights began blinking erratically. Given that they have completely independent circuitry, this strongly suggests a power problem.

    Herewith, the headlight circuit voltage:

    Bafang headlight voltage - two 1 W running lights
    Bafang headlight voltage – two 1 W running lights

    The voltage should be a constant 6 or 6.3 V, depending on which description you most recently read. That is the case with only one light attached, so the problem occurs only when running both lights.

    The four pulses come from the amber LED’s Morse code “b” (dah-dit-dit-dit) with a 85 ms dits; the first dah pulse should be three times longer than the dits and definitely isn’t. The rear light’s red LED stays on continuously, except for two dark dits, so it draws a constant current and does not produce any changes in this trace.

    Both lights have 2.0 Ω sense resistors setting the LED current to 400 mA, which corresponds to 250 mA each from the Bafang controller’s 6.3 V headlight circuit. The headlight circuit’s total of 500 mA should work fine, although the “spec” seems to be basically whatever the OEM headlight requires.

    The Rev 1 amber light ran the LED at 360 mA with a supply current around 450 mA. That light and the rear light on the back ran fine, so the supply seems to have a hard maximum current limit at (a bit less than?) 500 mA.

    The least-awful solution seems to be backing off both LED currents to 360 mA to keep the total supply current well under 500 mA.

  • Improved Mini-lathe Disk Turning Fixture

    Improved Mini-lathe Disk Turning Fixture

    Unsurprisingly, the mini-lathe lacks enough stiffness to apply enough force to hold a disk in place while turning its rim:

    Tour Easy Rear Running Light - end cap fixture - swirled adhesive
    Tour Easy Rear Running Light – end cap fixture – swirled adhesive

    The old South Bend lathe had mojo, but those days are gone.

    So drill and tap that fixture for an M3 screw, then stick some coarse sandpaper to it:

    Improved disk turning tool
    Improved disk turning tool

    Snug the screw (a Torx T9 from the Small Drawer o’ Random M3 Screws) down on a rough-cut disk:

    Improved disk turning tool - in use
    Improved disk turning tool – in use

    Sissy cuts remain the order of the day, but the screw applies plenty of clamping force and doesn’t require the hulking live center.

  • UPS SLA Battery Status

    UPS SLA Battery Status

    The UPS coddling the M2 printer began complaining about a bad battery, so I ran (nearly) all the UPS batteries through the tester:

    UPS SLA 2021-10-10

    The two blue flubs in the lower left come from the failed battery, with the dotted trace after charging to 13.7 V and letting the current drop to 20 mA.

    The red and green traces come from two other UPS batteries installed in 2016, with the dotted traces after charging similarly. The orange-ish trace is from the battery in a Cyberpower UPS bought in 2016, so it looks like all batteries of that vintage fade equally.

    Except for another pair of batteries in another UPS that had discharged stone cold dead; it may have been shut down and unplugged during a power outage and they never quite recovered.

    After five years, it’s time to refresh the fleet …