Readers with not too many years under their belts may recall a time when the classic background sound effect for radio and television news programs included a staccato mechanical beat, presumably made by the bank of teletype machines somewhere in the studio, clattering out breaking stories onto rolls of yellow paper. It was certainly true that teletypes were an important part of the many communications networks that were strung together over the 20th century, but these noisy, greasy beasts had their day and are now largely museum pieces.
Which is exactly where the ancient Model 19 Teletype machine that [CuriousMarc] and company are restoring is destined. Their ongoing video series, six parts long as of this writing, documents in painstaking detail how this unit worked and how they are bringing it back to its 1930s glory. Teletypes were made to work over telephone lines with very limited bandwidth, and the hacks that went into transmitting text messages with a simple 5-bit encoding scheme are fascinating. The series covers the physical restoration of the machine, obviously well-loved during its long service with the US Navy. Of particular interest is the massive power supply with its Thyratron tubes and their mysterious blue glow.
The whole series is worth a watch if you’re even slightly interested in retrocomputing. We’re particularly taken with the mechanical aspects of these machines, though, which have a lot in common with mechanical calculators. [Al Williams] recently covered the non-replacement of the power supply caps for this unit, which is an interesting detour to this restoration.
Continue reading “Ancient Teletype Revived in Labor of Retrocomputing Love”
Before modern CRTs with ancient VGA connectors, and before fancy video terminals, the display for computers large and slightly smaller was the Teletype. While many of these Teletypes were connected directly, they were designed to be a remote terminal, connected through Ma Bell’s network. [NeXT] over on the Vintage Computer Forums is bringing the iconic ASR33 Teletype into the 21st century by giving this old display a modern way to connect to the outside world.
If you ever see a Teletype in action, it will be connected to a local machine. This was certainly not always the case. The Teletype was designed to connect to remote systems. [NeXT]’s Teletype came with a Call Control Unit designed for Telex lines, which do not exist anymore. Modems for the ASR33 existed, but good luck finding one. Lucky for [NeXT], nearly every modem ever made is backwards-compatible with the Bell Dataphone, one of the standard ways of plugging a Teletype into a phone line. All [NeXT] had to do was put a modem inside this Teletype.
With relays, transistors, LEDs, and a lot of perfboard, [NeXT] successfully built a circuit that would interface the Teletype’s Call Control Unit to a Hayes Smartmodem tucked away inside the stand. Believe it or not, this is an exceptionally useful build; if you ever find a Teletype tucked away in the back of an old office, in a surplus shop, or on Craigslist, odds are it won’t be compatible with any modern electronics. That’s not to say land lines are particularly modern, but since there’s a microcontroller included in the new circuitry, it’s relatively easy to add a USB port to this ancient terminal.
I know you’ve heard of both synchronous and asynchronous communications. But do you really know the differences between the two?
Serial communication was used long before computers existed. A predecessor is the telegraph system using Morse Code, one of the first digital modes of communication. Another predecessor is the teletype, which set standards that are still used today in your Arduino or Raspberry Pi.
All you need is two wires for serial communications, which makes it simple and relatively robust. One wire is ground and the other the signal. By interrupting the power with predefined patterns, information can be transferred over both short and long distances. The challenge is receiving the patterns correctly and quickly enough to be useful.
I was a bit surprised to find out the serial port on the Arduino Uno’s ATmega328P microcontroller is a Universal Synchronous Asynchronous Transmitter Receiver (USART). I’d assumed it was only a UART (same name, just leave out synchronous) probably because my first work with serial communications was with the venerable Intel 8251 “Programmable Communication Interface”, a UART, and I didn’t expect the microcontroller to be more advanced. Silly me. Later I worked with the Zilog 8530 Serial Controller Chip, a USART, the term I’ll use for both device types.
All these devices function in the same way. You send a byte by loading it into a register and it is shifted out one bit at a time on the transmit (TX) line as pulses. The receiver accepts the pulses on a receive (RX) input and shifts them into a register, which is then read by the system. The transmitter’s job is pretty easy it just shifts out the bits at a known clock rate. The receiver’s task is more complex because it needs to know when to sample the incoming signal. How it does this is the difference between asynchronous and synchronous communications.
Continue reading “Serially, Are You Syncing or Asyncing?”
If you are of a certain age you may have worked in an office in the days before the computer revolution, and the chances are that in the corner of your office there would have been a teletype machine. Like a very chunky typewriter with a phone attached, this was an electromechanical serial terminal and modem, and machines like it would have formed the backbone of international commerce in the days before fax, and then email.
Teletypes may have disappeared from the world of trade, but there are a surprising number still in private hands. Enthusiasts collect and restore them, and radio amateurs still use digital modes based on their output. The problem facing today’s teletype owner though is that they are becoming increasingly difficult to interface to a modern computer. The serial port, itself an interface with its early history in the electromechanical world, is now an increasingly rare sight.
[Eric] has a project which addresses the teletype owner’s interfacing woes, he’s created a board with all the necessary level shifters and an Atmega32u2 microcontroller to translate the teletype’s output to USB.
In his design he’s had to solve a few problems related to such an aged interface. Teletypes have a serial output, but it’s not the TTL or RS232 we may be used to. Instead it’s a high-voltage current loop designed to operate electromagnets, so his board has to incorporate an optocoupler to safely isolate the delicate computer circuitry. And once he had the teletype’s output at a safe level he then had to translate its content, teletypes speak 5-bit ITA2 code rather than our slightly newer 7-bit ASCII.
The result though is a successful interface between teletype and computer. The former sees another teletype, while the latter sees a serial terminal. If you have a teletype and wish to try it for yourself, he’s released the source code in a GitHub repository.
Teletypes have featured a few times here at Hackaday over the years. We’ve had one as an SMS client, another that monitors a Twitter feed, and while it’s not strictly a teletype, a close examination of an Olivetti mechanical serial terminal.
Despite the title, there’s no religious content in this post. The Hell in question is the German inventor [Rudolph Hell]. Although he had an impressive career, what most people remember him for is the Hellschreiber–a device I often mention when I’m trying to illustrate engineering elegance. What’s a Hellschreiber? And why is it elegant?
The first question is easy to answer: the Hellschreiber is almost like a teletype machine. It sends printed messages over the radio, but it works differently than conventional teletype. That’s where the elegance comes into play. To understand how, though, you need a little background.
Continue reading “Messages From Hell: Human Signal Processing”
We’ve heard it said that no one invented the old mechanical Teletype. One fell from the sky near Skokie, Illinois and people just duplicated them. It is true these old machines were similar to a modern terminal. They sent and received serial data using a printer instead of a screen. But inside, they were mechanical Rube Goldbergs, not full of the electronic circuits you’d think of today.
Teletype was the best-known name, but there were other mechanical monster terminals out there. [Carsten] recently took some pictures of his 99 pound Olivetti mechanical terminal. According to him, there’s only one electronic component within: a bistable solenoid that reads the data. Everything else is mechanical and driven with a motor that keeps everything at the right baud rate (110 baud).
Like the Teletype, it is a miracle these things were able to work as well as they did. Lacking a microcontroller, the terminals could respond to an identity request by spinning a little wheel that had teeth removed to indicate which letters to send (TeleType used a similar scheme). Things that are simple using today’s electronics (like preventing two keys pressed at once from being a problem) turned out to be massive design challenges for these old metal monsters.
Turns out that when [Carsten] last fired the terminal up, a capacitor finally gave up its magic smoke. He plans to fix it, though, and as long as it isn’t a mechanical problem, we bet he will.
We’ve talked about Teletypes a few times in the past, including using them for text messaging and even Twitter.
We’re not quite to the 25th anniversary of the world wide web, but that doesn’t mean the greatest innovation in information distribution since [Gutenberg]’s press can’t be celebrated a bit early, does it? [Suhayl] is throwing some of his hardware into the ring, and loading up the first web page with a modem from the mid 1960s and a teletype from the mid 70s. No, no sane person would have ever done this 25 years ago, but it’s neat to watch in any event.
The hardware [Suhayl] is using includes a Livermore Data Systems modem. It’s a finely crafted wooden box with an acoustic coupler on top, and a DB-25 connector on a side that connects to a terminal or computer via RS-232. If that Livermore Data Systems acoustic coupler modem looks familiar, you might be right. This modem was demoed back in 2009 by [phreakmonkey]. It’s an impressive little box that can connect to a remote system at up to 300 baud.
The I/O is handled by an ASR-33 teletype. This was the standard way to connect to computers and mainframes before we were all blessed with video terminals and TV typewriters. The whole setup connects to a Unix system with a much more familiar Hayes modem, runs a text-only browser, and retrieves the first web page as it was served up at CERN some 25 years ago.