Ask Hackaday: Is USB Robust Enough?

Earlier this month a single person pleaded guilty to taking down some computer labs at a college in New York. This was not done by hacking into them remotely, but by plugging a USB Killer in one machine at a time. This malicious act caused around $58,000 in damage to 66 machines, using a device designed to overload the data pins on the USB ports with high-voltage. Similar damage could have been done with a ball-peen hammer (albeit much less discreetly), and we’re not here to debate the merits of the USB Killer devices. If you destroy property you don’t own you should be held accountable.

But the event did bring an interesting question to mind. How robust are USB ports? The USB Killer — which we’ve covered off and on through the years —  is billed as a “surge testing” device and operates by injecting -200 volts DC on the data lines of the USB connection. Many USB ports are not protected against this and the result is permanent damage to the computer hardware. Is protection for these levels of abuse necessary or would it needlessly add cost to our machines?

A chip like the TPD4S014 has ESD protection on the data lines that is rated up to +/- 1500 volts, clamping to ground to dissipate the energy. It’s a solution that should protect against repeated spikes on the data lines, as well as short circuits on the power lines and over/undervoltage situations.

ADUM4160 Functional Diagram

The ADuM4160 is an interesting step up from this. It’s designed to provide isolation between a USB host and the device connected to it. Rather than relying on clamping, this chip implements isolation through air core transformers. Certainly this would be overkill to install in every product, but for those of use building and testing USB devices this would save you from “Oops, wrong USB cable” moments at the work bench.

Speaking of accidents at the bench, there is certainly a demand for USB isolation outside of what’s built into our computers. Earlier this year we saw a fantastic take on a properly-designed USB power strip. Among the goals were current limiting, undervoltage protection, and a proper power disconnect switch for each port. The very need to design your own reminds us that consumer manufacturers are often lazy in their USB design. “Use a USB hub” is bad advice for protection at the workbench since quality of design varies so wildly.

We would be interested in hearing from anyone who has insight on standards applying to equipment continuing to survive over current or over voltage events and remain functional. There are standards like UL-60950 that should apply to USB. But that standard includes language about failing safe for the operator, not necessarily remaining functional:

After abnormal operation or a single fault (see 1.4.14), the equipment shall remain safe for an OPERATOR in the meaning of this standard, but it is not required that the equipment should still be in full working order. It is permitted to use fusible links, THERMAL CUT-OUTS, overcurrent  protection devices and the like to provide adequate protection.

So, we’re here to ask you, the readers of Hackaday. Are our USB devices robust enough? Do you have a go-to USB protection chip, part, or other circuit you like to use? Have you ever accidentally killed a USB host device (if so, how)? Do you have special equipment that you depend on when developing projects involving USB? Let us know what you think in the comments below.

Make That Special Cup Of Coffee By Completely Tweaking The Coffee Machine

An interesting part of working on the Building Management and Control (BMaC) project – as previously covered on this site – was the reverse-engineering and ultimately the gaining of full control over the coffee machines at the office. Not the boring filter coffee machines, mind you, but the fully automatic espresso machine type that grinds beans, makes coffee, adds milk, and much more. Depending on one’s budget, naturally.

These little marvels of engineering contain meters of tubing, dozens of sensors, valves, ceramic grinders, and heating elements. The complexity of this machinery made us think that maybe there was more that we could do with these machines beyond what their existing programming and predefined products would allow. Naturally, there was.

Continue reading “Make That Special Cup Of Coffee By Completely Tweaking The Coffee Machine” →

The $50 Ham: Dummy Loads

This is an exciting day for me — we finally get to build some ham radio gear! To me, building gear is the big attraction of amateur radio as a hobby. Sure, it’s cool to buy a radio, even a cheap one, and be able to hit a repeater that you think is unreachable. Or on the other end of the money spectrum, using a Yaesu or Kenwood HF rig with a linear amp and big beam antenna to work someone in Antartica must be pretty cool, too. But neither of those feats require much in the way of electronics knowledge or skill, and at the end of the day, that’s why I got into amateur radio in the first place — to learn more about electronics.

To get my homebrewer’s feet wet, I chose perhaps the simplest of ham radio projects: dummy loads. Every ham eventually needs a dummy load, which is basically a circuit that looks like an antenna to a transmitter but dissipates the energy as heat instead of radiating it an appreciable distance. They allow operators to test gear and make adjustments while staying legal on emission. Al Williams covered the basics of dummy loads a few years back in case you need a little more background.

We’ll be building two dummy loads: a lower-power one specifically for my handy talkies (HTs) will be the subject of this article, while a bigger, oil-filled “cantenna” load for use with higher power transmitters will follow. Neither of my designs is original, of course; borrowing circuits from other hams is expected, after all. But I did put my own twist on each, and you should do the same thing. These builds are covered in depth on my Hackaday.io page, but join me below for the gist on a good one: the L’il Dummy.

Continue reading “The $50 Ham: Dummy Loads” →

Radio Piracy On The High Seas: Commercial Demand For Taboo Music

The true story of pirate radio is a complicated fight over the airwaves. Maybe you have a picture in your mind of some kid in his mom’s basement playing records, but the pirate stations we are thinking about — Radio Caroline and Radio Northsea International — were major business operations. They were perfectly ordinary radio stations except they operated from ships at sea to avoid falling under the jurisdiction of a particular government.

Back then many governments were not particularly fond of rock music. People wanted it though, and because people did, advertisers wanted to capitalize on it. When people want to spend money but can’t, entrepreneurs will find a way to deliver what is desired. That’s exactly what happened.

Of course, if that’s all there was to it, this wouldn’t be interesting. But the story is one of intrigue with armed boardings, distress calls interrupting music programs, and fire bombings. Most radio stations don’t have to deal with those events. Surprisingly, at least one of these iconic stations is still around — in a manner of speaking, anyway.

Continue reading “Radio Piracy On The High Seas: Commercial Demand For Taboo Music” →

3D Printering: The Quest For Printable Food

A video has been making the rounds on social media recently that shows a 3D printed “steak” developed by a company called NovaMeat. In the short clip, a machine can be seen extruding a paste made of ingredients such as peas and seaweed into a shape not entirely unlike that of a boot sole, which gets briefly fried in a pan. Slices of this futuristic foodstuff are then fed to passerby in an effort to prove it’s actually edible. Nobody spits it out while the cameras are rolling, but the look on their faces could perhaps best be interpreted as resigned politeness. Yes, you can eat it. But you could eat a real boot sole too if you cooked it long enough.

To be fair, the goals of NovaMeat are certainly noble. Founder and CEO Giuseppe Scionti says that we need to develop new sustainable food sources to combat the environmental cost of our current livestock system, and he believes meat alternatives like his 3D printed steak could be the answer. Indeed, finding ways to reduce the consumption of meat would be a net positive for the environment, but it seems his team has a long way to go before the average meat-eater would be tempted by the objects extruded from his machine.

But the NovaMeat team aren’t the first to attempt coaxing food out of a modified 3D printer, not by a long shot. They’re simply the most recent addition to a surprisingly long list of individuals and entities, not least of which the United States military, that have looked into the concept. Ultimately, they’ve been after the same thing that convinced many hackers and makers to buy their own desktop 3D printer: the ability to produce something to the maker’s exacting specifications. A machine that could produce food with the precise flavors and textures specified would in essence be the ultimate chef, but of course, it’s far easier said than done.

Continue reading “3D Printering: The Quest For Printable Food” →

Need A Small Keyboard? Build Your Own!

If you want keyboards, we can get you keyboards. If you want a small keyboard, you might be out of luck. Unless you’re hacking Blackberry keyboards or futzing around with tiny tact switches, there’s no good solution to small, thin, customization keyboards. There’s one option though: silicone keyboards. No one’s done it yet, so I figured I might as well.

Unfortunately, there is no readily available information on the design, construction, or manufacture of custom silicone keypads. There is a little documentation out there, but every factory that does this seems to have copy and pasted the information from each other. Asking a company in China about how to do it is a game of Chinese Whispers. Despite this, I managed to build a custom silicone keypad, and now I’m sharing this information on how to do it with you.

Continue reading “Need A Small Keyboard? Build Your Own!” →

Why Satellites Of The Future Will Be Built To Burn

There’s no shortage of ways a satellite in low Earth orbit can fail during the course of its mission. Even in the best case scenario, the craft needs to survive bombardment by cosmic rays and tremendous temperature variations. To have even a chance of surviving the worst, such as a hardware fault or collision with a rogue piece of space garbage, it needs to be designed with robust redundancies which can keep everything running in the face of systemic damage. Of course, before any of that can even happen it will need to survive the wild ride to space; so add high-G loads and intense vibrations to the list of things which can kill your expensive bird.

After all the meticulous engineering and expense involved in putting a satellite into orbit, you might think it would get a hero’s welcome at the end of its mission. But in fact, it’s quite the opposite. The great irony is that after all the time and effort it takes to develop a spacecraft capable of surviving the rigors of spaceflight, in the end, its operators will more than likely command the craft to destroy itself by dipping its orbit down into the Earth’s atmosphere. The final act of a properly designed satellite will likely be to commit itself to the same fiery fate it had spent years or even decades avoiding.

You might be wondering how engineers design a spacecraft that is simultaneously robust enough to survive years in the space environment while at the same time remaining just fragile enough that it completely burns up during reentry. Up until fairly recently, the simple answer is that it wasn’t really something that was taken into account. But with falling launch prices promising to make space a lot busier in the next few years, the race is on to develop new technologies which will help make sure that a satellite is only intact for as long as it needs to be.

Continue reading “Why Satellites Of The Future Will Be Built To Burn” →