Picture of the dumper board, with a ROM chip and a Pi Pico inserted

A Disposable Dumper For ROM Chips With A Pi Pico

ROM dumping is vital for preserving old hardware, and we’ve seen many hacks dedicated to letting someone dump a ROM and send its contents to some hacker stuck with a piece of technology that lost its firmware. However, that requires ROM dumping tools of some kind, and it’s often that the lucky ROM-equipped hacker doesn’t own such tools. Now, you could mail the chip to someone else, but postal services in many countries are known to be UDP-like — lossy and without delivery guarantees. The risk of leaving both hackers without a ROM chip is quite real, so, instead of mailing ROM chips or expensive devices around, [Amen] proposes a cheap and disposable flash dumping tool that you could mail instead.

The ROMs in question are 24-pin 2332 and 2364 chips, which run at 5 V and can easily be read with any microcontroller. Thus, his concept is a very simple board, with a Pi Pico and flash chip socket on it, as well as some resistors. Those are used to provide rudimentary GPIO over-voltage protection, since the RP2040 runs its GPIOs at 3.3 V. All the magic is in the software – the tool can both write the chip contents in the RP2040’s internal memory, as well as dump it over USB to the computer. Everything is open-source – if you ever need to dump a rare chip on the other side of the world, modify the design to your liking, order a few copies and then mail them to the hacker involved – losing such a package is way less significant than losing a ROM chip with last-of-its-kind firmware on it.

Old ROM chips are dying out, causing whole generations of hardware, like synths, to fade away – with tools like this one, you can lend a hand in preserving the legacy of many an industry and hobby, and many hackers do. Looking to learn about the basics of parallel flash dumping? This post from 2012 will be a good start, and then check out a more recent venture to learn how things are done with more recent parts.

Screenshot of a terminal showing the HELP command in action - outputting descriptions of other commands

Let’s Make SCPI More Helpful

The SCPI (Standards Command for Programmable Instruments) protocol is exceptionally popular in lab and workspace tools, letting you configure and fetch data from oscilloscopes and lab scales alike in a standardized way. However, when interfacing with a SCPI device, you need to use a programming guide document if you want to know the commands for any of the inevitably extended features; essentially, SCPI isn’t as human-friendly as you might want. [MisterHW] argues that SCPI could use more discoverability by proposing a HELP? command.

This proposal is so intuitive, it makes you wonder why it isn’t in the base spec. It adds a built-in command that provides information on other commands. Internally, the description is just an extra string parameter that you add to your command definition code, and you can use it to describe the parameter types and ranges it takes. The output is both human-readable and machine-parseable, and as it’s stored within your code, it’s way quicker to update the description string than it is to re-release programming guides. Which are themselves prone to being outdated as-is, so decreasing reliance on them is a win-win.

The proposal makes a lot of sense, and [MisterHW] is willing to back it up with a pull request to the most popular SCPI library, libscpi. Whenever the pull request finally goes through, you will have the option to easily add the HELP? command support to whatever SCPI-connected device you might have brewing.

While the old devices will eventually fade, SCPI is not about to die out – hackers keep building devices with SCPI as the communication protocol, as the spec is quite powerful. For instance, here’s this fancy temperature logger, or this Source Measurement Unit – both of them use SCPI for hacker-to-device data transfer, and it’s likely to be libscpi under the hood. Ever wondered what SCPI is all about? Check out our overview!

DIY Adjustable Wrench? Nuts!

What do you do if you want a tiny little adjustable wrench? If you’re [my mechanics] you build your own. Where do you get the stock metal? Well, he started with an M20 nut. A few milling operations, a torch, some pliers, and work with a vice resulted in a nice metal blank just the right size to make each part of the wrench, including a new nut for the adjustment.

Want to do this yourself? If you do, we hope you have a well-equipped machine shop. You should also be comfortable working with red-hot metal.  Overall, it is an amazing piece of work, and you can watch the whole process in the video below.

Honestly, precision metalworking is a little out of our comfort zone. Like the recent wood bending we’ve seen, we always think, “Yeah, I could so do that!” Then we realize that we really couldn’t. But still fun to watch and maybe a few ideas we might be able to apply next time we have to bend a little metal.

The wrench is a scale model of a larger one, and it looks great. We would have liked to see it in use with a tiny nut, but we imagine it would work just fine. If you get excited about making things from a single piece of metal, may we suggest a nutcracker?

Continue reading “DIY Adjustable Wrench? Nuts!”

Showing KiCanvas board viewer component inside a browser window, with a board being displayed and toggleable layers

KiCanvas Helps Teach And Share KiCad Projects In Browsers

KiCad is undeniably the hacker favourite when it comes to PCB design, and we’ve built a large amount of infrastructure around it – plugins, integrations, exporters, viewers, and much more. Now, [Stargirl Flowers] is working on what we could call a web viewer for KiCad files – though calling the KiCanvas project a “KiCad viewer” would be an understatement, given everything it aims to let you do. It will help you do exciting things like copy-pasting circuits between KiCad and browser windows, embed circuits into your blog and show component properties/part numbers interactively, and of course, it will work as a standalone online viewer for KiCad files!

Continue reading “KiCanvas Helps Teach And Share KiCad Projects In Browsers”

The hack's author performing the operation described at his workdesk, with a separate camera window showing the acupuncture needles being used to touch the board points

Find SWD Points Quickly, No Extra Hardware Needed

Say you’re tinkering with a smart device powered by a CPU that uses Serial Wire Debug (SWD), but doesn’t mark the testpoints. Finding SWD on a board — how hard could it be? With [Aaron Christophel]’s method, you can find the SWD interface on a PCB within a few minutes’ time. All you need is two needles, a known-to-be-ground connection, an SWD dongle of some kind, and a computer with an audio output. What’s best — you could easily transfer the gist of this method to other programming interface types!

The idea is simple: you wire the ground up, connect the needles to SWDIO and SWCLK, launch [Aaron]’s Python script, then start poking around all the unnamed test points. The script runs JLink software to probe for SWD devices attached to the probes — if an SWD interface isn’t found, it beeps idly, but as soon as the device is detected, your computer will start beeping at you in a lively manner. In this way, you don’t have to re-scan devices manually, solder to any test points except the GND one, or try and hold both probes on test points with one hand – the scanning process itself is hands-free.

Depending on how many points your board has and whether you try to optimize the process by probing points closest to the SWD pins on the CPU, you might hit the jackpot immediately, or you might have to poke around for a minute-two. That said, [Aaron]’s method seems to be the best you can do while remaining relatively extra-hardware-free, and if you want to make it a tinge more permanent, clothespins are there for you.

In case you don’t mind extra hardware – could we interest you in some 3D printed needle probe desks? There’s a wide variety of those, whether you’d like some tentacle-like ones, or ones that make your desk look like like an acupuncture table. Or, say, would you like a more automatic method of finding all kinds of debug interfaces? Then JTAGulator might be what you’re looking for.

Continue reading “Find SWD Points Quickly, No Extra Hardware Needed”

Cut Your Own Gears With This DIY Machine

You can buy gears off the shelf, of course, and get accurately machined parts exactly to your chosen specification. However, there’s something rugged and individualist about producing your own rotating components. [Maciej Nowak] demonstrates just how to produce your own gears with a homemade cutting tool.

The cutting tool for the job is an M16 machine tap, chosen for the smaller flutes compared to a hand tap. This makes it more suitable for cutting gears. It’s turned by a belt driven pulley, run by a small motor. The workpiece to be cut into a gear is then fed into the cutting tool by sliding on a linear bearing, with its position controlled by a threaded rod. The rod can be slowly turned by hand to adjust the workpiece position, to allow the gear teeth to be cut to an appropriate depth.

The method of action is simple. As the tap turns it not only cuts into the workpiece, but rotates it on a bearing as well. By this method, it cuts regular teeth into the full circumference, creating a gear. Obviously, this method doesn’t create highly-complex tooth shapes for ultimate performance, but it’s more than capable of creating usable brass and steel gears for various purposes. The same tool can be used to cut many different sizes of gear to produce a whole geartrain. As a bonus, the resulting gears can be used with M16 threads serving as worm gears, thanks to the pitch of the tap.

If you find yourself needing to produce tough metal gears on the regular, you might find such a tool very useful. Alternatively, we’ve explored methods of producing your own sprockets too, both in a tidy manner, and in a more haphazard fashion. Video after the break.

Continue reading “Cut Your Own Gears With This DIY Machine”

DIY capacitor leakage tester nestled among neighbours all mounted underneath a shelf

DIY Capacitor Leakage Tester With A Professional Finish

[Manuel Caldeira] has built a nice electronics work area that would be the envy of many, complete with an under-shelf rail of custom-built instruments that are specific to the needs of areas of electronics that [Manuel] is involved with. The highlighted project here is a capacitor leakage tester, which is very handy for sorting through piles of old parts looking for anything still within spec, or just verifying a part on a board is the culprit you suspect it is.

The thing is, certain types of capacitors have a limited life both in operation and in storage. Usually, we’re talking about electrolytics here, where the electrolyte solution can leak out or dry out, but also the passive oxide layer on the anode plate can deteriorate if the device is left unpowered for long periods — the oxide disintegrates, and the capacitor will start to leak current. Eventually, the breakdown can be bad enough for the capacitor to conduct so well that it overheats and the result can be a surprisingly violent experience. So, if you deal with capacitors a lot, especially electrolytics, then a leakage tester is a very good instrument to own.

We like [Manuel]’s construction method here, with custom PCBs nestled inside a simple bent aluminium enclosure. No need for a top or sides, as these, are intended to bolt underneath a shelf, and butt up against their neighbor. The front panel graphics are done in a simple but very effective manner, using printable sticker sheets, with a clear adhesive over-sheet. They certainly have a professional finish, and this is definitely a construction method worth considering.

For those a little unfamiliar with this important component, why not leap into some theory with this handy dive into the simple parallel plate capacitor? Next, may we suggest a little overview of the different capacitor types and how to best make use of them?

Continue reading “DIY Capacitor Leakage Tester With A Professional Finish”