MoreRSS

site iconHackadayModify

Hackaday serves up Fresh Hacks Every Day from around the Internet. Our playful posts are the gold-standard in entertainment for engineers and engineering enthusiasts.
Please copy the RSS to your reader, or quickly subscribe to:

Inoreader Feedly Follow Feedbin Local Reader

Rss preview of Blog of Hackaday

Random Number Generator Uses Camera Noise

2026-02-26 05:00:37

Random numbers are very important to us in this computer age, being used for all sorts of security and cryptographic tasks. [Theory to Thing] recently built a device to generate random numbers using nothing more complicated than simple camera noise.

The heart of the build is an ESP32 microcontroller, which [Theory to Thing] first paired with a temperature sensor as a source of randomness. However, it was quickly obvious that a thermocouple in a cup of tea wasn’t going to produce nice, jittery, noisy data that would make for good random numbers. Then, inspiration struck, when looking at vision from a camera with the lens cap on. Particularly at higher temperatures, speckles of noise were visible in the blackness—thermal noise, which was just what the doctor ordered.

Thus, the ESP32 was instead hooked up to an OV3660 camera, which was then covered up with a piece of black electrical tape. By looking at the least significant bits of the pixels in the image, it was possible to pick up noise when the camera should have been reporting all black pixels. [Theory to Thing] then had the ESP32 collate the noisy data and report it via a web app that offers up randomly-generated answers to yes-or-no questions.

[Theory to Thing] offers up a basic statistical exploration of bias in the system, and shows how it can be mitigated to some degree, but we’d love a deeper dive into the maths to truly quantify how good this system is when it comes to randomness. We’ve featured deep dives on the topic before. Video after the break.

Stop Ironing 3D Prints

2026-02-26 03:30:24

If you want smooth top surfaces on your 3D printed parts, a common technique is to turn on ironing in your slicer. This causes the head to drag through the top of the part, emitting a small amount of plastic to smooth the surface. [Make Wonderful Things] asserts that you don’t need to do this time-consuming step. Instead, he proposes using statistical analysis to identify the optimal settings to place the top layer correctly the first time, as shown in the video below.

The parameters he thinks make a difference are line width, flow ratio, and print speed. Picking reasonable step sizes suggested that there were 19,200 combinations of settings to test. Obviously, that’s too many, so he picked up techniques from famous mathematician [George E. P. Box] and also used Bayesian analysis to reduce the amount of printing required to converge on the perfect settings.

Did it work? Judging from the video, it appears to have done so. The best test pieces looked as good as the one that used traditional ironing. Compared to ironing, the non-ironed parts saved about 34% of print time. Not bad.

Of course, there are variations on traditional ironing, so your results may vary.

Building An Interactive Climbing Wall

2026-02-26 02:00:07

Climbing is a cool sport. With that said, like everything, it’s even better if you integrate lots of glowing colorful LEDs. To that end, [Superbender] worked up this fun climbing wall that features interactive lighting built right in.

Structurally, there’s nothing too wild going on here. It’s a wood-framed climbing structure that stands 10 meters long and 2.5 meters high, and can be covered in lots of climbing holds. It’s the electronic side of things where it gets fun. An Arduino Due is installed to run the show, hooked up with a small TFT display and some buttons for control. It’s then hooked up to control a whole bunch of LEDs and some buttons which are scattered all across the wall. It’s also paired with an Arduino Nano which runs sound feedback, and a 433 MHz remote for controlling the system at a distance.

[Superbender] uses the lighting for fun interactive games. One example is called Hot Lava, where after each climbing pass, more holds are forbidden until you can’t make the run anymore. Chase the Blues is another fun game, where you have to climb towards a given hold, at which point it moves and you have to scamper to the next one.

We’ve featured similar projects before from other inventive climbers. Video after the break.

Control Your Smart Home With Trek-Inspired Comm Badge

2026-02-26 00:30:18

The metal comm badge and M5stick on an LCARS mousepad

One thing some people hate about voice control is that you need to have a process always running, listening for the wake word. If your system isn’t totally locally-hosted, that can raise some privacy eyebrows. Perhaps that’s part of what inspired [SpannerSpencer] to create this 24th century solution: a Comm Badge straight out of Star Trek: The Next Generation he uses to control his smart home.

This hack is as slick as it is simple. The shiny comm badge is actually metal, purchased from an online vendor that surely pays all appropriate license fees to Paramount. It was designed for magnetic mounting, and you know what else has a magnet to stick it to things? The M5StickC PLUS2, a handy ESP32 dev kit. Since the M5Stick is worn under the shirt, its magnet attached to the comm badge, some features (like the touchscreen) are unused, but that’s okay. You use what you have, and we can’t argue with how easy the hardware side of this hack comes together.

[Spanner] reports that taps to the comm badge are easily detected by the onboard accelerometer, and that the M5Stick’s microphone has no trouble picking up his voice. If the voice recordings are slightly muffled by his shirt, the Groq transcription API being used doesn’t seem to notice. From Groq, those transcriptions are sent to [Spanner]’s Home Assistant as natural language commands. Code for the com-badge portion is available via GitHub; presumably if you’re the kind of person who wants this, you either have HA set up or can figure out how.

It seems worth pointing out that the computer in Star Trek: TNG did have a wake word: “computer”. On the other hand it seemed the badges were used to interface with it just as much as the wake word on screen, so this use case is still show accurate. You can watch it in the demo video below, but alas, at no point does his Home Assistant talk back. We can only hope he’s trained a text-to-speech model to sound like Majel Barrett-Roddenberry. At least it gives the proper “beep” when receiving a command.

This would pair very nicely with the LCARS dashboard we featured in January.

What One-Winged Squids Can Teach The Airship Renaissance

2026-02-25 23:00:31

It’s a blustery January day outside Lakehurst, New Jersey. The East Coast of North America is experiencing its worst weather in decades, and all civilian aircraft have been grounded the past four days, from Florida to Maine. For the past two days, that order has included military aircraft, including those certified “all weather” – with one notable exception. A few miles offshore, rocking and bucking in the gales, a U.S. Navy airship braves the storm. Sleet pelts the plexiglass windscreen and ice sloughs off the gasbag in great sheets as the storm rages on, and churning airscrews keep the airship on station.

If you know history you might be a bit confused: the rigid airship USS Akron was lost off the coast of New Jersey, but in April, not January. Before jumping into the comments with your corrections, note the story I’ve begun is set not in 1933, but in 1957, a full generation later.

The airship caught in the storm is no experimental Zeppelin, but an N-class blimp, the workhorse of the cold-war fleet. Yes, there was a cold war fleet of airships; we’ll get to why further on. The most important distinction is that unlike the last flight of the Akron, this story doesn’t end in tragedy, but in triumph. Tasked to demonstrate their readiness, five blimps from Lakehurst’s Airship Airborne Early-Warning Squadron 1 remained on station with no gaps in coverage for the ten days from January 15th to 24th. The blimps were able to swap places, watch-on-watch, and provide continuous coverage, in spite of weather conditions that included 60 knot winds and grounded literally every other aircraft in existence at that time.

Rigid? Count (Zeppelin) Me Out

Airships come in multiple types: rigid, non-rigid, and semi-rigid. Most people — my past self included — assume that the rigid type is more advanced. Unlike rigid airships, which are stabilized by an aluminum skeleton (or a wooden one, in the case of the Schütte-Lanz ships of the Great War), a blimp’s shape is maintained by gas pressure alone. Just a balloon with motors, if we’re being uncharitable. This limits the maximum speed, as the aerodynamic pressure of moving through the atmosphere increases with the square of the airspeed, and must always be lower than the internal pressure of the gas bag. You can’t even pressurize the gas bag much to compensate, because then the density of the lift gas gets too high to actually, well, lift.

Putting a skeleton inside your airship– like this one in USS Akron– seems like such a good idea, but history suggests otherwise. Image: US Navy

Put a skeleton in there, and your airship can be much, much larger. It can go much faster. It can become a flying aircraft carrier, like the ill-fated USS Arkon, and its ill-fated sister ship, USS Macon. The U.S. Navy has only ever fielded five rigid airships; only one survived long enough to be decommissioned. It is with no disrespect to the brave men and women who served– and lost their lives– aboard those silver giants that we dismiss them from our narrative here. They were a worthy experiment, but a failed one. By contrast, the U.S. Navy fielded 166 blimps in the Second World War, and only a handful were lost, mostly during ground handling, and one to enemy action.

So, how was an N-class blimp, also known as a ZPG-2, in the designation system of the day, or SZ-1A after 1962, able to ride out a storm much worse than the one that sank its rigid-framed predecessors? It’s probably precisely because it lacked that rigid frame. The non-rigid envelope of the blimps could bend, buckle, twist, and alter their shape in response to strains that would break the keel of a Zeppelin. Non-rigid airships can quite literally flex on their rigid cousins when it comes to airworthiness.

The flexing skin of a blimp turns the entire gas-bag into one giant de-icing boot to boot, keeping yet another weather hazard at bay. Icing is a great danger to aircraft: when conditions are just wrong, like during the January storm described above, it’s easy for the weight of ice to build up and bring down any aircraft without an effective de-icing system. De-icing boots are one such system: rubber membranes, typically on the leading edge of the wing and tail surfaces of an airplane, that are inflated to flake off ice. On airplanes, they’re addons, but it’s a built-in bonus to flying a blimp.

Of course another key advantage of non-rigid airships is that they’re just plain cheaper. Being smaller, they require less crew, less ground crew, and smaller hangers, but a small rigid would have the same advantage. More importantly, especially during wartime, is that a Zeppelin requires everything you’d use to build the equivalent blimp, plus all the Duraluminum (or other material) going into its rigid frame. Logistically speaking, blimps were a no-brainer if the US wanted to field a lot of airships, and at one point they certainly did.

This hangar was designed for two Zeppelins, but fit a lot more blimps during the war.
Image: US Navy

But Why?

Unlike a certain (in)famous penguin, the US Navy knew exactly what it was doing when it ordered the N-class airships after World War Two. As stated, they had over a hundred blimps in service during that conflict, and racked up more Lighter-Than-Air (LTA) flight time than any other organization has before or since: 550,000 hours split over 55,900 sorties in both the Atlantic and Pacific theaters. While the institutional knowledge is long gone, it’s safe to say that in those days nobody knew airships like the U.S. Navy knew airships.

A blimp overflying the sinking MT Persephone
The one ship escorted by blimp was torpedoed by U-boat. That’s a pretty good record.
Image: US Navy

The vast majority of the wartime fleet — some 135 examples — were of the K-class. These ships were designed with a specific mission in mind: antisubmarine warfare. Blimps vs subs wasn’t a new idea; the Americans had worked with the Royal Navy’s u-boat hunting blimps in the First World War. Though the Royal Navy gave up on the idea after the conflict, interest remained on the other side of the Atlantic, and history shows the Yanks were right to persist with it. Of roughly 89,000 ships in blimp-escorted convoys, only one, the tanker Persephone, was sunk, ironically off the coast of New Jersey, not terribly far from the Lakehurst home of LTA.

The sub-hunting blimps were perhaps making it up as they went along. On paper, though, the airship is ideal for the role: without needing to burn fuel to stay airborne, it can have absurdly long loiter times. Its low speed is of no issue when shadowing convoys that have to move at the speed of the slowest merchant vessel– even the HX series “fast convoys” didn’t exceed 13 knots (24 km/h). Blimps of the K-class could cruise at 50 kn (92 km/h), and dash at up to 68 kn (125 km/h), which proved more than sufficient to keep up.

When the class was designed in 1937, its ability to cruise low and slow was ideal for hunting submarines with the Mk.I eyeball, but by the time the K-class was fielded in numbers in 1942, they were also equipped with first-generation radar, magnetic detection coils, and even primitive sonoboys after 1943. The class proved flexible and continued to be upgraded with the latest equipment until the last “K-ship” was retired from active duty in 1959.

Mocked up in yellow, the sonoboys and bombs are easy to spot on this surviving gondola at the National Museum of Naval Aviation.
Image: “Blimp” by Pedro Vera, CC-BY-2.0

At 251 ft 8 in (76.73 m) long, with a gas-bag diameter of 57 ft 10 in (17.63 m), the K-ships could lift a crew of 9 in relative comfort, with fuel to feed their twin Pratt & Whitney R-1340 radials for 38 hours of normal operation. Idling the engines and making use of air currents could extend that number by quite a lot compared to cruising steadily, of course. As stated above, in wartime the K-ships carried magnetic detectors, sonobouys and radars for U-boat detection, along with four depth bombs and a .50 cal machine gun for weapons.

If four bombs doesn’t sound like much, well, that’s probably why no U-boats were recorded killed by Navy airships. On the other hand, the main mission of the blimps was to protect convoys, not to sink subs. “Damaged and driven off” was good enough, especially when the blimp could track the wounded u-boat from above and direct other assets like destroyers to make the kill, as often happened. There was a larger M-class designed during the war that was half again the size of the K-ships and could thus carry eight depth charges, but only four were built before the conflict ended.

K-ship "Puritan" all decked out in lights. The sign reads "BULLETIN"
While it had perhaps not the most dignified post-war career, Puritan’s control car survives at the New England Air Museum.
Image: Akron Beacon Journal, via The Lighter than Air Society.

Post-war, one K-ship by the name Puritan was sold back to Goodyear and equipped with 1,820 incandescent light bulbs to serve as a floating ad ticker, which perhaps shows the versatility of the design. Alas, ad revenues did not cover the cost of keeping the 425,000 ft³ (12,035 m³) envelope filled with precious helium. Civilian blimps since have been of more modest size.

The LTAs that Aren’t

Speaking of precious helium, in order to conserve that lift gas, the Navy actually operated their blimps as Lighter-Than-Air craft as little as they possibly could, both during and after the war. An annoying thing about airships is that they get lighter the longer they fly as they run down their gas tanks. It is possible to run an engine on a hydrocarbon gas with a density similar to air, like the “blau gas” used by the Graf Zeppelin in the 1920s, but this has one major drawback: it’s a major logistical headache to require a special fuel for a relatively small number of units. Though there was one prototype with a blau gas style fuel in the 30s, the US Navy put logistics first. For the war and several years afterwards, everything that the Navy flew would burn AvGas, at least until the jet age made things annoyingly complicated for quartermasters.

Landings– like this one on CVE-120–were a lot easier when you weren’t fighting the full lift potential of that big gas bag.
Image: US Navy

Without special fuel, the issue of excess lift can be mitigated by condensing water from the exhaust, but that doesn’t quite balance out, so the problem still remains on long flights. Eventually one must either vent helium to reduce lift, which is wasteful, or take on ballast to make up for lost mass, which can disrupt operations. The alternative the US Navy preferred was to fly “heavy”.

Yeah, it turns out hybrid airships– craft that combine lift gas with aerodynamic lift–aren’t a new idea. You might not think of the teardrop-shaped gas bag of a classic blimp as an airfoil, but with a little airspeed just a modest nose-up attitude– what a pilot would call ‘angle of attack’–the blimp can get considerable dynamic lift. By accepting the tradeoff of requiring a takeoff run, the blimps could get into the air with enough dynamic lift to account for the expected fuel burn, and come back to base with only so much lift capacity that could be cancelled out by trimming the ship downwards.

The Cold War Era

Photo of a crashed blimp with a mushroom cloud in the backround.
Even in death, they served. This K-ship proved that 5 miles was too close to 5 kT in the Plumbob-Stokes test.
Photo courtesy of National Nuclear Security Administration / Nevada Field Office

After the war, most of the K-ships were crated-up and decommissioned, and their air and ground crews were amongst the first to be demobilized. “Most” does not mean “all”, and once the thrill of peace turned into the uneasy truce of the Cold War, Uncle Sam was glad to have those airships. The Soviets had submarines, too, after all.

Rather than continue with building more of the M-class, the decision was made to update the existing stocks and produce improved K-class ships for the immediate post-war period. The wartime ships that were not decommissioned were updated with better electronics and a 20% larger gas bag, getting the designation ZPK2 and then a further upgrade to ZPK3 standard. Fifteen new K ships were built by Goodyear after the war and delivered starting in 1953 under the designation ZPK-4. The last revision of that design, ZPK-5, was built with an inverted “Y” tail instead of the standard cruciform to allow for greater nose-up attitude during the ‘heavy’ takeoffs mentioned above. Twelve ZPK-5s were built by Goodyear and delivered from 1955.

While the K-class was being modernized with better sensors and weapons, the US Navy’s LTA program recognized that it could not simply coast on legacy wartime engineering.They therefore commissioned Goodyear for a clean-sheet design that would be another 50% larger than even the four M-ships, which were kept in service until 1956. These new airships would become the N-class whose all-weather adventures this article opened with.

Diagram of a ZPG-2W N-class blimp. The antisubmarine ZPG-2 lacked the height-finding radar on top of the gas bag, but had the same dimensions otherwise. Image: US Navy

While the ZPG-2W whose triumph we described above were built to serve the airborne early warning role, most– twelve out of seventeen–of the “Nan ships”, as the class was called, were initially designed as bigger, badder sub-killers in case war broke out with the Soviets.

They had better down-looking radars– the AN-20, the best available at the time–much improved sonobouys, more sensitive magnetic anomaly sensors, and homing torpedoes. In war games against US and allied diesel-electric subs, like the GUPPY class, they proved very effective indeed, as did the improved K-ships. Against the new, nuclear-powered USS Nautilus, they were much less successful, but so were fixed-wing and helicopter assets. Doctrine that relied on spotting subs while recharging at snorkel or on surface was ill-suited to deal with a ship that could run submerged for months.

Improving on the control arrangement of the ZPK-5s, the Nan ships were built with an X-shaped tail to allow for even greater pitch angles during takeoff without tailstrikes. The ruddervators on the X-tail could also be controlled by one pilot, compared to earlier blimps which needed separate operators for elevator and rudder. The largest difference in design was perhaps the buried engines: unlike previous Navy blimps, which used radial engines hung from the gondola, the ZPG-2 Nan ships kept their two 800 HP Wright Cyclones indoors. This was supposed to allow for maintenance during flight, and it allowed the engines to be coupled together via a clutch, allowing single-engine cruising. As the air-early-warning blimps proved in 1957, these were all-weather craft.

The Anti-Submarine Warfare (ASW) squadrons gave a similar demonstration in 1960 with “Operation Whole Gale” during which the Nan ships provided 24/7 coverage for two full months, again in the teeth of winter’s worst weather. In spite of their best efforts to make use of wind and storms, no submarine got past the blimps during the operation.

ZPG-2 “Snow Bird”, departing NAS South Weymouth, Mass. on its record-setting flight in March 1957. Image: US Navy

The post-war record of the US Navy’s blimps is full of such impressive moments. The service was very much looking to prove itself, and so jumped at opportunities to demonstrate the blimps’ capabilities. Arctic expeditions? A Nan-ship proved its worth on 24-hour patrols between Churchill, Manitoba and Resolute, Baffin Island– the last airship to cross the Arctic Circle. Another stunt in 1957 set a record for unrefueled flight: a circumnavigation of the Atlantic basin from Massachusetts to Portugual, North Africa, and finally ending in Florida that took 264 hours and spanned 9,448 nautical miles (17,500 km). Guinness will tell you that Graf Zepplin’s 71-hour 6,384.5 km trip from Fedrickshaven to Lakehurst holds the record for airship flight, but that’s seriously out-of-date. For a rigid, sure, that’s the record, but for any LTA? Blimps win. Blimps actually win all the airship records save for speed and size, and none of those records stand from the “golden age” of the 1930s.

Takeways

That’s maybe the lesson here. Blimps win. I consider myself something of an aviation geek, and have multiple books on airships. All of them tell the same story: blimps were a sideshow, Zeppelins were the pinnacle of airship engineering, and it all ended with the Hindenburg. That’s the story everyone knows, just like everyone knows that airships are useless in any kind of bad weather.

What everyone knows is wrong. The problem with the story we all know is that it ends 24 years early, and leaves out more flights than it includes. Add in those 24 extra years of innovation, and the blimps come off looking a lot better in comparison.

The last flight of a US Navy dirigible with a US Navy crew was in August 1961. The ZPG-2 Nan ships were followed by a larger ZPG-3: bigger again, with a larger, more capable AN-70 radar hiding in the gasbag, the ZPG-3 was the largest blimp ever fielded. Its capability didn’t matter– there was no money for blimps. Imagine a line of Admirals standing before the US Congress, hats in hand, and one asks for money for nuclear-powered submarines to smite the enemies of Uncle Sam with Intercontinental Ballistic Missiles wielding atomic fire, and the next man in line wants money for blimps. Airships seemed positively old-fashioned in comparison, and money was tight. The blimps were cut.

A giant ZPG-3W  sits at its mooring mast, while a ZPG-2W takes off and a K-ship hovers in the background. Only two ZPG-3s were ever built. Image: US Navy

Yes, they provided an all-weather ASW and AEW capability nothing else could match… but other assets, ships and airplanes and helicopters, could do 90% of the job without requiring the expensive, dedicated infrastructure the blimps did. Airships were cut from the U.S. Navy the same year as seaplanes and the Regulus cruise missile program. You might say they’re the only things ever destroyed by the Polaris missile subs, but that’s arguably a good thing.

All the hot venture capital money is being sucked up by the AI bubble right now, and even if it wasn’t, the trendy thing in aviation is electric vertical takeoff and landing. That doesn’t mean there isn’t an airship renaissance just around the cornerthere is always an airship renaissance just around the corner. That it never results in anything but prototypes is irrelevant. LTA is just too enticing a technology to ever give up. If we ever are to get that renaissance to bear fruit, though, we’re going to have to have better stories.

If you’re focused on the Hindenburg going down in flames, or the Akron and Macon breaking up over water, airships seem like a bad bet. If you remember the Nan ships bouncing and wiggling their way through January snowstorms, manned by Navy “squids” with the one-winged dirigible badge on their breasts, then LTA starts to sound more reasonable.

Sub-Second Volumetric 3D Printing

2026-02-25 20:00:06

One of the more promising 3D printing technologies that hasn’t quite yet had its spotlight is volumetric 3D printing. Researchers from the Department of Automation, Tsinghua University, have developed a new method that uses a high-speed periscope instead of rotating the printing volume — resulting in print times of less than one second.

Normal volumetric printing uses a rotating volume of photosensitive resin to print nearly any geometry desired. However, this method presents issues when printing at high speeds. If you rapidly rotate a liquid, it won’t exactly stay still. So why not rotate the projector itself? This change also allows the use of less viscous resins, which is particularly useful if you want to pump fluid around.

Why would you want to pump around liquid? Scalability of course! Printing in seconds while pumping the results into a collection vessel would allow for mass production more flexible than traditional ejection methods. The researchers manage to keep quality high with some fancy algorithmic correction, which allows for accuracy on the scale of μm.

While this technology still doesn’t find a common space among average hobbyists, this may soon change…especially with these mass manufacturing capabilities. For similar volumetric printing capabilities, check out xolography.