TurtleAuth DIY Security Token Gets (Re)designed For Durable, Everyday Use

[Samuel]’s first foray into making DIY hardware authentication tokens was a great success, but he soon realized that a device intended for everyday carry and use has a few different problems to solve, compared to a PCB that lives and works on a workbench. This led to TurtleAuth 2.1, redesigned for everyday use and lucky for us all, he goes into detail on all the challenges and solutions he faced.

When we covered the original TurtleAuth DIY security token, everything worked fantastically. However, the PCB layout had a few issues that became apparent after a year or so of daily use. Rather than 3D print an enclosure and call it done, [Samuel] decided to try a different idea and craft an enclosure from the PCB layers themselves.

The three-layered PCB sandwich keeps components sealed away and protected, while also providing a nice big touch-sensitive pad on the top, flanked by status LEDs. Space was a real constraint, and required a PCB redesign as well as moving to 0402 sized components, but in the end he made it work. As for being able to see the LEDs while not having any component exposed? No problem there; [Samuel] simply filled in the holes over the status LEDs with some hot glue, creating a cheap, effective, and highly durable diffuser that also sealed away the internals.

Making enclosures from PCB material can really hit the spot, and there’s no need to re-invent the wheel when it comes to doing so. Our own [Voja Antonic] laid out everything one needs to know about how to build functional and beautiful enclosures in this way.

Natural Language AI In Your Next Project? It’s Easier Than You Think

Want your next project to trash talk? Dynamically rewrite boring log messages as sci-fi technobabble? Happily (or grudgingly) answer questions? Doing that sort of thing and more can be done with OpenAI’s GPT-3, a natural language prediction model with an API that is probably a lot easier to use than you might think.

In fact, if you have basic Python coding skills, or even just the ability to craft a curl statement, you have just about everything you need to add this ability to your next project. It’s not free in the long run, although initial use is free on signup, but for personal projects the costs will be very small.

Basic Concepts

OpenAI has an API that provides access to GPT-3, a machine learning model with the ability to perform just about any task that involves understanding or generating natural-sounding language.

OpenAI provides some excellent documentation as well as a web tool through which one can experiment interactively. First, however, one must create an account and receive an API key. After that is done, the doors are open.

Creating an account also gives one a number of free credits that can be used to experiment with ideas. Once the free trial is used up or expires, using the API will cost money. How much? Not a lot, frankly. Everything sent to (and received from) the API is broken into tokens, and pricing is from $0.0008 to $0.06 per thousand tokens. A thousand tokens is roughly 750 words, so small projects are really not a big financial commitment. My free trial came with 18 USD of credits, of which I have so far barely managed to spend 5%.

Let’s take a closer look at how it works, and what can be done with it!

Continue reading “Natural Language AI In Your Next Project? It’s Easier Than You Think”

Web Emulator For The Kenbak-1 Computer (If You’ve Heard Of It)

Ever heard of the KENBAK-1? Recognized as the first personal computer, created by John Blankenbaker and sold in 1971 in comparatively small numbers, it’s now a piece of history. But don’t let that stop you if you are curious, because of course there is an emulator on the web.

If the machine looks a bit strange, that’s because early computers of this type did not have the kind of controls (or displays) most people would recognize today. Inputs were buttons and switches, and outputs were lights showing binary values of register contents. The machine could store and run programs, and those programs were entered in pure machine code (no compiler, in other words) by setting individual bit values via the switches. In fact, the KENBAK-1’s invention preceded that of the microprocessor.

The KENBAK was the first electronic, commercially available computer that was not a kit and available to the general population, but the story of how it came to be is interesting. Back in 2016 we covered how that story was shared by John Blankenbaker himself at Vintage Computer Festival East.

This Spherical Lamp’s Pieces Ship Flat, Thanks To Math

[Nervous System] sells a variety of unique products, and we really appreciate the effort they put into sharing elements of their design and manufacturing processes. This time, it’s details of the work that went into designing a luxury lamp shade that caught our eye.

Top: Finished lamp. Bottom: Partially-assembled.

The finished lamp shade is spherical, but is made entirely from flat-packed pieces of laser-cut wood that have been specifically designed to minimize distortion when assembled into a curved shape. The pieces themselves are reminiscent of puzzle cells; complex, interlocking cellular shapes found in many plants.

As usual, [Nervous System] applied a hefty dose of math and computational design to arrive at a solution. Each unique panel of the lamp is the result of a process that in part implements a technique called variation surface cutting for the shape of the pieces. They also provide a couple of nifty animations that illustrate generating both the piece boundaries as well as the hole patterns in each of the 18 unique pieces that make up each lamp.

As for making the pieces themselves, they are laser-cut from wood veneer, and assembly by the end user takes an hour or two. Watch a video overview, embedded just below under the page break.

We’re glad [Nervous System] takes the time to share details like this, just like the time they figured out the very best type of wood for laser-cutting their unique puzzles and didn’t keep it to themselves.

Continue reading “This Spherical Lamp’s Pieces Ship Flat, Thanks To Math”

APPLE2IDIOT Expansion Card Lets Your Apple II (Sort Of) Access The Internet

[Nathanial Hendler]’s Apple2Idiot expansion card for the Apple II family of computers is a nifty mix of modern and vintage, and provides a clever means of allowing the host computer to (indirectly) access the internet over WiFi while keeping things simple from the host computer’s perspective.

The PCB has plenty of space on which to silkscreen reference data. Click to enlarge.

It does this by embedding an ESP32 module and a dual-port RAM chip onto an expansion card. The Apple2Idiot, when installed into a host machine, presents as a memory location which the host machine can access. The ESP32 then takes care of all the WiFi communications and tasks requiring internet access, and the host computer directs these tasks (and reads their output) via PEEK and POKE commands.

This means that there are two pieces of software for any given task: one running on the ESP32 doing the actual work, and one running on the Apple II that communicates with the ESP32 on the card by reading and writing to memory. It’s a simple system, and one that [Nathanial] thinks works quite well for specific tasks.

Example programs include things like scanning and selecting a WiFi network, fetching weather data, and sending a message to Slack. Making new applications does mean having to write software on two ends, but the simplicity of the system also means flexibility, because anything the ESP32 does can have its complexity abstracted away by the time its data is presented to the host machine. Not that the Apple II is incapable of dealing with the modern internet more directly; we’ve seen a basic Apple II web server written in BASIC.

Re-imagining The Resistor Color Code Cheat Sheet

Some people look at a venerable resource like resistor color code charts and see something tried and true, but to [Andrew Jeddeloh], there’s room for improvement. A search for a more intuitive way is what led to his alternate cheat sheet for resistor color codes.

Color code references typically have a reader think of a 560 kΩ resistor as 56 * 10 kΩ, but to [Andrew], that’s not as simple as it could be. He suggests that it makes more sense for a user to start with looking up the colors to make 5.6 (green-blue), then simply look up that a following yellow band means resistance in the 100 kΩ range (assuming a four-band resistor); therefore 560 kΩ is green-blue-yellow.

The big difference is that the user is asked to approach 560 kΩ not as 56 * 10 kΩ, but as 5.6 * 100 kΩ. [Andrew] shares a prototype of a new kind of chart in his post, so if you have a few minutes, take it for a spin and see what you think.

Is his proposed method more intuitive, or less? We think [Andrew] makes a pretty good case, but you be the judge. After all, just because something has always been so doesn’t mean there isn’t room for improvement. This happens to apply nicely to resistors themselves, in fact. It may seem like through-hole resistors have always had color bands, but that is not the case.

IBM PCjr Types Again, Thanks To KeybJr

Most of us think of keyboards — even vintage ones — as being fairly standardized and interchangeable, but that isn’t the case for the IBM PCjr. Its keyboard was quite unlike most others of its time, which means that a PCjr without an original keyboard is pretty much a dust collector. That’s what led [Jozef Bogin] to create the KeybJr, a piece of hardware that allows one to use any AT, XT, or PS/2 keyboard with the IBM PCjr.

The PCjr’s oddball keyboard can be a bit of a hassle for vintage computing enthusiasts.

What was strange about the PCjr’s keyboard? From the outside it looked pretty normal, but it definitely had its own thing going on. For one, the PCjr keyboard operated over a completely different protocol than the other keyboards of the time. In addition, its connection to the host was either by IR, or via its own wired cable adapter.

The KeybJr solves this by using an Arduino-based board to turn inputs from other keyboards of the time into something the PCjr expects. These signals are sent out and received either over infrared, or by the PCjr’s “K” port for a wired keyboard link.

Why bother with the IR functionality? Well, the connector and pins on the PCjr are not very rugged, and sometimes they are damaged. In those cases, it is nice to have the option of using a normal (for the time) keyboard over the IR link. Vintage hardware is not always in perfect shape, after all. That’s why things like ATX power supply adapters for the PCjr exist.

Want to give it a shot? There is a GitHub repository for the KeybJr, and you can see it in action in a brief video, embedded below.

Continue reading “IBM PCjr Types Again, Thanks To KeybJr”