Demonstrating Gray Codes With Industrial Display

Many people base huge swaths of their lives on foundational philosophical texts, yet few have read them in their entirety. The one that springs to the forefront of many of our minds is The Art of Computer Programming by Donald Knuth. Full of many clever and outright revolutionary algorithms and new ways of thinking about how computers work, [Attoparsec] has been attempting to read this tome from cover to cover, and has found some interesting tidbits. One of those is the various algorithms around Gray Codes, and he built this device as a visual aid.

Gray Codes, otherwise known as reflected binary, is a way of ordering an arbitrarily large set of binary values so that only one bit changes between any two of them. The most common place these are utilized is in things like rotary encoders, where it provides better assurance that the position of a shaft is in a known location. To demonstrate this in a more visual way [Attoparsec] hooked up an industrial signal light, normally used for communicating the status of machinery in a factory, and then programmed it to display the various codes. A standard binary counter is used as a reference, and it can also display standard Gray Code as well as a number of other algorithms used for solving similar problems.

[Attoparsec] built this as an interactive display for the Open Sauce festival in San Francisco. To that end it needed to be fairly rugged, so he built it out of old industrial equipment, which is also a fitting theme for the light itself. There’s also a speed controller and an emergency stop button which also add to the motif. For a deeper dive on Gray Codes and their uses, take a look at this feature from a few years back.

Continue reading “Demonstrating Gray Codes With Industrial Display”

The Most Secure, Modern Computer Might Be A Mac

The Linux world is currently seeing an explosion in new users, thanks in large part to Microsoft turning its Windows operating system into the most intrusive piece of spyware in modern computing. For those who value privacy and security, Linux has long been the safe haven where there’s reasonable certainty that the operating system itself isn’t harvesting user data or otherwise snooping where it shouldn’t be. Yet even after solving the OS problem, a deeper issue remains: the hardware itself. Since around 2008, virtually every Intel and AMD processor has included coprocessors running closed-source code known as the Intel Management Engine (IME) or AMD Platform Security Processor (PSP).

M1 MacBook Air, now with more freedom

These components operate entirely outside the user’s and operating system’s control. They are given privileged access to memory, storage, and networking and can retain that access even when the CPU is not running, creating systemic vulnerabilities that cannot be fully mitigated by software alone. One practical approach to minimizing exposure to opaque management subsystems like the IME or PSP is to use platforms that do not use x86 hardware in the first place. Perhaps surprisingly, the ARM-based Apple M1 and M2 computers offer a compelling option, providing a more constrained and clearly defined trust model for Linux users who prioritize privacy and security.

Before getting into why Apple Silicon can be appealing for those with this concern, we first need to address the elephant in the room: Apple’s proprietary, closed-source operating system. Luckily, the Asahi Linux project has done most of the heavy lifting for those with certain Apple Silicon machines who want to go more open-source. In fact, Asahi is one of the easiest Linux installs to perform today even when compared to beginner-friendly distributions like Mint or Fedora, provided you are using fully supported M1 or M2 machines rather than attempting an install on newer, less-supported models. The installer runs as a script within macOS, eliminating the need to image a USB stick. Once the script is executed, the user simply follows the prompts, restarts the computer, and boots into the new Linux environment. Privacy-conscious users may also want to take a few optional steps, such as verifying the Asahi checksum and encrypting the installation with LUKS but these steps are not too challenging for experienced users. Continue reading “The Most Secure, Modern Computer Might Be A Mac”

Heating A Woodshop With Sawdust

Most carpenters and woodworkers find themselves with the problem of disposing of all the sawdust they create when performing their craft. There are lots of creative solutions to this problem, such as adding it compost, using it as groundcover in a garden, adding it as filler in a composting toilet, or pressing it into bricks to burn in a stove. All of these have their uses, but involve either transporting the sawdust somewhere or performing some intermediate step to process it. [Greenhill Forge] wanted to make more direct use of it so he built this stove which can burn the sawdust directly and which provides enough heat for his woodshop.

The design is based on one which is somewhat common in Japan and involves building a vessel with a central tube for airflow, with the sawdust packed around it. The tube is made from a hardware cloth or screen to allow air to reach the sawdust. The fire is lit from the top, closed, and then allowed to burn through the stack. [Greenhill Forge] welded the entire stove from various pieces of sheet metal and bar stock, with a glass plate at the top of the stove to close off the fire and a baffle to control the airflow and rate of burn.

Initially, [Greenhill Forge] thought that the fire would burn from the top down, but this turned out to create a smoldery, messy fire instead of a hot, clean burn. Eventually, though, an ember fell down to the bottom and let the stack burn from the top up, and then it started generating serious heat. He estimates that with around 5 kg of sawdust burning for three hours that it’s about equivalent to a 6 kW stove. While a woodworker might not have enough sawdust to run this stove every day, it could be good to have on hand to use once every few weeks when the sawdust builds up enough. [Greenhill Forge] has been hard at work building unique wood burning stoves lately, like this one we recently featured which generates and then uses charcoal as fuel.

Continue reading “Heating A Woodshop With Sawdust”

Analog Video From An 8-Bit Microcontroller

Although the CRT has largely disappeared from our everyday lives, there was a decades-long timeframe when this was effectively the only display available. It’s an analog display for an analog world, and now that almost everything electronic is digital, these amazing pieces of technology are largely relegated to retro gaming and a few other niche uses. [Maurycy] has a unique CRT that’s small enough to fit in a handheld television, but since there aren’t analog TV stations anymore, he decided to build his own with nothing but an 8-bit microcontroller and a few other small parts.

Continue reading “Analog Video From An 8-Bit Microcontroller”

Analog Siren For Psychedelic Soundscapes

For better or worse, there are a few instruments that have been pigeonholed into specific genres of popular music. For example, banjos are often heard in bluegrass or folk, harmonicas in blues, and a sick horn section will take many of us immediately to third wave ska. Similarly, there are certain styles of synthesizers tied to various genres and if you’re a fan a certain sub-genre of reggae you’ll be familiar with the dub siren. This unique analog synth has a few tricks up its sleeve and [Jakub] shows us how he built his.

He’s calling this build the Sirenotron, and its based on the venerable 555 timer It also features an LFO built on an LM358, with triangle and square wave modes, plus an additional “acid mode” for the square wave which adds a single capacitor to the circuit but makes a big difference in the sound. Like any siren synth, there are potentiometers to control pitch and the pulse rate of the siren as well and another switch controls whether it is outputting sound or not. He’s also included the ability to control it with a foot pedal so he can use it while playing the bass guitar during live shows.

[Jakub] has gone through several prototypes before getting to this stage, and not only uses it when playing dub but also creates psychedelic soundscapes in a side project of his where it also fits right in. He’s also made the schematics available for anyone who wants to reproduce it or build on his design.

We’re always interested in a unique synthesizer build around here, and some of our favorites include this synth built from Sega Genesis parts and this one controlled more like a woodwind instrument.

Continue reading “Analog Siren For Psychedelic Soundscapes”

3D Printed Clock Just Taps It In

The famous cuckoo clock, with its moving, chirping mechanical bird indicating various divisions of time, has been around since at least the 1600s. The most famous of them come from the Black Forest area of Germany, and are still being made worldwide even today. Other clocks with different themes take their inspiration from the standard bird-based clocks from history, and thanks to modern 3D printing and other technologies we can make clocks with almost any type of hour indicator we’d like with relative ease like [Jason]’s golf clock.

While the timekeeping mechanism is a fairly standard analog clock, the hour indicator mechanism in this build is a small figure which putts a golf ball into a hole once every hour. It uses an ESP32-C3 at its core, which controls a pair of servos. One controls the miniature golfer, and the other lifts the ball up into position on the green at the appointed time. Once the ball is in place, the figure rotates, striking the ball towards the hole. Although it looks almost like the ball is guided by a magnet of some sort at first glance, the ball naturally finds its way into the hole by the topography of the green alone.

Almost all of the parts in this build are 3D printed, including the green, the golfer, the frame, and a number of the servo components. There’s also a small sensor that detects if the ball has actually made it into the hole and back to the lifting mechanism, and to that end there’s also a number of configurations that can be made in the software to ensure that the servos controlling everything all work together to putt the ball properly.

While not a cuckoo clock in the strict sense, we always appreciate a unique clock around here, but if you demand your clocks have ideological purity we’ll point you to this cuckoo clock built into a wristwatch.

Continue reading “3D Printed Clock Just Taps It In”

Real Robot Makes Debut In Programming Game

Sometimes the right tool for the right job appears almost out of nowhere. That was certainly the case for [Jonathan] who came across an unusual but well-designed robot at a secondhand shop. The robot needed a bit of work to get back into a usable condition, but after that it was ready for use. For such a unique machine, it needed a unique place to work as well, so in this build [Jonathan] uses it as a real robot to recreate a popular board game meant to teach programming to children.

In the original board game, called Robot Turtles, there are no actual robots. Instead, players use cards to control turtles to reach objectives in much the same way that a programmer would solve a similar problem with a computer. A board game with such a name almost demands a robot, so [Jonathan] found a larger playing surface in the form of soft matting blocks, each with a number or letter, that can be assembled into a grid. To make the game, he built a Python application on top of the interface he reverse-engineered in a previous build. It handles the robot interface, control, input, and a PyGame GUI. The game can either be played in real-time, or the robot’s moves can be queued.

In addition to keyboard input, the bot can also be controlled by putting cards from the actual board game itself on an NFC reader he made. [Jonathan] has a four-year-old at home, so he hopes that all of these projects will have an impression and encourage experimentation and discovery of computers and programming.

Continue reading “Real Robot Makes Debut In Programming Game”