Space Age Bitcoin Mining On An Apollo AGC

Imagine you’ve got an Apollo Guidance Computer, the machine that took men to the Moon 50 years ago. You’ve spent ages restoring it, and now it’s the only working AGC on the planet. It’s not as though you’re going to fly to the Moon with it, so what do you do with it? Easy – turn it into a perfectly awful Bitcoin mining rig.

The AGC that [Ken Shirriff] and others have been restoring barely resembles a modern computer. The AGC could only do about 40,000 operations per second, but raw speed was far less important than overall reliability and the abundant IO needed to run a crewed spacecraft. It was a spectacular success on the Apollo missions, but [Ken] wanted to know if turning it into a Bitcoin mining rig was possible.

[Ken] gives a great overview of how Bitcoin mining works, with one of the best explanations of the hashing algorithm we’ve seen. Getting that to run on the AGC was no mean feat, especially with limits imposed by the memory addressing scheme and the lack of machine instructions for manipulating words. He eventually got it working, though, clocking in at a screaming 10.3 seconds per Bitcoin hash. [Ken] estimates that the first coin will be successfully mined in a mere 400 zettaseconds, which is about a billion times older than the universe. With about 13 quadrillion years to the first ka-ching, you have plenty of time to watch a block mined in the video below; alas, it was an old block, so no coins were awarded to compensate the team for their efforts.

This isn’t the first time [Ken] has implemented a useless Bitcoin mine. The Xerox Alto mine was actually fast compared to the AGC, but it sure beats the IBM mainframe and punchcards.

Continue reading “Space Age Bitcoin Mining On An Apollo AGC”

I Went To The Moon And All I Got Was This Lousy T-Shirt

It’s been a long time coming but [Fran] finally has a DSKY display, a replica of the user interface display found in the Apollo Guidance Computer. The best part? It’s a t-shirt.

This build is a long, long, time in the making first beginning in 2015 when Fran started investigating the DSKY of the Apollo Guidance Computer. At the time, there were reproductions, but honesty they were all terrible. The reproductions used off-the-shelf seven-segment LEDs or light pipes. The real DSKY was a work of art and at the time probably the most complex electroluminescent display ever created. This led [Fran] to a very special trip to the annex of the Air and Space Museum where she was allowed to inspect a real DSKY display. She got all the measurements, and with some non-destructive investigation, she was able to piece together how this very special display was put together.

With that information, [Fran] was able to figure out that this display was a fairly complex series of silk screens. If it’s silk screen, you can put it on a t-shirt, so that’s exactly what [Fran] did. This used a DIY silk screen jig with phosphorescent inks. It’s not an electroluminescent display, but it does glow in the dark.

While this DSKY t-shirt does glow in the dark, that means it’s not an electroluminescent display like the original DSKY. That said, screen printed electroluminescent displays on a t-shirt aren’t unheard of. Several years ago, a screen printing company did a few experiments with EL displays on wearables. Of course, if you want a real electroluminescent DSKY display, [Ben Krasnow] has a very modern reproduction of the screen printed display. The electronics of [Ben]’s project do not resemble what flew to the moon in any way whatsoever; the original DSKY had relays. That said, we’ve never been closer to a modern recreation of the display from an Apollo Guidance Computer, and we have [Fran] and [Ben]’s work to point us forward.

Continue reading “I Went To The Moon And All I Got Was This Lousy T-Shirt”

[Ben Krasnow] Makes A DSKY

There are hundreds if not thousands of artifacts from the Apollo program scattered around the globe, some twisted wrecks at the bottom of the ocean, others lovingly preserved and sitting in museums or in the hands of private collectors. All of what’s left is pretty much pure unobtainium, so if you want something Apollo-like, you’re probably going to have to make it yourself.

[Ben Krasnow] took up the challenge to make an electroluminescent Apollo-era DSKY display from scratch, with outstanding results. The DSKY, or “display and keyboard”, was the user interface for the Apollo Guidance Computer, the purpose-built digital navigation system that got a total of 24 men there and back again. [Ben] says it took a long time to recreate the display, and we can see why. He needed to master quite a few skills, including screen printing to get the glass-panel display working. The panel is a sandwich of phosphorescent paint, a dielectric, and conductive ink. The ink is silkscreened on the back to form the characters, all applied to indium tin oxide (ITO) conductive glass. A PCB with the same pattern of character segments lays behind that, driving each segment with 300 volts or so through a trio of HV507 high-voltage shift registers. It’s an impressive bit of engineering and gives off a decidedly not-homebrew vibe.

In the video below, [Ben] goes into detail about the trials he experienced on the way to this amazing endpoint, not least of which was frying chip after chip due to ineffective protection diodes in the shift registers. That’s an epic debugging story that’s worth the price of admission all by itself. It’s not the only DSKY in town, of course – [Fran Blanche] has been working on one for a while too – but there’s just something about that blue glow that we really like.

Continue reading “[Ben Krasnow] Makes A DSKY”

An Apollo Guidance Computer Laid Bare

An Apollo Guidance Computer probably isn’t a machine that’s likely to come the way of most Hackaday readers. The device that played such a vital role in taking astronauts to the Moon and bringing them home again is hardly a common find, even if it is one of the most iconic machines of its type and era.

[Carl Claunch] was approached to assist in the restoration of an AGC, and while he can’t reveal any information about its owner he is at liberty to document his progress. The result is a fascinating in-depth technical examination of the device over multiple blog posts, and is well worth a read for anyone with an interest in the Apollo program. It’s an ongoing progression of blog posts that are probably too numerous to list individually, but include the construction of a substitute for the DSKY control panel as well as looking at the device’s memory and construction. [Carl] then embarks on a series of posts looking at the restoration itself. This is where we see the computer in greatest detail, and learn the most about it.

If you think you might have seen [Carl]’s name here before, you’d be right. One of his past exploits was getting the first version of FORTH running on an IBM mainframe.

Margaret Hamilton Takes Software Engineering To The Moon And Beyond

If you were to create a short list of women who influenced software engineering, one of the first picks would be Margaret Hamilton. The Apollo 11 source code lists her title as “PROGRAMMING LEADER”. Today that title would probably be something along the line of “Lead software engineer”

Margaret Hamilton was born in rural Indiana in 1936. Her father was a philosopher and poet, who, along with grandfather, encouraged her love of math and sciences. She studied mathematics with a minor in philosophy, earning her BA from Earlham College in 1956. While at Earlham, her plan to continue on to grad school was delayed as she supported her husband working on his own degree from Harvard. Margaret took a job at MIT, working under Professor Edward Norton Lorenz on a computer program to predict the weather. Margaret cut her teeth on the desk-sized LGP-30 computer in Norton’s office.

Hamilton soon moved on to the SAGE program, writing software which would monitor radar data for incoming Russian bombers. Her work on SAGE put Margaret in the perfect position to jump to the new Apollo navigation software team.

The Apollo guidance computer software team was designed at MIT, with manufacturing done at Raytheon. To say this was a huge software project for the time would be an understatement. By 1968, over 350 engineers were working on software. 1400 man-years of software engineering were logged before Apollo 11 touched down on the lunar surface, and the project was lead by Margaret Hamilton.
Continue reading “Margaret Hamilton Takes Software Engineering To The Moon And Beyond”

Hackaday Links Column Banner

Hackaday Links: February 18, 2018

Hacker uses pineapple on unencrypted WiFi. The results are shocking! Film at 11.

Right on, we’ve got some 3D printing cons coming up. The first is MRRF, the Midwest RepRap Festival. It’s in Goshen, Indiana, March 23-25th. It’s a hoot. Just check out all the coverage we’ve done from MRRF over the years. Go to MRRF.

We got news this was going to happen last year, and now we finally have dates and a location. The East Coast RepRap Fest is happening June 22-24th in Bel Air, Maryland. What’s the East Coast RepRap Fest? Nobody knows; this is the first time it’s happening, and it’s not being produced by SeeMeCNC, the guys behind MRRF. There’s going to be a 3D printed Pinewood Derby, though, so that’s cool.

జ్ఞ‌ా. What the hell, Apple?

Defcon’s going to China. The CFP is open, and we have dates: May 11-13th in Beijing. Among the things that may be said: “Hello Chinese customs official. What is the purpose for my visit? Why, I’m here for a hacker convention. I’m a hacker.”

Intel hit with lawsuits over security flaws. Reuters reports Intel shareholders and customers had filed 32 class action lawsuits against the company because of Spectre and Meltdown bugs. Are we surprised by this? No, but here’s what’s interesting: the patches for Spectre and Meltdown cause a noticeable and quantifiable slowdown on systems. Electricity costs money, and companies (server farms, etc) can therefore put a precise dollar amount on what the Spectre and Meltdown patches cost them. Two of the lawsuits allege Intel and its officers violated securities laws by making statements or products that were false. There’s also the issue of Intel CEO Brian Krzanich selling shares after he knew about Meltdown, but before the details were made public. Luckily for Krzanich, the rule of law does not apply to the wealthy.

What does the Apollo Guidance Computer look like? If you think it has a bunch of glowey numbers and buttons, you’re wrong; that’s the DSKY — the user I/O device. The real AGC is basically just two 19″ racks. Still, the DSKY is very cool and a while back, we posted something about a DIY DSKY. Sure, it’s just 7-segment LEDs, but whatever. Now this project is a Kickstarter campaign. Seventy bucks gives you the STLs for the 3D printed parts, BOM, and a PCB. $250 is the base for the barebones kit.

Start Your Apollo Collection With An Open Source DSKY

Given that there have been only six manned moon landings, and that almost all of the hardware that started on the launch pad was discarded along the way, getting your hands on flown hardware is not generally the business of mere mortals. Such artifacts are mostly in museums or in the hands of very rich private collectors. Enthusiasts have to settle for replicas like this open source Apollo Guidance Computer DSKY.

The DSKY, or Display and Keyboard, was the user interface for the Apollo Guidance Computer, that marvel of 1960s computer engineering that was purpose-built to control the guidance and navigation of the Command and Lunar Excursion modules. [ST-Geotronics] has made a decent replica of the DSKY using 3D-printed parts for the housing and bezel. There’s a custom PCB inside that houses a matrix of Neopixels for the indicator light panel and seven-segment LEDs for the numeric displays. Sadly but understandably, the original electroluminescent display could not be reproduced, but luckily [Fran Blanche] is working on just that project these days. The three-segment displays for the plus and minus signs in the numeric displays proved impossible to source commercially, so the team had to roll their own for that authentic look. With laser cut and engraved overlays for the displays and keycaps, the look is very realistic, and the software even implements a few AGC-like functions.

We like this a lot, although we could do without the sound clips, inspirational though Kennedy’s speech was. Everything is open source so you can roll your own, or you can buy parts or even a complete kit too.

Continue reading “Start Your Apollo Collection With An Open Source DSKY”