STM32 Offers Performance Gains For DIY Oscilloscope

There’s no shortage of cheap digital oscilloscopes available today from the usual online retailers, but that doesn’t mean the appeal of building your own has gone away — especially when we have access to powerful microcontrollers that make it easier than ever to spin up custom gear. [mircemk] is using one of those microcontrollers to build an improved, pocket-sized oscilloscope.

The microcontroller he’s chosen is the STM32F103C8T6, part of the 32-bit STM family which has tremendous performance compared to common 8-bit microcontrollers for only a marginally increased cost. Paired with a small 3-inch TFT color display, it has enough functions to cover plenty of use cases, capable of measuring both AC and DC signals, freezing a signal for analysis, and operating at an impressive 500 kHz at a cost of only around $15. The display also outputs a fairly comprehensive analysis of the incoming signal as well, with the small scope capable of measuring up to 6.6 V on its input.

This isn’t [mircemk]’s first oscilloscope, either. His previous versions have used Arduinos, generally only running around 50 kHz. With the STM32 microcontroller the sampling frequency is an order of magnitude higher at 500 kHz. While that’s not going to beat the latest four-channel scope from Tektronix or Rigol, it’s not bad for the form factor and cost and would be an effective scope in plenty of applications. If all you have on hand is an 8-bit microcontroller, though, we have seen some interesting scopes built with them in the past.

Badminton String Winder Gets The Tension Just Right

If you want to keep your badminton game at its peak, you’ll need a good racket with a proper set of strings. When an injury kept [Antonie Colin] off the court for a few months, building a restringing machine helped pass the time.

The design is straightforward, using commonly-available motion components and 3D-printed parts. The round assembly at one end is used to hold the racket during the restringing process. A leadscrew mechanism driven by a stepper motor is used to apply tension to the strings, anywhere from 18 lbs to 34 lbs. Strings can also be prestretched if so desired. The stringing process is managed by an Arduino, which uses a loadcell to monitor tension placed on the strings. An LCD screen on the device provides feedback on the process and allows various functions to be selected. Flying clamps are used to hold strings in place during the process, either fitted from above or below the device as needed.

If you find yourself regularly restringing your badminton racket, or you simply don’t trust your local pro shop to do so, you might find this build useful. You might also like to build a shuttlecock launcher for training if your practice partners aren’t available on the regular. Our badminton department is looking rather bare at the moment, so don’t hesitate to send your own nifty hacks in to the tipsline!

Hackaday Prize 2023: AC Measurements Made Easy

When working on simple DC systems, a small low-cost multimeter from the hardware store will get the job done well enough. Often they have the capability for measuring AC, but this is where cheap meters can get tripped up. Unless the waveform is a perfect sinusoid at a specific frequency, their simple algorithms won’t be able to give accurate readings like a high-quality meter will. [hesam.moshiri] took this as a design challenge, though, and built an AC multimeter to take into account some of the edge cases that come up when working with AC circuits, especially when dealing with inductive loads.

The small meter, an upgrade from a previous Arduino version that is now based on the ESP32, is capable of assessing root mean square (RMS) voltage, RMS current, active power, power factor, and energy consumption after first being calibrated using the included push buttons. Readings are given via a small OLED screen and have an accuracy rate of 0.5% or better. The board also includes modern design considerations such as galvanic isolation between the measurement side of the meter and the user interface side, each with its own isolated power supply.  The schematics and bill-of-materials are also available for anyone looking to recreate or build on this design.

With the project built on an easily-accessible platform like the ESP32, it would be possible to use this as a base to measure other types of signals as well. Square and triangle waves, as well as signals with a large amount of harmonics or with varying frequencies, all need different measurement techniques in order to get accurate readings. Take a look at this classic multimeter to see what that entails.

Continue reading “Hackaday Prize 2023: AC Measurements Made Easy”

Nifty MIG Welder Built From Scrap

A MIG welder is a great tool to have. With machine fed wire and gas protecting the arc, it can make it easy to weld well without requiring a lot of manual skill from the operator. [PROFESSOR PARDAL BRASIL] decided to build his own MIG welder using scrap parts, and it’s an inspiring bit of work.

The build is along the lines of so many YouTube contraptions, using bits and pieces thrown together in oddball ways. A windscreen wiper motor is used to create a wire feeder, with jammed-up ball bearings acting as rollers. Speed control of the wiper motor appears to be via a variable resistor created by moving two plates closer together in a bath of salt water. This enables the wire feed rate to be easily controlled, albeit in a wet and messy fashion. The build includes a device for producing carbon dioxide for use as shielding gas, too. This is achieved by mixing a solution of water and bicarbonate soda with vinegar, and then pumping the resulting carbon dioxide into an inner tube for storage. The power supply for actually creating an arc comes courtesy of car batteries.

The resulting welder is janky as all heck, but it does successfully weld some steel plates together. Job done, as they say. Video after the break.  Continue reading “Nifty MIG Welder Built From Scrap”

Micromanipulator Touches The Tiny Things, Cheaply

Some things are small and fragile enough that they cannot be held or touched by even the steadiest of hands. Such cases call for a micromanipulator, and [BYU CMR]’s DIY micromanipulator design can be 3D printed and assembled with the help of some common hardware, and a little CA glue.

You may recall an ultra-tiny Nerf-like blaster recently; clearly such a tiny mechanical device cannot be handled directly, yet needed to be loaded and have its trigger pressed. A micromanipulator is exactly the tool for such a job. This design is in fact the very same one used to move and manipulate that tiny blaster at a microscopic level.

The design doesn’t include any end effectors — those depend on one’s application — but there is a mount point for them and the manipulator can effectively move it in X, Y, and Z axes by turning three different knobs. In addition, because the structural parts can be 3D printed and the hardware is just some common nuts and screws, it’s remarkably economical which is always a welcome thing for a workshop.

Simple Add-On Makes Cheap Plasma Cutter Suitable For CNC Use

Plasma cutters are ridiculously cheap these days, just cruise by the usual online sources or your local Harbor Freight if you’ve got any doubt about that. But “cheap” and “good” don’t always intersect on a Venn diagram, and even when they do, not every plasma cutter is suitable for use on the spanking new CNC table you’re building. But luckily, there’s a mod for that.

As [Jake von Slatt] explains it, there are two kinds of plasma cutters on the market: high-frequency (HF) start and pilot arc start. The basic difference is that HF start cutters, which comprise the majority of cheap cutters on the market, need direct electrical contact with the workpiece to start the cutting action. Pilot arc torches, which are more suitable for CNC cutters, can strike the arc through a separate conductor without the need to contact the workpiece.

While there are homebrew bodges that claim to turn an HF torch into a pilot arc, [Jake]’s approach is a bit more complicated, and necessarily so. His add-on box intercepts the ground clamp — which is actually the positive conductor for plasma cutting — and switches it through a heavy-duty HVAC contactor. The 24 VDC coil of the contactor is controlled by a homebrew current sensor made from a huge toroid ferrite core wrapped with 20 turns of 6 AWG welding wire.

Before winding, the core is split in two and epoxied back together with a small magnetic reed switch bridging the gap. A simple 24 VDC power supply runs the whole thing. When the torch starts, the nozzle is connected to ground through the contactor, but as soon as the arc strikes and starts pulling cutting current through that toroid, the magnetic field closes the reed switch, which opens the contactor via a small DC relay. This removes the connection between the nozzle and ground, leaving the plasma to carry all the cutting current.

We’ve featured many, many CNC plasma cutter tables before, but most of these builds have concentrated on the table more than the cutter. It’s a refreshing change to get some insider tips on what kinds of cutters work best, and how to adapt what you’ve got for the job.

Continue reading “Simple Add-On Makes Cheap Plasma Cutter Suitable For CNC Use”

Simple STM32 Frequency Meter Handles Up To 30MHz With Ease

[mircemk] had previously built a frequency counter using an Arduino, with a useful range up to 6 MHz. Now, they’ve implemented a new design on a far more powerful STM32 chip that boosts the measurement range up to a full 30 MHz. That makes it a perfect tool for working with radios in the HF range.

The project is relatively simple to construct, with an STM32F103C6 or C8 development board used as the brains of the operation. It’s paired with old-school LED 7-segment displays for showing the measured frequency. Just one capacitor is used as input circuitry for the microcontroller, which can accept signals from 0.5 to 3V in amplitude. [mircemk] notes that the circuit would be more versatile with a more advanced input circuit to allow it to work with a wider range of signals.

It’s probably not the most accurate frequency counter out there, and you’d probably want to calibrate it using a known-good frequency source once you’ve built it. Regardless, it’s a cheap way to get one on your desk, and a great way to learn about measuring and working with time-varying signals. You might like to take a look at the earlier build from [mircemk] for further inspiration. Video after the break.

Continue reading “Simple STM32 Frequency Meter Handles Up To 30MHz With Ease”