Computer Gear With — Um — Gears

Analog computers have been around in some form for a very long time. One very obvious place they were used was in military vehicles. While submarine fire computers and the Norden bombsight get all the press, [msylvain59] has a lesser-known example: an M13A1 ballistic computer from an M48 tank that he tears down for us in the video below.

The M48, known as a Patton, saw service from 1952 to 1987. Just looking at the mechanical linkage to the tank’s systems is impressive. But inside, it is clear this is a genuinely analog computer. The thing is built — quite literally — like a tank. What was the last computer you opened that needed a hammer? And inside, you’ll find gears, bearings, and a chain!

We don’t pretend to understand all the workings. These devices often used gears and synchros (or selsyns, if you prefer) to track the position of some external thing. But we are guessing there was a lot more to it than that. It’s probably an exciting process to see something like that designed from scratch.

We did think of the Norden when we saw this. Hard to imagine, but there were “general purpose” analog computers.

Continue reading “Computer Gear With — Um — Gears”

How To Talk To Your Scope

It used to be only high-end test equipment that had some sort of remote control port. These days, though, they are quite common. Historically, test gear used IEEE-488 (also known as GPIB or, from the originator, HPIB). But today, your device will likely talk over a USB port, a serial port, or a LAN connection. You’d think that every instrument had unique quirks, and controlling it would be nothing like controlling another piece of gear, especially one from another company. That would be half right. Each vendor and even model indeed has its unique command language. There has been a significant effort to standardize some aspects of test instrument control, and you can quickly write code to control things on any platform using many different programming languages. In a few posts, I will show you just how easy it can be.

The key is to use VISA. This protocol is defined by the IVI Foundation that lets you talk to instruments regardless of how they communicate. You do have to build an address that tells the VISA library how to find your device. For example: “TCPIP::192.168.1.92::INSTR.” But once you have that, it is easy to talk to any instrument anywhere.

I say that thinking it is a problem is half right because talking to the box is one task of the two you need to complete. The other is what to say to the box and what it will say back to you. There are a few standards in this area, but this is where you get into problems. Continue reading “How To Talk To Your Scope”

PicoGUS: For All Your ISA Sound Card Needs

Sound cards used to be a big part of gaming machines in the 90s and 2000s but have largely gone extinct in the wake of powerful CPUs doing the sound themselves. Sound cards were expensive back then and, because the good ones weren’t very common, are expensive still for the retro gamer. But if you don’t need the real thing, [polpo] has you covered with his RP2040-based ISA sound card.

The PicoGUS, as he calls it, primarily serves to replace the Gravis UltraSound with modern components at a low cost. It uses the RP2040’s PIO to attach to an ISA bus and the RP2040’s dual-core power to synthesize the audio for its primary target, but also the AdLib (OPL2), CMS/Game Blaster and Tandy 3-Voice. [polpo] sells the PicoGUS on his Tindie store, but since it’s open source, you can of course just make your own.

Although “work-in-progress”, the PicoGUS is very useful to the right person and a perfect demonstration of how the RP2040’s PIO can be used to interface with almost any type of protocol.

Of couse, that’s not the only way to use the PIO, you can also create a CAN bus or even add another USB port.

Illustrated Kristina with an IBM Model M keyboard floating between her hands.

Keebin’ With Kristina: The One With The Duplex Typewriter

The Coleco Adam? A not-so-great home computer that likely contributed to the downfall of the company. The keyboard, however, is a different story, and worth repurposing.

[Nick Bild] has created a USB adapter that uses a Teensy 4.1 and an RJ-12 breakout board. Now this wasn’t just a simple matrix to decode. No, the fine folks at Coleco rolled their own communications protocol called AdamNet.

The keyboard uses an RJ-12 connector and a single data line to communicate over a 62.5 kbit/s, half-duplex serial bus. Inside the keyboard is a Motorola 6801 that caches the key presses and sends them to the computer. So the BOM is limited to what you see above — an RJ-12 breakout and a Teensy 4.1. It’s great to see old keyboards come alive again, especially one with such cool sci-fi keycaps. Want to hear it clack? Of course you do.

Continue reading “Keebin’ With Kristina: The One With The Duplex Typewriter”

LiPo Replacement Keeps Portable Scanner In The Action

If there’s anything people hate more than being locked into a printer manufacturer’s replacement cartridges, it’s proprietary batteries. Cordless power tools are the obvious example in this space, but there are other devices that insist on crappy battery packs that are expensive to replace when they eventually die.

One such device is the Uniden Bearcat BC296D portable scanner that [Robert Guildig] found for a song at a thrift store, which he recently gave a custom LiPo battery upgrade. It came equipped with a nickel-cadmium battery pack, which even under the best of circumstances has a very limited battery life. Using regular AA batteries wasn’t an option, but luckily the space vacated by the OEM battery pack left a lot of room for mods. Those include a small module with BMS functions and a DC-DC converter, a 2,400 mAh 4.2 V LiPo pillow pack, and a new barrel connector for charging. With the BMS set for six volts and connected right to the old battery pack socket, the scanner can now run for seven hours on a one-hour charge. As a bonus, the LiPo pack should last a few times longer than the NiCd packs, and be pretty cheap to replace when it finally goes too. There’s a video after the hop with all the details.

If you’re looking at a similar battery replacement project, you might want to check out [Arya]’s guide to everything you need to know about lithium-ion circuitry.

Continue reading “LiPo Replacement Keeps Portable Scanner In The Action”

Zork Zcode Interpreters Appear Out Of Nowhere

Some of our readers may know about Zork (and 1, 2, 3), the 1977 text adventure originally written for the PDP-10. The game has been public domain for a while now, but recently, the interpreters for several classic 1980s machines have also appeared on the internet.

What’s the difference? Zork is not a PDP-10 executable, it’s actually a virtual machine executable, which is in turn run by an interpreter written for the PDP-10. For example, Java compiles to Java bytecode, which runs on the Java virtual machine (but not directly on any CPU). In the same way, Zork was compiled to “Z-machine” program files, called ZIP (which was of course used in 1990 by the much more well known PKZIP). To date, the compiler, “Zilch” has not been released, but the language specification and ZIP specifications have, which has led some people to write custom ZIP compilers, though with a different input language.

For more on the VM, check out Maya’s Zork retrospective. (And dig the featured art. Subtle!)

Of course, that’s not the only type of interpreter. Some programming languages are interpreted directly from source, like this BASIC hidden in the ESP32’s ROM.

A black motion system with two stepper motors. A green circuit board is fixed in a rotating cage in the center, and the entire assembly is on a white base atop a green cutting mat. Wires wind through the assembly.

Pi-lomar Puts An Observatory In Your Hands

Humans have loved looking up at the night sky for time immemorial, and that hasn’t stopped today. [MattHh] has taken this love to the next level with the Pi-lomar Miniature Observatory.

Built with a Raspberry Pi 4, a RPi Hi Quality camera, and a Pimoroni Tiny2040, this tiny observatory does a solid job of letting you observe the night sky from the comfort of your sofa (some assembly required). The current version of Pi-lomar uses a 16mm ‘telephoto’ lens and the built-in camera libraries from Raspbian Buster. This gives a field of view of approximately 21 degrees of the sky.

While small for an observatory, there are still 4 spools of 3D printing filament in the five different assemblies: the Foundation, the Platform, the Tower, the Gearboxes and the Dome. Two NEMA 17 motors are directed by the Tiny2040 to keep the motion smoother than if the RPi 4 was running them directly. The observatory isn’t waterproof, so if you make your own, don’t leave it out in the rain.

If you’re curious how we might combat the growing spectre of light pollution to better our nighttime observations, check out how blinking can help. And if you want to build a (much) larger telescope, how about using the Sun as a gravitational lens?

Continue reading “Pi-lomar Puts An Observatory In Your Hands”