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

  • Samsung Microwave Light Improvements

    Samsung Microwave Light Improvements

    After replacing the gas / humidity sensor in the Samsung microwave, replacing the pair of 40 W (!) halogen bulbs with G8 LED bulbs didn’t pose much of a challenge:

    Samsung microwave light - LED-ified reflectorized
    Samsung microwave light – LED-ified reflectorized

    Those are not the best bulbs for the application, as they’re allegedly equivalent to 20-25 W halogens, but I had some on hand from a previous relamping project and they seemed promising.

    G8 halogens have a flattened section just above the pins that these G8 LED bulbs lack:

    G8 halogen vs LED bulb - front view
    G8 halogen vs LED bulb – front view

    It’s more obvious from the side:

    G8 halogen vs LED bulb - side view
    G8 halogen vs LED bulb – side view

    The curvature of the soft silicone LED body magnifies the components to look like they fill all the available space, but a little deft X-acto knife work flensed the body down to fit the microwave’s ceramic socket without exposing any of the electrical innards.

    Because the LEDs dissipate only 3 W and barely get warm, I replaced the original translucent glass diffuser panels with (yes, laser-cut) clear 3 mm acrylic, then tucked a strip of aluminized mylar above the bulb to bounce some of the light from the upper chips down where it would do more good. I think it’s possible to melt the acrylic with a stovetop mishap, but we don’t make those kinds of recipes.

    They’re not daylight shining on the stove, but they’re much brighter than the halogens at maybe 10% of the power.

  • Tour Easy Running Lights: Updated Lights

    Tour Easy Running Lights: Updated Lights

    With the new battery mount & buck converter box installed on Mary’s bike, I updated the running light circuitry to match the ones on my bike. The original wiring just supplied 6.3 V from the headlight circuit, but now the four wire ribbon cable from the electronics box carries 6.3 VDC from the buck converter and a 6 VDC signal going high when the DPC-18 display’s “headlight” output goes active. The latter goes into an optoisolator pulling down Pin 2, telling the running light to stay on continuously.

    The optoisolator sits next to the Arduino Nano’s Reset button:

    Tour Easy Running Light - unified light top
    Tour Easy Running Light – unified light top

    The black wire barely visible below the optoisolator jumpers Pin 3 to ground, telling the firmware that this is the front running light.

    The black & white wires from the top of the optoisolator connect directly to the ribbon cable entering on the other side:

    Tour Easy Running Light - unified light bottom
    Tour Easy Running Light – unified light bottom

    The gray wrap of clear silicone tape mummifies the wire-to-wire soldered connectors.

    The firmware now pays attention to the jumper input, so I need only one source file for both front and rear lights:

        if (digitalRead(PIN_POSITION) == HIGH) {
            Blinks = String("i e  ");             // rear = occulting
            Polarity = true;
        }
        else {
            Blinks = String("n e  ");             // front = blinking
            Polarity = false;
        }
    
    

    It just doesn’t get much easier than that!

    The Arduino source code as a GitHub Gist:

    // Tour Easy Running Light
    // Ed Nisley – KE4ZNU
    // September 2021
    // 2023-03 preprocessorize for front/rear lights
    // 2024-06 input bit for front/rear
    // https://github.com/markfickett/arduinomorse
    #include <morse.h>
    // Bafang headlight output pulls pin low
    #define PIN_LIGHTMODE 2
    // Jumper pin low for front light
    #define PIN_POSITION 3
    // Current regulator Enable: positive to turn on
    #define PIN_OUTPUT 13
    String Blinks;
    boolean Polarity;
    // second param: true = active low output
    MorseSender *Morser;
    void setup()
    {
    pinMode(PIN_LIGHTMODE,INPUT_PULLUP);
    pinMode(PIN_POSITION,INPUT_PULLUP);
    if (digitalRead(PIN_POSITION) == HIGH) {
    Blinks = String("i e "); // rear = occulting
    Polarity = true;
    }
    else {
    Blinks = String("n e "); // front = blinking
    Polarity = false;
    }
    Morser = new LEDMorseSender(PIN_OUTPUT,Polarity,(float)10.0);
    Morser->setup();
    Morser->setMessage(String("qst de ke4znu "));
    Morser->sendBlocking();
    Morser->setSpeed(75);
    Morser->setMessage(Blinks);
    }
    void loop()
    {
    if (!Morser->continueSending())
    if (digitalRead(PIN_LIGHTMODE) == HIGH)
    Morser->startSending();
    else
    digitalWrite(PIN_OUTPUT,HIGH); // constantly turn on in headlight mode
    }

  • LightBurn Slot Resizing

    LightBurn Slot Resizing

    LightBurn includes a Slot & Tab Resizer tool that automagically finds and resizes joints to adapt a design for whatever material thickness you might be using. To judge from the LightBurn forum threads, it doesn’t deal well with random designs fetched from the Interwebs, which suggests those designs were either never intended for laser cuttery or just badly laid out.

    So I fetched a sheep from a typical sketchy source and attempted to resize its slots:

    Sheep DXF import - slot resize problem
    Sheep DXF import – slot resize problem

    The tool looks for rectangular shapes within the Tolerance of the Old Material Thickness width, then marks their narrow ends with red highlights and their length with blue. Obviously, not all of the slots we humans see count as slots.

    A closer look at one of the body shapes with a slightly larger Tolerance shows some of the problems:

    Sheep DXF import - body
    Sheep DXF import – body

    Using the Node Editor tool reveals two stray nodes near the bottom of the second slot from the left:

    Sheep DXF import - slots
    Sheep DXF import – slots

    Zooming in and blowing out the contrast:

    Sheep DXF import - slot bottom
    Sheep DXF import – slot bottom

    Manually deleting those nodes doesn’t solve the problem, because two more errant nodes lurk at the top of the slot:

    Sheep DXF import - slot top
    Sheep DXF import – slot top

    You probably didn’t notice those at first glance, either. Those nodes may be very close together, but they still confuse the issue.

    Rather than tracking down and deleting / adjusting those nodes one by one, you can apply the Optimize Shapes tool to squash the superfluous nodes into straight lines:

    Sheep DXF import - optimized
    Sheep DXF import – optimized

    Don’t smooth the shapes or fit them to arcs at this point, because both of those operations will round off the corners.

    That may still leave a few nodes requiring manual intervention, as on the face shape:

    Sheep DXF import - optimized leftover
    Sheep DXF import – optimized leftover

    But at least the problem becomes tractable:

    Sheep and dinosaur flock
    Sheep and dinosaur flock

    As the Bard put it, all’s well that ends well.

  • LED Light Switch: FAIL 2

    LED Light Switch: FAIL 2

    Another switch for the temporary basement LED light strips failed the same way:

    T8 LED power switch - failure 2
    T8 LED power switch – failure 2

    As always with such things, I suspect the only reason it has a UL mark on the back is because somebody else hasn’t missed theirs yet.

    So I got a three-pack of inline switches with cute little indicator lights and set about replacing all of them:

    Inline T8 power switch - internal
    Inline T8 power switch – internal

    These switches carry absolutely no regulatory approval markings, although they do claim to carry 10 A at 250 V, which I take with another load of salt.

    At least here in the US-of-A, a 240 VAC outlet has two “hot” wires carrying 120 VAC 180° out of phase, which means both conductors must be switched. Despite the voltage rating, only the L path goes through the clicky switch, with the N path along a strap just below the switch toggle. Using it on a 240 VAC circuit will kill you stone cold dead should you assume whatever it controls is turned off.

    I secured the Line and Neutral conductors with crimp connectors, rather than just wrapping the 20 AWG wires around the screw terminals, because the case halves join without perimeter nesting: a bare millimeter of air in the gap between the halves separates the terminals from my fingers. A layer of good electrical tape on each side improved that situation, but not by much.

    The complete lack of strain relief clamping on the cords prompted me to route the wires around the screw bosses. After a function check, squirts of hot melt glue anchored the two cords somewhat better.

    Aaaaand I secured that loose strap on the right with an (identical to the others!) screw from the Tray o’ Random Screws. The other switches had both screws installed, so this one must have been a QC escape.

    They suffice for the purpose, but … caveat emptor!

  • Drilled Sunflower Seeds

    Drilled Sunflower Seeds

    It seems the best bait for voles is to tie sunflower seeds to the trap trigger, but poking a needle through the seeds tends to split them.

    Well, I can fix that:

    Sunflower seeds - drilled
    Sunflower seeds – drilled

    This is “shell drilling” of a kind I had not previously encountered:

    Sunflower seeds in shell - drilled
    Sunflower seeds in shell – drilled

    Those are #52 drill holes, 63-ish mils in diameter, and pass a standard sewing needle with ease.

    The traps have been baited and deployed amid a plague of voles and I await customer feedback …

  • Laser Test Paper: Outdoor Testing

    Laser Test Paper: Outdoor Testing

    “Laser test paper” is, of course, intended for testing lasers, but I thought it might make a outdoor plant tag. A while ago I tried some Trolase Thins acrylic for that job:

    Plant tags - Trolase Thin - prototypes
    Plant tags – Trolase Thin – prototypes

    Which turned out to be entirely too stiff, which wasn’t surprising given that Trolase Thin is intended for signage stuck on flat or slightly curved surfaces.

    Despite being “paper”, laser testing paper is also too stiff:

    Laser test paper - outdoor labels - 2024-06-22
    Laser test paper – outdoor labels – 2024-06-22

    The wrinkles and cracks on the left end of the tags shows the plastic coating makes it basically impossible to shape / bend the paper enough to wrap around a plant stem, then push it through the hole (offscreen to the left). I was not surprised too much by this discovery.

    Those two strips now hang outside the kitchen window (left end upward), where they’ll get enough sun and rain to keep a plant happy, and I’ll see how well the engraved / damaged plastic coating stands up to that sort of abuse.

    For Science!

  • CUPS vs. HP Jetdirect 175x: Admitting Defeat

    CUPS vs. HP Jetdirect 175x: Admitting Defeat

    For several decades, a succession of PCs in the basement have served files and shared printers, the former through NFS and the latter through CUPS. When the Epson R380 finally went casters-up, I got an Epson ET-3830 printer with a network interface, leaving only our venerable HP Laserjet 1200 shared through the server.

    For reasons I do not profess to understand, whatever magic shared the printers rotted away over the last month (or, more likely, software updates), to the extent that we could no longer reliably print to the Laserjet. Various software tinkerings being unavailing, I dropped just under thirteen bucks to make the problem Go Away™:

    HP Jetdirect 175x - installed
    HP Jetdirect 175x – installed

    It’s a new-old-stock HP Jetdirect 175x print server from the turn of the millennium, with an Ethernet jack on the back and a USB 1.0 (yes, one-point-zero) jack on the front. It’s roughly contemporaneous with the Laserjet and designed to work with it.

    The thing started up in DHCP mode, so I had to ask the router where it was on the network. Configuration then amounted to putting it in static (“Manual”) IP mode, assigning an address, and restarting it.

    Aim the CUPS servers on our desktop PCs at the new address, fire off a test page, It Just Worked™, and we’re once again printing like it’s 1999.

    That was surprisingly easy.