Why Learn Ancient Tech?

The inner orbits of the Hackaday solar system have been vibrating with the announcement of the 2022 Hackaday Supercon badge. The short version of the story is that it’s a “retrocomputer”. But I think that’s somehow selling it short a little bit. The badge really is an introduction to machine language or maybe a programming puzzle, a ton of sweet blinky lights and clicky buttons, and what I think of as a full-stack hacking invitation.

Voja Antonic designed the virtual 4-bit machine that lives inside. What separates this machine from actual old computers is that everything that you might want to learn about its state is broken out to an LED on the front face, from the outputs of the low-level logic elements that compose the ALU to the RAM, to the decoder LEDs that do double-duty as a disassembler. You can see it all, and this makes it an unparalleled learning aid. Or at least it gives you a fighting chance.

So why would you want to learn a made-up machine language from a non-existent CPU? Tom Nardi and I were talking about our experiences on the podcast, and we both agreed that there’s something inexplicably magical about flipping bits, calling the simplest of computer operations into action, and nonetheless making it do your bidding. Or rather, it’s anti-magical, because what’s happening is the stripping away of metaphors and abstractions. Peering not just behind, but right through the curtain. You’re seeing what’s actually happening for once, from the bottom to the top.

As Voja wrote on the silkscreen on the back of the badge itself: “A programmer who has never coded 1s and 0s in machine language is like a child who has never run barefoot on the grass.” It’s not necessary, or maybe even relevant, but learning a complex machine in its entirety is simultaneously grounding and mind-expanding. It is simply an experience that you should have.

Printed Axial Generator Is Turned By Hand

While desktop 3D printing is an incredible technology, it’s got some pretty clear limitations. Plastic parts can be produced quickly in a 3D printer but can be more expensive or take longer to make than parts from materials like wood. Plastic parts can also be weaker than materials like metal. If a 3D printer is all you have on hand, though, you can often make some design choices that improve the performance of a plastic part over other materials. That’s what [1970sWizard] did to make this axial hand-cranked generator.

Besides a few pieces of off-the-shelf hardware and the wire and magnets, the entire generator is printed. The actual generator is made from coils of wire with exposed leads which snap into a plastic disc which acts as the generator’s stator. The magnets also snap into a separate disc which is the rotor of the generator and is attached to the drivetrain, with no glue or fasteners required. A series of gears on two other axes convert the torque from the hand crank into the high speed necessary to get usable electricity out of the generator.

The separate gear shafts were necessary to keep from needing a drillpress, which would have allowed fewer axes to be used. This entire machine can be built almost entirely with a desktop 3D printer, though, which was one of the design goals. While it’s largely a proof-of-concept, the machine does generate about 100 mW of power which is enough to slowly charge USB devices, power lights, or provide other sources of very small amounts of energy. If you do have access to some metalworking tools, though, take a look at this hand-cranked emergency generator.

Continue reading “Printed Axial Generator Is Turned By Hand”

How To Achieve Knurling On A Flat Surface

Knurling is a popular way to finish handles of tools and other hardware, with a pattern of crossed lines rolled into metal to provide better grip and an attractive finish. It’s most commonly done on a lathe to round stock, but it can also be achieved on flat surfaces if you have the right tool. Of course, you can make one yourself.

The build is simple, and is based around by creating a special carrier out of a solid piece of steel. It’s a long bar has a space milled out to hold two wheels in the middle. A pair of off-the-shelf knurling wheels are then installed in the bar, with socket head bolts serving as axles.

With the tooling complete, it’s then a simple matter of installing the carrier bar in a lathe and running it back and forth over a flat workpiece. The workpiece is rolled back and forth to allow the wheels to do their work, while also being shifted horizontally to allow the entire flat surface to be worked over.

A nice knurled finish really can elevate the form and function of any tool or other piece of metal craftsmanship. We’ve explored how to create your own knurled knobs before, too.

Continue reading “How To Achieve Knurling On A Flat Surface”

A Simple Stove, Built For Beans

Sitting around a campfire or fireplace is an aesthetically pleasing experience in most situations, and can even provide some warmth. But unless you have a modern wood-burning appliance, it’s likely that most of the energy available in the biomass is escaping as un-burned vapors. Surprisingly, solving this problem is almost as easy as buying a can of beans at the store, and the result is a very efficient stove which can be used for heat in a pinch.

[Robert] is demonstrating this gasifier stove, not with beans but using both a can of peas and a larger can of potatoes. Various holes are drilled in each can in a specific pattern, and then the smaller pea can is fitted inside the larger potato can. Once a fire is going, the holes allow for air to flow in a way which traps the escaping un-burned vapors from the fuel and burns them as they flow through the contraption. No moving parts are required; this is all powered by the natural airflow that’s produced by the heat of the fire.

The result of a build like this is not only a stove which can extract a much higher percentage of the available fuel, but also quires much less fuel for a given amount of heat, and produces a much cleaner, less smokey fire. [Robert] also added a screen mantle which allows for this to be used more as a heat source, but similar builds can also be used just as effectively for cooking, too.

Continue reading “A Simple Stove, Built For Beans”

To Turn An ATtiny817 Into A 150MHz Counter, First Throw Out The Spec Sheet

One generally reads a data sheet in one of two ways. The first is to take every spec at face value, figuring that the engineers have taken everything into account and presented each number as the absolute limit that will prevent the Magic Smoke from escaping. The other way is to throw out the data sheet and just try whatever you want, figuring that the engineers played it as safely as possible.

The latter case seems to have been the motivation behind pushing an ATtiny way, WAY beyond what the spec sheet says is possible. According to [SM6VFZ], the specs on the ATtiny817 show that the 12-bit timer/counter D (TCD) should be limited to a measly 32 MHz maximum frequency, above which one is supposed to employ the counter’s internal prescaler. But by using a 10-MHz precision frequency generator as an external clock, [SM6VFZ] found that inputs up to slightly above 151 MHz were countable with 1-Hz precision. Above that point, things started to drift, but that’s still pretty great performance from something cobbled together on an eval board in a decidedly suboptimal way.

We’d imagine this result could lead to some interesting projects, since the undocumented limit for this timer puts it well within range of multiple amateur radio allocations. Even if it doesn’t prove useful, that’s OK — just seeing how far things can be pushed is cool too. And it’s not like this is the first time we’ve caught [SM6VFZ] persuading an ATtiny to do unusual things, either.

Toteable PC Is Inspired By Macs Of Days Gone By

Back in the 1980s, the personal computer was a hip new thing, and the form this new technology would take was still up for debate. Back then, all kinds of weird clamshells, breadbins, and all-in-one designs hit the market, with the Apple Macintosh proving to be a successful example of the latter. Inspired by the Macintosh 128K that served as their first computer, [Arnov Sharma] decided to whip up a modern all-in-one of their very own.

It’s nicknamed the LATTEintosh, as it’s built around the Latte Panda 3 Delta. This is a single-board computer with an Intel Celeron N5105 CPU, 8GB of RAM, and 64GB of eMMC storage on board. It’s capable of running full-fat x86 operating systems, and here, it’s running Windows 10.

The enclosure is a custom 3D-printed design of [Arnov]’s own creation. It sports a 7-inch HD monitor, fans for cooling, and speakers integrated into the case. Naturally, it’s got a handle on top to make it easy to carry, just like the Macintosh all-in-ones all those years ago.

There’s something to be said for a computer you can just pick up and carry away, and we love the boxy form factor. Sometimes a laptop simply won’t do, and we can imagine many engineers and technicians out there appreciating a build like this. We’ve seen some great all-in-ones before, too. Video after the break.

Continue reading “Toteable PC Is Inspired By Macs Of Days Gone By”

WheatSystem Is A Homebrew 8-Bit OS

[Esperantanaso] has long been involved in producing homebrew 8-bit computers. His various builds could all achieve different things, but he grew frustrated that applications written for one could not be easily run on another. He recently took a big leap forward in this area, though, cooking up his own 8-bit operating system called WheatSystem.

The work initially began with BreadSystem, which relied on applications existing in bytecode. This would then be run by the BreadSystem OS which would handle the requisite conversion to the machine code of the system it ran on. However, the work quickly got out of hand when it came to implementing advanced features like the file system and floating-point handling. BreadSystem was looking likely to be too heavy to run on lightweight 8-bit systems.

That led to the development of WheatSystem, which kept the bytecode runtime environment, unified heap, and a memory permission system from BreadSystem. Fancier features like granular memory permissioning, automatic garbage collection, and file system directories were dropped.

WheatSystem quickly became a basic and functional OS. To demonstrate it, [Esperantanaso] created WheatBox 55A1, a small homebrew computer based on the ATmega328. It readily runs simple applications like a prime number generator or a basic RPG.

Creating one’s own OS is no mean feat, even at the 8-bit level. We’ve seen it done before, and it never fails to impress.

Continue reading “WheatSystem Is A Homebrew 8-Bit OS”