ApocaPi Now Is A Cyberdeck For What Comes After

The end of the world seems closer now than ever before, even in the 1980s. But you, dear Hackaday reader, will want more than just a bug-out bag full of C-rations and waterproof matches. You will need the technological version of a bug-out bag — a mil-spec-esque cyberdeck, which is exactly what [hammerandhandmi] is in the middle of perfecting.

That’s not some kind of fancy cake pan — it’s a Pelican 1170 case lined with conductive foil tape. You see, [hammerandhandmi] has various reasons not elaborated upon for doing this, including EMP protection. Inside is an 8 GB Raspberry Pi 4B donning a Pi Juice UPS HAT and sipping from a fancy power supply. The main charging source for the old Mac book battery is solar via a large panel that’s external to cyberdeck. A smaller, secondary panel lives inside for backup purposes. There’s also an MPPT charge controller for to support the different battery chemistries. [hammerandhandmi] chose the Pelican 1170 because they need to mount it to the back of an LC2 Alice rucksack frame. The 1170 is wider than the popular 1150, and is in fact almost the exact width of the LC2 frame.

The point of this build is to maintain power for the purpose of preserving knowledge — all that stuff we’ll need to rebuild humanity. There will be much information available up via FOSS offline browser Kiwix, plus an atlas, some military field manuals, a lot of survival info, all of the books Project Gutenberg has to offer, plus a handful of movies and a few game ROMs so [hammerandhandmi] can live out the rest of their days in what is hopefully some kind of solar punk utopia.

Provided there’s enough time to implement it all, [hammerandhandmi] plans to add an SDR with antenna hookup, GPS unit, 12 V port, a couple of SSDs, a powered USB hub, and maybe an RFID reader. But the coolest part is that they ultimately want to connect everything up to a HUD mounted in a ballistic helmet. See? The apocalypse could be awesome. It’s up to us!

We often see cyberdecks with mechanical keyboards, like this cherry Pi number. But the salvaged keeb from a 1989 Compaq laptop might be just as future-proof.

Tech In Plain Sight: Tough As Nails

When you think of machines you see around you every day, you probably think about your car, computer, or household appliances. However, the world is full of simple machines. One simple machine in particular, the inclined plane, shows up a lot. For example, think of the humble nail. If you are a woodworker or even a homeowner you probably have bags of them. They certainly are all around you if you are indoors and maybe even if you are outdoors right now. Nails have been the fastener of choice for a very long time and they are a form of a wedge which is a type of inclined plane.

What else can you say about nails? Turns out, there is a lot to know. Like other fasteners, there are nails for very specific purposes. There are even nails with two heads and — no kidding — nails with two points. Exactly what kind of nail you need depends on what you are doing and what’s important to you.

Continue reading “Tech In Plain Sight: Tough As Nails”

Three flowers in a corner of a darkened room, shining in different colors.

LED Flower Bouquet Is A Radiant Hacker Desk Decoration

[Jeremy Cook] writes to us about a project of his – a bouquet of LED cube flowers. The flowers are PCB cubes made out of small castellated PCBs, each of those having an individually addressable LED in its center. Castellations hold the cubes together mechanically, and thanks to a cleverly chosen pinout, only two different kinds of PCB need to be ordered for building such a flower!

As a vase for these flowers, he decided to use a glass bottle – which would need a cutout to fit a ESP8266-powered NodeMCU board, a controller of choice for the project. After a few different approaches for cutting glass all resulted in the bottles cracking, he gave up on the “clean cut” idea and reused one of the broken bottles, gluing it back together well enough for the aesthetic to work.

[Jeremy] tells us that he’s had help from a hack we covered back in 2017 – using a diode for level shifting, as the ESP8266’s 3.3 V level signals aren’t a good match for WS2812 inputs. From there, the WLED firmware for the ESP8266 ties everything together beautifully. It’s clear that [Jeremy] had a field day designing this, toying with all the ideas and approaches!

Colorful LEDs are a must-have for decorating hacker homes. From a bouquet of flowers, you might find yourself sketching a castellated PCB tile design, and next thing you know, you’ve created a beautiful system of LED triangle tiles. Some PCB fabs scoff at castellations, and if that’s the case, you might as well finish the job yourself.

Continue reading “LED Flower Bouquet Is A Radiant Hacker Desk Decoration”

Run Your Own Server For Fun (and Zero Profit)

It seems there’s a service for everything, but sometimes you simply learn more by doing it yourself. If you haven’t enjoyed the somewhat anachronistic pleasures of running your own server and hosting your own darn website, well, today you’re in luck!

Yes, we’re going to take an old computer of some sort and turn it into a web server for hosting all of your projects at home. You could just as easily use a Raspberry Pi –even a Zero W would work — or really anything that’ll run Linux, but be aware that not all computing platforms are created equally as we’ll discuss shortly.

Yes, we’re going to roll our own in this article series. There are a lot of moving parts, so we’re going to have to cover a lot of material. Don’t worry- it’s not incredibly complicated. And you don’t have to do things the way we say. There’s flexibility at every turn, and you’re encouraged to forge your own path. That’s part of the fun!

Note: For the sake of space we’re going to skip over some of the most basic details such as installing Linux and focus on those that have the greatest impact on the project. This article gives a high level overview of what it takes to host your project website at home. It intentionally glosses over the deeper details and makes some necessary assumptions.

Continue reading “Run Your Own Server For Fun (and Zero Profit)”

DOOM Comes To The RP2040

To the point of being a joke, it seems like DOOM is adapted to run on everything these days. So it was only natural that we would see it ported to the RP2040 by [Graham Sanderson], the tiny chip powering the Raspberry Pi Pico.

You might be thinking, what’s different about this port? There have been 55 articles about DOOM here on Hackaday, showing it running on everything from web checkboxes to desk phones. The RP2040 has 256 K of RAM, two decently clocked processor cores, and 2 MB of flash, so it’s not the most constrained platform ever to have DOOM run it. But [Graham] also set some very lofty goals: all nine levels needed to be playable, faithful graphics and music, multiplayer, and it would output to VGA directly. It should play just like the original. DOOM has a demo that is stored as a sequence of input events. They form excellent regression tests as if the character gets stuck or doesn’t make it to the end; then you’re not accurate according to the original code.

There are two big problems right out the gate. First, a single level is larger than the 2 MB storage that the RP2040 has. And to drive the 320×200 display, you either need to spend a lot of your CPU budget racing the beam or allocate a vast amount of RAM to framebuffers, making level decompression much harder.

A default compression scheme wouldn’t cut it because it needed a high compression ratio and random access since decompressing into RAM wasn’t an option. However, carefully optimizing and compressing the different data structures yielded great results. Save game files are given a similar treatment to ensure they fit into the remaining flash after all the levels (34k).

The result is fantastic, and it supports DOOM, Ultimate DOOM, and DOOM II. The write-up goes into far more detail than we could here; enjoy the read. If you decide to make a day trip to the depths of Hell on your own Pi Pico, be sure to let us know in the comments.

Continue reading DOOM Comes To The RP2040″

A Sinclair ZX81 Clone Still Has The Power To Fascinate

The golden age of 8-bit computing brought us pixelated graphics in bright colours, accompanied of course by chiptune music. This aesthetic is strong enough to define a collective image of a generation’s youth, even if the 1980s reality had much more of the tired 1970s leftovers about it.  The truth was that not all popular 8-bit machines had colour, sound, or good graphics, and among these limited-capability machines was Sir Clive Sinclair’s ZX81. With a Z80, 1k of RAM, a membrane keyboard, and not much else, it helped set the stage for the hugely popular ZX Spectrum which followed it. The fun’s not over though, as [Augusto Baffa] demonstrates with his modern recreation of a machine that can switch between the ’81 and its less-popular ZX80 predecessor.

Rather than a Eurocard-sized mainboard and membrane keypad, this clone copies the ZX80 with a full-sized mainboard the front of which carries the keyboard contacts. It also eschews the ULA found in the ’81 for discrete TTL. It’s based upon the venerable Grant Searle design for a homebuilt Sinclair computer, and all of the files for this version can be found in a GitHub repository.

There is a lot to be said for the ZX81 as a model for retrocomputer experimentation, because of its extreme simplicity. It may have been no great shakes in the computing department compared to many of its competitors, but it remains possibly one of the easiest of the bunch whose operation to completely understand. Also we like it for that paltry 1k of memory, teaching kids about memory constraints is a good thing in our book.

We’ve featured the diminutive ZX more than once, including a couple of years ago in our April Fools coverage.

Pedal Powered Power

When you have a solar-powered web server, where do you go next for a source of power? Instead of lazily mooching off the sun, you can use your muscle with a bike generator. [Ed note: The site is run on an entirely solar-powered server, so if it’s the middle of the night, you might have a better web experience here.]

We’ve covered bicycle generators before, so what’s new? For starters, the accessibility of chargers and batteries has changed significantly. Rather than just charging a phone or putting out a measly 5V, this bike can be integrated into an existing solar PV system and output many voltages. This guide goes over building one with hand tools with great detail.

It starts with a 1950’s vintage exercise bicycle, no hacksaw required. A friction drive connects a generator and makes for an incredibly compact generator/exercise machine. Calculating the correct gear ratio is crucial to getting the 12 volts out at an average pedaling speed. You want your range of voltages to be between 5 and 24 volts. With the help of a control panel provides 5v, 12v, 14.4v, and 220v to power a variety of devices. Boost and buck converters output these voltages (depending on whether the voltage needs to be set for a maximum or a minimum). A potentiometer allows you to dial back the power draw of certain appliances (an electric kettle, for instance), making a workout a tad easier on the human component of the generator.

Another key takeaway from this guide is using a wind charge controller to charge batteries. A solar charge controller will just cut the circuit when the batteries are full. A wind charge controller will increase the load until the motor breaks. Some controllers are also hybrid wind and solar, allowing you to connect a small panel like the one running the webserver this guide is posted on and then charge up the batteries when it has been overcast for a few days in a row.