Smart Power Strip Revived With Raspberry Pi

We’re all for buying broken stuff from eBay to save yourself a few bucks: buy it cheap, fix it, and reap the rewards of being a step ahead of the average consumer. Searching through the “For parts or not working” categories is nearly the official pastime here at the Hackaday Bunker. But buying an eBay find only to have it give up the ghost in a couple weeks? That hurts.

That’s precisely what happened to [idaresiwins] when he bought this beefy looking “Web Power Switch” on the Electronic Bay. After two weeks, the controller board blew and his “smart” power strip became very stupid indeed. But with the addition of a Raspberry Pi, he’s got it back up and running. Not only that, but given the extra horsepower this device now contains, it now doubles as a basic server for the home lab.

This conversion was helped by the fact that the original controller was on a separate board from the relays, and connected with a small ribbon cable. All [idaresiwins] had to do was figure out which wire in the cable went to each of the eight relays, and fire them off with the Pi’s GPIO pins. In an interesting detail, he opened up one of the ends of the ribbon cable and used it as a punch down block of sorts to easily hook the wires up to the Pi’s pins. We might suggest some hot glue to keep everything from moving around, but otherwise it’s a neat tip.

[idaresiwins] found some information online about making a web-based GPIO interface, which he adapted to control the outlets on the power strip. He then wrapped the Pi up in plastic to keep it from shorting out, and tucked it inside the case. Note that he was able to pull 5 VDC from the relay board and run it to the Pi over the ribbon cable, so he didn’t need to bother with hacking a USB adapter in there.

Controlling AC devices over the Interwebs is an extremely popular project, and we’ve even seen a DIY device that looks quite similar to this product. Most of them are now using the ESP8266, but with the Pi onboard this hack is more like a super-sized version of the PowerPwn.

PCB Holder Quick-fix Turns Out To Be Big Improvement

When something needs improving, most hacks often make a small tweak to address a problem without changing how things really work. Other hacks go a level deeper, and that’s what [Felix Rusu] did with his 3D printed magnetic holders. Originally designed to address a shortcoming with the PCB holders in his LE40V desktop pick-and-place machine, they turned out to be useful for other applications as well, and easily modified to use whatever size magnets happen to be handy.

The problem [Felix] had with the PCB holders on his pick-and-place was that they hold the board suspended in midair by gripping the sides. The board is held securely, but the high density of parts on panelized PCB designs leads to vibrations in the suspended board as the pick-and-place head goes to work. Things are even worse when the board is v-scored for the purpose of easily snapping apart the smaller boards later; they sometimes break along the score lines due to the stress.

Most people would solve this problem by putting a spacer underneath the board to stabilize things, but [Felix] decided to go a level deeper and change the mounting system altogether with a simple mod. The boards now lie on a flat metal plate, and his magnetic holders are simple to make and easily do the job of holding any size PCB secure. As a bonus, it turns out that the holders also do a passable job of holding work materials down on a laser cutter’s honeycomb table. A video overview is embedded below, and the design files are available on Thingiverse.

Continue reading “PCB Holder Quick-fix Turns Out To Be Big Improvement”

Hybrid Lab Power Supply From Broken Audio Amp

The lab power supply is an essential part of any respectable electronics workbench. However, the cost of buying a unit that has all the features required can be eye-wateringly high for such a seemingly simple device. [The Post Apocalyptic Inventor] has showed us how to build a quality bench power supply from the guts of an old audio amplifier.

We’ve covered our fair share of DIY power supplies here at Hackaday, and despite this one being a year old, it goes the extra mile for a number of reasons. Firstly, many of the expensive and key components are salvaged from a faulty audio amp: the transformer, large heatsink and chassis, as well as miscellaneous capacitors, pots, power resistors and relays. Secondly, this power supply is a hybrid. As well as two outputs from off-the-shelf buck and boost converters, there is also a linear supply. The efficiency of the switching supplies is great for general purpose work, but having a low-ripple linear output on tap for testing RF and audio projects is really handy.

The addition of the linear regulator is covered in a second video, and it’s impressively technically comprehensive. [TPAI] does a great job of explaining the function of all the parts which comprise his linear supply, and builds it up manually from discrete components. To monitor the voltage and current on the front panel, two vintage dial voltmeters are used, after one is converted to an ammeter. It’s these small auxiliary hacks which make this project stand out – another example is the rewiring of the transformer secondary and bridge rectifier to obtain a 38V rail rated for twice the original current.

The Chinese DC-DC switching converters at the heart of this build are pretty popular these days, in fact we’re even seeing open source firmware being developed for them. If you want to find out more about how they operate on a basic level, here’s how a buck converter works, and also the science behind boost converters.

Continue reading “Hybrid Lab Power Supply From Broken Audio Amp”

Restoring An Atari 800 XL That’s Beyond Restoring

Sometimes the best way to get a hacker to do something is to tell them that they shouldn’t, or even better can’t, do it. Nothing inspires the inquisitive mind quite like the idea that they are heading down the road less traveled, if for nothing else to say that they did it. A thrown gauntlet and caffeine is often all that stands between the possible and the impossible.

Preparing the PCB for epoxy injection

So when [Drygol] heard a friend comment he had an old Atari 800 XL that was such poor shape it couldn’t be repaired, he took on the challenge of restoring the machine sight unseen. Luckily for us, his pride kept him from backing down when he saw the twisted and dirty mess of a computer in person. He’s started documenting the process on his blog, and while this is only the first phase of the restoration, the work he’s done already is impressive enough that we think you’ll want to follow him along on his quest.

There’s no word on what happened to this miserable looking Atari, but we wouldn’t be surprised if it was run over by a truck. The board was cracked and twisted, with some components missing entirely. The first step in this impossible restoration was straightening the PCB, which [Drygol] did by clamping it to some aluminum bar stock and heating the whole board up to 40C (104F) for a few days. Once the got most of the bend out, he used a small drill bit to put holes in the PCB laminate and inject epoxy to add some strength. It’s an interesting technique, and the results seem to speak for themselves.

Once the board was straight, he went through replacing blown passive components and broken chip sockets. All the ICs were pulled and treated to an isopropyl alcohol and acetone bath in an ultrasonic cleaner to get them looking like new again. The CPU was cooked and needed to get swapped out, but otherwise it was smooth sailing, and before long he had the machine booted up. While most would have been satisfied to just get this far, [Drygol] considers this to be the easy part.

He next straightened out the metal shielding with a mallet, sanded it down, and sprayed it with a new zinc coating. The plastic around the keyboard and the metal trim pieces were also removed, cleaned, and refinished where necessary. Rather than going for perfection, [Drygol] intentionally left some issues so the machine didn’t look 100% pristine. It’s supposed to be a functional computer, not a museum piece behind glass.

We’ll have to wait until the next entry in this series to see how he repairs the absolutely devastated case. Any rational person would just use a case from a donor machine, but we’ve got a feeling [Drygol] might have something a little more impressive in mind.

In the meantime we’ve got plenty of incredible restorations to keep you occupied, from this sunken VIC-20 to a Pi-packing Osborne.

The Hacky Throttle Repair That Got Me On The Road Again

Old cars are great. For the nostalgia-obsessed like myself, getting into an old car is like sitting in a living, breathing representation of another time. They also happen to come with their fair share of problems. As the owner of two cars which are nearing their 30th birthdays, you start to face issues that you’d never encounter on a younger automobile. The worst offender of all is plastics. Whether in the interior or in the engine bay, after many years of exposure to the elements, parts become brittle and will crack, snap and shatter at the slightest provocation.

You also get stuck bolts. This was the initial cause of frustration with my Volvo 740 Turbo on a cold Sunday afternoon in May. As I tried in vain to free the fuel rail from its fittings, I tossed a spanner in frustration and I gave up any hope of completing, or indeed, starting the job that day. As I went to move the car back into the driveway, I quickly noticed a new problem. The accelerator was doing approximately nothing. Popping the hood, found the problem and shook my head in resignation. A Volvo 740 Turbo is fitted with a ball-jointed linkage which connects the accelerator cable to the throttle body itself. In my angst, the flying spanner had hit the throttle body and snapped the linkage’s plastic clips. It was at this point that I stormed off, cursing the car that has given me so much trouble over the past year.

Continue reading “The Hacky Throttle Repair That Got Me On The Road Again”

Drifting Instrument Presents Opportunity To Learn About Crystal Oscillators

Sure, we all love fixing stuff, but there’s often a fine line between something that’s worth repairing and something that’s cheaper in the long run to just replace. That line gets blurred, though, when there’s something to be learned from a repair.

This wonky temperature-compensated crystal oscillator is a good example of leaning toward repair just for the opportunity to peek inside. [Kerry Wong] identified it as the problem behind a programmable frequency counter reading significantly low. A TCXO is supposed to output a fixed frequency signal that stays stable over a range of temperatures by using a temperature sensor to adjust a voltage-controlled oscillator that corrects for the crystal’s natural tendency to vary its frequency as it gets hotter or colder. But this TCXO was pretty old, and even the trimmer capacitor provided was no longer enough to nudge it back in range. [Kerry] did some Dremel surgery on the case and came to the conclusion that adding another trim cap between one of the crystal’s leads and ground would help. This gave him a much wider adjustment range and let him zero in on the correct 10-MHz setting. [Mr. Murphy] still runs the show, though – after he got the TCXO buttoned up with the new trimmer inaccessible, he found that the frequency was not quite right. But going from 2 kHz off to only 2 Hz is still pretty good.

Whether it’s the weird world of microwave electronics or building a whole-house battery bank, it’s always fun to watch [Kerry]’s videos, and we usually end up learning a thing or two.

Continue reading “Drifting Instrument Presents Opportunity To Learn About Crystal Oscillators”

Restoring A 1930s Oscilloscope – Without Supplying Power

We’ve all done it: after happening across a vintage piece of equipment and bounding to the test bench, eager to see if it works, it gets plugged in, the power switch flipped, but… nothing. [Mr Carlson] explains why this is such a bad idea, and accompanies it with more key knowledge for a successful restoration – this time revitalising a tiny oscilloscope from the 1930s.

Resisting the temptation to immediately power on old equipment is often essential to any hope of seeing it work again. [Mr Carlson] explains why you should ensure any degraded components are fixed or replaced before flipping the switch, knowing that a shorted/leaking capacitor is more than likely to damage other components if power is applied.

The oscilloscope he is restoring is a beautiful find. Originally used by radio operators to monitor the audio they were transmitting, it features a one inch CRT and tube rectification, in a tight form factor.

[Mr Carlson] uses his capacitor leakage tester to determine if the main filter capacitor needs replacing – it does, no surprises there – as well as confirming the presence of capacitors potted into the power transformer itself. These have the potential to not only derail the restoration, but also cause a safety hazard through leakage to the chassis.

After replacing and rewiring everything that’s relevant, the scope is hooked up to an isolation transformer, and it works first time – showing the value of a full investigation before power-up. [Mr Carlson] quips, “It really doesn’t have a choice; when it’s on this bench, it’s going to work again”, a quote which will no doubt resonate with Hackaday readers.

[Mr Carlson] promises to integrate the scope into a new piece of test equipment in the near future, but in the meantime you can read about his soldering station VFD mod, or his walk-in AM radio transmitter.

Continue reading “Restoring A 1930s Oscilloscope – Without Supplying Power”