Easy Focus Stacking With Your CNC Machine

Macro photography is the art of taking photos of things very close up, and ideally at great detail. Unfortunately cameras have poor depth of field at close ranges, so to get around this, many use focus stacking techniques. This involves taking many photos at different focal lengths and digitally compositing them together. To help achieve this, [gtoal] realized that garden variety CNC machines would be perfect for the job.

To focus stack effectively, it’s desirable to move the camera in very small increments of sub-mm precision, in order to get different parts of the subject in focus. For this, a CNC machine excels, as it’s designed to move tool heads in very tiny, precise movements.

To achieve a bargain focus stacking rig, [gtoal] used a Dremel tool mount for cutting discs. It’s repurposed here, used as an easy way to fit a Raspberry Pi camera to a CNC tool head through its mounting holes. From there, it’s a simple manner of stepping the CNC a tiny amount at a time on the Z-axis, while taking photos with the Raspberry Pi along the way. [gtoal] notes that it would be simple for an experienced CNC user to whip up a program to automate the entire process.

We’ve seen other budget focus stacking rigs before, and even a busted 3D printer that was turned into an automated scanning microscope. If you’ve got your own tricks for top notch macro photography, drop us a note in the tipline!

The B-Sides: Curious Uses Of Off-the-Shelf Parts

I admit: a few years of prototyping without easy machine shop access really whets my tastebuds for turning metal chips. But all that time spent away from proper machine tools has also pushed me to re-imagine part catalogs, something I see almost every day. Without any precision metalworking tools handy, stock mechanical parts have become my supplement for complexity. And so a former dogma to machine-everything-thyself has been transformed into a hunt for that already-made-part-that-does-it-for-you.

But with part catalogs featuring tens of thousands of purpose-built parts, I started reimagining some of them for other misdeeds. And after a few years spent reinventing use cases for some of these parts, I’m about ready to tell you how to misuse them properly. So today I’d like to show you some of my favorite mechanical part B-sides, so to speak. These are ordinary parts in unorthodox places–something you surely won’t find in the datasheet! Now let’s have a look. Continue reading “The B-Sides: Curious Uses Of Off-the-Shelf Parts”

Laser-Etching Photos On To Eggs

CNC machines are every maker’s dream. Capable of churning out accurate parts from CAD designs with a minimum of manual labor, they’re a great tool to have in the workshop. Alternatively, you can use them for more entertaining pursuits. [Leo]’s project is one of the latter – etching greyscale photos on to eggs.

The first thing you’ll need is an egg-compatible CNC machine. The Eggbot is a popular option, else a fourth-axis on an existing machine can also do the job as in [Leo]’s case. Coupling the egg is a delicate task, for which some rubber paper rollers are salvaged from an old printer and put to work. Then, a laser needs to be fitted to the CNC head, and the egg depth mapped with a probe to ensure the entire etching is in focus. Then it’s simply a matter of loading up an image, and turning the greyscale data into the relevant G-code to burn it onto the egg.

Using eggs coated in black ink, the results [Leo] achieves are impressive. The eggs would make an amusing Easter gift, or serve as a great cheap way to teach students about CNC techniques. Obviously, eye protection is a must, and be sure to mount your laser securely to avoid any unintentional exposures. Video after the break.

Continue reading “Laser-Etching Photos On To Eggs”

Mini CNC Mill Goes Horizontal To Reuse CD Drives

Here at Hackaday, we pride ourselves on bringing you the freshest of hacks, preferably as soon as we find out about them. Thanks to the sheer volume of cool hacks out there, though, we do miss one occasionally, like this e-waste horizontal CNC mill that we just found out about.

Aptly called the “CDCNC” thanks to its reliance on cast-off CD drive mechanisms for its running gear, [Paul McClay]’s creation is a great case study on what you can do without buying almost any new parts. It’s also an object lesson in not getting caught in standard design paradigms. Where most CNC mills mount the spindle vertically, [Paul] tilted the whole thing 90 degrees so the spindle lies on its side. Moving it back and forth on a pair of CD drive mechanisms is far easier than fighting gravity for control, and as a bonus the X- and Y-axes have minimal loading too. The video below shows the mill in action, and it’s easy to see how the horizontal arrangement really helps make this junk bin build into something special.

We think [Paul] did a great job of thinking around the problem with this build, and we’re glad he took the time to tip us off. Apparently it was the upcoming CNC on the Desktop Hack Chat that moved him to let us know about this build. Here’s hoping he drops by for the chat and shares his experience with us.

Continue reading “Mini CNC Mill Goes Horizontal To Reuse CD Drives”

Seeing The Skill Is Better Than Seeing The Project

Pulling off a flashy project that gets the viral-media hug of widespread approval feels great. Getting there is no easy path to walk and often times the craft that went into a finished project doesn’t even take the back seat but gets no mention at all. Often I find I’m more impressed by — or a least my attention is more strongly captured by — the skills put on display as prominently as the finished build.

Case-in-point this week comes from the model railroad work of [Diorama111]. Seeing an OLED screen in the nose of an HO scale locomotive just like the real-life version is impressive, but how many people missed the one-off soldering masterpiece that went into this one? You’ll marvel at the SMD techniques used with through-hole protoboard on this one.

Occasionally we do get to look over the shoulder of the master as decades of skills are shared for the purpose of passing them on. So was the case back in May when we watched as [Leo] walked through his tips and tricks for prototyping at the electronics bench. This included a lot of non-obvious but clever stuff; tips on working with copper tape for solder buses, using Teflon tubing with bare wire instead of stripping PVC-insulated wire, and a deep dive into copper clad prototyping.

So remember all of us hardware geeks when you look to tell the story of your project. We want to know how it was done at least as much as what was done. There was a time when electronic designers were a separate work group from electronic technicians (and wow, those technicians were in a league of their own). These days we all have that technician hat hanging on our workbenches and I’m always interested in packing in yet another unlearnt skill. Throw us a bone!

Hammer Seeks Nail

People sometimes say “when you have a hammer, everything looks like a nail” as if that were a bad thing. Hitting up Wikipedia, they’re calling it the Law of the Instrument or Maslow’s Hammer and calling it a cognitive bias. But I like hammers…

I’m working on a new tool, a four-axis hot-wire foam cutter based roughly on this design, but built out of stuff in my basement so far. I want it primarily to turn out wings for RC airplanes so that I can play around with airfoils and construction methods and so on. But halfway through building this new “hammer”, I’m already getting funny ideas of other projects that could be built with it. Classic nail-seeking behavior.

And some of these thoughts are making me reconsider the design of my hammer. I originally wanted to build it low, because it’s not likely that I’ll ever want to cut wing sections taller than 50 mm or so. But as soon as cutting out giant letters to decorate my son’s room, or maybe parts for a boat hull enter my mind, that means a significantly taller cutter, with ensuing complications.

So here I am suffering simultaneously from Maslow’s Hammer and scope creep, but I’m not sad about either of these “ills”. Playing with a couple manual prototypes for the CNC hot-wire cutter has expanded my design vocabulary; I’ve thought of a couple cool projects that I simply wouldn’t have had the mental map for before. Having tools expands the possible ways you can build, cognitive bias or not.

One person’s scope creep is another’s “fully realizing the potential of a project”. I’m pretty sure that I’ll build a version two of this machine anyway, so maybe it’s not a big deal if the first draft were height-limited, but the process of thinking through the height problem has actually lead me to a better design even for the short cutter. (Tension provided by an external bow instead of born by the vertical CNC towers. I’ll write the project up when I’m done. But that’s not the point.)

Maybe instead of lamenting Maslow’s cognitive bias, we should be celebrating the other side of the same coin: that nails are tremendously useful, and that the simple fact of having a hammer can lead you to fully appreciate them, and in turn expand what you’re capable of. As for scope creep? As long as I get the project done over my vacation next week, all’s well, right?

The Redesigned CNC Scroll Saw Rides Again

When [Andrew Consroe] tried to build a CNC scroll saw, he quickly learned how tricky of a design problem it is. With a blade that only cuts in one direction, you can’t simply move the tool in the X and Y dimensions like you can with a laser or router; either the work piece or the blade itself needs to continuously rotate towards the direction of the cut.

He’s recently shown off the third version of the machine, and while it’s still not exactly a practical tool, there’s no question it’s a brilliantly designed one, or that it works, slowly. Earlier attempts used a rotating table to spin the work piece, but [Andrew] found this to be an imperfect solution. Building a mechanism heavy duty enough to spin the material being cut while remaining accurate enough not to break the blade was a tall order, though he did get pretty close.

The earlier version used a rotating table.

This time around he’s decided to simply rotate the blade itself. This can be accomplished with a single stepper motor and some suitably sized pulleys, while maintaining an exceptionally high degree of accuracy. The whole blade assembly moves up and down on an aluminum extrusion rail with a motor and crank arrangement. By synchronizing the rotation of the blade with the vertical movement of the saw, the software can be sure that everything is where it needs to be before the cutting stroke actually happens.

Judging by the video after the break, the system works quite well. The complex rounded shapes he cuts out of the piece of plywood look essentially perfect, and it sounds like this new version of the machine isn’t breaking blades due to positional errors like the previous one did. Unfortunately, it’s also very slow. There’s so many moving parts and careful positioning required that even when the video is sped up 10x, the saw still appears to only be creeping its way through theĀ  material.

On the back half of the video, [Andrew] details another approach to rotating the blade that would reduce the amount of moving mass in the saw. This would give the machine a considerable speed boost, and we’d love to see him implement it. By the way, before anyone says it: using a spiral blade is cheating.

Continue reading “The Redesigned CNC Scroll Saw Rides Again”