UDP Broadcasting And Easily Finding Network Services

Local area networks (LANs) that use technologies like Ethernet and Wi-Fi are incredibly useful for letting devices talk with each other. Yet a core problem here is knowing which devices are where on the network, as anyone who has ever tried to add a network printer or network share to their system can probably attest to. Unless you happen to know the IP address of the LAN device, the port, and protocol, the target device may as well be located on the Moon without further help, such as automatic network discovery in lieu of waddling over to the device and reading the label listing its IP address.

Over the decades quite a few ways have been developed to enable such network discovery, with many of them using UDP broadcast as the first step. By broadcasting a global message on the entire LAN, any device that has an actively listening UDP socket on that particular port can parse said message and decide whether it’s feeling sociable enough to reply.

The topic of UDP broadcasting is however not as straightforward as it may sound if you’re just getting started, including the existence of many opinions on the ‘right way’. There is also a massive divide between a sprawling service discovery protocol like mDNS and a light-weight one like that one that I had to implement a few years ago for an open source project.

Continue reading “UDP Broadcasting And Easily Finding Network Services”

From Sugar To Ethanol Fuel With A Little Microbial Help

In these trying times it seems appropriate to work through some ‘what if ‘ scenarios, such as the local gas station suddenly not having any more gasoline to sell you, or said gas station ceasing to exist altogether. In that case it can be incredibly useful to be able to create your own gasoline alternative in the form of ethanol. As demonstrated by [Hyperspace Pirate] in a recent video this process is fairly straightforward once you have procured an appropriate feedstock, such as here sugar (sucrose).

Although baker’s yeast (Saccaromyces cerevisiae) is more commonly associated with the production of ethanol-laced drinks, there’s nothing that says that you cannot distill out the approximately 10-15% ethanol that results from a yeast feeding frenzy and resulting waste products.

How to do this distillation step is explained in the video, with the mixture heated and put through a self-made reflux column to deal with the fact that the water/ethanol mixture is an azeotropic mixture, meaning that a lot of water is expected to make its way out of the condenser along with ethanol without this measure to condense as much of the water vapor before it can make its way to the top of the column.

Ultimately the conversion rate of plain white sugar to ethanol is about 54%, with the rest turning into CO2. With an appropriately converted combustion engine for running on 100% ethanol, it runs pretty well, though the final cost per liter of ethanol will heavily depend on your feedstock.

With the full costs of the electric heater of the distillation column taken into account – at 2.57 kWh/L – as well as the cost of the off-the-shelf sugar, [Hyperspace Pirate] with his Florida kWh cost of $0.12 paid around $2.62/L, or $9.91 per gallon. Even with how much prices at the gas pump have shot up recently, you’d pretty much need to find a free source of feedstock and otherwise optimize the process for it to make much sense, even in this economy.

That said, it’s crazy that the world of Mad Max doesn’t run on ethanol. If tomorrow a certain bubble were to implode and the global economy fell apart as a result, producing bioethanol would seem to be a highly marketable skill.

Continue reading “From Sugar To Ethanol Fuel With A Little Microbial Help”

How To Remove Bounce When Bouncy Objects Encounter Bounciness

We all love a good bit of bounce now and then, with everything from trampolines to bouncy castles and bouncy balls forming the staple of a wholesome childhood for many. That said, most of our bouncy experiences in day to day life concern bouncy objects that meet immovable or rigid objects, including said child having a blast in a bouncy castle. Where the physics get arguably more interesting and less intuitive is when you combine two objects that are both bouncy, with [Steve Mould] recently taking a look at the tuning of said bounciness to even kill the bounce completely.

Understanding how to achieve this tuning means understanding how the kinetic energy is stored in each flexible material, and how to dissipate it in a way that doesn’t result in the aforementioned bounciness. In the simple physical demonstration setup the addition or removal of weights to the lower sprung platform tunes the response to the bouncy ball that is dropped on top of it.

After going through the science behind bounciness and springiness using the practical application of this science in the context of golf balls and clubs, [Steve] introduces the simulation tool that he created. This allows you to tweak the parameters of such a double spring system, which may bring back some high school physics lessons for some.

In a system like that of a golf club and the ball, having undesirable oscillations (bouncing) reduces the final kinetic energy transferred to the ball. Although ‘bouncy’ is perhaps not the first thought that comes to mind when handling a golf ball or a club, ultimately they are just as bouncy as a bouncy ball or an electric switch, just on their own scales, with their own opportunities for optimization and analysis.

Continue reading “How To Remove Bounce When Bouncy Objects Encounter Bounciness”

Retro Gear And The Mystery Of Cables Melting Into Cases While In Storage

The phenomenon of cable-shaped indents in the plastic cases of retro systems is one that’s probably painfully familiar to many a collector of such systems. Although in these situations neither side got hot enough to cause any melting – especially while disconnected in storage – it still has that same melted appearance. The real cause here is not heat, but plasticizer migration, as detailed in a recent video by [Run Stop Restored] over on YouTube.

Plasticizers are an additive to many plastics that aim to make it more flexible (‘plastic’), as well as improve other characteristics of the base material, with PVC in particular relying on plasticizers to give it its desired properties for applications where PVC has to be flexible. Here the flexible cable insulation of these devices generally uses PVC, which over time can migrate to other polymers when brought into close contact for extended periods of time.

The – usually ABS – enclosures of e.g. Commodore tape drives as in this video demonstration thus get correspondingly inundated with the same type of plasticizers that ABS is also highly susceptible to. Since in storage the cables tend to be wrapped – tightly – around the device they’re attached to, this results in a solid contact which thus enables this gradual process to work its magic, whether it’s a Commodore datasette or a power supply brick.

Correspondingly the PVC insulation becomes brittle as it loses its plasticizer, with the process sped up by higher environmental temperatures. To prevent this, never wrap a PVC cable around a device, and keep it physically separated from susceptible plastics like ABS as much as reasonably possible. Along with a cool environment this should prevent plasticizer migration from ruining what used to be a pristine case.

This problem is particularly significant for retro gear from the 1980s and thereabouts, before phthalate-free plasticizer alternatives were developed, along with other changes such as more stable formulations that prevent this migration process. Adding a coating can also help, especially for protecting older gear, but flexible PVC in particular should be viewed with suspicion and treated carefully.

Continue reading “Retro Gear And The Mystery Of Cables Melting Into Cases While In Storage”

Microsoft’s Topological Quantum Computing Claims Once Again In Question

A central problem with the arguably overhyped field of quantum computing remains the difficulty in objectively ascertaining performance and new developments, as much here relies on indirect measurements. Such is especially the case with topological quantum computing, with its use of Majorana fermions. For a few years now Microsoft’s quantum computing department (Azure Quantum) has made claims here of major progress, which have subsequently repeatedly been shot down in peer review. Their most recent attempt at said progress in topological quantum computing now got a blistering response (PDF) by Henry F. Legg in an article in Nature.

We previously reported on Microsoft’s attempts here in early 2025, when they claimed the detection of the crucial Majorana Zero Mode (MZM), before it faced the criticisms of peer review, including by Legg, which included academically vicious language by some researchers, including terms like ‘essentially fraudulent’.

This raises the awkward question of whether Microsoft’s quantum researchers are just too eager to confirm a discovery, or whether a more benign reason exists.

Continue reading “Microsoft’s Topological Quantum Computing Claims Once Again In Question”

Hacking A Reverse Osmosis Water Filter Through Its Smart Faucet

Reverse-osmosis (RO) systems are one way to ensure that you get very clean drinking water. The Waterdrop G3P600 variety that [Tomasz Wasilczyk] recently purchased is definitely among the fanciest and ‘smartest’, with the faucet having its own 7-segment display and gaggle of LEDs connected to the actual RO unit with a four-pin connector. This naturally meant that whatever protocol runs on this cable had to be reverse-engineered for science.

Now with more custom PCB. (Credit: Tomasz Wasilczyk)
Now with more custom PCB.

The main practical benefit here is to make the system smarter — such as plugging it into a home automation system with ESPHome support, as well as make it play nice with refrigerator lines.

What automation and monitoring options exist here thus depend on what data gets sent between the RO unit and the faucet. Fortunately this turned out to be quite extensive, ranging from filter health, the water quality and pump status as well as air temperature and faucet state.

Unsurprisingly the four-pin connector turned out to be a basic serial link, with 5 V, ground and a 9,600 baud connection. From this it was easy enough to deduce the protocol, and by looking at what lit up on the faucet, a custom PCB wasn’t far behind.

After one blown-up fuse later due to getting 24 V instead of 12 V on the RO unit when tapping off power, the unit popped to life and was able to be connected to Home Assistant, from where the entire functionality and what triggered what could be mapped out. Of course, there’s still more to be discovered and reverse-engineered in the unit, but this seems like a good place to start.

Making A Magnetic Core Memory USB Drive

Some of us have felt somewhat nervous about the collapse of DRAM and NAND Flash memory supply in the consumer market, while others seem to have fully embraced it. Someone like [polymatt] for example, whose recent project entails a USB drive that skips back quite a few decades and opts to use a glorious 64-bit core memory device for storage.

To really embrace the DIY spirit here, the PCBs were milled using a small CNC router before the core memory was assembled alongside the other components, including apparently L293 H-bridge ICs as the drivers, along with an ESP32 module for the brains and USB interface.

Core memory relies on sensing the state of a cell through a destructive read action, which thus requires a fair bit of surrounding logic to set up read and writes, parse sense line values and restore any read value after said destructive read. Determining the right voltage to use during read and write actions is essential, and here determined experimentally.

The final build contains two PCBs inside an enclosure that’s filled with silicone oil. Other than looking cool through the acrylic window, it also helps to keep the individual cores at a fairly consistent temperature, which is helpful with reliable bit flipping, even if it’s probably overkill here.

Ignoring for a moment that just the memory required for the USB stack in the ESP32 module is many times the size of this core memory device, it’s still a very cool project whose appeal goes far beyond mere practicality.

Continue reading “Making A Magnetic Core Memory USB Drive”