Hacked DSP5005 unit showing amp-hours screen

Another DPS5005 Alternative Firmware

These cheap Chinese-built programmable power supplies are nothing new, we’ve been using them for years. They’re not particularly good power supplies, since current feedback is in software, but for some tasks they’re a great fit and you can’t argue with the price. Alternative firmware projects have also been a thing for a while too, but none we’ve seen have been quite as capable and polished as this latest DPS firmware project by [Profi-max.] We’ve not come across the source code yet, but at least the binary image is freely downloadable.Battery charge screen on hacked DPS5005

The firmware has some interesting features, such as programmable pre-sets intended for battery charging applications. In fact, there is a dedicated battery charge mode screen. We want to warn, however, that charging lithium ion batteries with this might not be at all wise, not in the least because of a lack of protection hardware in place. It would be very easy to destroy the unit or overheat a battery this way! However, if you must do this, there are a few features to help you out, such as a handy ‘counters’ screen showing approximate charge delivered.

Remote programmability is, as usual, via the easily hacked in serial port, with firmware support for Bluetooth serial modules if wired USB serial doesn’t suit. For those who like to mount things differently, the screen can be rotated by holding a key on power-up, or if you hook up a MPU6050 accelerometer/gyro module it will even do it automatically!

To update a stock DPS unit, the only requirements are access to an ST-Link compatible programmer dongle, to target the STM32 SWD programming interface, and the STM32CubeProgrammer utility. Open source alternatives to that are also available, stlink comes to mind as a good option. Once you have the module PCB popped out of its plastic casing, only three wires need tacking onto a handy set of pads to complete the connection to the programmer dongle. Pretty simple stuff.

If you’re looking for a similar project, with source immediately available, then checkout the OpenDPS project we covered a few years ago, and if you’re thinking of going crazy, building a DIY open source electronics lab, we got you covered.

Continue reading “Another DPS5005 Alternative Firmware”

Ultra Cheap PCB Wrenches Make Perfect Kit Accessory

Let’s make one thing abundantly clear. We do not, under any circumstances, recommend you replace your existing collection of wrenches with ones made out of PCBs. However, as creator [Ben Nyx] explains, they do make for an extremely cheap and lightweight temporary tool that would be perfect for distributing with DIY kits.

This clever open hardware project was spawned by [Ben]’s desire to pack an M3 wrench in with the kits for an ESP32-based kiln controller he’s developing. He was able to find dirt cheap screwdrivers from the usual import sites, but nobody seemed to stock a similarly affordable wrench. He experimented with 3D printing them, but in the end, found the plastic just wasn’t up to the task. Then he wondered how well a tiny wrench cut from a PCB would fare.

The answer, somewhat surprisingly, is pretty well. We wouldn’t advise you try to crank your lug nuts down with one, but for snugging up a couple nuts that hold down a control board, they work a treat. [Ben] came up with a panelized design in KiCad that allows 18 of the little wrenches to get packed into a 100 x 100 mm PCB suitable for production from popular online board houses. Manufactured from standard 1.6 mm FR4, they come out to approximately 10 cents a pop.

Since [Ben] has been kind enough to release his design under the MIT license, you’re free to spin up some of these wrenches either for your own kits or just to toss in the tool bag for emergencies. We’d love to see somebody adapt the design for additional sizes of nuts, or maybe figure out some way to nest them to sneak out a couple extra wrenches per board.

We’ve seen plenty of folks make cheap tools for themselves in the past, but projects that can produce cheap tools in mass quantities is uniquely exciting for a community like ours.

Continue reading “Ultra Cheap PCB Wrenches Make Perfect Kit Accessory”

Electronic leadscrew

Electronic Lead Screws – Not Just For Threading Anymore

An electronic leadscrew is an increasingly popular project for small and mid-sized lathes. They do away with the need to swap gears in and out to achieve the proper ratio between spindle speed and tool carriage translation, and that makes threading a snap. But well-designed electronic leadscrews, like this one from [Hobby Machinist], offer so much more than just easy threading.

The first thing that struck us about this build was the polished, professional look of it. The enclosure for the Nucleo-64 dev board sports a nice TFT display and an IP65-rated keyboard, as well as a beefy-looking jog wheel. The spindle speed is monitored by a 600 pulses-per-revolution optical encoder, and the lathe’s leadscrew is powered by a closed-loop NEMA 24 stepper. This combination allows for the basic threading operations, but the addition of a powered cross slide opens up a ton more functionality. Internal and external tapers are a few keypresses away, as are boring and turning and radius operations, both on the right and on the left. The video below shows radius-cutting operations combined to turn a sphere.

From [Hobby Machinist]’s to-do list, it looks like filleting and grooving will be added someday, as will a G-code parser and controller to make this into a bolt-on CNC controller. Inspiration for the build is said to have come in part from [Clough42]’s electronic leadscrew project from a few years back. Continue reading “Electronic Lead Screws – Not Just For Threading Anymore”

KiCAD 6.0: What Made It And What Didn’t

I’ve been following the development of KiCAD for a number of years now, and using it as my main electronics CAD package daily for a the last six years or thereabouts, so the release of KiCAD 6.0 is quite exciting to an electronics nerd like me. The release date had been pushed out a bit, as this is such a huge update, and has taken a little longer than anticipated. But, it was finally tagged and pushed out to distribution on Christmas day, with some much deserved fanfare in the usual places.

So now is a good time to look at which features are new in KiCAD 6.0 — actually 6.0.1 is the current release at time of writing due to some bugfixes — and which features originally planned for 6.0 are now being postponed to the 7.0 roadmap and beyond. Continue reading “KiCAD 6.0: What Made It And What Didn’t”

PicoEMP EMFI tool

Glitch Your Way To Reverse-Engineering Glory With The PicoEMP

Most of our projects are, to some extent, an exercise in glitch-reduction. Whether they’re self-inflicted software or hardware mistakes, or even if the glitches in question come from sources beyond our control, the whole point of the thing is to get it running smoothly and predictably.

That’s not always the case, though. Sometimes inducing a glitch on purpose can be a useful tool, especially when reverse engineering something. That’s where this low-cost electromagnetic fault injection tool could come in handy. EMFI is a way to disrupt the normal flow of a program running on an embedded system; properly applied and with a fair amount of luck, it can be used to put the system into an exploitable state. The PicoEMP, as [Colin O’Flynn] dubs his EMFI tool, is a somewhat tamer version of his previous ChipSHOUTER tool. PicoEMP focuses on user safety, an important consideration given that its business end can put about 250 volts across its output. Safety features include isolation for the Raspberry Pi Pico that generates the PWM signals for the HV section, a safety enclosure over the HV components, and a switch to discharge the capacitors and prevent unpleasant surprises.

In use, the high-voltage pulse is applied across an injection tip, which is basically a ferrite-core antenna. The tip concentrates the magnetic flux in a small area, which hopefully will cause the intended glitch in the target system. The video below shows the PicoEMP being used to glitch a Bitcoin wallet, as well as some tests on the HV pulse.

If you’re interested in the PicoEMP and glitching in general, be sure to watch out for [Colin]’s 2021 Remoticon talk on the subject. Until that comes out, you might want to look into glitching attacks on a Nintendo DSi and a USB glitch on a Wacom tablet.

Continue reading “Glitch Your Way To Reverse-Engineering Glory With The PicoEMP”

An Oil Diffusion Vacuum Pump From Thrift Store Junk

It seems like creating a vacuum should be a pretty easy job, but it turns out that sucking all the air out of something is harder than it seems. A cheap vacuum pump will get you part of the way there, but to really pull a hard vacuum, you need an oil diffusion pump that costs multiple tens of thousands of dollars.

Or, you need a bunch of thrift store junk, a TIG welder, and a can of WD-40. At least that’s what [Lucas] put into his homebrew oil diffusion pump. The idea of such a contraption is to vaporize oil in a chamber such that the oil droplets entrain any remaining gas molecules toward an exhaust port. His low-budget realization of this principle involved a lot of thrift store stainless steel cookware, welded together with varying degrees of success, with liberal applications of epoxy to seal up any leaks. And an electric smores cooker for the heating element, which was a nice touch. The low-budget approach extended even to the oil for the pump; rather than shelling out for expensive specialty oil, [Lucas] distilled some from a WD-40 silicone spray lubricant.

The video below details all the travails [Lucas] encountered along the way, plus the testing process. The results were at least encouraging — the diffusion pump was pulling vacuum far in excess of what the roughing pump was capable of. He clearly still has some work to do, but getting as far as he did with the scrap heap of parts he cobbled together is pretty impressive.

[Lucas]’ goal with all this? A fusion reactor. No, not that kind. This kind. Continue reading “An Oil Diffusion Vacuum Pump From Thrift Store Junk”

Production PCB And Pogo Pins Produce A Clever Test Jig

[Hans Summers] runs a site qrp-labs.com, selling self-assembly kits mostly for radio gear and GPS applications, and had some production problems with his QCX-mini QRP transceiver kit. They were using an assembly house that had some problems with a sub-contractor going under during the pandemic, and the replacement service was somewhat below the expected level of quality, resulting in a significant number of SMT populated boards coming out non-functional. Obviously, not wanting to pass these on to customers as a debug problem, they set to work on an in-house QA test jig, to give them the confidence to ship kits again. The resulting functional test jig, (video, embedded below) takes a fairly interesting approach. Skip the video to 9:00 for the description of the test jig and detailed test descriptions.

By taking an existing known-good PCB, stripping off all the SMT parts, and moving the through hole components to the rear PCB side, pogo pins could be soldered to strategic locations. Building the assembly into a rudimentary enclosure made from sawn-up raw copper clad board, with the pogos facing upwards, and a simple clamp on top, allowed the PCB-under-test (let’s call it the UUT from hereon) to be located and clamped in place. This compressed the pogos in order to make a firm electrical contact. A piece of MDF that had been attacked with a dremel did duty as a pressure plate, with cutouts around the SMT component areas to achieve the required uniform board pressure and keeping the force away from the delicate soldered parts. All this means that with an UUT connected via pogo pins to a through-hole only test PCB, the full circuit would be completed, if and only if the UUT was completely functional, and that means defect-free soldering and defect-free components.

Next the firmware was rewritten to do duty as the test controller, which when powered up would step through a sequence of test scenarios and measurements, logging the results to an OLED display and a serial interface. This rig survived 1,000 SMT tests without failing, giving [Hans] the confidence to ship out new kits and providing a database of datalog results as a backup should a customer have an issue during final assembly. All-in-all a smart idea to solve a difficult problem, with nary a custom test jig PCB in sight!

These pages have been graced with many a pogo-based test rig over the years. Here’s one to start, and if you’ve got a handy laser cutter and some scrap wood, making an accurate test rig is no bother either.

Continue reading “Production PCB And Pogo Pins Produce A Clever Test Jig”