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.

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”

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”

How 5G Is Likely To Put Weather Forecasting At Risk

If the great Samuel Clemens were alive today, he might modify the famous meteorological quip often attributed to him to read, “Everyone complains about weather forecasts, but I can’t for the life of me see why!” In his day, weather forecasting was as much guesswork as anything else, reading the clouds and the winds to see what was likely to happen in the next few hours, and being wrong as often as right. Telegraphy and better instrumentation made forecasting more scientific and improved accuracy steadily over the decades, to the point where we now enjoy 10-day forecasts that are at least good for planning purposes and three-day outlooks that are right about 90% of the time.

What made this increase in accuracy possible is supercomputers running sophisticated weather modeling software. But models are only as good as the raw data that they use as input, and increasingly that data comes from on high. A constellation of satellites with extremely sensitive sensors watches the planet, detecting changes in winds and water vapor in near real-time. But if the people tasked with running these systems are to be believed, the quality of that data faces a mortal threat from an unlikely foe: the rollout of 5G cellular networks.

Continue reading “How 5G Is Likely To Put Weather Forecasting At Risk”

The $50 Ham: Checking Out The Local Repeater Scene

So far in this series, we’ve covered the absolute basics of getting on the air as a radio amateur – getting licensed, and getting a transceiver. Both have been very low-cost exercises, at least in terms of wallet impact. Passing the test is only a matter of spending the time to study and perhaps shelling out a nominal fee, and a handy-talkie transceiver for the 2-meter and 70-centimeter ham bands can be had for well under $50. If you’re playing along at home, you haven’t really invested much yet.

The total won’t go up much this week, if at all. This time we’re going to talk about what to actually do with your new privileges. The first step for most Technician-class amateur radio operators is checking out the local repeaters, most of which are set up exactly for the bands that Techs have access to. We’ll cover what exactly repeaters are, what they’re used for, and how to go about keying up for the first time to talk to your fellow hams.

Continue reading “The $50 Ham: Checking Out The Local Repeater Scene”

Humanity Creates A Cloud Of Space Garbage, Again

With the destruction of the Microsat-R reconnaissance satellite on March 27th, India became the fourth country in history to successfully hit an orbiting satellite with a surface-launched weapon. While Microsat-R was indeed a military satellite, there was no hostile intent; the spacecraft was one of India’s own, launched earlier in the year. This follows the examples of previous anti-satellite (ASAT) weapons tests performed by the United States, Russia, and China, all of which targeted domestic spacecraft.

Yet despite the long history of ASAT weapon development among space-fairing nations, India’s recent test has come under considerable scrutiny. Historically, the peak of such testing was during the 1970’s as part of the Cold War rivalry between the United States and then Soviet Union. Humanity’s utilization of space in that era was limited, and the clouds of debris created by the destruction of the target spacecraft were of limited consequence. But today, with a permanently manned outpost in low Earth orbit and rapid commercial launches, space is simply too congested to risk similar experiments. The international community has strongly condemned the recent test as irresponsible.

For their part, India believes they have the right to develop their own defensive capabilities as other nations have before them, especially in light of their increasingly active space program. Prime Minister Narendra Modi released a statement reiterating that the test was not meant to be a provocative act:

Today’s anti-satellite missile will give a new strength to the country in terms of India’s security and a vision of developed journey. I want to assure the world today that it was not directed against anybody.

India has always been against arms race in space and there has been no change in this policy. This test of today does not violate any kind of international law or treaty agreements. We want to use modern technology for the protection and welfare of 130 million [1.3 Billion] citizens of the country.

Further, the Indian Space Research Organisation (ISRO) rejects claims that the test caused any serious danger to other spacecraft. They maintain that the test was carefully orchestrated so that any debris created would renter the Earth’s atmosphere within a matter of months; an assertion that’s been met with criticism by NASA.

So was the Indian ASAT test, known as Mission Shakti, really a danger to international space interests? How does it differ from the earlier tests carried out by other countries? Perhaps most importantly, why do we seem so fascinated with blowing stuff up in space?

Continue reading “Humanity Creates A Cloud Of Space Garbage, Again”

Brain Hacking With Entrainment

Can you electronically enhance your brain? I’m not talking about surgically turning into a Borg. But are there electronic methods that can improve various functions of your brain? Fans of brainwave entrainment say yes.

There was an old recruiting ad for electrical engineers that started with the headline: The best electronic brains are still human. While it is true that even a toddler can do things our best computers struggle with, it is easy to feel a little inadequate compared to some of our modern electronic brains. Then again, your brain is an electronic device of sorts. While we don’t understand everything about how it works, there are definitely electric signals going between neurons. And where there are electric signals there are ways to measure them.

The tool for measuring electric signals in the brain is an EEG (electroencephalograph). While you can’t use an EEG to read your mind, exactly, it can tell you some pretty interesting information, such as when you are relaxed or concentrating. At its most basic we’ve seen toys and simple hobby projects that purport to be “mind controlled” but only at an incredibly rudimentary level.

Brainwave entrainment is a hypothesis that sending low frequency waves to your brain can give your mind a nudge and sync up brain activity with the equipment measuring it. The ability to synchronize with the brain could yield much better measurements for a meaningful interface between modern electronics and electric storm of thought happening in your head.

Continue reading “Brain Hacking With Entrainment”