Hackaday Links Column Banner

Hackaday Links: June 25, 2023

Is it really a dystopian future if the robots are radio-controlled? That’s what came to mind reading this article on a police robot out of Singapore, complete with a breathless headline invoking Black Mirror, which is now apparently the standard by which all dystopias are to be judged. Granted, the episode with the robo-dogs was pretty terrifying, but it seems like the Singapore Police Force has a way to go before getting to that level. The bot, which has been fielded at Changi Airport after extensive testing and seems to be completely remote-controlled, is little more than a beefy telepresence robot. At 5.5 feet (1.7 meters) tall, the bot isn’t terribly imposing, although it apparently has a mast that can be jacked up another couple of feet, plus there are lights, sirens, and speakers that can get the message across. Plus cameras, of course; there are always cameras. The idea is to provide extra eyes to supplement foot patrols, plus the potential to cordon off an incident until meatspace officers arrive. The buzzword game here is weak, though; there’s no mention of AI or machine learning at all. We have a feeling that when the robots finally rise up, ones like this will be left serving the drinks.

Continue reading “Hackaday Links: June 25, 2023”

Watch Hides Gesture Controls In Wristband

Over the last five to ten years, smart watches have become fairly ubiquitous, with the Apple Watch being among the most prominent of them. Not everyone wants or needs all of the capabilities of these devices, though; plenty are still opting for simpler devices which only have a few functions built into them. [Josh] has been working on one of these devices but takes a major design cue from their smart counterparts with the addition of gesture controls for the watch built into the wristband instead of relying on a more traditional button interface.

The watch hosts most of the functionality of a non-smart digital watch, with a timer, alarms, and a stop watch built-in. To change the time or access any of these functions, a combination of resistive and capacitive touch sensors are built into the wristband near the watch face. The combination of sensors aims to use the benefits of either type of sensor, with the capacitive sensors being used for precision and gesture recognition and the resistive sensors being used for pressure sensitivity. Placing these sensors in the band instead of the watch face improves visibility as well, since the screen won’t be obscured by the user touching the screen.

[Josh] originally intended this type of watch to be used for those with prosthetics or other disabilities which would limit the ability to use standard watch buttons or interact with a touch screen on the watch face itself. The device is working quite well as can be seen in the video linked below, but is still in the prototyping phase and under active development. For finishing up the final versions, we’d recommend taking a look at the design of these open-source smart watches for their high quality fit and finish.

Continue reading “Watch Hides Gesture Controls In Wristband”

This Camera Does Not Exist

Blender is a professional-grade 3D-rendering platform and much more, but it suffers sometimes from the just-too-perfect images that rendering produces. You can tell, somehow. So just how do you make a perfectly rendered scene look a little more realistic? If you’re [sirrandalot], you take a photograph. But not by taking a picture of your monitor with a camera. Instead, he’s simulating a colour film camera in extraordinary levels of detail within Blender itself.

The point of a rendering package is that it simulates light, so it shouldn’t be such a far-fetched idea that it could simulate the behaviour of light in a camera. Starting with a simple pinhole camera he moves on to a meniscus lens, and then creates a compound lens to correct for its imperfections. The development of the camera mirrors that of the progress of real cameras over the 20th century, simulating the film with its three colour-sensitive layers and even the antihalation layer, right down to their differing placements in the focal plane. It’s an absurd level of detail but it serves as both a quick run-down of how a film camera and its film work, and how Blender simulates the behaviour of light.

Finally we see the camera itself, modeled to look like a chunky medium format Instamatic, and some of its virtual photos. We can’t say all of them remove the feel of a rendered image, but they certainly do an extremely effective job of simulating a film photograph. We love this video, take a look at it below the break.

Continue reading “This Camera Does Not Exist”

Automate Away The Drudgery Of CNC Manufacturing

One of the keys to making money with manufacturing is to find something that you can make a lot of. Most small manufacturers have one or two “bread and butter” items that can be cranked out in quantity, which of course has a quality all its own. The problem with that approach, though, is that it runs the risk of being boring. And what better way to avoid that than by automating your high-volume job, with something like this automated  CNC work cell?

Looks like money.

[Maher Lagha] doesn’t offer too much in the way of build details, but the video below pretty much tells the tale. The high-volume items in this case are customized wooden coasters, the kind a restaurant would buy for their bar or a business would give away as swag. The small 3-axis CNC router at the center of the work cell is the perfect choice for making these — one at a time. With no desire to be tied to the machine all day to load raw stock and unload completed coasters, [Maher] came up with automated towers that hold stacks of pallets. Each pallet, which acts as a fixture for the workpiece through multiple operations, moves from the input stack into the router’s work envelope and to the output stack using a combination of servos and pneumatics. The entire work cell is about a meter on a side and contains everything needed for all the operations, including air for the pneumatics and dust extraction.

Each coaster requires two tools to complete — one for surfacing and one for lettering — and [Maher] has two ways to tackle that. The first is to allow a stack of coasters to go through the first operation, change tools, and switch the roughed-in stock back to the input stack for the second round of machining. The other is just to build another work cell dedicated to lettering, which seems to be in progress. In fact, it looks as if there’s a third work cell in the works in [Maher]’s shop. The coaster business must be pretty good.

Continue reading “Automate Away The Drudgery Of CNC Manufacturing”

Flying Submarine Documentary Is A Story Of Defied Assumptions

Donald Reid had a passion for applying himself to challenging problems, and in many ways his life’s work was that of developing a prototype submersible aircraft — or flying submarine — for which his son Bruce was a test pilot. [Jesse Moody] brought to our attention a fantastic documentary he created (with a short teaser trailer here) in which he interviews Bruce, and in the process teaches us all about a story that spanned decades and formed an important part of aviation history. Bruce experienced his share of hair-raising moments while testing the craft, but still has all of his fingers and limbs. Still, in his own words, “you wouldn’t be doing that kind of testing today!”

In many ways, the story revolves around defying assumptions. Without context, a “flying submarine” project might sound like a lone kook’s obsession, but Donald Reid was nothing of the sort. He was a brilliant engineer who was able solve problems by applying his skill and intellect with a laser-like focus. And it turns out that getting a submerged vehicle to successfully transition from waterbound craft to airborne is a source of numerous and novel problems that were not trivial to solve. In fact, these problems needed to be solved in order to develop the Tomahawk cruise missile, which is launched by submarine. And that brings us to the lawsuit that bookended it all.

Continue reading “Flying Submarine Documentary Is A Story Of Defied Assumptions”

Exploring The Anatomy Of A Linux Kernel Exploit

A lot of talk and discussion happens anytime a hardware manufacturer releases a new line of faster, more powerful, or more efficient computers. It’s easy to see better and better specifications and assume that’s where all the progress is made. But without improved software and algorithms, often the full potential of the hardware can’t be realized. That’s the reason for the creation of io_uring, an improved system call interface in the Linux kernel. It’s also where [chompie] went to look for exploits.

The reason for looking here, in a part of the kernel [chompie] had only recently learned about, was twofold. First, because it’s a place where user space applications interact with the kernel, and second because it’s relatively new and that means more opportunities to find bugs. The exploit involves taking advantage of a complicated asynchronous buffer system, specifically at a location where the code confuses a memory location being used by the kernel with one which is supposed to be used for user space.

To actually get this to work as an exploit, though, a much more involved process is needed to make sure the manipulation of these memory addresses results in something actually useful, but it is eventually used to gain local privilege escalation. More about it can be found in this bug report as well. Thanks to the fact that Linux is open-source, this bug can quickly be fixed and the patch rolled out to prevent malicious attackers from exploiting it. Open-source software has plenty of other benefits besides being inherently more secure, though.

Retro-Inspired Computer Case Hosts Mechanical Keyboard

During the time in the 1980s when the personal computer was gaining steam as a household fixture, plenty of models shipped with the keyboard built in to the machine itself. This helped reduce costs, lower the physical footprint of the device, and arguably improved aesthetics. But as technology progressed, this type of design fell by the wayside as computers became more modular and configurable. That’s not to say there aren’t any benefits to building a computer like this, though. [jit] is here to show off this Amiga-inspired computer with its own modern built-in mechanical keyboard.

Like the Raspberry Pi 400 which is built into its own case, modern computers like this are extremely portable, relatively simple, and space-efficient. But [jit] did not like the uninspired design of the Pi so he was looking to make some improvements. Starting with the keyboard, it boasts a 60% size board with mechanical keys which are backlit by LEDs. Inside the machine is a Odroid XU4 which has a little bit more power (and is often easier to find) than a comparable Raspberry Pi. The case is 3D printed and includes ventilation and support for the addition of various cooling fans, I/O ports, status LEDs, and switches for the computer inside.

Additionally, some modification of the Odroid itself was needed in order to move the various switches to the case, and the build also includes a somewhat customized power supply internally as well. It’s a well-rounded build that captures the spirit of the old computer cases, but takes advantage of a lot of modern technology at the same time. If you want to go all-out with a build like this, though, take a look at this retro-inspired case (with keyboard included) that manages to get most of a Framework laptop inside.

Continue reading “Retro-Inspired Computer Case Hosts Mechanical Keyboard”