Tripping Out: A Field Guide To Circuit Protection

My introduction to circuit protection came at the tender age of eight. Being a curious lad with an inventive – and apparently self-destructive – bent, I decided to make my mother a lamp. I put a hose clamp around the base of a small light bulb, stripped the insulation off an old extension cord, and jammed both ends of the wires under the clamp. When I plugged my invention into an outlet in the den, I saw the insulation flash off the cord just before the whole house went dark. Somehow the circuit breaker on the branch circuit failed and I tripped the main breaker on a 200 amp panel. My mother has never been anywhere near as impressed with this feat as I was, especially now that I know a little bit more about how electricity works and how close to I came to being a Darwin Award laureate.

To help you avoid a similar fate, I’d like to take you on a trip (tee-hee!) through the typical household power panel and look at some of the devices that stand at the ready every day, waiting for a chance to save us from ourselves. As a North American, I’ll be focusing on the residential power system standards most common around here. And although there is a lot of technology that’s designed to keep you safe as a last resort, the electricity in your wall can still kill you. Don’t become casual with mains current!

Continue reading “Tripping Out: A Field Guide To Circuit Protection”

Will The Real Schrodinger’s Cat Please Stand Up

The story of Schrodinger’s cat is well known, and one of quantum theory’s most popular phrases on the world stage. You can find his cat on t-shirts, bumper stickers, internet memes and the like. However, few know the origins of the cat, and how it came into being. I suspect many do not understand it beyond the “dead and alive at the same time” catchphrase as well. Not surprisingly, it was Einstein who was at the center of the idea behind Schrodinger’s cat. In a vibrant discussion between the two via letters across the Atlantic, Schrodinger echoed Einstein’s concerns with the following:

Contained in a steel chamber is a Geiger counter prepared with a tiny amount of uranium, so small that in the next hour it is just as probable to expect one atomic decay as none. An amplified relay provides that the first atomic decay shatters a small bottle of prussic acid. This and -cruelly- a cat is also trapped in the steel chamber. According to the wave function for the total system, after an hour, sit venia verbo [pardon my language], the living and dead cat are smeared out in equal measure.

This was the first mention of Schrodinger’s cat, and one would not be incorrect in stating that this paragraph from a letter was where the cat was born. However, the original idea behind the thought experiment was from Einstein and his loathing of the wording of the Einstein-Podolsky-Rosen (EPR) paper. He expressed his frustrations with Schrodinger with a few simple examples, who then catapulted it into his famous paradox . In this article we’re going to explore not so much the cat, but the meaning behind the thought experiment and what it is meant to convey, while keeping it simple enough for anyone to understand. So next time you see it on a t-shirt, you will be able to articulate the true meaning and know the real Schrodinger’s cat.

Continue reading “Will The Real Schrodinger’s Cat Please Stand Up”

Electromagnetic Pulse: Pure Hollywood?

Imagine you’re in charge of a major heist. Right as your crew is about to rob the main vault, you need all of the electronics in the building to fail at exactly the right moment with no other collateral damage (except, maybe, to your raggedy panel van). Obviously you will turn to one of the entertainment industry’s tired tropes, the electromagnetic pulse! The only problem is that if you were to use a real one rather than a Hollywood prop either there would be practically no effect, a large crater where the vault used to be, or most of humanity would be in deep trouble. After all, the real world isn’t quite as convenient as the movies make it seem.

emp-electromagnetic-pulse-jra-1cg_wq4mp4-shot0001Our curiosity into this phenomenon was piqued when we featured an “EMP generator” from [FPS Weapons]. The device doesn’t create an enrapturing movie-esque EMP pulse suitable for taking down a casino or two, but it does spew a healthy amount of broadband electromagnetic interference (EMI) in every direction. It probably also doesn’t send the EMI very far; as we’ve seen in many other projects, it’s hard to transfer energy through the air. It got us wondering, though: what is the difference between being annoying and creating a weapon? And, is there any practical use for a device like this?

Continue reading “Electromagnetic Pulse: Pure Hollywood?”

Design And Hacking Drilldown: SuperCon Badge

One can imagine a political or business conference without an interactive badge — but not a hacker conference. Does this make the case for hackers being a special breed of people, always having something creative to show for their work? Yes, I think it does.

Following the Hackaday Belgrade conference in April of this year, we met at the Supplyframe offices to discuss the badge for the Hackaday SuperConference that will happen in Pasadena on 5+6th of November. The Belgrade conference badge (which was fully documented if you’re curious) was surprisingly popular, and I was asked to design the new one as well.

I was prepared to come up with something completely new, but [Mike Szczys] suggested keeping with the same basic concept for the project: “No reason to change anything, we have a badge that works”. To which I responded: “Well, the next one will also work”. But then I realized that “works” does not stand for “being functional”. The key is that it was embraced by visitors who played with it, coded on it, and solved a crypto challenge with it.

The World Doesn’t Have Enough LEDs

led-modules-versus-smdFast forward six months — here are the modifications made to the basic concept. First, the existing LED matrix, which was composed of two compact 8×8 blocks, was replaced by 128 discrete SMD LEDs. It was a much needed change to help scale down the dimensions and clunkiness, but also to avoid another painful experience of trying to purchase and have the matrix displays shipped, which seriously threatened the production of the previous badge.

It’s a long story which I discussed in my Belgrade talk — it turned out we did not manage to get enough common anode (CA) displays from all distributors in the whole world. We had a plan B, which also fizzled, leaving us with the plan C which actually included two “C”s: Common Cathode. We cleaned up all the supplies at five distributors, and managed to get 122 CA red, 340 CC red and 78 CA green displays (enough for only 270 badges) — the entire world supply. After that, you couldn’t get any 38 mm Kingbright’s display for months! The only problem was that there were two different versions of PCBs, one for CA and the other for CC displays, but luckily only one version of software, as it could autodetect the display type.

accelerometer-on-the-boardMotion and Expansion

So, what else was new in the concept? In the Belgrade version, the badge supported an accelerometer module and included an unpopulated footprint in case you decided to install it, but now the badge has the MEMS chip LIS3 as an integral part. There are nine pads (with five I/O ports, driven directly from the MCU) to which you can add a 9-pin expansion connector. There will be a number of these connectors at the Design Lab, so that anyone can expand their badge for their convenience, on the spot.

The Visual Design

The biggest change was in the visual design. What we came up with ended up being a fair bit smaller, lighter, with a more convenient shape, and less than half the thickness of the previous one. After we had scrapped quite a few ideas during the development process (including stylized skull, frog, etc), we were left with a couple of options which you can see on the image below. The wireframe drawing on the left hand side is the Belgrade badge, shown here for a size comparison. At this point the locale and date of the conference weren’t yet definitive, which is why you see San Francisco written on the images.

design-options-2016-supercon-badge

Design number 4 prevailed, so the PCB layout could begin. I don’t like autorouted PCBs, so I was in for quite a rough time trying to solve the routing manually having only 2 layers on the board at my disposal.

Routing a Compact LED Matrix

The LED matrix is so dense that there was virtually no room on the LED layer, so most of the tracks on the component layer had to be routed as if it was a single layer PCB. To make matters worse, the LED layer is routed as a matrix, with a bunch of horizontal and vertical tracks, otherwise a good reason to use a 4-layer PCB. To stay inside the budget, everything had to be placed on 2 layers, and that’s why the final result seems so confusing at the populated area between batteries:

Continue reading “Design And Hacking Drilldown: SuperCon Badge”

Look What Showed Up For Bring-A-Hack At OSH Park

Hackaday was in Portland last weekend for the Open Hardware Summit. I did a brief recap earlier this week but this post has been on my mind the entire time. The night before the summit, OSH Park (the Purveyors of Perfect Purple PCBs which we all know and love) hosted a Bring-A-Hack at their headquarters. [Laen] knows how to throw a party — with a catered spread and open bar which all enjoyed. The place was packed with awesome hackers, and everyone had something amazing to show off.

In fact, there were far too many people showing off hardware for me to capture all in one evening. But join me after the jump for six or seven examples that really stuck out.

Continue reading “Look What Showed Up For Bring-A-Hack At OSH Park”

Li-Ion Tech Staring Into The Abyss With Note 7 Failure

Unless you’ve been living under a high voltage transformer, you’ve heard about the potential for Samsung’s latest phone, the Note7, to turn into a little pocket grenade without warning. With over 2.5 million devices in existence, it’s creating quite a headache for the company and its consumers.

They quickly tied the problem to faulty Li-ion batteries and started replacing them, while issuing a firmware update to stop charging at 60 percent capacity. But after 5 of the replacement phones caught fire, Samsung killed the Note7 completely. There is now a Total Recall on all Note7 phones and they are no longer for sale.  If you have one, you are to turn it off immediately. And don’t even think about strapping it into a VR headset — Oculus no longer supports it. If needed, Samsung will even send you a fireproof box and safety gloves to return it.

note_01
Every airline has been broadcasting warnings not to power on or charge a Note 7 on a plane. Image Source: CNET

It should be noted that the problem only affects 0.01% of the phones out there, so they’re not exactly going to set the world on fire. However, it has generated yet another discussion about the safety of Li-ion battery technology.

It was just a few months ago we all heard about those hoverboards that would catch fire. Those questionably-engineered (and poorly-named) toys used Li-ion batteries as well, and they were the source of the fire problem. In the wake of this you would think all companies manufacturing products with Li-ion batteries in them would be extra careful. And Samsung is no upstart in the electronics industry — this should be a solved problem for them.

Why has this happened? What is the deal with Li-ion batteries? Join me after the break to answer these questions.

Continue reading “Li-Ion Tech Staring Into The Abyss With Note 7 Failure”

Too Good To Throw Away: Dealing With An Out-Of-Control Junk Hoard

There it was, after twenty minutes of turning the place over, looking through assorted storage boxes. A Thinwire Ethernet network. About the smallest possible Thinwire Ethernet network as it happens, a crimped BNC lead about 100mm long and capped at each end by a T-piece and a 50 ohm terminator. I’d been looking for a BNC T-piece on which to hook up another terminator to a piece of test equipment, and I’d found two of them.

As I hooked up the test I wanted to run I found myself considering the absurdity of the situation. I last worked somewhere with a Thinwire network in the mid 1990s, and fortunately I am likely to never see another one in my life. If you’ve never encountered Thinwire, be thankful. A single piece of co-ax connecting all computers on the network, on which the tiniest fault causes all to fail.

So why had I held on to all the parts to make one, albeit the smallest possible variant? Some kind of memento, to remind me of the Good Old Days of running round an office with a cable tester perhaps? Or was I just returning to my past as a hoarder, like a Tolkienic dragon perched atop a mountain of electronic junk, and not the good kind of junk?

Continue reading “Too Good To Throw Away: Dealing With An Out-Of-Control Junk Hoard”