Hackaday Prize 2023: A DIY Voice-Control Module

If science fiction taught us anything, it’s that voice control was going to be the human-machine interface of the future. [Dennis] has now whipped up a tutorial that lets you add a voice control module to any of your own projects.

The voice control module uses a Raspberry Pi 4 as the brains of the operation, paired with a Seeed Studio ReSpeaker 4-microphone array. The Pi provides a good amount of processing power to crunch through the audio, while the mic array captures high-quality audio from any direction, which is key to reliable performance. Rhasspy is used as the software element, which is responsible for processing audio in a variety of languages to determine what the user is asking for. Based on the voice commands received, Rhasspy can then run just about anything you could possibly require, from sending MQTT smart home commands to running external programs.

If you’ve always dreamed of whipping up your own version of Jarvis from Iron Man, or you just want a non-cloud solution to turn your lights on and off, [Dennis’s] tutorial is a great place to start. Video after the break.

Continue reading “Hackaday Prize 2023: A DIY Voice-Control Module”

New DOS PCs, In 2023?

It’s not likely that we’ll talk about a new PC here at Hackaday because where’s the news in yet another commodity computer? But today along comes not one but two new PCs courtesy of the ever bounteous hall of wonders at AliExpress, that are unusual enough to take a look at. If you have around $250 to spare, you can have a brand new, made in 2023, 80386sx plamtop PC capable of running Windows 95, or an 8088 laptop for DOS. Just what on earth is going on?

Continue reading “New DOS PCs, In 2023?”

Turning Old Kindles Into AI Powered Picture Frames

While we tend to think of Amazon’s e-paper Kindles as more or less single-purpose devices (which to be fair, is how they’re advertised), there’s actually a full-featured Linux computer running behind that simple interface, just waiting to be put to work. Given how cheap you can get old Kindles on the second hand market, this has always struck us as something of a wasted opportunity.

This is why we love to see projects like Kindlefusion from [Diggedypomme]. It turns the Kindle into a picture frame to show off the latest in machine learning art thanks to Stable Diffusion. Just connect your browser to the web-based control interface running on the Kindle, give it a prompt, and away it goes. There are also functions to recall previously generated images, and if you’re connecting from a mobile device, support for creating images from voice prompts.

You can find cheap older Kindles on eBay.

All you need is a Kindle that can be jailbroken, though technically the software has only been tested against older third and fourth-generation hardware. From there you install a few required packages as listed in the project documentation, including Python 3. Then you just move the Kindlefusion package over either via USB or SSH, and do a little final housekeeping before starting it up and letting it take over the Kindle’s normal UI.

Given the somewhat niche nature of Kindle hacking, we’re particularly glad to see that [Diggedypomme] went through the trouble of explaining the nuances of getting the e-reader ready to run your own code. While it’s not difficult to do, there are plenty of pitfalls if you’ve never done it before, so a concise guide is a nice thing to have. Unfortunately, it seems like Amazon has recently gone on the offensive, with firmware updates blocking the exploits the community was using for jailbreaking on all but the older models that are no longer officially supported.

While it’s a shame you can’t just pick up a new Kindle and start hacking (at least, for now), there are still millions of older devices floating around that could be put to good use. Hopefully, projects like this can help inspire others to pick one up and start experimenting with what’s possible.

Continue reading “Turning Old Kindles Into AI Powered Picture Frames”

Space Shuttle Atlantis connected to Russia's Mir Space Station as photographed by the Mir-19 crew on July 4, 1995. (Credit: NASA)

The Soviet Space Station Program: From Military Satellites To The ISS

When the Space Race kicked off in earnest in the 1950s, in some ways it was hard to pin down where sci-fi began and reality ended. As the first artificial satellites began zipping around the Earth, this was soon followed by manned spaceflight, first in low Earth orbit, then to the Moon with manned spaceflights to Mars and Venus already in the planning. The first space stations were being launched following or alongside Kubrick’s 2001: A Space Odyssey, and countless other books and movies during the 1960s and 1970s such as Moonraker which portrayed people living (and fighting) out in space.

Perhaps ironically, considering the portrayal of space stations in Western media, virtually all of the space stations launched during the 20th century were Soviet, leaving Skylab as the sole US space station to this day. The Soviet Union established a near-permanent presence of cosmonauts in Earth orbit since the 1970s as part of the Salyut program. These Salyut space stations also served as cover for the military Almaz space stations that were intended to be used for reconnaissance as well as weapon platforms.

Although the US unquestionably won out on racing the USSR to the Moon, the latter nation’s achievements granted us invaluable knowledge on how to make space stations work, which benefits us all to this very day.

Continue reading “The Soviet Space Station Program: From Military Satellites To The ISS”

Mark Your Calendars, NASA Is Holding A Public Meeting On UFOs

We’re sorry, the politically correct term these days is “unidentified anomalous phenomena” (UAP), as it’s less likely to excite those with a predilection for tinfoil hats. But whether you call them flying objects or anomalous phenomena, it’s that unidentified part that has us interested.

Which is why we’ll be tuned into NASA TV at 10:30 a.m. EDT on May 31 — that’s when the agency has announced they’ll be broadcasting a meeting of an independent study team tasked with categorizing and evaluating UAP data. The public can even submit their own questions, the most popular of which will be passed on to the team.

Before you get too excited, the meeting is about how NASA can “evaluate and study UAP by using data, technology, and the tools of science”, and the press release explains that they won’t be reviewing or assessing any unidentifiable observations. So if you’re hoping for the US government’s tacit acknowledgment that we’re not alone in the universe, you’ll probably be disappointed. That said, they wouldn’t have to assemble a team to study these reports if they were all so easily dismissed. As always, interstellar visitors are dead last on the list of possible explanations, but some cases have too much hard evidence to be dismissed out of hand. They might not be little green men, but they are something.

Continue reading “Mark Your Calendars, NASA Is Holding A Public Meeting On UFOs”

Zippy Plastic Welding

Plastic welding isn’t a new idea. But a recent video from [The Maker] shows an interesting twist. Given a broken piece of plastic, he secures it together with tape, machines out a channel around the cracks, and then melts zip ties into the channels. Honestly, although he mentions plastic welding and soldering, we aren’t sure this isn’t just simple gluing, but it did give us some ideas. Watch the video below and you’ll probably get the same ideas.

The ingenuity here isn’t necessarily using hot plastic to glue together two pieces — that’s just a hot glue gun, after all. Rather, it occurred to us that the key here was machining out the places where significant amounts of the hot plastic could bond the two pieces together. He cut the channels with a rotary tool, buffed them, and used a hot knife to give them some internal texture. But with a 3D printer, you could build these channels into parts that were made to interlock.

Continue reading “Zippy Plastic Welding”

A DR-DOS console showing the IDLE command

Missing DR-DOS Power Management Source Code Found In Patent

Modern processors come with all kinds of power management features, which you don’t typically notice as a user until you start a heavy program and hear the CPU fan spin up. Back in the early 1990s however, power management was largely unheard of, meaning that a CPU with nothing to do would run through an idle loop that dissipated about as much power as a real computing task. [Michal Necasek] noticed this while experimenting with DR-DOS 6.0 in a virtual machine – his laptop fan would start running on full blast whenever he opened the VM. His search for a solution to this annoyance led him down a fascinating journey into the intricacies of DOS power management.

As it turned out, DR-DOS 6.0 does have functionality built in for putting the CPU in power saving mode when it’s idle. This feature is not complete, however: Digital Research required each computer manufacturer to develop an IDLE driver customized to their specific hardware platform in order to enable power management. Sadly, no manufacturer ever bothered to do so, leaving [Michal] with no option other than writing a driver himself. While there was some documentation available, it didn’t include any example code or sufficient detail to write a driver from scratch.

A snippet of x86 assembly code found in a patentWhat it did include was a reference to U.S. Patent No. 5,355,501. Normally this sort of information is of interest only to those planning to sell a competing system, but this specific patent happens to include dozens of pages of well-documented but poorly-scanned x86 assembly code, including source code for a basic IDLE86.SYS driver. As [Michal] wasn’t looking forward to chasing bugs caused by OCR errors, he simply copied the source code by hand, then ran it through an assembler. The end result was a working IDLE driver, which is now available for download from his website.

[Michal]’s blog post also includes lots of details on early power saving implementations, including all the DOS interrupt calls involved in the process. Patents might seem boring in contrast, but they sometimes contain surprising amounts of usable information. You might find enough details to reverse-engineer a wireless protocol, or even to help track down an obscure instrument’s original designer.