Upgrade Puts A Lot Of Zeroes On Kit-Built Frequency Counter

If there’s anything more viscerally pleasing than seeing an eight-digit instrument showing a measurement with all zeroes after the decimal point, we’re not sure what it could. Maybe rolling the odometer over to another 100,000 milestone?

Regardless, getting to such a desirable degree of accuracy isn’t always easy, especially when the instrument in question is a handheld frequency counter that was built from a kit 23 years ago. That’s the target of [Petteri Aimonen]’s accuracy upgrade, specifically by the addition of a custom frequency reference module. The instrument is an ELV FC-500, which for such an old design looks surprisingly modern. Its Achille’s heel in terms of accuracy is the plain crystal oscillator it uses as a frequency standard, which has no temperature compensation and thus drifts by about 0.2 ppm per degree.

For a mains-powered lab instrument, the obvious solution would be an oven-controlled crystal oscillator. Those are prohibitive in terms of space and power for a handheld instrument, so instead a VCTCXO — voltage-controlled, temperature-compensated crystal oscillator — was selected for better stability. Unfortunately, no such oscillators matching the original 4.096-MHz crystal spec could be found; luckily, a 16.384-MHz unit was available for less than €20. All that was required was a couple of flip-flops to divide the signal by four and a bit of a bodge to replace the original frequency standard. A trimmer allows for the initial calibration — the “VC” part — and the tiny PCB tucks inside the case near the battery compartment.

We enjoyed the simplicity of this upgrade — almost as much as we enjoyed seeing all those zeroes. When you know, you know.

Wio Terminal Makes Passable Oscilloscope

There was a time when getting a good oscilloscope not only involved a large outlay of capital, but also required substantial real estate on a workbench. The situation has improved considerably for the hobbyist, but a “real” scope can still cost more than what a beginner is looking to spend. Luckily, plenty of modern microcontrollers are capable of acting as a basic oscilloscope in a pinch, provided there’s a display available to interface with it. Combined with the right software, the Wio Terminal looks like a promising option.

The Wio Terminal is a platform gaining some popularity due to its fairly capable SAMD51 microcontroller and also its integration with a display and a number of input buttons. On the hardware side, [mircemk] mounted the Terminal in a convenient vertical orientation and broke out a pair of connectors for the inputs.

But it’s the software that really makes this project work. [Play With Microcontroller] originally developed the firmware for the PIC24 back in 2017, but ported the code over to the Wio Terminal a couple years back. Noting that the microcontroller is not particularly fast, the project doesn’t exactly match the specifications or capabilities of a commercial unit. But still, it does an impressive job of recreating the experience of using a modern digital scope

The Wio Terminal is a device we’ve seen around here for a few unique projects, among them a device for preventing repetitive strain injuries while using a computer mouse and another that is a guide for game development in MicroPython. And if you’re just itching to port oscilloscope software to accessible but under-powered microcontrollers, be sure to check out [mircemk]’s other oscilloscope projects like this one built around the STM32 microcontroller.

Continue reading “Wio Terminal Makes Passable Oscilloscope”

This Pogo Pin Test Fixture Keep Your SMDs From Taking Flight

There’s no denying how useful surface mount technology is, and how enabling the ability to make really small circuits has become. It comes at a price, though; most of us probably know what it’s like for the slightest wrong move to send a part the size of a grain of sand into another dimension.

To help make testing these parts a little easier, [IMSAI Guy] has come up with this clever little SMD test fixture. It’s designed to hook up to another custom board, which in turn connects to a wonderful old Hewlett-Packard 4275A LCR meter. The jig is based on two pogo pins mounted directly across from each other on a scrap of single-clad PCB. The spring-loaded contacts, which short together when not in use, are pulled apart to load an SMD part, like the 1-μH inductors shown in the video below. The pins hold the component firmly and make good electrical contact, allowing hands-free testing without the risk of an errant touch of the test probes sending it flying.

While the test fixture works well for larger SMDs, we could see this being a bit fussy for smaller parts. That would be easy enough to fix with perhaps some 3D-printed arms that retract the pogo pins symmetrically, holding them open until the part is loaded. A centering fixture might help too, as would a clear shield to contain any parts that get the urge to go for a ride. But, for the tactical application [IMSAI Guy] has in mind, this sure seems like enough.

Just getting into surface mount? If so, you might want to check out this handy guide to the often cryptic markings used on SMD parts.

Continue reading “This Pogo Pin Test Fixture Keep Your SMDs From Taking Flight”

LED Tester Also Calculates Resistor For Target Voltage

[mircemk] built a slick-looking LED tester with a couple handy functions built in. Not only can one select a target current to put through an LED, but by providing a target voltage, the system will automatically calculate the necessary series resistor. If for example the LED is destined for 14 V, this device will not only show how the LED looks at the chosen current, but will calculate the required resistor to get the same results on a 14 V system.

The buttons on the left control the target current and the voltage of the destination system. Once an LED is connected it will light up and the display indicates the LED’s forward voltage, the LED current, and the calculated series resistor value to obtain the same result at the selected target voltage. It’s a handy way to empirically dial in LED brightness values without needing to actually set up any particular test environment.

On the inside there’s little more than a handful of passive components, an Arduino, an LCD display, and a few buttons. This kind of tool reminds us of the highly clever component testers that hit the hobbyist scene years ago, showing what kind of advanced tricks a modern microcontroller is capable of with the right programming. (Here’s a look at how those work, if you’re interested in some deeper details.)

[mircemk] demonstrates his tool in the video, embedded below. We particularly like the attention he paid to the enclosure, giving it a very functional layout. It goes to show that when designing something, it’s never too early to consider enclosure and UI layout.

Continue reading “LED Tester Also Calculates Resistor For Target Voltage”

Arbitrary Wave Generator For The Raspberry Pi Pico

Once upon a time, if you wanted to generate some waveforms, you needed to buy an expensive off-the-shelf function generator or whip up a big pile of analog electronics. Not so today, when you can grab a fast microcontroller off the shelf and have it squirt out whatever fancy waves you might desire. That’s just what [rgco] did to build this nifty arbitrary wave generator.

The build improves on prior work by [rgco] with the Arduino Uno, with which they built a device that could output at 381 kilosamples per second, with each sample update taking 42 instruction cycles. Thanks to the Pi Pico’s faster clock speed and certain performance optimizations, they were able to up that to a mighty 125 megasamples per second, using the DMA and PIO subsystems to output a new sample every single clock cycle.

The result is a cheap function generator you can build with a Pi Pico and a handful of resistors, which will probably cost you the grand total of $12. It readily outperforms, at least in regards of speed, devices based on the AD9833 function generator chip, which only runs at 25 megasamples. Plus, that chip can only output sines, triangles, and squares!

Even a passable function generator can be a useful tool to have in the workshop, as we’ve seen before. Video after the break.

Continue reading “Arbitrary Wave Generator For The Raspberry Pi Pico”

Come For The PCB Holder, Stay For The Tour Of FreeCAD

PCB holders are great tools. Not only is the PCB Solder Fren from [PistonPin] a nice DIY design, it offers some insight into the parts design process with FreeCAD.

This design nicely demonstrates FreeCAD’s workflow for designing parts.

The PCB holder uses 3D-printed parts, M5 hardware, a length of 2020 aluminum extrusion, and one spring to create a handy and adjustable design that accommodates a variety of PCB sizes and shapes. If the ends of the extrusion are threaded, the end caps can be screwed in. Otherwise, a little glue ought to do the trick.

Want a little more insight into what making a part like this involves? [Jo Hinchliffe] at FreeCAD reached out to [PistonPin] for more detail and has a blog post explaining the workflow and steps involved in this part. As a bonus, STEP files and the FreeCAD project file are all included!

Not only is FreeCAD simple to use, but it’s also flexible enough to accommodate custom, niche extensions like a Rocketry workbench, so be sure to give it a look for your open-source CAD needs.

CNC Plus Microscope Plus Game Controller Equals Awesome

What do you get if you strap a microscope onto a CNC and throw in a gaming controller? The answer, according to Reddit user [AskewedBox] is something kind of awesome: you get a microscope that can be controlled with the game controller for easier tracking of tiny creepy-crawlies.

[ASkewedBox] set up this interesting combination of devices, attaching their Adonostar AD246S microscope to the stage of a no-brand 1610 CNC bought off Amazon, then connected the CNC to a computer running Universal G-Code Sender. This great open source program takes the input from an Xbox game controller and uses it to jog the CNC.

With a bit of tweaking, the game controller can now move the microscope, so it can be used to track microbes and other small creatures as they wander around on the slide mounted below the microscope eating each other. The movement of this is surprisingly smooth: the small CNC and a well-mounted microscope means that there seems to be very little wobble or backlash as the microscope moves.

[Askewedbox] hasn’t finished yet, though: in the latest update, he adds a polarizing lens to the setup and mentions that he wants to add focus control to the system, which is controlled by a remote that comes with the microscope.

There are plenty of other things that could be added beyond that, though, such as auto pan and stitch for larger photos, auto focus stacking and perhaps even auto tracking using OpenCV to track the hideous tiny creatures that live in the microscopic realm. What would you do to make this even cooler?