Remoticon Video: How To Reverse Engineer A PCB

You hold in your hand a circuit board from a product you didn’t make. How does the thing work? What a daunting question, but it’s both solvable and approachable if you know what you’re doing. The good news is that Eric Schlaepfer knows exactly what he’s doing and boiled down the process of reverse engineering printed circuit boards into this excellent workshop. It was presented live during the 2020 Hackaday Remoticon, and the edited video, which you’ll find below, was just published. Slides for the talk have been published on the workshop project page.

Need proof that he has skills that we all want? Last year Eric successfully reverse-engineered the legendary Sound Blaster audio card and produced his own fully-functional drop-in replacement called the Snark Barker. And then re-engineered it to work with the ancient MCA bus architecture. Whoa.

Continue reading “Remoticon Video: How To Reverse Engineer A PCB”

Spider Silk, Spider Silk, Made Using A Strain Of Yeast

Companies spend thousands developing a project for the market, hoping their investment will return big. Investing like this happens every day and won’t shock anyone. What may surprise you is someone who spends more than a decade and thousands of their own dollars to make an open-source version of a highly-marketable product. In this case, we’re talking about genetically modified yeast that produces spider silk. If that sounds like a lead-in to some Spiderman jokes and sci-fi references, you are correct on both accounts. [Justin Atkin] had some geneticist work under his belt when he started, so he planned to follow familiar procedures like extracting black widow DNA, isolating and copying the silk genes, and pasting them into a yeast strain. Easy peasy, right? Naturally, good science doesn’t happen overnight.

There are a few contenders for the strongest spider silk among which the golden silk orb-weaver gets the most attention, but the black widow’s webbing is nearly as strong, and [Justin] is happy to wear black widow inspired bling, whereas the golden orb-weaver looks like it crawled out of Starship Troopers. His first attempt to extract DNA starts with a vial of preserved nightmare fuel spider specimens because that is a thing you can just go online and buy. Sadly, they were candied in alcohol, and that obliterates DNA, so he moved to dried specimens from breeders, which also failed to produce results, and those were just the landmark hangups.

Continue reading “Spider Silk, Spider Silk, Made Using A Strain Of Yeast”

Local And Remote Debugging With GDB

As a debugger, GDB is a veritable Swiss Army knife. And just like exploring all of the non-obvious uses of a those knives, your initial response to the scope of GDB’s feature set is likely to be one of bewilderment, subsequent confusion, and occasional laughter. This is an understandable reaction in the case of the Swiss Army knife as one is unlikely to be in the midst of an army campaign or trapped in the wilderness. Similarly, it takes a tricky debugging session to really learn to appreciate GDB’s feature set.

If you have already used GDB to debug some code, it was likely wrapped in the comfort blanket of an IDE. This is of course one way to use GDB, but limits the available features to what the IDE exposes. Fortunately, the command line interface (CLI) of GDB has no such limitations. Learning the CLI GDB commands also has the advantage that one can perform that critical remote debug session even in the field via an SSH session over the 9600 baud satellite modem inside your Swiss Army knife, Cyber Edition.

Have I carried this analogy too far? Probably. But learning the full potential of GDB is well worth your time so today, let’s dive in to sharpen our digital toolsets.

Continue reading “Local And Remote Debugging With GDB”

DIY Braille Embosser Is Really Impressive

We weren’t surprised to learn that Braille tools are quite expensive. But it’s interesting to hear that there’s another class of tools altogether, and they are very cheap and imprecise. In devising the Braille Embossing Experience, aka BEE, [alatorre] sought to find an open-source middle ground. We think they succeeded marvelously.

Another surprising thing — while handheld embossers do exist, there is no system for filling out an A4 sheet of paper, say, to write a letter.

For Braille to be readable, the characters and lines must be properly spaced, and this requires some kind of moveable type-like device to correctly register the characters onto paper. BEE fills this void as well. The amazing thing is, there’s not much more to it than a marked-up piece of aluminum and some clever 3D printing.

There are two parts to this system — the positioning rail, which includes a landing box for the embosser with six holes in the bottom. The other part is a pair of embossers, one for letters A-M, and another for letters N-Z. To use BEE, just slide the rail to the right and start embossing letters right to left, then flip the paper over when finished.

Need to create something more permanent? Make a Braille PCB.

An Impressive Modular Mold Box

Prolific maker and product designer [Eric Strebel] has years of experience making reusable mold boxes for silicone and resin casting. He’s always used 3/4″ plywood before, but it comes with some problems such as inaccuracy, screws that eventually slip out, and no room at all for expansion. Now [Eric] has decided to devise a modular mold box system that’s so awesome, it’s even stack-able. Check out the design and build process in the video after the break.

[Eric] took advantage of additive manufacturing and made fancy trapezoidal walls with recessed bits that allow for the magic that this modular system hinges on — a handful of M6 socket cap screws and matching nuts for tensioning. Once the prints were ready, [Eric] pounded the nuts captive into the walls and marked fill lines every 10mm. As usual, [Eric]’s video comes with bonus nuggets of knowledge, like his use of a simple card scraper to clean up prints, smooth the sides, and chamfer all the edges.

If you want to mold stuff like concrete and plaster, you may be better off using flexible filament.

Continue reading “An Impressive Modular Mold Box”

Hacker Has Robot Give Yubikey The Finger

[Bertrand Fan] is not a fan of the tiny, hard-to-actuate button on the average Yubikey. Before all that is 2020 occurred, [Bert] had the little 2FA nano-donglette plugged into a spare USB port on the side of their laptop so that it was always available wherever the laptop traveled. Now that working from home is the norm, [Bert] has the laptop off to the side, far out of reach.

A USB-C extension cable certainly made it more accessible, but did nothing for the actuation fail rate of the tiny button. Fed up by inconvenience and looking for a lockdown project, [Bert] decided to make a button-pressing robot finger that’s driven by a spare key on their groovy TKL keyboard.

It runs on a Wemos D1 mini and uses a small stepper motor to push a 3D-printed finger along a rack-and-pinion actuator. Since the Yubikey requires capacitive touch, [Bert] added a screw to the finger tip that’s wired to ground. Now all [Bert] has to do is press a decidedly cooler key to make the finger press the button for him. Check out a brief demo after the break.

If this security flaw makes you uncomfortable, perhaps this 2FA launch console is more to your liking. And as we saw recently, if you don’t like the cost of Yubikeys, you can roll your own 2FA device with a blue pill.

Continue reading “Hacker Has Robot Give Yubikey The Finger”

Even More Firmware In Your Firmware

There are many ways to update an embedded system in the field. Images can fly through the air one a time, travel by sneaker or hitch a ride on other passing data. OK, maybe that’s a stretch, but there are certainly a plethora of ways to get those sweet update bytes into a target system. How are those bytes assembled, and what are the tools that do the assembly? This is the problem I needed to solve.

Recall, my system wasn’t a particularly novel one (see the block diagram below). Just a few computers asking each other for an update over some serial busses. I had chosen to bundle the payload firmware images into the binary for the intermediate microcontroller which was to carry out the update process. The additional constraint was that the blending of the three firmware images (one carrier and two payload) needed to happen long after compile time, on a different system with a separate toolchain. There were ultimately two options that fit the bill.

The system thirsty for an update

Continue reading “Even More Firmware In Your Firmware”