Hackaday Links: August 6th, 2017

We get a lot of Kickstarter pitches in our email, but this one is different. First of all, it’s over. No biggie there. Secondly, it’s a laser-cut hurdy gurdy. What’s a hurdy gurdy? It’s a musical instrument that uses a wheel to vibrate strings. It has drone strings and a rudimentary keyboard for the melody. Think of it as ‘string bagpipes’ and you’re not that far off. This means you can laser cut (or 3D print, someone get on it) a hurdy gurdy, and that’s just awesome.

I wrote the previous paragraph without referencing Donovan. You’re welcome, Internet.

[Spencer] found a few very small seven-segment flip display units. This, of course, meant he had to build a clock. Right now [Spencer] is in the PCB design stage of the project, with the hope of finishing it before school starts. There is still an open question here: where do you get really tiny flip segment displays?

Perhaps we’ve said too much about the number one badge at this year’s DEF CON, but this is really the project that just keeps giving. [Hyr0n] thought it would be a great idea to have a shirt printed with the design of this year’s official Hackaday DEF CON badge. This seemed simple enough — all he needed to do was send the design off to a custom printed t-shirt place on the Internet and wait a week or two. This is where things got a little nuts. [Hyr0n] stole my intellectual property. My very intellectual property. Here’s a great tip for when a t-shirt place puts your order on hold because of a copyright: just say it’s creative commons, they’ll send it right on through.

The DIY-VT100 is a miniature VT100 (and VT102) terminal, because sometimes you need a standalone serial terminal. Soon, it’s going to be a Crowd Supply campaign. Who’s going to be the first to 3D print a look-alike VT100 enclosure for this little thing? Where can you get pre-bromiated filament?

We all know what the Atari 2600 is, but what is the Atari 2700? It’s an exceptionally rare prototype that used wireless controllers. One was found in a thrift store recently. [L064N] bought it for $30, and sold it on eBay for $3000.

Here’s a weird thing [Yann] sent in. The Rise mP6 was a non-Intel, non-AMD, non-Cyrix, non-VIA, x86 compatible CPU sold in the late 90s.  What’s cool about it? Three parallel MMX instructions, and an easter egg hidden in the microcode. The principal engineer on the project, [Chris Norrie], decided he wanted to hide his name in the CPU, and managed to do it without anyone else catching on. If you put ‘NZ’ into eAX and execute CPUID, it returns “* Chris Norrie *”. That’s a hack, and it’s amazing.

Wireless Terminal Over ESP8266

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]

Hackaday Prize Entry: Pocket Serial Terminal

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”

Raspberry Pi Hitches Ride Inside Vintage 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?

By the Glow of the CRT

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”

Dumb Terminals And Raspberry Pis

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.

VT100 Gets BeagleBoned


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.