Print-in-Place Connectors Aim To Make Wiring Easier

One thing some of us here in the United States have always been jealous of is the WAGO connectors that seem so common in electrical wiring everywhere else in the world. We often wonder why the electrical trades here haven’t adopted them more widely — after all, they’re faster to use than traditional wire nuts, and time is money on the job site.

Wago 221 compact lever connector via the Wago YouTube channel

This print-in-place electrical connector is inspired by the WAGO connectors, specifically their Lever Nut series. We’ll be clear right up front that [Tomáš “Harvie” Mudruňka’s] connector is more of an homage to the commercially available units, and should not be used for critical applications. Plus, as a 3D-printed part, it would be hard to compete with something optimized to be manufactured in the millions. But the idea is pretty slick. The print-in-place part has a vaguely heart-shaped cage with a lever arm trapped inside it.

After printing and freeing the lever arm, a small piece of 1.3-mm (16 AWG) solid copper wire is inserted into a groove. The wire acts as a busbar against which the lever arm squeezes conductors. The lever cams into a groove on the opposite wall of the cage, making a strong physical and electrical connection. The video below shows the connectors being built and tested.

We love the combination of print-in-place, compliant mechanisms, and composite construction on display here. It reminds us a bit of these printable SMD tape tamers, or this print-in-place engine benchmark.

Continue reading “Print-in-Place Connectors Aim To Make Wiring Easier”

Retro Terminals Bring Some Style To Your Desktop

It wasn’t so long ago that a desktop computer was just a beige box with another, heavier, beige box sitting next to it or maybe perched on top. They’re a bit more visually exciting these days, with even mass produced PCs now shipping with RGB lighting and clear side panels. But even so, few could really look at a modern desktop computer and call it objectively beautiful.

But [Oriol Ferrer Mesià] wonders if we couldn’t improve on things a bit. Over the last few months, he’s been experimenting with small 3D printed enclosures that reimagine the traditional desktop computer aesthetic. With their distinctively retro-futuristic style, they look like the kind of gadgets science magazines in the 1960s thought would be dotting kitchens, living rooms, and space stations by the year 2000. But unlike those fanciful creations, each one of these beauties is a fully functional computer.

A few of the designs are relatively conservative, and not entirely unlike some of the old “dumb terminals” of the 1970s. With a Raspberry Pi 4 and a tablet-sized screen, these diminutive terminals would be perfectly usable for light desktop work or some retro gaming.

But we particularly like the ultra-widescreen design that [Oriol] has come up with. With a fairly unusual 4:1 aspect ratio LCD, the printed enclosure for this one was so large that it had to be done in two pieces on his Ender 3. To keep the 8″ 1920 x 480 panel well fed, this design uses a Jetson Nano 2GB which has considerably more graphical punch than other Linux SBCs of similar size and price.

As part of the recent cyberdeck craze, we’ve seen plenty of people recreating the look and feel of vintage portable computers with 3D printed cases and modern components. Desktop creations have been far less common, but with gorgeous designs like these to serve as inspiration, that may change.

A Portable Serial Terminal That Should Be From The 1970s

The humble standalone serial terminal might be long gone from the collective computing experience, but in the ghostly form of a software virtual terminal and a serial converter it remains the most basic fall-back and essential tool of the computer hardware hacker. [Mitsuru Yamada] has created the product that should have been made in the serial terminal’s heyday, a standalone handheld terminal using a 6809 microprocessor and vintage HP dot matrix LEDs. In a die-cast box with full push-button keyboard it’s entirely ready to roll up to a DB-25 wall socket and log into the PDP/11 in the basement.

Using today’s parts we might achieve the same feat with a single-chip microcontroller and a small LCD or OLED panel, but with an older microcomputer there is more system-building required. The 6809 is a wise choice from the 1970s arsenal because it has some on-board RAM, thus there’s no need for a RAM chip. Thus the whole thing is achieved with only a 2716 EPROM for the software, a 6850 UART with MAX232 driver  for the serial port, and a few 74 chips for glue logic, chip selects, and I/O ports to handle keyboard and display. There’s no battery in the case, but no doubt that could be easily accommodated. Also there’s not much information on the keyboard itself, but in the video below we catch a glimpse of its wiring as the box is opened.

The value in a terminal using vintage parts lies not only in because you can, but also in something that can’t easily be had with a modern microcontroller. These parts come from a time when a computer system had to be assembled as a series of peripherals round the microprocessor because it had few onboard, leading to a far more in-depth understanding of a computer system. It’s not that a 6809 is a sensible choice in 2020, more that it’s an interesting one.

By comparison, here’s a terminal using technology from today.

Continue reading “A Portable Serial Terminal That Should Be From The 1970s”

3D Printed Video Terminal Dials C For Cyberpunk

Created for the Disobey 2020 hacker conference in Finland, this Blade Runner inspired communications terminal isn’t just for decoration. It was part of an interactive game that required attendees to physically connect their conference badges up and “call” different characters with the functional keypad on the front of the unit.

[Purkkaviritys] was in charge of designing the 3D printed enclosure for the device, which he says takes an entire 2 kg roll of filament to print out. Unfortunately he wasn’t as involved in the electronics side of things, so we don’t have a whole lot of information about the internals beyond the fact that its powered by a Raspberry Pi 4, features a HyperPixel 4.0 display, and uses power over Ethernet so it could be easily set up at the con with just a single cable run.

A look at the custom keypad PCB.

The keypad is a custom input device using the Arduino Micro and Cherry MX Blue switches with 3D printed keycaps to get that chunky payphone look and feel. [Purkkaviritys] mentions that the keypad is also responsible for controlling the RGB LED strips built into the sides of the terminal, and that the Raspberry Pi toggles the status of the Caps, Scroll Lock, and Num Lock keys to select the different lighting patterns.

Naturally we’d like to see more info on how this beauty was put together, but given that it was built for such a specific purpose, it’s not like you’d really need to duplicate the original configuration anyway. Thanks to [Purkkaviritys] you have the STL files to print off our own copy of the gloriously cyberpunk enclosure, all you’ve got to do now is figure out how to make video calls with it.

Continue reading “3D Printed Video Terminal Dials C For Cyberpunk”

Seeing Code: The Widescreen Rant

A couple of weeks ago, Linus Torvalds laid down the law, in a particularly Linusesque sort of way. In a software community where tabs vs. spaces can start religious wars, saying that 80-character-wide code was obsolete was, to some, utter heresy. For more background on how we got here, read [Sven Gregori]’s history piece on Hackaday, and you’ll learn that sliced bread and the 80-character IBM punch card both made their debut in July, 1928. But I digress.

When I look at a codebase, I like to see its structure, and I’m not alone. That’s one of the reasons for the Linux Kernel style guide’s ridiculously wide 8-character tabs. Combined with a trend for variable names becoming more and more descriptive, which I take to be a good thing, and monitors’ aspect ratios growing seemingly without end, which I don’t, the 80-column width seems like a relic from the long-gone era of the VT-220.

Hazeltine TerminalIn Linus’ missive, we learn that he runs terminals at 100 x 50, and frequently drags them out to a screen-filling 142 x 76. (Amateur! I write this to you now on 187 x 48.) When you’re running this wide, it doesn’t make any sense to line-wrap argument lists, even if you’re using Hungarian notation.

And yet, change is painful. I’ve had to re-format code to meet 73-column restrictions for a book, only to discover that my inline comments were too verbose. Removing even an artificial restriction like the 80-column limit will have real effects. I write longer paragraphs, for instance, on a wider screen.

I see a few good things to come out of this, though. If single thoughts can be expressed on single lines, it makes the shape of the code better reflect its function. Getting rid of pointless wrapping takes up less vertical space, which is at a premium on today’s cinematic monitors. And if it makes inline comments better (I know, another holy war!) or facilitates better variable naming, it will have been worth it.

But any way you slice it, we’re no longer typing on the old 80-character Hazeltine. It’s high time for our coding style and practice to catch up.

Building A 3270 Terminal Controller

We like to talk about how most of our computers today would have been mainframes a scant 40 or 50 years ago. Because of that, many people who want to run IBM mainframes such as the IBM 360 or 370 use the Hercules emulator to run the big iron on their PCs. However, mainframe IBM computers used an odd style of terminal and emulating it on a PC isn’t always as satisfying. At least, that’s what [lowobservable] thought, so he decided to get a 3270 terminal working with Hercules.

Back in the bad old days of computing, there were two main styles of terminals. Some companies, for example DEC, essentially used terminals as a “glass teletype.” That is, the screen was an analog of a roll of paper — more or less — and the keyboard immediately sent things to the remote system. However, companies like IBM and HP favored a different approach. Their terminals dealt with screens full of data. The terminal was smart enough to let you fill in forms, edit text on the screen, and then you’d send the entire screen in one gulp. Both systems had pros and cons, but — as you might expect — the screen-oriented terminals were more complex.

Continue reading “Building A 3270 Terminal Controller”

Linux Command Line Productivity With Tmux

It is no secret that most Linux power users use the shell for many tasks, as for people who know what they are doing, it can be quite efficient. In addition, there are some tasks that can only be carried out from the command line, although their number shrinks every year. However, these days we are spoiled because you can have one X session running lots of terminals at once. If you log into a server, it might not have X. Or you might log into a computer over a slow connection where X is painful to use. What then? The modern answer is the tmux terminal multiplexer, and [zserge] has a thoughtful introduction to how you can use tmux for improved productivity at the command line.

In particular, he shares some configuration and offers sound advice. For example, do you really need a status bar that shows you CPU load at all times? Cool, yes, but not always a practical win.

Continue reading “Linux Command Line Productivity With Tmux”