Freaking Metal Bending Lasers

For those familiar with welding, there is a good chance that you have had an unpleasant run-in with thermal warping in your project. But what if you used this warping in a controlled manner to bend your material in an automated process? [Excessive Overkill] decided to give it a try by using a laser CNC to both cut and fold sheet metal in one run.

Through a variety of testing, [Excessive Overkill] found a fair amount of success with the bending procedure. However, there were a few adjustments that were needed to get decent results. The CO2 laser benefited from additional airflow from the fiber laser, and there was some script automation to make the actual machine paths.

Continue reading “Freaking Metal Bending Lasers” →

Fixing A Memory Bug In Linux, For Faster Networking

Content delivery networks are notoriously complex and finicky systems. So no one at CDN77 was terribly surprised when customers started complaining about degraded performance on their edge servers. For a few hours they would notice slower speeds, than, the bug would self-heal and normal speeds would return. But that simple complaint led down the rode to patching a bug in the Linux kernel.

In a sense, CDN77’s edge network consists of a large number of high-memory CPU servers geographically dispersed serving nginx with a bit of magic. These are used a the last point in a chain of proxies to serve content like videos to the end-user. The usual suspects could be eliminated early on in the process. The issue was geographically disperse, eliminating ISP issues. The servers were also identically configured. Even the CPU utilization returned normal, with no reported memory pressure.

Continue reading “Fixing A Memory Bug In Linux, For Faster Networking” →

Flying An RC Plane Controlled By An Old Smartphone Mainboard

Recently [Mountain DS Lab] finally got a chance to fly an RC plane controlled by the old smartphone mainboard that he had previously cobbled together with a regular flight controller solution. This uses a custom Android application on the smartphone to provide a video link via LTE and a way to control the RC plane as long as it’s within reach of an LTE cell tower network.

Before stuffing it all into an RC plane and heading off to the local airstrip, he figured that he’d test some characteristics like signal strength and overall latency. Since a smartphone’s metal sides are generally used as antennae, here a replacement antenna proved to be a good idea. Even with that latency for the signal was about 400 – 500 ms, which is all right for a fairly stable RC airplane, but not easy for a beginner.

To improve his chances he did practice with an RC flight simulator, but despite this the first test flight wrecked the airplane. For the second try the mainboard was also swapped out for one featuring a 5G modem, which proved to have good signal strength even without a stub antenna grafted onto it.

While landing the RC plane still isn’t his strong suit, the FPV feed doesn’t look too terrible at this point, showing that the only thing holding him back at this point are his own RC piloting skills.

Continue reading “Flying An RC Plane Controlled By An Old Smartphone Mainboard” →

You Need Nitrous Oxide, But All You Have Is Urine

The beautiful part about understanding chemistry is that not only will you have borderline magical skills in a post-apocalyptic era, but you’ll also be able to perform great party tricks that your neighbors are likely to be not very enthusiastic about. In the case of [Hyperspace Pirate]’s rundown of how to make urine into nitrous oxide – great as rocket oxidizer and for feuling fast cars – this latter element commences with the part where you boil down the urine.

After surviving that step, you should have fairly concentrated urea from which ammonia can be created by adding sodium hydroxide (NaOH). This NaOH can be recovered from the produced Na2CO3, making it a reusable additive. Next, ammonia is turned into nitric acid using the Ostwald process, which passes the ammonia over a hot platinum catalyst.

The following steps involve mixing this nitric acid with more ammonia to get ammonium nitrate, which when heated to 200-250 °C turns into nitrous oxide and water vapor. Although this process works, it’s quite labor-intensive, with various olfactory- and explosion-risks along the way. It’s probably best to just buy your nitrous oxide, barring a societal breakdown which would warrant this kind of effort.

An interesting detail is that carbon dioxide is R744 and Nitrous Oxide R744A, which strongly suggests that there’s some compatibility with tanks and even refrigeration systems, but that seems like a long bet. Although with [Hyperspace Pirate]’s past work on insane coolers, we’re not ruling anything out.

Continue reading “You Need Nitrous Oxide, But All You Have Is Urine” →

A circular brass housing is shown in the center of the image. A circular portion in the center of one face is spinning at a high speed. Six plastic hoses lead to fittings around the edge of the housing, and a larger brass pipe leads into one side.

Homemade Turbopump Keeps Itself From Melting

Although they get less attention than such components as engines, heat shields, and valves, turbopumps are one of the hardest parts of a rocket to design. A turbopump burns a portion of the rocket’s propellants and uses the exhaust gasses to drive a turbine, which in turn drives the propellant pumps. Despite the considerable engineering challenges associated with designing such a system, [Integza] managed to build a miniature turbopump which pumps coolant quickly enough to keep itself from melting.

The biggest difficulty with designing a high-performing turbopump is simply the temperature gradient: the turbine is in contact with the combustion exhaust gasses, while on the other side of the drive shaft, the pump is in contact with cryogenic propellants; in the case of the Saturn V’s turbopumps, the difference was approximately 1,000 ℃. In spite of the thermal expansion induced by such temperatures, the various rotors, which are spinning at thousands of RPM, need to stay centered and balanced to avoid a violent self-destruction. In [Integza]’s case, matters are slightly simplified by the fluids used: rather than pumping propellant, this only pumps cooling water, and burns propane with compressed air.

Most of the assembly, including the combustion chamber and turbine, was CNC-machined out of brass, which melts at a temperature considerably below that of the exhaust gasses; thus, the water is pumped directly through the assembly at a rate calculated to keep it well within the safe range. The assembly has four main components: the combustion chamber, a stator, the turbine, and the pump. The stator sits between the combustion chamber and the turbine, and contains a series of rocket-nozzle-shaped grooves along its outer rim, which accelerate the exhaust before it passes through the turbine. Despite the lacklustre performance of a 3D-printed prototype, the final version worked well, remaining cool enough to comfortably touch even during operation.

We’ve seen a turbopump design here before, though not one actually powered by combustion. Turbopumps can power more than just rocket engines; in the Saturn V’s case, the kerosene which they pumped also drove the hydraulics.

That’s Not My Forearm, It’s My Trackpad

As personal technology progresses, so too must user interfaces evolve. EpiPad is an example of how unusual and interesting the early steps in experimental new directions can be.

The prototype uses an evaluation board, but the actual sensor is very small and could easily be embedded into wearables.

EpiPad is a (thankfully) non-invasive method of making one’s skin behave like a trackpad. A compact millimeter-wave radar array detects finger movements accurately enough that the forearm can be used as a touch interface. It can even track multiple fingers, and accurately detects taps and presses.

The research paper details the whole system but it boils down to the sensor having a good view of the forearm with no clothing in the way, and good signal processing to make sense of the readings.

The prototype seems to use an Infineon BGT60TR13C evaluation board worn on the wrist and aimed toward the forearm, but the mmWave sensor itself is very small and could in theory be built right into a smartwatch. After all, one of the things that led to this research was the observation that people are less accurate in general and make more errors when using the relatively small area of a smartwatch as a touchscreen.

We’ve seen mmWave radar used to make smart occupancy sensors, but the technology has also been shown to be perfectly capable of tracking small human gestures. EpiPad shows it’s entirely possible to use a single sensor to make fingers on one’s forearm feel like using a regular touchpad.

Don’t Forget The Test Points

I just spent an hour awkwardly debugging a project before I gave in and hooked up a test harness to it. And of course, once I did so, all of the problems were found in short order, proving once again that once you build the test harness, you don’t need it, and carrying an umbrella prevents it from raining.

But seriously, this is a lesson that I seem to learn over and over again. (Or is that fail to learn?) Even if you’re just lashing together something quick and dirty, take a second to make sure that all of the places that you’re going to want to probe later are easily accessible. If this means soldering scrap wire onto important signals like ground and the analog voltage coming in from the microphone, and leaving the op-amp, by all means do it first. You might not need it later, but if you do, you’ll be that much closer to figuring out the glitches. Doing so would have saved me an hour tonight.

If you’re ordering a PCB, even if you are an infallible designer, the corollary is to litter it with test points. They are essentially free, taking up only a tiny bit of board space, and they are just so handy down the road, when you need to figure out what’s wrong with the I2C bus, or with the battery charging circuit.

So what parts of a design are test-point worthy? This is probably a personal preference issue, but I usually wish I had added them to every kind of data bus, crucial power rails, and any and all spare GPIOs on a microcontroller. You can never tell when you might want to do some toggle-pin debugging – the high-speed analog of the classic printf.

You can also put a test point anywhere on the boundary of a functional block, so that you can test one part’s output and the next part’s input easily. If you need sections to be separable, which is also often handy, a zero ohm resistor or jumper between the sections is a nice touch. I’m a big fan of the resistor method, because it’s easy to add and clear from the circuit and its pads are essentially free test points if you need them. You can, of course, also use them for routing hijinks, but that’s another topic.

Adding test points is, in my opinion, the equivalent of putting in nice clear comments in your code. It’s maybe a bit of extra time spent now, but it stands to save you so much more time later when you’re inevitably debugging the circuit. You don’t make mistakes, you say? The circuit is so simple? That’s what I said earlier this evening. Just add the test points.