Ed Nisley's Blog: Shop notes, electronics, firmware, machinery, 3D printing, laser cuttery, and curiosities. Contents: 100% human thinking, 0% AI slop.
Category: Software
General-purpose computers doing something specific
The Canon LiDE 120 scanner on Mary’s desk gets considerable use by both of us, until a recent update of something killed network access to it. The usual searches revealedcomments suggesting the sane scanner program has deliberatelydisabled network access to USB scanners which use the net back end, apparently to prevent loops when one instance shares a networked USB scanner already shared by another instance.
I have no clue how all that works, nor why the change has apparently taken half a dozen years to reach our scanner.
The workaround required downgradingsane on the “server” PC (the one with the Canon scanner) to the most recent version that doesn’t enforce the prohibition:
The pamac GUI interface now shows sane as eligible for an upgrade, then reports that it won’t do the deed. That’s survivable.
At some point, not updating the sane package will cause other problems. Perhaps by then we’ll have moved the hulking Epson ET-3830 printer/scanner upstairs and can recycle the Canon scanner.
This was really a thinly veiled excuse for a deeper look at the QR code generator encoding the myriad parameters required to create the box and see what happens when you try to burn such a complex thing into chipboard.
Spoiler: chipboard has very low contrast and really does not work well with high-density QR codes.
Although the festi.info box generator can produce QR codes, I used qrencode (available in your Linux distro) on the command line to generate QR code image files with specific settings:
--size → size of the smallest square (“module”) in pixels
--dpi → DPI of the output image file
The default file type is PNG. The unusual 254 DPI makes each pixel exactly 0.1 mm wide and a peculiar 169.33 DPI = 0.15 mm came in handy for the first pattern.
The final parameter is the character string to encode, which you should definitely quote to prevent the shell from wrecking things while trying to help you.
A pattern with 4×4 pixel modules didn’t scan at all:
Chipboard QR code – 15pct 0.15mm 4×4 – overview
A closer look shows the modules have ragged edges due to laser timing variations during the engraving scans and gaps between successive scans because the spot size is less than the 0.15 mm scan interval:
Chipboard QR code – 15pct 0.15mm 4×4 – detail
Increasing the module to 6×6 pixels at a 0.1 mm scan interval :
Chipboard QR code – 15pct 0.10mm 6×6 – overview
A closer look shows the larger module reduces the relative size of the timing errors, while the decreased line spacing tidies up the blocks:
Chipboard QR code – 15pct 0.10mm 6×6 – detail
Reducing the power from 15% to 10% reduced the contrast to the point of illegibility:
Chipboard QR code – 10pct 0.10mm 6×6 – overview
A closer look shows the engraving barely punches through the surface and has somewhat more ragged edges due to the tube’s pulsating startup current at very low power:
Chipboard QR code – 10pct 0.10mm 6×6 – detail
I also tried 5×5 modules with similar results.
The laser spot size sets the engraving scan interval, which then determines the DPI value for the QR code image. With all that matched up, you can send the images directly to the laser in Passthrough mode, without having LightBurn resample the pixels and change the module’s shape.
Looked at from a different angle: given the laser spot size and the module size, the QR code image size is not under your control.
From another angle: given a QR code image size in, say, millimeters, and the engraving scan interval, the module size is not under your control.
All this is moot if you print QR codes on a high-resolution / high-contrast printer. It’s just the gritty nature of laser cuttery that limits what you can accomplish.
And, of course, using a material less awful than chipboard will definitely improve the results.
If you want a similar box of your own, here ya go:
While swapping chuck jaws I realized I didn’t have to pile them on a shop rag atop the lathe headstock, no matter how neatly cut those rags might be:
Lathe chuck jaw holder – installed
It’s three layers of MDF cut to hold all six jaws from the 4 inch 3 jaw chuck, stuck together with wood glue.
You really need only four sockets: one empty for the jaw you just removed, then work your way around the chuck. But, hey, MDF is cheap and I usually remove all three at once anyway.
When it starts walking away, it’ll sprout silicone feet.
Mary’s ResMed AirSense 11 saves the data from every overnight breath she takes on an SD card, which she uploads to OSCAR once a week. I figured she needed an SD card to USB adapter / card reader of her very own:
The LightBurn layout is pretty much what you’d expect, with the letter inside the outline of the USB dingus on a tool layer to get the size right:
PU PSA Vinyl test – LB layout
The red layer is a “kiss cut” through the vinyl (remember: polyurethane) that leaves the backing paper mostly undamaged:
PU PSA Vinyl test – dot mode cut detail
The cut uses Dot Mode, with the laser firing at 10% power for 2 ms, spaced every 0.1 mm along the cut. I found 0.1 mm spacing produced a more-or-less continuous cut in the PETG sheet for the Tek Circuit Computer cursor hairline, but this picture shows it’s definitely running in pulsed mode. In any event, Dot Mode is the only way a 60 W CO₂ laser can make a kiss cut, as a normal vector cut can’t run fast enough to prevent cutting all the way through the backing paper, even at 10% power, around those letters.
The edges of the letters are slightly melted with a raised border, although they look pretty good if you’re not peering at them through a microscope.
I cut the rectangular outline with scissors, peeled the waste vinyl away, and weeded the ‘a’ with tweezers:
PU PSA Vinyl test – weeded
Stick a snippet of transfer tape on top:
PU PSA Vinyl test – transfer tape
In theory, the transfer tape sticks more firmly to the cut letters than the letters adhere to their backing paper, so peeling off the tape also peels the letters off the backing paper.
Which did not go well:
PU PSA Vinyl test – transfer tape – peeling
The two adhesions obviously require a delicate balance to work properly and I would be unsurprised to learn different transfer tapes behave differently on each type of vinyl sheet, with no way to know the results without trying every possible combination.
A few retries got the “r” back in position on the transfer tape, but a bit of kink remains in the “M”.
A third adhesion balance occurs between the transfer tape and the USB card reader, where the tape must stick to the letters slightly less than the letters stick to the reader. Burnishing the tape + letters to the reader encouraged the letters to stick and the tape pulled off without dislodging them.
We deemed the result good enough for the purpose and the process taught me a few lessons along the way. Next time, maybe it’ll work out better.
A recent Squidwrench meeting provided the opportunity to make a couple of racks for an assortment of Refresh Tears / Liquigel bottles:
Refresh eye lube – storage cases
I used chipboard to find out if the cross plates would stiffen the floppy 1.1 mm sheets enough for this light duty. Indeed, the overall structure becomes a nice rigid box, even though the feet and corners can’t withstand much abuse.
The finger joints use the default settings, which produce a lot of fingers along the edges. This turns out to be a Good Thing, as it gave the yellow wood glue plenty of opportunities to bond the sheets together.
Combining the default 5° slope with nine bottles along each level wastes a tremendous amount of vertical space. The adjacent racks hold three much larger cans per level, so roughly the same space doesn’t look like much. In retrospect, a 3° slope should work for smaller bottles.
And, yes, the squash on the lower shelf store nicely and become yummy meals all winter long.
Long ago, I gave Mary a box of 100 empty bobbins for her Kenmore 158 sewing machine, with the intent she would never again have to unwind a bobbin to put new thread on it. This worked so well I did the same thing for her Juki, with the result she needed somewhere to store all those filled bobbins.
Her work table has a shallow drawer, so we tried this out:
Watching all those little rectangles fall out just never gets old:
Bobbin Storage Case – cutting detail
I ran off a test tray in ordinary chipboard that works just as well, but lacks the pleasant appearance and feel of the TroCraft. Clear 1.5 mm acrylic would probably work, at the cost of requring a much neater glue job where the dividers meet the walls.
The spacing is a bit tight to pluck a bobbin from its slot between two others, but now she has enough space to arrange them as needed, with empty spaces around the most-used colors. I offered to carpet the drawer with bobbin trays, but she suggested waiting until these fill up.
As practice in using the laser to engrave a figure to a known depth, this seemed appropriate:
Envelope Opener – original
The black envelope opener on the right came in a long-ago surplus deal and worked really well, which I cannot say for the retail replacements I got a few years back.
The tan envelope opener on the left is an obvious case of IP theft, copying the size and shape using a scanned image:
Classic opener – knife blades – scan
The two blades seemed like good candidates, with the lower one winning the contest:
Kobalt 78010 Mini Utility Knife Blade mask
Although the pack of “mini utility knife blades” sports a Lowe’s Kobalt part number, they no longer carry that item. You can find plenty of identical blades elsewhere, so they’re not a rare collectible and I have plenty of backup.
Put the outline of the opener on a cut layer, put the blade on an engraving layer, orient appropriately, and make a mirror-image duplicate:
Envelope Opener – LB Layout
The original opener is a touch over 3 mm thick, so the settings engrave 0.25 mm into the surface to make a blade pocket, then cut the shapes from 1.5 mm TroCraft Eco:
Envelope Opener – cutting
After all the cutting was done, it looks about as you’d expect:
Envelope Opener – interior layout
Slather with yellow PVA wood glue and apply too many clamps:
Envelope Opener – clamping
Next time around, I’ll round off the edges before assembly, but that’s in the nature of fine tuning:
Envelope Opener – detail
The TroCraft sheet engraves so cleanly that, were I to go into mass production, I’d set up a fixture for grayscale engraving shaping the perimeters.
Obviously, this makes no economic sense, but it does produce a considerable amount of satisfaction, which is pretty much all that matters for such things.