From debug messages to the fundamental ‘hello world’, serial communication does it all over three little wires. Now imagine being able to cut the cord to your next microcontroller project and use your phone as a VT100 terminal. This was the premise of [Ondřej Hruška]’s Wireless Terminal Project where he took an ESP8266 and added an in-browser terminal emulator which can be accessed over WiFi. The final hardware uses an ESP-01 module mounted atop a breadboard adapter with a 3.3V LDO, protection circuitry for the pins and under-voltage disable.
The firmware is based on [SpriteTM]’s libesphttpd code which was modified to include the VT100 escape sequence parser. The parser, in turn, was coded as a state machine and compiled using Ragel which simplifies such projects greatly. When you access the tiny web server, the loaded webpage starts to communicate over web sockets to the ESP-01. Key-presses from the terminal are sent to the buffer and onto the parser and control logic. The characters are then passed to the hardware UART lines at 115200bps and if an escape sequence is detected, the corresponding action is executed instead.
[Ondřej Hruška] shares the code as well as a user manual in PDF for anyone who would like to try it out and help improve the project. With a little inspiration on learning about state machines, you could extend the project to your own use case as well.
Thanks for the tip [Marco Saarloos]
When you have a microcontroller or other microcomputer on the bench in front of you and it lacks the familiar keyboard and display of a modern desktop computer, what do you do when you wish to program it or otherwise issue commands? Unless you are a retro computer enthusiast who longs for a set of Altair-style toggle switches, the chances are you’ll find its serial port and attach a terminal.
Serial terminals, devices containing a screen and keyboard hooked up to send and display text from a serial port, used to be a staple of computing, but as standalone devices, they’re now rather rare. In most cases nowadays using a serial terminal will mean opening up a terminal emulator in your modern OS, Linux, Windows, or MacOS, but there is still a use for standalone hardware. [Kuldeep Singh Dhaka] certainly thinks so, because he’s making an extremely nice portable terminal with an LCD screen.
The terminal emulates a venerable DEC VT-100 terminal, but since it’s built around an STM32F105 ARM microcontroller we’re sure it could emulate other models with appropriate software. It takes either a USB or a PS/2 keyboard, so we’d expect to see it paired with a suitably tiny portable keyboard when it in use. There is no source code available for it yet since this is very much still a project in development that we’re featuring now because it is a 2017 Hackaday Prize entry, but he assures us that code will be on its way and it will be GPL licenced.
He’s even posted a video that we’ve placed below the break of the device in operation, connected to a machine running MicroPython. We’d probably turn off that beep, though.
Continue reading “Hackaday Prize Entry: Pocket Serial Terminal”
When a dumpster dive yielded a vintage video display terminal, [dennis1a4] knew just what to do — bring the Heathkit H19 back to life and stuff a Raspberry Pi inside.
The early days of the personal computer era were a time of great market diversity. Everyone was making stuff needed to cobble together your perfect computer, and terminals were among the most important pieces of gear. Lear Siegler, DEC, Wyse — everyone was in on the game. Even Heathkit competed with its H19 serial terminal, which would have set you back a thousand or so early-1980s dollars.
The terminal [dennis1a4] found was DOA, but he quickly determined that a bad cap was shorting out the -12VDC rail. A little extra detective work was needed to get the terminal to both echo characters locally and output them over the RS-232 port, and bam, working terminal. But then what? Raspberry Pi to the rescue! But those old school +/-12 volts swings would give a Pi a bad case of Blue Smoke Disease. After a little voltmeter poking, and through the magic of socketed driver chips, the Pi was talking right to the terminal at a screaming 9600 baud and accessing the Hackaday Retro site on the 80-by-24 mono display.
All in all, a nice hack on a piece of computer history. But just one question: Can it play
Doom Flappy Bird?
If you are a certain age, you probably remember writing software (or playing Adventure) bathed in an amber or green light from an old CRT terminal. If you are even older, you might have found it way better than punching cards, but that’s another story. [Tobi] wanted to relive those days (well, sounds like he is too young to have lived them to start with) so he hooked up a VT220 terminal to his Linux box.
This isn’t that surprising. Linux’s forefather, Unix, expected these kind of terminals (or a hard copy TeleType) and all the trappings for working with a glass terminal are still in there. You do have to deal with a few configuration items that [Tobi] works through.
In fact, it appears that he wrote his blog post using vi on that very VT220 using a text-based Web browser to research the links. He has a lot of resources for connecting a terminal of any sort (or even a terminal emulator) to a Linux computer.
There’s been a lot of interest in old terminals lately. You see a lot of old VT100s lying around. I personally have an ADDS Regent 100 that occasionally connects to several of my computers. You can see it in the video below.
Continue reading “By the Glow of the CRT”
Back in the old days, the cool kids didn’t have an Apple II or a Trash-80. The cool kids had jobs, and those jobs had Vaxxen all over the place. The usual way of working with a Vax would have been a terminal, a VT220 at least, or in the case of [Sudos]’ experiments with a Raspberry Pi, A DEC VT510, a single session, text only serial terminal.
Usually, when we see a ‘new hardware stuffed into old tech’ project like this, the idea is simply to find a use for the old hardware. That makes sense; a dumb terminal from the late 90s should be a bit rarer than a Raspberry Pi Zero. This is not the case for [Sudos]’s build. He recently came across a few Raspberry Pi Zeros at Microcenter, and looking for a use for them, he decided to turn a serial terminal into a Real Unix System™.
As you would expect from a serial terminal, connecting a Raspberry Pi and putting some awesome character graphics on the screen is as simple as a Max3232 board picked up from eBay, a WiFi dongle, and an Ethernet adapter. Connect the Pi to the terminal with a serial adapter cable, and you’re off to the races.
While the VT510 serial terminal is just about the end of the line as far as dedicated terminals go, there are classier options. The VT100 terminal, older than most of the Hackaday readership, features a port on its gigantic board, meant to connect to whatever weirdness was coming out of Maynard in the late 70s. You can attach a BeagleBone to this connector, making for a very slick stealth mod.
How do you make a great terminal even better? The answer is simple: add a BeagleBone Black to it! [Brendan] got his hands on one of the staples of classic computing, the DEC VT100 terminal. The VT100 was produced from 1978 to 1983. The terminal was so widely used that it became the standard for other terminals to emulate. Open any terminal program today and chances are you’ll find a setting for VT100 emulation.
[Brendan] originally hooked his terminal up to a laptop running Linux. The terminal, cables, and the laptop itself became quite a bit to manage on a small desk. To combat this he decided to add a BeagleBone Black inside the terminal case. It turns out the VT100 actually lends itself to this with its Standard Terminal Port (STP) connector. The STP was designed to add a “paddle board” in-line with the serial stream of the terminal. DEC and third party manufacturers used this port to add everything from disk drives to entire CPM computers to the VT100.
[Brendan] began by designing a board to interface between the VT100 and the BeagleBone. The board level shifts serial lines from the BeagleBone to the VT100. The STP also allows the terminal to provide power to the BeagleBone Black. He did notice some power glitches as the supply of the VT100 came up. This was solved with a standard TI TL77xx voltage supervisor chip. The hardest part of the entire design was the card edge connector for the STP. [Brendan] nailed the dimensions on the first try. In the end [Brendan] was rewarded with a very clean installation that didn’t require any modification to a classic piece of hardware.
We should note that most PCB houses use Electroless Nickel Immersion Gold (ENIG) as their standard coating. This will work for a card edge connector that will be plugged in and removed a few times. Cards that will be inserted and removed often (such as classic console cartridges) will quickly scrape the ENIG coating off. Electroplated Gold over Nickel is the classically accepted material for card edge connectors, however the process most likely is not going to come cheap in hobbyist quantities.
Ah, the VT100, the first dumb terminal that was controlled with a microprocessor. This ancient beast from the late 70s is quite unlike the terminals you’d find from even five years after its vintage – the keyboard connects via a TRS quarter-inch jack – the electronic and code design of this terminal is a bit weird. [Seth] was up to the challenge of making this mechanical keyboard work as a standard USB device, so he created his own USB adapter.
On the little quarter-inch to USB adapter, [Seth] included an HD 6402 UART to talk to the keyboard, along with a Teensy dev board and a few bits of circuits stolen from DEC engineers. The protocol between the keyboard and terminal is a little weird – first the terminal sets a bit in a status word, then the keyboard scans all the key rows and columns in sequence before telling the terminal it’s done. Yes, this gives the VT100 full n-key rollover, but it’s just weird compared to even an IBM Model M keyboard that’s just a few years younger.
[Seth] finally completed his circuit and wired it up on a perfboard. Everything works just as it should, although a little key remapping was done to keep this keyboard adapter useful for Mac and Windows computers. It’s a wonderful bit of kit, and any insight we can get into the old DEC engineers is a wonderful read in any event.
Continue reading “USB adapter for an old VT100 keyboard”