USB-C For Hackers: Build Your Own PSU

What if you wanted to build your own USB-C PSU? Good news – it’s easy enough! If you ever wanted to retrofit a decent DC PSU of yours to the USB-C standard, say, you got a Lenovo/HP/Dell 19V-20V charger brick and you’ve ever wished it were USB-C, today is the day when we do exactly that. To be fair, we will cheat a bit – but only a tiny bit, we won’t be deviating too much from the specification! And, to begin with, I’ll show you some exceptionally easy ways that you can turn your DC PSU into a USB-C compatible one, with a simple module or a few.

Turning a 20 V PSU into a USB-C PSU feels natural if you want to charge a laptop – those tend to request 20 V from a USB-C PSU anyway, so what’s the big deal? However, you can’t just put 20 V onto a USB-C connector – you have to add a fair bit of extra logic to make your newly christened USB-C PSU safe to use with 5 V devices, and this logic also requires you go through a few extra steps before 20 V appears on VBUS. Any USB-C PSU has to output 5 V first and foremost whenever a device is connected, up until a higher voltage is negotiated digitally, and the PSU may only switch to a higher voltage output when it’s requested to do so.

Now, for that, a PSU offers a list of profiles, and we looked into those profiles in the Replying PD article – each profile is four bytes that contain information about the profile voltage, maximum current that the device may draw at that voltage, and a few other details. For a PSU to be USB-C compliant, the USB-C specification says that, in addition to 5 V, you may also offer 9 V, 15 V, and 20 V.

Also, the specification says that if a PSU supports certain in-spec voltage like 15 V, it’s also required by the spec to offer all of the spec-defined voltages below the maximum one – for 15 V, that also requires supporting 9 V. Both of these are UX requirements, as opposed to technical requirements – it’s easier for device and PSU manufacturers to work with a small set of pre-defined voltages that majority of the chargers will support, but in reality, you can actually offer any voltage you want in the PSU advertisement; at worst, a device is going to refuse and contend with slowly charging from the 5 V output that you’re required to produce.

I’d like to walk you through how off-the-shelf USB-C PSUs work, all of the options you can use to to create one, and then, let’s build our own USB-C PSU from scratch! Continue reading “USB-C For Hackers: Build Your Own PSU”

Tech In Plain Sight: Skyscrapers

It is hard to imagine that for thousands of years, the Great Pyramid of Giza was the tallest manmade structure in the world. However, like the Lincoln Cathedral and the Washington Monument, which also held that title, these don’t count as skyscrapers because they didn’t provide living or working space to people. But aside from providing living, retail, or office space, skyscrapers also share a common feature that explains why they are even possible: steel frame construction.

Have you ever wondered why pyramids appear in so many ancient civilizations? The answer is engineering. You build something. Then, you build something on top of it. Then you repeat. It just makes sense. But each upper layer adds weight to all the lower layers, so you must keep getting smaller. Building a 381-meter skyscraper like the Empire State Building using self-supporting walls would mean the ground floor walls would be massive. Steel lets you get around this.

In Antiquity

You might think of high-rise buildings as a modern thing, but that’s actually not true. People seem to have built up to the best of their abilities for a very long time. Some Roman structures were as high as ten stories. Romans built so high that Augustus even tried to limit building height to 25 meters — probably after some accidents.  In the 12th century, Bologna had as many as 100 towers, one nearly 100 meters tall.

There are many other examples, including mudbrick structures rising 30 meters in Yemen and 11th-century Egyptian structures rising 14 stories. In some cases, building up was due to the cost or availability of property. In others, it was to stay inside a defensive wall. But whatever the reason, self-supporting walls can only go so high before they are impractical.

So steel and iron frames grabbed the public’s attention with things like Joseph Paxton’s Crystal Palace in 1851, and Gustav Eiffel’s Tower in 1887.

Continue reading “Tech In Plain Sight: Skyscrapers”

Robotic Mic Swarm Helps Pull Voices Out Of Crowded Room Of Multiple Speakers

One of the persistent challenges in audio technology has been distinguishing individual voices in a room full of chatter. In virtual meeting settings, the moderator can simply hit the mute button to focus on a single speaker. When there’s multiple people making noise in the same room, though, there’s no easy way to isolate a desired voice from the rest. But what if we ‘mute’ out these other boisterous talkers with technology?

Enter the University of Washington’s research team, who have developed a groundbreaking method to address this very challenge. Their innovation? A smart speaker equipped with self-deploying microphones that can zone in on individual speech patterns and locations, thanks to some clever algorithms.

Continue reading “Robotic Mic Swarm Helps Pull Voices Out Of Crowded Room Of Multiple Speakers”

Why Walking Tanks Never Became A Thing

The walking tank concept has always captured imaginations. Whether you’re talking about the AT-AT walkers of Star Wars, or the Dreadnoughts from Warhammer 40,000, they are often portrayed in fiction as mighty and capable foes on the battlefield. These legged behemoths ideally combine the firepower and defense of traditional tanks with the versatility of a legged walking frame.

Despite their futuristic allure, walking tanks never found a practical military application. Let’s take a look at why tracks still rule, and why walking combat machines are going to remain firmly in the realm of fiction for the foreseeable future.

Continue reading “Why Walking Tanks Never Became A Thing”

Tech In Plain Sight: Microwave Ovens

Our homes are full of technological marvels, and, as a Hackaday reader, we are betting you know the basic ideas behind a microwave oven even if you haven’t torn one apart for transformers and magnetrons. So we aren’t going to explain how the magnetron rotates water molecules to produce uniform dielectric heating. However, when we see our microwave, we think about two things: 1) this thing is one of the most dangerous things in our house and 2) what makes that little turntable flip a different direction every time you run the thing?

First, a Little History

Westinghouse Powercaster which could, among other things, toast bread in six seconds

People think that Raytheon engineer Percy Spenser, the chief of their power tube division, noticed that while working with a magnetron he found his candy bar had melted. This is, apparently, true, but Spenser wasn’t the first to notice. He was, however, the first to investigate it and legend holds that he popped popcorn and blew up an egg on a colleague’s face (this sounds like an urban legend about “egg on your face” to us). The Raytheon patent goes back to 1945.

However, cooking with radio energy was not a new idea. In 1933, Westinghouse demonstrated cooking foods with a 10 kW 60 MHz transmitter (jump to page 394). According to reports, the device could toast bread in six seconds.  The same equipment could beam power and — reportedly — exposing yourself to the field caused “artificial fever” and an experience like having a cocktail, including a hangover on overindulgence. In fact, doctors would develop radiothermy to heat parts of the body locally, but we don’t suggest spending an hour in the device.

Continue reading “Tech In Plain Sight: Microwave Ovens”

The Challenge Of Weather Modification In The Face Of Climate Change

Over the past decades we have been able to observe a change in the Earth’s climate, caused by an increasing amount of energy being retained in the atmosphere. This in turn has affected weather systems around the globe, causing more extreme weather. As a result, the prospect of weather control is more relevant than ever for the nations which are most directly impacted by severe rain and winds.  Although the concept of weather modification is not new, it used to be primarily focused on rather limited aspects, such as cloud seeding to increase precipitation.

Recent proposals such as Japan’s weather modification moonshot program seek to find ways to prevent or lessen the impact of torrential rains, typhoons and similar extreme weather events which accompany climate change.  This proposal is part of Japan’s multi-topic Moonshot R&D program which seeks to advance the state of the art in a wide range of fields in a very significant way by 2050. As far as weather modification is concerned, this naturally raises many questions. Clearly we are capable of affecting the climate through emissions of e.g. greenhouse gases and large-scale construction, but are there ways in which humans can affect the climate and weather in a more refined manner that benefits society, or is this something which will remain beyond our grasp for the foreseeable future?

Continue reading “The Challenge Of Weather Modification In The Face Of Climate Change”

Rocker Bogie Suspension: The Beloved Solution To Extra-Planetary Rovers

When navigating the vast and unpredictable expanses of outer space, particularly on the alien terrains of distant planets, smart engineering often underlies every major achievement. A paramount example of this is the rocker bogie suspension system. It’s an integral component of NASA’s Mars rovers and has become an iconic feature in its own right. Its success has seen the design adopted by the Indian space program and thousands of hobbyists in turn.

So, what exactly is it that makes rocker bogie suspension such a compelling design solution? Let’s dive into the engineering that makes these six-wheeled wonders so special.

Continue reading “Rocker Bogie Suspension: The Beloved Solution To Extra-Planetary Rovers”