Under The Sea: Optical Repeaters For Submarine Cables

Once a month or so, I have the privilege of sitting down with Editor-in-Chief Elliot Williams to record the Hackaday Podcast. It’s a lot of fun spending a couple of hours geeking out together, and we invariably go off on ridiculous tangents with no chance of making the final cut, except perhaps as fodder for the intro and outro. It’s a lot of work, especially for Elliot, who has to edit the raw recordings, but it’s also a lot of fun.

Of course, we do the whole thing virtually, and we have a little ritual that we do at the start: the clapping. We take turns clapping our hands into our microphones three times, with the person on the other end of the line doing a clap of his own synchronized with the final clap. That gives Elliot an idea of how much lag there is on the line, which allows him to synchronize the two recordings. With him being in Germany and me in Idaho, the lag is pretty noticeable, at least a second or two.

Every time we perform this ritual, I can’t help but wonder about all the gear that makes it possible, including the fiber optic cables running beneath the Atlantic Ocean. Undersea communications cable stitch the world together, carrying more than 99% of transcontinental internet traffic. They’re full of fascinating engineering, but for my money, the inline optical repeaters that boost the signals along the way are the most interesting bits, even though — or perhaps especially because — they’re hidden away at the bottom of the sea.

Continue reading “Under The Sea: Optical Repeaters For Submarine Cables”

All About USB-C: Example Circuits

In the six months that have passed after the last USB-C article has been released, I have thought up a bunch of ways that these articles could have been improved. It’s, of course, normal to have such a feeling — expected, even. I now believe that there’s a few gaps that I could bridge. For instance, I have not provided enough example circuits, and sometimes one schematic can convey things better than a thousand words.

Let’s fix that! I’ll give you schematics for the kinds of USB-C devices you’re actually likely to want to build. I’ll also share a bunch of IC part numbers in this article, but I don’t have an exhaustive collection, of course – if you find more cool ICs that work for USB-C purposes and aren’t mentioned here, please do let us all know in the comments!

Continue reading “All About USB-C: Example Circuits”

Review: Beepy, A Palm-sized Linux Hacking Playground

In the long ago times, when phones still flipped and modems sang proudly the songs of their people, I sent away for a set of Slackware CDs and embarked on a most remarkable journey. Back then, running Linux (especially on the desktop) was not a task to be taken lightly. The kernel itself was still in considerable flux — instead of changing some obscure subsystem or adding support for a niche gadget you don’t even own, new releases were unlocking critical capabilities and whole categories of peripherals. I still remember deciding if I wanted to play it safe and stick with my current kernel, or take a chance on compiling the latest version to check out this new “USB Mass Storage” thing everyone on the forums was talking about…

But modern desktop Linux has reached an incredible level of majority, and is now a viable choice for a great number of computer users. In fact, if you add Android and Chrome OS into the mix, there are millions and millions of people who are using Linux on daily basis and don’t even realize it. These days, the only way to experience that sense of adventure and wonderment that once came pre-loaded with a Linux box is to go out and seek it.

Which is precisely how it feels using using the Beepy from SQFMI. The handheld device, which was formerly known as the Beepberry before its creators received an all-too-predicable formal complaint, is unabashedly designed for Linux nerds. Over the last couple of weeks playing with this first-run hardware, I’ve been compiling kernel drivers, writing custom scripts, and trying (though not always successfully) to get new software installed on it. If you’re into hacking around on Linux, it’s an absolute blast.

There’s a good chance that you already know if the Beepy is for you or not, but if you’re still on the fence, hopefully this in-depth look at the hardware and current state of the overall project can help you decide before SQFMI officially starts taking new orders for the $79 gadget.

Continue reading “Review: Beepy, A Palm-sized Linux Hacking Playground”

LK-99: Diamagnetc Semiconductor, Not Superconductor?

Every so often, along comes a story which, like [Fox Mulder] with his unexplained phenomena, we want to believe. EM drives and cold fusion for example would be the coolest of the cool if they worked, but sadly they crumbled when subjected to scientific inquiry outside the labs of their originators. The jury’s still out on the latest example, a claimed room-temperature superconductor, but it’s starting to seem that it might instead be a diamagnetic semiconductor.

We covered some of the story surrounding the announcement of LK-99 and subsequent reports of it levitating under magnetic fields, but today’s installment comes courtesy of a team from Beihang University in Beijing. They’ve published a paper in which they characterize their sample of LK-99, and sadly according to them it’s no superconductor.

Instead it’s a diamagnetic semiconductor, something that in itself probably bears some explanation. We’re guessing most readers will be familiar with semiconductors, but diamagnetic substances possess the property of having an external magnetic field induce an internal magnetic field in the opposite direction. This means that they will levitate in a magnetic field, but not due to the Meissner effect, the property of superconductors which causes magnetic field to flow round their outside. The Beijing team have shown by measuring the resistance of the sample that it’s not a superconductor.

So sadly it seems LK-99 isn’t the miracle it was billed as, unless there’s some special quirk in the production of the original Korean sample which didn’t make it to the other teams. We can’t help wondering why a sample from Korea wasn’t subjected to external evaluation rather than leaving the other teams to make their own. Never mind, eh!

DisplayPort: Taming The Altmode

The DisplayPort altmode is semi-proprietary, but it can absolutely be picked apart if we try. Last time, we found a cool appnote describing the DisplayPort altmode in detail, switched the FUSB302 into packet sniffing mode and got packet captures, learned about PD VDMs (vendor-defined messages), and successfully replayed the captured messages to switch a USB-C port into the DisplayPort altmode. Today, we will go through the seven messages that summon the DisplayPort altmode, implement them, and tie them all into a library – then, figure out the hardware we need to have DisplayPort work in the wild.

For a start, as you might have seen from the diagram, a single command can be either a request or a response. For instance, if you get a Discover Identity REQ (request), you reply to it with a Discover Identity ACK (response), adding your identity data to your response along the way. With some commands, the DP source will add some data for you to use; for most commands, your DP sink will have to provide information instead – and we’ll do just that, armed with the PDF provided and the packet captures.

We have seven commands we need to handle in order to get DisplayPort out of a compatible USB-C port – if you need a refresher on these commands, page 13 of the ST’s PDF on the DP altmode will show you the message sequence. These commands are: Discover Identity, Discover SVIDs, Discover Modes, Enter Mode, DP Status Update, DP Configure, and Attention. Out of these, the first four are already partially described in the base USB PD standard, the two DP commands afterwards are DisplayPort-altmode-specific but sufficiently described in the PDF we have, and the Attention command is from the base standard as well, mostly helpful for reporting state of the HPD pin. Let’s start with the first two! Continue reading “DisplayPort: Taming The Altmode”

Clipper Windpower: Solutions In Search Of Problems

The first modern wind turbines designed for bulk electricity generation came online gradually throughout the 80s and early 90s. By today’s standards these turbines are barely recognizable. They were small, had low power ratings often in the range of tens to hundreds of kilowatts, and had tiny blades that had to rotate extremely quickly.

When comparing one of these tiny machines next to a modern turbine with a power rating of 10 or more megawatts with blades with lengths on the order of a hundred meters, one might wonder if there is anything in common at all. In fact, plenty of turbines across the decades share fundamental similarities including a three-blade design, a fairly simple gearbox, and a single electric generator. While more modern turbines are increasingly using direct-drive systems that eliminate the need for a gearbox and the maintenance associated with them, in the early 2000s an American wind turbine manufacturer named Clipper Windpower went in the opposite direction, manufacturing wind turbines with an elaborate, expensive, and heavy gearbox that supported four generators in each turbine. This ended up sealing the company’s fate only a few years after the turbines were delivered to wind farms.

Some history: the largest terrestrial wind turbines were approaching the neighborhood of 2 megawatts, but some manufacturers were getting to these milestones essentially by slapping on larger blades and generators to existing designs rather than re-designing their turbines from the ground up to host these larger components. This was leading to diminishing returns, as well as an increased amount of mechanical issues in the turbines themselves, and it was only a matter of time before the existing designs wouldn’t support this trend further. Besides increased weight and other mechanical stresses on the structure itself, another major concern was finding (and paying for) cranes with enough capacity to hoist these larger components to ever-increasing heights, especially in the remote locations that wind farms are typically located. And cranes aren’t needed just for construction; they are also used whenever a large component like a generator or blade needs to be repaired or replaced. Continue reading “Clipper Windpower: Solutions In Search Of Problems”

Ask Hackaday: What’s The Deal With Humanoid Robots?

When the term ‘robot’ gets tossed around, our minds usually race to the image of a humanoid machine. These robots are a fixture in pop culture, and often held up as some sort of ideal form.

Yet, one might ask, why the fixation? While we are naturally obsessed with recreating robots in our own image, are these bipedal machines the perfect solution we imagine them to be?

Continue reading “Ask Hackaday: What’s The Deal With Humanoid Robots?”