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.

Tinkercad Coding Tricks To Automate Modeling

If you want to do a quick design for 3D printing, Tinkercad is pretty easy to use. Although it was briefly in danger of going out of business, it was bought by AutoDesk who have made a lot of improvements. It is possible to program and simulate an Arduino in the same tool — which always strikes us as an odd juxtaposition. However, [Chuck] shows us in the video below how you can use the same Codeblocks to automate Tinkercad 3D modeling thanks to a beta feature in the software. Think of it as a GUI-based OpenSCAD in your browser.

You have to start a Codeblocks project, and when you do you can pick a starter design or just press the button for a new design to get a blank slate. The blocks look like other Scratch-related programming languages. You can create variables, repeat groups of commands, and create items. [Chuck] mentions the starter codes have no comments in them, which is a fair critique. There is a comment block you can use.

Continue reading “Tinkercad Coding Tricks To Automate Modeling”

Dollar Store PCB Holder System

As you get into electronic fabrication and repair, one of the first things you realize is how hard it can be to hold a PCB still while you work on it. Securing them is difficult due to their very nature: they’re often weird shapes, quite fragile, and of course need to be electrically isolated. If you don’t mind spending the money, and have the time to wait on it getting delivered, you can order some nice purpose-built systems for holding PCBs online. But what if you need something fast and cheap?

[Paul Bryson] might have the solution for you. On his blog he’s documented how a trip to the dollar store and some parts from the junk bin allowed him to create a practical system for holding multiple PCBs of various shapes and sizes. The most exotic element of the build here are the hexagonal standoffs; and if you haven’t already salvaged a bunch of those from a curbside computer, he even gives the Mouser link where you can buy them new for a few cents each.

Each individual stanchion of the system is made up of a 3/4″ round magnet with a hex standoff glued to the top. Over the standoff, [Paul] slipped a rubber grommet which gives a nice non-conductive slot to put the edge of the PCB in. Otherwise, a second hex standoff screwed into the first can be used to clamp down on the board. Adjusting the height is as simple as adding a couple more magnets to the stack.

Of course, magnets need something metal to stick on. For that, [Paul] purchased some steel pie pans and matching rack from the dollar store. The round pans are easy to handle and give him plenty of surface area, and the rack makes for an exceptionally convenient storage unit for all the components. The conductivity of the pans might be a concern, but nothing the application of a rubberized spray coating couldn’t fix.

We’ve covered similar systems before, but this one certainly looks to take the top spot in terms of economics. The only thing that would be cheaper would be a few feet of PLA filament and a rubber band.

A 38-Year-Old Vocoder Project

It is hard to remember that scant decades ago, electronic magazines — the pre-Internet equivalent of blogs — featured lots of audio circuits based on analog processing. Music synthesizers were popular for example, because microcontrollers were expensive and unable to perform digital signal processing tasks in the way you would use them today. [Julian] has been trying to build a vocoder from that era from ETI magazine. Along the way, he’s making videos documenting what he’s found and how’s he resolving issues.

The circuit generates levels for particular input frequencies. It does so with a two-op-amp bandpass filter, a two-op-amp rectifier, and then an op-amp lowpass filter. That’s five op-amps for each band (there are 14 bands) plus the support circuitry. And that’s just the input section! Today, you would simply sample the signal and do a fast Fourier transform (FFT) to get the same kind of data.

Continue reading “A 38-Year-Old Vocoder Project”

DIY Socket for Prosthetics Contains Power Supply, Charger

Innovation in prosthetics is open to anyone looking to enhance the quality of life, but there’s an aspect of it that is sometimes under-served. The DIY Prosthetic Socket entry to the Hackaday Prize is all about the foundation of a useful prosthesis: a custom, form-fitting, and effective socket with a useful interface for attaching other hardware. While [atharvshringaregt] is also involved with a project for a high-tech robotic hand with meaningful feedback, socket fitting and design is important enough to be its own project.

The goal is not just to explore creating these essential parts in a way that’s accessible and affordable to all, but to have them include a self-contained rechargeable power supply that can power attachments. Thoughtful strap placement and a power supply design that uses readily available components with a 3D printed battery housing makes this DIY prosthetic socket a useful piece of design that keeps in mind the importance of comfort and fitting when it comes to prosthetics; even the fanciest robot hand isn’t much good otherwise.

A Sneak Preview Of The Hacker Warehouse Badge

We were lucky enough to get our hands on a hand-soldered prototype of the new Hacker Warehouse badge, and boy is this one a treat. It’s fashionable, it’s blinky, and most impressively, it’s a very useful tool. This badge can replace the Google Authenticator two factor authentication app on your phone, and it’s a USB Rubber Ducky. It’s also a badge. Is this the year badges become useful? Check out the video below to find out more.

This is the time of year when hardware hackers from all across North America are busy working on the demoscene of hardware and manufacturing. This is badgelife, the celebration of manufacturing custom wearable electronics for one special weekend in Las Vegas. In just about a month from now, there will be thousands of independent badges flooding Caesar’s Palace in Vegas, complete with blinkies, custom chips, innovative manufacturing processes, and so many memes rendered in fiberglass and soldermask.

Continue reading “A Sneak Preview Of The Hacker Warehouse Badge”

Electronic ColorChord Turns Color Into Sound

[Dr. Cockroach] has delighted us again with another of his circuits on cardboard. He calls it steampunk inspired, and while we guess we can see what he’s getting at, it’s more like a sweet example of artful dead bug construction. He calls it the ColorChord. Point its photo cells at a color and it’ll play a tone or a combination of tones specific to that color.

Three 555-centric boards use thumbtacks as connection points which he solders to, the same technique he used for his cardboard computer. They provide simple tones for red, green, and blue and a mix for any other color. However, he found that the tones weren’t distinguishable enough for similar colors like a bright sun yellow and a reddish yellow. So he ended up pulsing them using master oscillator, master-slave flip-flop, and sequencer circuits, all done dead bug style.

We’re not sure how practical it is but the various pulsed tones remind us of the B space movies of the 1950s and 60s. And as for the look of it, well it’s just plain fun to look at. Hear and see it for yourself in the video below.

And if you want to see some dead bug circuitry as high art then check out this awesome LED ring, this sculptural nixie clock, and perhaps the most wondrous of all, The Clock.

Continue reading “Electronic ColorChord Turns Color Into Sound”