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

  • Raspberry Pi vs. MicroSD: Another One Bites the Dust

    The Raspberry Pi running the MPCNC recently seized up with baffling symptoms, which generally indicates the poor little MicroSD card serving as a “hard disk” has failed:

    Defunct Sandisk Ultra 32 GB MicroSD
    Defunct Sandisk Ultra 32 GB MicroSD

    I managed to open a terminal emulator, whereupon all of the non-built-in shell commands couldn’t be found.

    Proceed as before: binary-copy the entire MicroSD card to another one, pop it in the RPi, and it’s all good again.

    For the record, the new card is an unused Samsung Evo Plus. I do not understand the difference between the “Evo Plus” and “Evo+” branding, other than to suspect one of being a very good fake.

    In round numbers, MicroSD cards seem to last a year under what seems like not-too-demanding service; I’m not running the MPCNC all day, every day.

  • Bathroom Drain Rod Status

    The bathroom drain rod slipped out of the pop-up stopper, giving me the opportunity to see how well it’s surviving:

    Bathroom drain lever - 2019-08-03
    Bathroom drain lever – 2019-08-03

    After not quite two years, it’s not obviously rotting away.

    Life is good …

  • Logitech “QuickCam Pro 5000” Ball Camera Disassembly

    Another alignment camera contestant from the Big Box o’ Junk Cameras:

    Logitech Pro 5000 Ball Camera - overview
    Logitech Pro 5000 Ball Camera – overview

    It’s a Logitech QuickCam Pro 5000 with a native 640×480 resolution. For no obvious reason, it seems to work better on a Raspberry Pi than the Logitech QuickCam for Notebooks Deluxe I ripped apart a few weeks ago, where “better” is defined as “shows a stable image”. I have no explanation for anything.

    Remove the weird bendy foot-like object by pulling straight out, then remove the single screw from the deep hole visible just behind the dent in the top picture:

    Logitech Pro 5000 Ball Camera - disassembled
    Logitech Pro 5000 Ball Camera – disassembled

    The stylin’ curved plate on the top holds the microphone and a button, neither of which will be of use in its future life. Unplug and discard, leaving the USB cable as the only remaining connection:

    Logitech Pro 5000 Ball Camera - USB connector
    Logitech Pro 5000 Ball Camera – USB connector

    Inexplicably, the cable shield is soldered to the PCB, so the connector doesn’t do much good. Hack the molded ball off of the cable with a diagonal cutter & razor knife, taking more care than I did to not gouge the cable insulation.

    A glue dot locks the focusing threads:

    Logitech Pro 5000 Ball Camera - focus glue
    Logitech Pro 5000 Ball Camera – focus glue

    Gentle suasion with a needle nose pliers pops the dot, leaving the lens free to focus on objects much closer than infinity:

    Logitech QuickCam Pro 5000 - short focus
    Logitech QuickCam Pro 5000 – short focus

    Now, to conjure a simpleminded mount …

  • CNC 3018-Pro: Home Switches

    The CNC 3018-Pro doesn’t absolutely need home switches, but (in principle) they let you install a workholding fixture at a known position, home the axes, pick a preset coordinate system for the fixture, and not have to touch off the axes before making parts.

    Having used Makerbot-style endstop switch PCBs for the MPCNC, this was straightforward:

    3018 CNC - Endstop switches - overview
    3018 CNC – Endstop switches – overview

    The X and Z axis switches simply press against the appropriate moving parts:

    3018 CNC - X and Z Endstops
    3018 CNC – X and Z Endstops

    The little tab stuck on the tool clamp provides a bit of clearance around the upper part of the X axis assembly.

    The Y axis switch needed a slightly tapered tab to extend the bearing holder:

    3018 CNC - Y axis endstop
    3018 CNC – Y axis endstop

    It’s made from a random scrap of clear plastic, hand-filed to suit, and stuck on the bearing to trigger the switch in exactly the right spot.

    You can find elaborate switch mounts on Thingiverse, but I’ve become a big fan of genuine 3M outdoor-rated foam tape for this sort of thing: aggressive stickiness, no deterioration, possible-but-not-easy removal.

    The switches need +5 V power, so add a small hack to the CAMTool V3.3 control board to let the connectors plug right in:

    3018 CNC CAMTool - Endstop power mod - installed
    3018 CNC CAMTool – Endstop power mod – installed

    The solid models borrow their central depression around the switch terminals from the MPCNC blocks:

    3018 Home Switch Mounts - Slic3r preview
    3018 Home Switch Mounts – Slic3r preview

    The OpenSCAD source code as a GitHub Gist:

    // 3018-Pro Mount for Makerbot Endstop PCB
    // Ed Nisley KE4ZNU – 2019-07
    /* [Build Options] */
    Layout = "Show"; // [Build, Show]
    /* [Hidden] */
    ThreadThick = 0.25; // [0.20, 0.25]
    ThreadWidth = 0.40; // [0.40]
    function IntegerMultiple(Size,Unit) = Unit * ceil(Size / Unit);
    Protrusion = 0.01; // [0.01, 0.1]
    HoleWindage = 0.2;
    ID = 0;
    OD = 1;
    LENGTH = 2;
    //- Shapes
    // Basic PCB with hole for switch pins
    // origin at switch actuator corner, as seen looking at component side
    SwitchClear = [15.0,5.0,2.0]; // clearance around switch pins
    SwitchOffset = [12.5,9.0,0.0]; // center of switch pins from actuator corner
    PCB = [26.0,16.4,2*SwitchClear.z]; // switch PCB beyond connector, pin height
    XBlock = [PCB.x,PCB.y,5.0];
    module XMount() {
    difference() {
    cube(XBlock,center=false);
    translate(SwitchOffset + [0,0,XBlock.z – SwitchClear.z/2])
    cube(SwitchClear + [0,0,Protrusion],center=true);
    }
    }
    YBlock = [PCB.x + 10.0,PCB.y,20.0];
    module YMount() {
    difference() {
    translate([-10.0,0,0])
    cube(YBlock,center=false);
    translate([0,-Protrusion,10.0])
    cube(YBlock + [0,2*Protrusion,0],center=false);
    translate(SwitchOffset + [0,0,10.0 – SwitchClear.z/2])
    cube(SwitchClear + [0,0,Protrusion],center=true);
    }
    }
    ZBlock = [PCB.x,PCB.y,6.0];
    ZPin = [20.0,10.0,5.5];
    module ZMount() {
    difference() {
    cube(ZBlock,center=false);
    translate(SwitchOffset + [0,0,ZBlock.z – SwitchClear.z/2])
    cube(SwitchClear + [0,0,Protrusion],center=true);
    }
    translate([0,-ZBlock.y,0])
    difference() {
    cube(ZPin,center=false);
    translate([ZPin.x/2,-Protrusion,4.0])
    cube(ZPin + [0,2*Protrusion,0],center=false);
    }
    }
    //- Build things
    if (Layout == "Show") {
    translate([0,YBlock.y,0])
    XMount();
    translate([0,-YBlock.y/2])
    YMount();
    translate([0,-(ZBlock.y + YBlock.y)])
    ZMount();
    }

    The dimension doodles:

    3018 Home Switch Mounts - Dimension Doodles
    3018 Home Switch Mounts – Dimension Doodles
  • CNC 3018-Pro: CAMTool Modification for MBI-style Home Switches

    The Protonteer board I used on the MPCNC required a few additional pins for power to Makerbot-style home switches, so it’s no surprise the CAMTool V3.3 board on the CNC 3018-Pro gantry mill requires a similar hack:

    3018 CNC CAMTool - Endstop power mod
    3018 CNC CAMTool – Endstop power mod

    The white jumper plugs into the single +5 V pin in the row and is soldered to a straight wire running along the entire row of header pins. I pushed the black plastic strip to the bottom, soldered the wire along the pins atop it, then clipped off the pins so they’re about the right height when flush against the PCB.

    Use a two-row socket to hold the new row in alignment with the existing header:

    3018 CNC CAMTool - Endstop power mod - alignment
    3018 CNC CAMTool – Endstop power mod – alignment

    Slobber on some epoxy and let it cure:

    3018 CNC CAMTool - Endstop power mod - epoxy curing
    3018 CNC CAMTool – Endstop power mod – epoxy curing

    And then It Just Works™:

    3018 CNC CAMTool - Endstop power mod - installed
    3018 CNC CAMTool – Endstop power mod – installed

    Well, after you install the switches and tell GRBL to use them …

    Reminder: If you intend to put limit switches on both ends of the axis travel, you must clip the NC lead from both MBI switches. One switch per axis will work the way you expect and that’s how I’m using them here.

  • CNC 3018-Pro: Assembly Tweaks

    If you regard your new CNC 3018-Pro Router kit as a box of parts which could, with some adjustments and additional parts, become a small CNC router, you’re on the right track.

    In my case, the aluminum extrusions arrived somewhat squashed inside their well-padded foam shipping carton, which leads me to believe the factory responsible for tapping the bolt holes in the ends must be a fairly nasty place. In any event, the hammerhead T-nuts for the gantry struts simply didn’t fit into some sections of the slots, although they worked fine elsewhere.

    So, file a smidge off the rounded sides of a few nuts:

    3018CNC - 2020 T-nuts - filed
    3018CNC – 2020 T-nuts – filed

    Which let them slide into place and rotate properly despite the bent channel:

    3018CNC - 2020 T-nuts - trial fit
    3018CNC – 2020 T-nuts – trial fit

    The assembly instructions used a word I’d never encountered before:

    3018CNC - Gantry plate position
    3018CNC – Gantry plate position

    Turns out ubiety is exactly correct, but … raise your hand if you’ve ever heard it in polite conversation. Thought so.

    I’ve not noticed any harm from rounding off the position to 46 mm; just position both struts the same distance from the rear crossbar and it’s all good.

    The struts behind the CAMTool CNC-V3.3 electronics board were also squashed, prompting a bit more filing:

    3018CNC - CAMTool v3.3 board - trial fit
    3018CNC – CAMTool v3.3 board – trial fit

    The CAMTool board is basically an Arduino-class microcontroller preloaded with GRBL 1.1f and surrounded with spindle / stepper driver circuits.

    As with the MPCNC, I’ll dribble G-Code into it from a Raspberry Pi. Alas, the struts behind the CAMTool board are on 75 mm centers, but the Pi cases on hand have feet on 72-ish mm centers. Pay no attention to the surroundings, just drill the holes in the right spots:

    3018CNC - RPi case - drilling
    3018CNC – RPi case – drilling

    Add more T-nuts and short button head screws, with rubber pads between the case and the struts:

    3018CNC - RPi case - mounted
    3018CNC – RPi case – mounted

    It’s coming together!

  • Kenmore Model 158: Foot Pedal Pivots

    I got an email asking how the Kenmore Model 158 sewing machine’s foot pedal pivots worked. The notes on rebuilding the carbon disk rheostat and conjuring a Hall effect sensor show the innards, but here’s what you need to know to get there.

    The pedal has a pair of pivots on the side closest to your foot, held in place with a small screw inside the two feet:

    Kenmore 158 - Pedal pivot screw - in place
    Kenmore 158 – Pedal pivot screw – in place

    The screw fits into a notch in the unthreaded pin inserted from the side:

    Kenmore 158 - Pedal pivot screw - disassembled
    Kenmore 158 – Pedal pivot screw – disassembled

    And that’s all there is to it!

    Now, as happened to my correspondent, the pin can go missing, perhaps after the screw worked loose. Worst case, you’re looking at replacing both parts.

    Being made in Japan (as ours were), the pedal has metric sizes: the unthreaded pin is 4 mm in diameter and 18 mm long and the setscrew has an M4×0.7 thread. You could replace the pin with an 18 mm (down to maybe 15 mm) long M4 screw. The threads would make a gritty pivot, but better than no pivot at all.

    Better to get a longer M4 screw with an unthreaded section near the head, hacksaw it to the proper length, file to tidy up the cut end, maybe file a notch for the setscrew, and pop it in place. For tidiness, file off the slot / Philips / hex socket to eliminate the temptation to turn it out.

    Worst case, a pair of plain old USA-ian 6-32 screws 3/4 inch long would make a sloppy fit. Don’t tell anybody I said so; that’d be barely better than nothin’ at all in there.

    Lowe’s claims to have M4×0.7 setscrews (with a hex socket, not a slot) to secure the pin.

    If my experience around here is any guide, however, Lowe’s / Home Depot / Walmart may claim to have metric hardware in stock, but the only way to know is to actually go there and rummage around in the specialty hardware section, inside the big steel cabinet with slide-out drawers filled with a remarkable disarray of ripped-open bags and misfiled parts.

    Good hunting …