Printable One-Way Driver Skips Ratchet For A Clutch

Ratcheting screwdrivers can help you work faster, even if their bulk means they’re not the best option for working in tight spaces. [ukman] decided to build a similar device of his own, relying on a slightly different mechanism — an overrunning clutch.

The design is similar to a freewheel used on a bicycle, allowing free movement in one direction while resisting it in the other. As the screwdriver is turned in one direction, the shaft is wedged by a series of cylinders that lock it in place. However, the geometric shape of the clutch allows the shaft to turn in the other direction without getting wedged in place. The result is a screwdriver that can be turned, rolled back, and turned further. Thus, screws can be tightened without loosening one’s grip on the tool.

With its 3D printed construction, it’s probably not the best tool for heavy-duty, high-torque jobs, but it looks more than capable of handling simple assembly tasks. We’ve seen some other nifty screwdrivers around these parts, too.

Continue reading “Printable One-Way Driver Skips Ratchet For A Clutch”

I3C — No Typo — Wants To Be Your Serial Bus

Remember old hard drives with their giant ribbon cables? They went serial and now the power cables are way thicker than the data cables. We’ve seen the same thing in embedded devices. Talking between chips these days tends to use I2C or SPI or some variation of these to send and receive data over a handful of pins. But now there is I3C, a relatively new industry standard that is getting a bit of traction.

I2C and SPI are mature but they do have problems. I2C can be relatively slow and SPI usually requires extra pins for each device. Besides that, there is poor support for adding and removing devices dynamically or discovering devices automatically.

I3C, created by the MIPI Alliance, aims to fix these problems. It does use the usual two wires, SCL for the clock and SDA for data.  One device acts as a controller. Other devices can be targets or secondary controllers. It is also backward compatible with I2C target devices. Depending on how you implement it, speeds can be quite fast with a raw speed of 12.5 Mbps and using line coding techniques can go to around 33 Mbps.

Continue reading “I3C — No Typo — Wants To Be Your Serial Bus”

Everything You Didn’t Know You Need To Know About Glitching Attacks

If you’ve always been intrigued by the idea of performing hardware attacks but never knew where to start, then we’ve got the article for you: an in-depth look at the hows and whys of hardware glitching.

Attentive readers will recall that we’ve featured [Matthew Alt]’s reverse engineering exploits before, like the time he got root on a Linux-based arcade cabinet. For something a bit more challenging, he chose a Trezor One crypto wallet this time. We briefly covered a high-stakes hack (third item) on one of these wallets by [Joe Grand] a while back, but [Matthew] offers much, much more detail.

After introducing the theory of glitching attacks, which seek to force a processor into an undefined state using various methods, [Matthew] discusses the specifics of the Trezor wallet and how the attack was planned.

His target — the internal voltage regulator of the wallet’s STM32 microcontroller — required desoldering a few caps before the attack could begin, which was performed with a ChipWhisperer. After resolving a few initial timing issues, he was able to glitch the chip into dropping to the lowest level of readout protection, which gave access to the dongle’s SRAM through an ST-Link debugger.

While this summary may make the whole thing sound trivial, it’s obvious that the attack was anything but, nor was the effort that went into writing it all up. The whole thing reads a little like a techno-thriller, and there’s plenty of detail there if you’re looking for a tutorial on chip glitching. We’re looking forward to part 2, which will concentrate on electromagnetic fault-injection using a PicoEMP and what looks like a modified 3D printer.

PET Bottles Diligently Turned Into Filament

While the price of 3D printers has come down quite a lot in the past few years, filament continues to be rather pricey especially for those doing a lot of printing. This has led to some people looking to alternatives for standard filament, including recycling various forms of plastic. We’ve seen plenty of builds using various materials, but none so far have had this level of quality control in the final project.

What sets this machine apart from others is that it’s built around an Arduino Nano and includes controls that allow the user to fine-tune a PID controller during the conversion of the recycled plastic into filament. Different plastic bottles have different material qualities, so once the machine is started it can be adjusted to ensure that the filament produced has the exact specifications for the printer. The PCB is available for download, and the only thing that needs to be done by hand besides feeding the machine to start it is to cut the plastic into strips for the starter spool. There is also a separate 3D printed tool available to make this task easy, though.

Not only could this project save printing costs, but it also keeps harmful plastics out of landfills and other environments. Recycling plastic tends to be quite difficult since producing new plastic is incredibly cheap, and the recycled material can’t be used as often as other materials such as aluminum. But there are still plenty of people out there trying to reuse as much of it as they can.

Continue reading “PET Bottles Diligently Turned Into Filament”

Building A GameCube Mini Because Nintendo Never Did

Nintendo never made a GameCube Mini, with the console’s form factor remaining the same until the eventual launch of the Wii in 2006. [Bringus Studios] decided to build one of his own instead.

The build began with a Revision C GameCube motherboard, which comes without the digital video port and the second serial port. It also comes with an integrated power supply on the motherboard which makes it much easier to slim down into a smaller form factor. The main space saving, though, came from removing the rarely-used ports on the bottom of the console and the DVD drive. The latter was replaced with PicoBoot, which allows ISOs to be loaded from an SD card.

Once trimmed down and fitted with a replacement cooling fan, the console then got a custom half-height 3D-printed case. It’s tidy and functional, but we’d love to see a more finished resin-printed version more accurately aping the traditional GameCube aesthetic.

If you want something even more portable, consider building a pocket-sized Wii. Video after the break.

Continue reading “Building A GameCube Mini Because Nintendo Never Did”

Coffee With Kernighan

There was an interesting tidbit buried in a Computerphile video released last week (below the break), featuring professors [David Brailsford] and [Brian Kernighan] having a chat over coffee. Among other topics, they discuss the history and current state of various text processing tools. We learn that [Kernighan] has taken on a summer project of updating the AWK text processing language to handle UTF-8 text, an omission he admits is embarrassing in this day and age. He is also working on a second edition of The AWK Programming Language book, which hasn’t been updated since being first released in 1988.

[Brian Kernighan] is a legend in the world of Unix and computing, working at Bell Labs during the 70s where Unix and C were developed. Among the many accomplishments in his career, he is well-known as the co-author with [Dennis Ritchie] of The C Programming Language, first published in 1972 and still being used decades later, AWK mentioned above, and major updates to troff. More recently, he co-authored The Go Programming Language book in 2015.

If an updated UTF-8-capable AWK interests you, keep an eye on the AWK GitHub repository where [Kernighan] anticipates an update, once he wraps his head around git a little better. We’re happy to see [Brian] so active at 80 years old. If you want to learn more about those early days at Bell Labs, we reviewed [kernighan]’s very interesting UNIX: A History and a Memoir a couple of years ago. 

Continue reading “Coffee With Kernighan”

Reactive Load For Amplifiers Teaches Lessons About Inductors

The sound produced by any given electric guitar is shaped not just by the instrument itself but by the amplifiers chosen to make that sound audible. Plenty of musicians swear by the warm sound of amplifiers with vacuum tube circuits, but they do have some limitations. [Collin] wanted to build a reactive load for using tube amps without generating a huge quantity of sound, and it resulted in an interesting project that also taught him a lot about inductors.

The reactive load is essentially a dummy load for the amplifier that replaces a speaker with something that won’t produce sound. Passive loads typically use resistor banks but since this one is active, it needs a very large inductor to handle the amount of current being produced by the amplifier. [Colin] has also built a headphone output into this load which allows it to output a much smaller quantity of sound to a headset while retaining the sound and feel of the amplifier tubes, and it additionally includes a widely-used tone control circuit as well.

There’s a lot going on in the design of the circuitry for this amplifier load, including a lot of research into low-frequency inductors that can handle a significant amount of current. [Collin] eventually ended up winding his own, but the path he took to it was long and winding. There’s a lot of other circuit theory discussed as well especially with regards to the Baxandall EQ that he built into it as well. And, if you’d like to learn more about tube amplifiers in general, take a look at this piece which notes one of the best stereo amps ever produced.