Building A Swiss Army Lab With Software Defined Instrumentation

It’s a fair bet that anyone regularly reading Hackaday has a voltmeter within arm’s reach, and there’s a good chance an oscilloscope isn’t far behind. But beyond that, things get a little murky. We’re sure some of you have access to a proper lab full of high-end test gear, even if only during business hours, but most of us have to make do with the essentials due to cost and space constraints.

The ideal solution is a magical little box that could be whatever piece of instrumentation you needed at the time: some days it’s an oscilloscope, while others it’s a spectrum analyzer, or perhaps even a generic data logger. To simplify things the device wouldn’t have a physical display or controls of its own, instead, you could plug it into your computer and control it through software. This would not only make the unit smaller and cheaper, but allow for custom user interfaces to be created that precisely match what the user is trying to accomplish.

Wishful thinking? Not quite. As guest host Ben Nizette explained during the Software Defined Instrumentation Hack Chat, the dream of replacing a rack of test equipment with a cheap pocket-sized unit is much closer to reality than you may realize. While software defined instruments might not be suitable for all applications, the argument could be made that any capability the average student or hobbyist is likely to need or desire could be met by hardware that’s already on the market.

Ben is the Product Manager at Liquid Instruments, the company that produces the Moku line of multi-instruments. Specifically, he’s responsible for the Moku:Go, an entry-level device that’s specifically geared for the education and maker markets. The slim device doesn’t cost much more than a basic digital oscilloscope, but thanks to the magic of software defined instrumentation (SDi), it can stand in for eleven instruments — all more than performant enough for their target users.

So what’s the catch? As you might expect, that’s the first thing folks in the Chat wanted to know. According to Ben, the biggest drawback is that all of your instrumentation has to share the same analog front-end. To remain affordable, that means everything the unit can do is bound by the same fundamental “Speed Limit” — which on the Moku:Go is 30 MHz. Even on the company’s higher-end professional models, the maximum bandwidth is measured in hundreds of megahertz.

Additionally, SDI has traditionally been limited to the speed of the computer it was attached to. But the Moku hardware manages to sidestep this particular gotcha by running the software side of things on an internal FPGA. The downside is that some of the device’s functions, such as the data logger, can’t actually live stream the data to the connected computer. Users will have to wait until the measurements are complete before they  pull the results off, though Ben says there’s enough internal memory to store months worth of high-resolution data.

Of course, as soon as this community hears there’s an FPGA on board, they want to know if they can get their hands on it. To that end, Ben says the Moku:Go will be supported by their “Cloud Compile” service in June. Already available for the Moku:Pro, the browser-based application allows you to upload your HDL to the Liquid Instruments servers so it can be built and optimized. This gives power users complete access to the Moku hardware so they can build and deploy their own custom features and tools that precisely match their needs without a separate development kit. Understanding that obsolescence is always a problem with a cloud solution, Ben says they’re also working with Xilinx to allow users to do builds on their own computers while still implementing the proprietary “secret sauce” that makes it a Moku.

It’s hard not to get excited about the promise of software defined instrumentation, especially with companies like Liquid Instruments and Red Pitaya bringing the cost of the hardware down to the point where students and hackers can afford it. We’d like to thank Ben Nizette for taking the time to talk with the community about what he’s been working on, especially given the considerable time difference between the Hackaday Command Center and Liquid’s Australian headquarters. Anyone who’s willing to jump online and chat about FPGAs and phasemeters before the sun comes up is AOK in our book.


The Hack Chat is a weekly online chat session hosted by leading experts from all corners of the hardware hacking universe. It’s a great way for hackers connect in a fun and informal way, but if you can’t make it live, these overview posts as well as the transcripts posted to Hackaday.io make sure you don’t miss out.

Super Simple Scope Shambles Solution

Sometimes the projects we write up for Hackaday require their creators to produce pages of technical explanation, while others need only rely on the elegance of the hack itself. The Scope Probe Caddy from [Tonyo] has probably one of the shortest write-ups we’ve linked to from a Hackaday piece, because its utility is self-evident just by looking at it.

Scope probe connector with 3d printed organiser attached.
The Hackaday Rigol gets the caddy treatment.

It’s likely that everyone who has owned an oscilloscope will have encountered this problem: that multiple ‘scope probes soon manifest themselves into a tangled mess, an unruly octopus which threatens to overwhelm your bench. The probe organizer is an extremely simple solution tot his problem, a 3D printed clip which fits over the probe connector and into which the probe itself can also slot.

The clip comes as an OpenSCAD file, which starts with a range of size definitions for different types of probe connector. The Rigol we have here isn’t among them, but a very quick measurement with the calipers allowed us to enter the size of a Rigol probe connector at 11.5 mm. It’s not often we make something we’re  writing up as we’re writing it, but in this case a quick bit of 3D printing and we too have tidy probe storage. With the addition of a cable tie or a small nut and bolt it’s assembled, and now helps make a Hackaday bench a little clearer.

Once you’ve printed this organizer, you might want to turn your attention to the probe itself.

Genaille’s Rods: When Paint Sticks Do Math

What is a hacker, if not somebody who comes up with solutions that other just don’t see? All the pieces may be in place, but it takes that one special person to view the pieces as greater than the sum of their parts. As [Chris Staecker] explains in the video below the break, Henri Genaille was one such person.

When French mathematician Edouard Lucas (himself well known for calculating the longest prime number found by hand) posed a mathematical problem at the French Academy, a French railway engineer named Henri Genaille developed the rods we’re discussing now.

Genaille’s Rods are designed to perform multiplication. But rather than require computation by the user, the rods would simply need to be laid out in the correct order. The solution could readily be found by just following the lines in the correct pattern. This might sound a lot like cheating, and that’s exactly what it is. No manual math needed to be done. Genaille also created rods for doing long division, which we’re sure were every bit as enthralling as the multiplication rods. Demonstrations of both are included in the video below.

While Genaille’s Rods have gone the way of the slide rule, we can’t help but wonder how many engineers and scientists carried around a set of marked up wooden sticks in their pocket protector.

If designing and building manual mathematical machines is something that you think really adds up to a good time, check out this post on how to design and build your own circular slide rule!

Continue reading “Genaille’s Rods: When Paint Sticks Do Math”

SMT Part Counter Aims To Ease Taking Inventory

[Nick Poole] has an interesting idea for a new tool, one that has the simple goal of making accurate part counts of SMT reels as easy as pulling tape through a device. That device is the BeanCounter, an upcoming small handheld unit of his own design that counts parts as quickly as one can pull tape through a slot. The device is powered by a CR2032 cell and and works with 8 mm wide tapes up to 2 mm in height, which [Nick] says covers most 0805 or smaller sized parts, as well as things like SOT-23 transistors.

Why would one want to make such a task easier? Two compelling reasons for such a tool include: taking inventory of parts on partial reels or cut tape, and creating segments that contain a known number of parts.

The first is handy for obvious reasons, and the second is useful for things like creating kits. In fact, the usefulness of this tool for creating tape segments of fixed length is perhaps not obvious to anyone who hasn’t done it by hand. Sure, one can measure SMT tape with a ruler or a reference mark to yield a segment containing a fixed number of parts, but that involves a lot of handling and doesn’t scale up very well. In fact, the hassle of cutting tape segments accurately and repeatedly is a common pain point, so making the job easier has value.

If you looked at the photos and suspected that the big, 7-segment numeric display is done with clever PCB fabrication options (making segments by shining LEDs through PCB layers, a trick we always like to see) you’re not alone. After all, [Nick] has a lot of experience in getting clever with board fabrication, and eagle-eyed readers may even suspect that the reset and setup buttons on the edge of the tool are created by using flex PCB segments as switches. Want the nitty-gritty details? Visit the GitHub repository for the project and see it all for yourself at the CAD level.

Bring Precision To The Woodshop With An Electronic Router Lift

One of the knocks that woodworkers get from the metalworking crowd is that their chosen material is a bit… compliant. Measurements only need to be within a 1/16th of an inch or so, or about a millimeter, depending on which side of the Atlantic you’re on. And if you’re off a bit? No worries, that’s what sandpaper is for.

This electronic router lift is intended to close the precision gap and make woodworking a bit less subjective. [GavinL]’s build instructions are clearly aimed at woodworkers who haven’t dabbled in the world of Arduinos and stepper motors, and he does an admirable job of addressing the hesitancy this group might feel when tackling such a build. Luckily, a lot of the mechanical side of this project can be addressed with a commercially available router lift, which attaches to a table-mounted plunge router and allows fine adjustment of the cutting tool’s height from above the table.

What’s left is to add a NEMA 23 stepper to drive the router lift, plus an Arduino to control it. [GavinL] came up with some nice features, like a rapid jog control, a fine adjustment encoder, and the ability to send the tool all the way up or all the way down quickly. Another really nice touch is the contact sensor, which is a pair of magnetic probes that attach temporarily to the tool and a height gauge to indicate touch-off. Check the video below to see it all in action.

One quibble we have with [GavinL]’s setup is the amount of dust that the stepper will be subjected to. He might need to switch out to a dustproof stepper sooner rather than later. Even so, we think he did a great job bridging the gap between mechatronics and woodworking — something that [Matthias Wandel] has been doing great work on, too.

Continue reading “Bring Precision To The Woodshop With An Electronic Router Lift”

Custom-Fit Small Shop Crane Lightens The Load

On the shortlist of workshop luxuries, we’d bet a lot of hackers would include an overhead crane. Having the ability to lift heavy loads safely and easily opens up a world of new projects, and puts the shop into an entirely different class of capabilities.

As with many of us, [Jornt] works in a shop with significant space constraints, so the jib crane he built had to be a custom job. Fabricated completely from steel tube, the build started with fabricating a mast to support the crane and squeezing it into a small slot in some existing shelves in the shop, which somehow didn’t catch on fire despite being welded in situ. A lot of custom parts went into the slewing gear that mounts the jib, itself a stick-built space frame that had to accommodate a pitched ceiling. A double row of tubing along the bottom of the jib allows a trolley carrying a 500 kg electric winch to run along it, providing a work envelope that looks like it covers the majority of the shop. And hats off for the safety yellow and black paint job — very industrial.

From the look of the tests in the video below, the crane is more than up to the task of lifting engines and other heavy loads in the shop. That should prove handy if [Jornt] tackles another build like his no-compromises DIY lathe again.

Continue reading “Custom-Fit Small Shop Crane Lightens The Load”

Gridfinity: 3D Printed Super Quick Tool Storage And Retrieval

Our favourite cyborg [Zack Freedman] has been stumbling over a common problem many of us will be all too familiar with — that of tool storage and the optimal retrieval thereof. His solution is the Gridfinity: A modular workshop organisation system.

Never chase your pen around on the desk again

In [Zack]’s words, the perfect workshop has tools and materials arranged in the following way: (a) every item has a dedicated home within reach of where you’ll use it. (b) items are exposed and in position for instant grabification. (c) the storage system shields you from accidents like spills and injuries. (d) it is effortless to setup and easy to put back and rearrange. An instant-access storage solution such as the Gridfinity is designed not to help you store more stuff, but finish more projects. The idea is very simple — display your stuff so that you can quickly find what you need and get back to the project as quickly as possible. We think these aims are pretty spot on!

From an implementation perspective, the system consists of a 3D printed base plate with a grid structure. It is angled internally so storage bins drop in, but are not easy to knock out. Storage units drop into the grid in various sizes and orientations, such that everything is contained within the grid’s outer boundary, so the whole assembly will fit inside a drawer with ease. Small part storage bins have a curved inner surface enabling one to easily scoop out a part when required.  A partial lid on the top allows them to be stacked vertically if required.

Super-quick access to fully sorted stock – no more searching

Whilst the system is work in progress, there are still about a hundred different storage units, for anything from 3D printer nozzles to racks for tweezers. Implemented as parameterised models in Fusion360, it is easy to tweak existing models for your stuff, or create totally new ones, from the supplied templates.

No discussion of tool organisation would be complete without first considering the king of tool organisation [Adam Savage], the principle of first order retrieval is a strong one. For a more in-your-face solution, you could go down the pegboard-on-wheels route, or perhaps if you’re less mobile and in a tight squeeze, then get comfortable with the French cleat and build something full custom right into the walls. Whatever solution you come up with, do share it with us!

Continue reading “Gridfinity: 3D Printed Super Quick Tool Storage And Retrieval”