Hackaday Links Column Banner

Hackaday Links: October 25, 2020

Siglent has been making pretty big inroads into the mid-range test equipment market, with the manufacturers instruments popping up on benches all over the place. Saulius Lukse, of Kurokesu fame, found himself in possession of a Siglent SPD3303X programmable power supply, which looks like a really nice unit, at least from the hardware side. The software it came with didn’t exactly light his fire, though, so Saulius came up with a Python library to control the power supply. The library lets him control pretty much every aspect of the power supply over its Ethernet port. There are still a few functions that don’t quite work, and he’s only tested it with his specific power supply so far, but chances are pretty good that there’s at least some crossover in the command sets for other Siglent instruments. We’re keen to see others pick this up and run with it.

From the “everyone needs a hobby” department, we found this ultra-detailed miniature of an IBM 1401 mainframe system to be completely enthralling. We may have written this up at an earlier point in its development, but it now appears that the model maker, 6502b, is done with the whole set, so it bears another look. The level of detail is eye-popping — the smallest features of every piece of equipment, from the operator’s console to the line printer, is reproduced . Even the three-ring binders with system documentation are there. And don’t get us started about those tape drives, or the wee chair in period-correct Harvest Gold.

Speaking of diversions, have you ever wondered how many people are in space right now? Or how many humans have had the privilege to hitch a ride upstairs? There’s a database for that: the Astronauts Database over on Supercluster. It lists pretty much everything — human and non-human — that has been intentionally launched into space, starting with Yuri Gagarin in 1961 and up to the newest member of the club, Sergey Kud-Sverchkov, who took off got the ISS just last week from his hometown of Baikonur. Everyone and everything is there, including “some tardigrades” that crashed into the Moon. They even included this guy, which makes us wonder why they didn’t include the infamous manhole cover.

And finally, for the machinists out there, if you’ve ever wondered what chatter looks like, wonder no more. Breaking Taps has done an interesting slow-motion analysis of endmill chatter, and the results are a bit unexpected. The footage is really cool — watching the four-flute endmill peel mild steel off and fling the tiny curlicues aside is very satisfying. The value of the high-speed shots is evident when he induces chatter; the spindle, workpiece, vise, and just about everything starts oscillating, resulting in a poor-quality cut and eventually, when pushed beyond its limits, the dramatic end of the endmill’s life. Interesting stuff — reminds us a bit of Ben Krasnow’s up close and personal look at chip formation in his electron microscope.

Simple Plasma Cutter Collision Detection System

Machine tools often have powerful drive motors, allowing them to work quickly and accurately to get the job done fast. However, this can cause major damage if the tool head collides with an unexpected object. To protect against such occurances, [Xnaron] developed a simple system to shut down his plasma cutter in the event of a crash.

The system consists of a 3D printed collar that fits around the plasma cutting torch. The collar has two mating parts, which are held together with three magnets and three ball bearings to act as a key, maintaining the correct orientation. Three limit switches are then fitted, held closed by the two mating halves. When the torch collides with an object, this causes the magnetic coupling to seperate, triggering one or more of the limit switches, and shutting down the machine safely.

Video of an unplanned collision shows the device working well. It’s a neat solution that could probably be adapted to other types of machine tool that don’t experience high lateral forces. Of course, if you don’t yet have a plasma cutter, you can always make your own. Video after the break.

Continue reading “Simple Plasma Cutter Collision Detection System”

Linux In The Machine Shop Hack Chat

Join us on Wednesday, July 8 at noon Pacific for the Linux in the Machine Shop Hack Chat with Andy Pugh!

From the time that numeric control started making inroads into machine shops in the middle of the last century until relatively recently, the power of being able to control machine tools with something other than a skilled human hand was evident. Unfortunately, the equipment to do so was expensive, and so NC technology remained firmly in the big shops, where a decent return on investment could be realized.

Fast forward a few decades, and everything that makes the computerized version of NC possible is cheap and easily available. Servos, steppers, drivers, and motion control components can be plugged together into CNC machines that can move a tool to a fixed point in space with incredible accuracy and repeatability. But without CNC software, none of it means a thing.

Enter Linux CNC, the free and open-source CNC package. With support for realtime operation, one-step installations, and a huge range of capabilities provided by a team of volunteer developers and supported by an active community, Linux CNC has democratized the world of CNC machines.

Andy Pugh is a frequent contributor to the Linux CNC codebase and a moderator on the forum. He knows a thing or two about Linux CNC in particular and Linux in the machine shop in general. He’ll stop by the Hack Chat to share his experiences with the Linux CNC project, tell us how Linux can revolutionize the machine shop, and maybe share a few stories from the world of CAD, CAM, and using Linux to make a few chips.

join-hack-chatOur Hack Chats are live community events in the Hackaday.io Hack Chat group messaging. This week we’ll be sitting down on Wednesday, July 8 at 12:00 PM Pacific time. If time zones have you down, we have a handy time zone converter.

Click that speech bubble to the right, and you’ll be taken directly to the Hack Chat group on Hackaday.io. You don’t have to wait until Wednesday; join whenever you want and you can see what the community is talking about.

Continue reading “Linux In The Machine Shop Hack Chat”

A Practical Look At Chokes For EMI Control

Radio frequency electronics can seem like a black art even to those who intentionally delve into the field. But woe betide the poor soul who only incidentally has to deal with it, such as when seeking to minimize electromagnetic interference. This primer on how RF chokes work to reduce EMI is a great way to get explain the theory from a practical, results-oriented standpoint.

As a hobby machinist and builder of machine tools, [James Clough] has come across plenty of cases where EMI has reared its ugly head. Variable frequency drives are one place where EMI can cause problems, and chokes on the motor phase outputs are generally prescribed. He used an expensive choke marketed as specific for VFD applications on one of his machines, but wondered if a cheap ferrite core would do the job just as well, and set to find out.

A sweep of some ferrite cores with a borrowed vector network analyzer proved unsatisfying, so [James] set up a simple experiment with a function generator and an oscilloscope. His demo shows how the impedance of a choke increases with the frequency of the test signal, which is exactly the behavior that you’d want in a VFD – pass the relatively low-frequency phase signals while blocking the high-frequency EMI. For good measure, he throws a capacitor in parallel to the choke and shows how much better a low-pass filter that makes.

We love demos like this that don’t just scratch an intellectual itch but also have a practical goal. [James] not only showed that (at least in some cases) a $13 ferrite can do the same job as a $130 VFD choke, but he showed how they work. It’s basic stuff, but it’s what you need to know to move on to more advanced RF filter designs.

Continue reading “A Practical Look At Chokes For EMI Control”

3D-Printed Tools Turn Bench Vise Into Expedient Press Brake

Chances are pretty good that most of us have used a bench vise to do things far beyond its intended use. That’s understandable, as the vise may be the most powerful hand tool in many shops, capable of exerting tons of pressure with the twist of your wrist. Not taking advantage of that power wouldn’t make any sense, would it?

Still, the clamping power of the vise could sometimes use a little finesse, which is the thinking behind these 3D-printed press brake tools.  [Brauns CNC] came up with these tools, which consist of a punch and a die with mating profiles. Mounted to the jaws of the vise with magnetic flanges, the punch is driven into the die using the vise, forming neat bends in the metal. [Braun] goes into useful detail on punch geometry and managing springback of the workpiece, and handling workpieces wider than the vise jaws. The tools are printed in standard PLA or PETG and are plenty strong, although he does mention using his steel-reinforced 3D-printing method for gooseneck punches and other tools that might need reinforcement. We’d imagine carbon-fiber reinforced filament would add to the strength as well.

To be sure, no matter what tooling you throw at it, a bench vise is a poor substitute for a real press brake. Such machine tools are capable of working sheet metal and other stock into intricate shapes with as few setups as possible, and bring a level of power and precision that can’t be matched by an improvised setup. But the ability to make small bends in lighter materials with homemade tooling and elbow grease is a powerful tool in itself.

Continue reading “3D-Printed Tools Turn Bench Vise Into Expedient Press Brake”

Used EDM Electrodes Repurposed As Air Bearings For Precision Machine Tools

If you’ve ever played air hockey, you know how the tiny jets of air shooting up from the pinholes in the playing surface reduce friction with the puck. But what if you turned that upside down? What if the puck had holes that shot the air downward? We’re not sure how the gameplay would be on such an inverse air hockey table, but [Dave Preiss] has made DIY air bearings from such a setup, and they’re pretty impressive.

Air bearings are often found in ultra-precision machine tools where nanometer-scale positioning is needed. Such gear is often breathtakingly expensive, but [Dave]’s version of the bearings used in these machines are surprisingly cheap. The working surfaces are made from slugs of porous graphite, originally used as electrodes for electrical discharge machining (EDM). The material is easily flattened with abrasives against a reference granite plate, after which it’s pressed into a 3D-printed plastic plenum. The plenum accepts a fitting for compressed air, which wends its way out the micron-sized pores in the graphite and supports the load on a thin cushion of air. In addition to puck-style planar bearings, [Dave] tried his hand at a rotary bearing, arguably more useful to precision machine tool builds. That proved to be a bit more challenging, but the video below shows that he was able to get it working pretty well.

We really enjoyed learning about air bearings from [Dave]’s experiments, and we look forward to seeing them put to use. Perhaps it will be in something like the micron-precision lathe we featured recently.

Continue reading “Used EDM Electrodes Repurposed As Air Bearings For Precision Machine Tools”

Benchtop Lathe Gets An Electronic Leadscrew Makeover

The king of machine tools is the lathe, and if the king has a heart, it’s probably the leadscrew. That’s the bit that allows threading operations, arguably the most important job a lathe can tackle. It’s a simple concept, really – the leadscrew is mechanically linked through gears to the spindle so that the cutting tool moves along the long axis of the workpiece as it rotates, allowing it to cut threads of the desired pitch.

But what’s simple in concept can be complicated in reality. As [Clough42] points out, most lathes couple the lead screw to the spindle drive through a complex series of gears that need to be swapped in and out to accommodate different thread pitches, and makes going from imperial to metric a whole ball of wax by itself. So he set about building an electronic leadscrew for his lathe. The idea is to forgo the gear train and drive the leadscrew directly with a high-quality stepper motor. That sounds easy enough, but bear in mind that the translation of the tool needs to be perfectly synchronized with the rotation of the spindle to make threading possible. That will be accomplished with an industrial-grade quadrature encoder coupled to the spindle, which will tell software running on a TI LaunchPad how fast to turn the stepper – and in which direction, to control thread handedness. The video below has some great detail on real-time operating systems on microcontrollers as well as tests on all the hardware to be used.

This is only a proof of concept at this point, but we’re looking forward to the rest of this series. In the meantime, [Quinn Dunki]’s excellent series on choosing a lathe should keep you going.

Continue reading “Benchtop Lathe Gets An Electronic Leadscrew Makeover”