Ditch The Switch: A Soft Latching Circuit Roundup

For some of us, there are few sounds more satisfying than the deep resonant “thunk” of a high quality toggle switch slamming into position. There isn’t an overabundance of visceral experiences when working with electronics, so we like to savor them when we get the chance. But of course there’s no accounting for taste, and we suppose there are even situations where a heavy physical switch might not be the best solution. So what do you do?

Enter the latching power circuit, often referred to as a “soft” switch. [Chris Chimienti] has recently put together a fascinating video which walks the viewer through five different circuits which can be used to add one of these so-called soft power switches to your project. Each circuit is explained, diagramed, annotated, and eventually even demonstrated on a physical breadboard. The only thing you’ve got to do is pick which one you like the most.

There’s actually a number of very good reasons to abandon the classic toggle switch for one of these circuits. But the biggest one, somewhat counterintuitively, is cost. Even “cheap” toggle switches are likely to be one of the most expensive components in your bill of materials, especially at low volume. By comparison, the couple of transistors and a handful of passive components it will take to build out one of these latching circuits will only cost you a couple of cents.

Even if you aren’t in the market for a new way to turn off your projects, this roundup of circuits is a fantastic reminder of how powerful discrete components can be. In an age where most projects seem assembled from pre-fabbed modules, it’s occasionally refreshing to get back to basics.

Continue reading “Ditch The Switch: A Soft Latching Circuit Roundup”

Snoopy Come Home: The Search For Apollo 10

When it comes to the quest for artifacts from the Space Race of the 1960s, few items are more sought after than flown hardware. Oh sure, there have been stories of small samples of the 382 kg of moon rocks and dust that were returned at the cost of something like $25 billion making it into the hands of private collectors, and chunks of the moon may be the ultimate collector’s item, but really, at the end of the day it’s just rock and dust. The serious space junkie wants hardware – the actual pieces of human engineering that helped bring an epic adventure to fruition, and the closer to the moon the artifact got, the more desirable it is.

Sadly, of the 3,000,000 kg launch weight of a Saturn V rocket, only the 5,600 kg command module ever returned to Earth intact. The rest was left along the way, mostly either burned up in the atmosphere or left on the surface of the Moon. While some of these artifacts are recoverable – Jeff Bezos himself devoted a portion of his sizable fortune to salvage one of the 65 F1 engines that were deposited into the Atlantic ocean – those left on the Moon are, for now, unrecoverable, and in most cases they are twisted heaps of wreckage that was intentionally crashed into the lunar surface.

But at least one artifact escaped this ignominious fate, silently orbiting the sun for the last 50 years. This lonely outpost of the space program, the ascent stage from the Apollo 10 Lunar Module, appears to have been located by a team of amateur astronomers, and if indeed the spacecraft, dubbed “Snoopy” by its crew, is still out there, it raises the intriguing possibility of scoring the ultimate Apollo artifact by recovering it and bringing it back home.

Continue reading “Snoopy Come Home: The Search For Apollo 10”

Does The Cheese Grater Do A Great Grate Of Cheese?

Apple’s newest Mac Pro with its distinctive machined grille continues to excite interest, but until now there has been one question on the lips of nobody. It’s acquired the moniker “Cheese grater”, but can it grate cheese? [Winston Moy] set out to test its effectiveness in the kitchen with a piece of Pecorino Romano, a great cheese.

Of course, the video is not really about cheese grating, but about the machining process to create that distinctive pattern of intersecting spherical holes. He doesn’t have a real Mac Pro because nobody does as yet, so like others his approach was to reverse engineer the manufacturing process. He takes us through the entire thing and the rationale behind his decisions as he makes a 13-hole piece of Mac Pro-like grill from a billet of aluminium. It’s first roughly cut with a pair of decreasing-size end mills, then finished with a ball mill. He’s added an extra cut to round off the sharp edge of the hole that isn’t there on the Mac.

An unexpected problem came when he machined the bottom and the holes began to intersect, it was clear that they were doing so wrongly. Turning the piece over must be done in the correct orientation, one to note for any other would-be cheese-grater manufacturers. Finally the piece is blasted for a satin finish, and then anodised for scratch-resistance.

So, the important question must be answered: does it grate? The answer’s no, the best it can manage is something close to a crumble. He doesn’t seem bothered though, we get the impression he likes eating cheese whatever its form. The whole process is in the video below the break.

For more Apple grille examination, take a look at this mathematical analysis.

Continue reading “Does The Cheese Grater Do A Great Grate Of Cheese?”

The Practical Approach To Keeping Your Laser In Focus

You could be forgiven for thinking that laser cutters and engravers are purely two dimensional affairs. After all, when compared to something like your average desktop 3D printer, most don’t have much in the way of a Z axis: the head moves around at a fixed height over the workpiece. It’s not as if they need a leadscrew to push the photons down to the surface.

But it’s actually a bit more complicated than that. As [Martin Raynsford] explains in a recent post on his blog, getting peak performance out of your laser cutter requires the same sort of careful adjustment of the Z axis that you’d expect with a 3D printer. Unfortunately, the development of automated methods for adjusting this critical variable on lasers hasn’t benefited from the same kind of attention that’s been given to the problem on their three dimensional counterparts.

Ultimately, it’s a matter of focus. The laser is at its most powerful when its energy is concentrated into the smallest dot possible. That means there’s a “sweet spot” in front of the lens where cutting and engraving will be the most efficient; anything closer or farther away than that won’t be as effective. As an example, [Martin] says that distance is exactly 50.3 mm on his machine.

The problem comes when you start cutting materials of different thicknesses. Just a few extra millimeters between the laser and your target material can have a big difference on how well it cuts or engraves. So the trick is maintaining that perfect distance every time you fire up the laser. But how?

One way to automate this process is a touch probe, which works much the same as it does on a 3D printer. The probe is used to find where the top of the material is, and the ideal distance can be calculated from that point. But in his experience, [Martin] has found these systems leave something to be desired. Not only do they add unnecessary weight to the head of the laser, but the smoke residue that collects on the touch probe seems to invariably mar whatever surface you’re working on with its greasy taps.

In his experience, [Martin] says the best solution is actually the simplest. Just cut yourself a little height tool that’s precisely as long as your laser’s focal length. Before each job, stick the tool in between the laser head and the target to make sure you’re at the optimal height.

On entry level lasers, adjusting the Z height is likely to involve turning some screws by hand. But you can always add a motorized Z table to speed things up a bit. Of course, you’ll still need to make sure your X and Y alignment is correct. Luckily, [Martin] has some tips for that as well.

Raspberry Pi 4 Just Released: Faster CPU, More Memory, Dual HDMI Ports

The Raspberry Pi 4 was just released. This is the newest version of the Raspberry Pi and offers a better CPU and more memory than the Raspberry Pi 3, dual HDMI outputs, better USB and Ethernet performance, and will remain in production until January, 2026.

There are three varieties of the Raspberry Pi 4 — one with 1GB of RAM, one with 2GB, and one with 4GB of RAM — available for $35, $45, and $55, respectively. There’s a video for this Raspberry Pi launch, and all of the details are on the Raspberry Pi 4 website.

A Better CPU, Better Graphics, and More Memory

The CPU on the new and improved Raspberry Pi 4 is a significant upgrade. While the Raspberry Pi 3 featured a Broadcom BCM2837 SoC (4× ARM Cortex-A53 running at 1.2GHz) the new board has a Broadcom BCM2711 SoC (a quad-core Cortex-A72 running at 1.5GHz). The press literature says this provides desktop performance comparable to entry-level x86 systems.

Of note, the new Raspberry Pi 4 features not one but two HDMI ports, albeit in a micro HDMI format. This allows for dual-display support at up to 4k60p. Graphics power includes H.265 4k60 decode, H.264 1080p60 decode, 1080p30 encode, with support for OpenGL ES, 3.0 graphics. As with all Raspberry Pis, there’s a component  composite video port as well tucked inside the audio port. The 2-lane MIPI DSI display port and 2-lane MIPI CSI camera port remain from the Raspberry Pi 3.

Continue reading “Raspberry Pi 4 Just Released: Faster CPU, More Memory, Dual HDMI Ports”

The Benefits Of Restoring A C64 With A Modern FPGA Board

The Commodore 64 was the highest selling computer of all time, and will likely forever remain that way due to the fragmentation of models in the market ever since. Due to this, it’s hardly surprising that it still has a strong following many years after its heyday. This means that the avid restorer has a wide range of parts and support available at the click of a button. [DusteD] is just one such person who had a busted-up C64 laying around, and decided to make it a project.

[DusteD] wanted to reuse the original case, and decided it should remain a Commodore 64 after an initial attempt at a mini-ITX swap went awry. Desiring a reliable machine, an Ultimate64 FPGA board was selected to replace the original faulty motherboard. This has the benefit of being hardware compatible with the classic C64, while allowing [DusteD] to tinker and program to his heart’s content, without having to worry about blowing up valuable original parts. It also provides several interesting modern features, like HDMI output, USB, and even Ethernet connectivity. This allows one to experiment with the platform without the hassles of all the inherent limitations of 1980s technology.

As a fan of the classic SID sound chip, [DusteD] was also highly interested in the audio output of the Ultimate64. Recordings were made of the emulated output from the FPGA, as well as the sound output from a real SID installed in the board, both through the mixed output and directly from the chip via a SIDTAP. Those interested can download the 800MB of recordings and compare the output; there’s a summary of the differences noted listed on the site as well.

[DusteD] makes a great argument for the benefits of building up a C64 rig in this way. It’s a great way to get started for those eager to explore the world of Commodore’s 8-bit hardware without the hassles and expenses of buying all the real gear. As it stands, the C64 aftermarket is so advanced now, that you can build an entirely new machine from scratch if you so desire. Go forth and enjoy!

Caching In On Program Performance

Most of us have a pretty simple model of how a computer works. The CPU fetches instructions and data from memory, executes them, and writes data back to memory. That model is a good enough abstraction for most of what we do, but it hasn’t really been true for a long time on anything but the simplest computers. A modern computer’s memory subsystem is much more complex and often is the key to unlocking real performance. [Pdziepak] has a great post about how to take practical advantage of modern caching to improve high-performance code.

If you go back to 1956, [Tom Kilburn’s] Atlas computer introduced virtual memory based on the work of a doctoral thesis by [Fritz-Rudolf Güntsch]. The idea is that a small amount of high-speed memory holds pieces of a larger memory device like a memory drum, tape, or disk. If a program accesses a piece of memory that is not in the high-speed memory, the system reads from the mass storage device, after possibly making room by writing some part of working memory back out to the mass storage device.

Continue reading “Caching In On Program Performance”