Searching For USB Power Supplies That Won’t Explode

USB power supplies are super cheap and omnipresent. They are the Tribble of my household. But they’re not all created equal, and some of them may even be dangerous. I had to source USB power supplies for a product, and it wasn’t easy. But the upside is that I got to tear them all apart and check out their designs.

In order to be legitimate, it’s nice (but not legally required) for a power supply to have UL approval. Some retailers and offices and building managers require it, and some insurance companies may not pay claims if it turns out the damage was caused by a non-UL-approved device.  UL approval is not an easy process, though, and it is time consuming and expensive. The good news is that if you are developing a low voltage DC product, you can pair it with a UL approved power supply and you’re good to go without any further testing necessary.

power_supply_1_overviewIf you are going for FCC approval and are having unintentional emissions testing done (which is more likely than UL as it’s a legal requirement for products that meet certain qualifications), the testing has to be done on the whole solution, so the power supply must be included in the testing, too.

Sourcing cheap electronics in large quantities usually ends up in China, and specifically Alibaba. First, we started with a how-low-can-you-go solution. This wasn’t even a power adapter; it was a power “adapteP”, and the whole batch was mis-printed. Quality control could not be a high priority. After cutting it open, it wasn’t terrible, and it had all the necessary parts. It was surprising how much of it was through-hole, which indicates that the assembly was done mostly by people. That happens when factories are cheaper, hire inexpensive labor, don’t invest in technology, and don’t care as much about quality.

There are certain things you should look for in a power supply to determine the level of risk:

  • Isolation Distance – This is how much space there is between the primary (AC) and secondary (DC 5V) sides. UL requires a few millimeters, and often you’ll see two separate PCBs. On many single-PCB solutions you’ll see a white line meander across the board to distinguish between the two. The smaller this separation, the closer your USB power is to AC line voltage, and if the gap is bridged somehow, you’re in for a world of hurt.
  • Fuse – if there is a short, a lot of current starts flowing, components heat up, and things get dangerous. A thermal cut-off (TCO) fuse (also known as a resettable fuse or a PTC) is a component that breaks the circuit when it gets too hot, like a circuit chaperon. When it cools off, the TCO resets and you can plug the device back in with no harm done. Without the fuse, the supply heats up and current keeps flowing until a component fries, sometimes explosively.
  • Connectors – You don’t want bare leads hanging out in space where they could move and touch something. You don’t want the USB port to be soldered only by its four pins. You don’t want the power pins to be loose.
  • Decent Label – “Adaptep”? Yes, to someone who uses a different alphabet the “P” and R are very similar characters. But still. Also, fake certifications abound. Look for the difference between the CE (China Export) and the CE (Conformité Européenne) labels. And the UL Logo should have a number. So should an FCC label.

So this first adapter? Isolation distance was fine because it was two separate boards, but there was no fuse and no protective tape between components. The connectors were all secure, but the label didn’t make any promises. As for performance, output at 5.34V under my product’s load meant it was a little outside of USB spec (5.25V limit), but not dangerous. On the scope it was ringing with a peak at 5.5 V at 4 kHz.

Of course, sourcing this supply for a second batch proved tricky, and we wanted the USB plug to come out the side instead of the front so it would have a thinner profile against a wall. Additionally, we needed UL approval for a client. Our second attempt was surprisingly successful. This adapter had UL certification, with a number to look up. Note that just having a number isn’t enough; many companies will just put someone else’s number on their product and assume nobody will bother to check. So when you do look it up, and find a different manufacturer, a different enclosure, and it looks more like a refrigerator than a USB power supply, don’t be too surprised. But no, this particular one was great! The label had a company name on it, model number and specs, and certifications that could be verified. Let’s tear it open!

power_supply_2_overviewSweet sweet silicon meat inside an ABS shell! Components wrapped in protective tape, two PCBs for isolation, and even a special injection-molded plastic piece to add additional protection. Components are labeled, and what’s this, an IC to control the oscillation instead of a feedback winding on the transformer? Fancy! It’s pretty clear that this power supply is good, and I’d trust this one.

Comparing this one to the others, there were so many noticeable little details that are important and clearly thought-out. Take, for example, the connection between the prongs and the PCB. On the previous board, it was made with wires soldered by hand. Solid, but time consuming and prone to failure or quality issues. This adapter has metal contacts that snap into the case very solidly so that the prongs cannot get loose. The connection to the PCB is via the springiness of the metal, but notice that the PCB has pads specifically designed to maximize the surface area of that connection. On the next PCB you’ll see no such effort.

Some components were covered in shrink tube, tape, or non-conductive grey adhesive. The assembly was tight with no room for components to shake loose or accidentally touch. And the output was perfect. 4.9 Volts with nary a ripple.

But this is China, and component sourcing problems are a thing, so I guess I shouldn’t have been surprised when these supplies were no longer available. In retrospect, maybe these were unsold overstock, or possibly QC rejects. That would explain why they were only slightly more expensive than the others. And so we moved on to another supplier; one that could pad-print our logo on top.

power_supply_differencesAt first glance these power supplies appeared identical. But close inspection reveals slight differences in the style around the USB and the raised ridges on the underside. The label was completely different, and gone was the number next to the UL logo. There was no company name on the supply either, and the company we purchased from turned out to be a reseller and not the OEM. Also, why was the output 4.7-5V, and why did my scope say 5.5V (but surprisingly stable)?

Inside was a completely different beast. Using a single PCB, the creep distance was about a millimeter. You can see the white line meandering through the bottom of the PCB that shows the high and low sides. The USB port wasn’t soldered to the PCB except by the four signal/power pins (see the bottom side lower left and the hanging USB connection pins), and there was a capacitor with really long uncovered leads and the positive side dangerously close to the USB shell. There was almost no protective tape, no shrink tube on the leads, and no protection in case of a short.

 

In the end, I wouldn’t trust the two non-UL supplies with anything worth more than a few bucks, and certainly not my cell phone. I’d have really big reservations about reselling them to customers who don’t know the difference. The UL-approved one was great, but the other two are only good for powering low-current-draw devices that are not sensitive to voltage. Also, finding a reliable supplier in China is HARD.

Check out a much more thorough analysis of this and pretty much every USB power supply cube by [Ken Shirriff]. It’s surprising how little has changed in four years with these supplies, and his analysis goes into how the circuits behind these supplies work, identifying each component and its purpose.

We also covered a Sparkfun teardown of some power supplies with similar conclusions, and a Fail of the Week in which a faulty USB power adapter was the likely cause of a fire.

New Research Sheds Light On 3D Printing Fumes

A few years back, there were some studies on the chemical and particle emissions coming out of the hotends of 3D printers. Although they galvanized a lot of people in the community, the science wasn’t entirely conclusive — one paper made it sound like you needed a hazmat suit for 3D printing, and the other suggested that cooking a meal in a kitchen was worse for you. That’s because they were measuring different things.

This new research paper on the emissions of 3D printers covers all the bases. They examined a variety of different materials printed in different printers. They also measured both chemical emissions and Ultrafine Particles (UFP) which can be hazardous even when the material itself is not.

We read the paper (PDF) so that you don’t have to. Here’s our takeaways:

  • 3d_printer_particles.pngThere was no significant variation across brands of 3D printers. (Duh?)
  • ABS and similar materials outgas styrene at levels you should probably be worrying about if you’re running your printer for a few hours a day in an unventilated office.
  • PLA emitted significantly less overall, and most of it was a non-hazardous chemical, lactide. PLA doesn’t look like a problem.
  • All of the materials resulted in increased UFP exposure. These levels are above normal household background levels, but lower than certain “microclimates” which (if you follow the references) include principals’ offices with carpet, automobiles, restaurants, and rooms with burning candles or running hair dryers. In short, the UFP exposure doesn’t look like it’s going to be a big deal unless you’re sitting right next to the printer and running it continually.

So what would we do? It now looks like it’s prudent to print ABS only in a well-ventilated room. Or enclose the printer in a box and vent whatever you can outside — which can also help prevent breezes cooling the piece down unevenly and adding to ABS’s warping problems. Or just stick to PLA. It looks essentially harmless.

Thanks [Jim Scheitel] for the tip!

LUX Searches In The Deep For Dark Matter

The Homestake Mine started yielding gold in 1876. If you had asked George Hearst, the operator at the time, if the mine would someday yield the secrets of the universe I bet he would have laughed you out of the room. But sure enough, by 1960 a laboratory deep in the mine started doing just that. Many experiments have been conducted there in the five and a half decades since. The Large Underground Xenon (LUX) experiment is one of them, and has been running is what is now called the Sanford Underground Research Facility (SURF) for about four years. LUX’s first round of data was collected in 2013, with the experiment and the rest of the data slated to conclude in 2016. The method, hardware, and results wrapped up in LUX are utterly fascinating.

Continue reading “LUX Searches In The Deep For Dark Matter”

Four Seasons In One Photo

What an interesting way to show a year: Norwegian hacker [Erikso] created a condensed timelapse that shows a year in a single photo. He had taken a timelapse of the view from his living room window in the frozen north every day during 2010, using a camera that was locked in place taking an image every 30 minutes. Then, with the help of some hacker friends, he came up with a script that slices these images up and combines them so that each day is represented by a vertical slice. The result is a gorgeous image that gives a wonderful sense of the seasons, and how that affects the trees. You can see the leaves grow and fall, and the snow on the ground come, go and come again.

Continue reading “Four Seasons In One Photo”

The Most Brilliant Use Of Crowdfunding Yet: Medical Research

Since the rise of Kickstarter and Indiegogo, the world has been blessed with $100 resin-based 3D printers, Video game consoles built on Android, quadcopters that follow you around, and thousands of other projects that either haven’t lived up to expectations or simply disappeared into the ether. The idea of crowdfunding is a very powerful one: it’s the ability for thousands of people to chip in a few bucks for something they think is valuable. It’s a direct democracy for scientific funding. It’s the potential for people to pool their money, give it to someone capable, and create something really great. The reality of crowdfunding isn’t producing the best humanity has to offer. Right now, the top five crowdfunding campaigns ever are two video games, a beer cooler, a wristwatch with an e-ink screen, and something to do with Bitcoin. You will never go broke underestimating people.

[Dr. Todd Rider] wants to change this. He might have developed a way to cure nearly all viral diseases in humans, but he can’t find the funding for the research to back up his claims. He’s turned to IndieGoGo with an audacious plan: get normal people, and not NIH grants, to pay for the research.

The research [Dr. Rider] has developed is called the DRACO, the Double-stranded RNA Activated Caspase Oligomerizer. It works by relying on the singular difference between healthy cells and infected cells. Infected cells contain long chains viral double-stranded RNA. The DRACOs attach themselves to these long strands of RNA and cause those cells to commit suicide. The research behind the DRACO was published in 2011, and since then [Dr. Rider] has already received funding from more traditional sources, but right now the project is stuck in the ‘funding valley of death’. It’s easy to get funding for early research, but to get the millions of dollars for clinical trials it takes real results – showing efficacy, and proving to pharmaceutical companies or VCs that the drug will make money.

So far, results are promising, but far from the cure for HIV and the common cold the DRACO promises to be. [Dr. Rider] has performed a few tests on cell cultures and mice, and the DRACOs have been effective in combating everything from the common cold, to the flu to dengue hemorrhagic fever.

The IndieGoGo campaign is flexible funding, meaning all the money raised will go towards research even if the funding goal is not met. Right now, just over $50,000 has been raised of a $100,000 goal. That $100k goal is just the first step; [Dr. Rider] thinks he’ll need about $2 Million to test DRACOs against more viruses and hopefully show enough progress to get additional traditional funding. That $2 Million is a little less than what Solar Roadways raised, meaning no matter what [Dr. Rider] will make one important medical discovery: people are very, very, very dumb.

Continue reading “The Most Brilliant Use Of Crowdfunding Yet: Medical Research”

9th Grader Arrested, Searched For Building A Clock

A 14-year-old in Dallas, Texas has been arrested for bringing a clock to his school. [Ahmed Mohamed] could be any one of us. He’s a tinkerer, pulling apart scrap appliances and building projects from the parts. He was a member of the his middle school robotics team. The clock was built from a standard four digit seven segment display and a circuit board. [Ahmed] built the circuit inside a Vaultz hard pencil case like this one. He then did what every other experimenter, inventor, hacker, or maker before him has done: He showed off his creation.

Unfortunately for [Ahmed] one of his teachers immediately leapt to the conclusion that this electronic project was a “hoax bomb” of some sort. The police were called, [Ahmed] was pulled out of class and arrested. He was then brought to a detention center where he and his possessions were searched. [Ahmed] is now serving a three-day suspension from school. His clock is considered evidence to be used in a possible criminal case against him.

If this situation doesn’t get your blood boiling, then we don’t know what does. Not only is there a glaring racial issue here, but also an issue of allowing kids to bring their projects to school. We hope you’ll join us in expressing outrage at this whole debacle, as well as supporting [Ahmed] in any way you can. Let’s join together as a community to make sure a few small-minded individuals don’t break the spirit of this budding hardware hacker.

For anyone out there who would like to support [Ahmed]’s education even when his school won’t, [Anil Dash] is will be in contact with the family later today. We’re offering a gift card for the hackaday store and we would assume other contributions would also be welcome. -Ed.

Continue reading “9th Grader Arrested, Searched For Building A Clock”

Dropping By The MIT Electronics Research Society

We’re in Boston this week and my first stop was at MITERS last night. This is the MIT Electronics Research Society, which started as a way to provide free access to computers for all students. Since those humble beginnings the organization has grown to include a slew of fabrication and test hardware, as well as a vibrant community that makes the group a great place to hang out.

Walking into the building you’re greeted with double doors strewn with interesting electronics and many examples of fabrication in the form of the word MITERS. The group, which is pushing 60-years of existence, feels immediately like a hackerspace where creativity and anarchy duke it out in a wild dance of experimentation. On this particular Wednesday evening we encountered a room of about 10 people working feverishly to fabricate electric racers for the PRS racing circuit in Detroit this Saturday.

Like a hackerspace, MITERS is completely member (read: student) run. There is a board that helps keep things on the rails. There is no membership fee; funding for the organization is sourced from Swapfest, a weekly flea market during the summer.

There is a strong slant toward machine shop at this hackerspace. In addition to a respectable Bridgeport CNC Mill, the machine tools and hand tools provide for almost all your fabrication needs.

What can be built in this space? How about a unibalancer? This is a single-wheeled, human-ridable vehicle that has a 7-mile cruise radius between charges. For me the most interesting feature is the deadman’s switch. You know those black rubber strips on public buses that you press for the next stop? This unibalancer has one that you need to stand on to make it go.

The hackers at MITERS excel when it comes to electric vehicles and this time of year that means the Power (Wheels) Racing Series. There are restrictions on size, and power output so the teams squeeze every bit that they can. For me, the most interesting build is based off of a pair of Ryobi electric chainsaws. The 40V batteries for these are themselves quite formidable but not used at all in the build. The team has reverse-engineered the driver circuits and written their own firmware for the STM8 microcontrollers on the boards. The chainsaws use chains to drive the two rear wheels. The entire system is monitored with XBEE-based wireless data which is displayed on a tablet.

This isn’t the only PRS build. The MITERS plan to take three different vehicles with them this weekend. The one they can’t bring is the huge electric shopping cart (with mandatory wheelie bar) which hangs from the ceiling of the space.

In addition to the formidable fabrication projects, there are a multitude of electronic projects to be seen. There is a musical tesla coil which is the best I’ve ever heard. It could easily be mistaken as a proper speaker. If you need more bass there’s a massive ceiling-mounted sub-woofer for that. And if you want a more formidable tesla coil, the parts are there.

Look hard enough and you’ll even find battle robots. This one had diamond plate that spins with a variety of nasty accoutrements intended for maximum damage of its foe. On the underside you’ll see a brushless motor used the opposite of how you might think. The shaft is attached to the locomotion frame of the bot. The underside of the spinning diamond plate has a ring of antistatic mat against which this brushless motor body spins.

Thanks to the MITERS for welcoming us in. It was a blast seeing all of the projects they’re working on!

Meetup at Artisan’s Asylum Tonight

If you’re in the Boston area, head on over to Artisan’s Asylum tonight starting at 6. They were gracious enough to open their doors for a Hackaday Meetup. Bring some hardware to show off if you can, if you can’t that’s fine as well. We’ll have a few lightning talks, some social time, and maybe an afterbar!

To wrap things up, we have covered a few projects from MITERS already, like this Power Wheels Racing build, and an electric go kart done the right way. Now that we’ve met them in person we’ll be on the lookout for a lot more awesome hacks from them.

[Thanks John for suggesting we stop by!]