Building the ASCII encoder

Wow, that got addictive.

Thought I’d just add some of the resistors, a bit at a time, solder in… here and there when I had a few minutes.  But no, once I started placing components it became really addictive.  I couldn’t stop.  I got them all in in about half an hour!

20160831_103112

I went line by line from the parts list, installing all resistors of one value first, then another.  Then diodes.   I shelled out for vintage on those too — they were easy enough to find thanks to my old standby on ebay, acpsurplus!

20160831_142921

Transistors are all in, disc cap is in.  Man, this is starting to look like a thing!

But I gotta be careful.  The traces are tiny and packed close together.  Twice I’ve accidentally bridged them.  And that’s what I’ve caught, there could be others!!  Have to look really, really closely.

20160831_142917

Pretty much all there except for jumper wires.  Time for a beauty shot!

20160831_142909

And there you have it folks — one pseudo-vintage Don Lancaster-designed brute force ASCII encoder!

Now to test!

Vintage Resistor Haul

So yeah, here I was thinking I had it all covered and was starting to build my ASCII encoder.  I had bought a slew of resistors of different values from Ebay on the cheap.  I think I paid $20 for 30+ different values.  But of course, I wasn’t thinking ‘vintage’.  And on installing the first one on my ASCII encoder, I realized right away I didn’t like the look of it.

The whole point of this TV Typewriter project is to produce something that is as close to 1973 specs as possible.  Now of course, it’s probably not going to be possible to get everything vintage.  At least not right away, but it is something to try for and I had simply gotten lazy with the resistors, figuring they were such a minor part nobody would notice.

Unfortunately once I installed that first one, I noticed.  The electric blue colour just looked wrong in context.  I mean, it wouldn’t have been entirely inconsistent to use some new ones.  After all, after 40 years, stuff breaks.  I could simply say ‘well by now, some of these would have had to have been changed out’.  But I had gone to all that trouble getting correct vintage ICs.  If there was the possibility of getting period correct resistors (and diodes), I wanted to do it.

Turns out ebay has huge stocks of vintage electronic components.  And soon I had hit the jackpot with an auction that offered vintage Allen Bradley carbon composite resistors of virtually every value.  I was able to do a one stop shop and get them all!

They just look so much more correct.

20160902_105340

Now, I was given some warning about these.  Resistor technology has advanced a lot in the 4 decades since this project came out.   Old carbon composite resistors had a tendency to ‘wander’ over time and were not as precise as today’s carbon film.  I guess as I embark on building the encoder in earnest, I’ll have to check each of these with my multimeter, and hope any wandering happens years from now, and not while this novice hobbyist is trying to get the thing working!   But yeah, cross fingers, on to building we go!

 

Building a ‘brute force’ ASCII encoder for my TV Typewriter

We don’t tend to give keyboards a second thought here in 2016.  They are ubiquitous and cheap.  You can get a brand new one for as little as $5.00.

Not so in 1973.  Keyboards in 1973 were up there cost wise.  Home computing was virtually non existent.  If you were a computing enthusiast or hobbyist, you faced a pretty steep bill for a new keyboard.  You could, of course, pick up a surplus unit.  These were discarded keyboards, typically from card punch machines.  But there was a problem — these typically used old teletype or punch card coding standards like Baudot or EBCDIC.  With ASCII taking over, you had your work cut out for you if you wanted to convert to this relatively recent standard.

Enter Don Lancaster.

Don preached electronics on the cheap from the pulpit of hobbyist magazines like Radio Electronics, and in February of 1973 he published an article in that magazine describing a cost effective, if tedious, means of building one’s own keyboard.

Don Lancaster Low Cost Keyboard
Don Lancaster Low Cost Keyboard – SWTPC.COM

I don’t know how much of a hit the keyboard project was.  It was a serious job, including hand winding springs and precise measurements and drilling of components.  Having built the beast though, to make it truly useful one needed an encoder.  And that was Don’s next project, in April of that same year.

Don Lancaster - ASCII encoder article April 1973
Don Lancaster – ASCII encoder article April 1973

The device itself was about four inches by four inches, and was intended to bolt onto the Low Cost Keyboard.  Don would ultimately improve on this design later on with emphasis on reducing size and complexity.  But for my purposes, this is the encoder he used with his first TVT, and that’s what we’re going to build.

Since I have no experience building electronics from the ground up, I figured the encoder was a good starter project.  The TVT itself involves much more complicated circuitry and a power supply, which is kind of intimidating.  I need to get comfortable and learn on something I can afford to accidentally destroy, with minimal risk of death.  This I can build and hook up to a bench power supply and hopefully just test with a logic probe.  Plus, it’s going to be really cool resurrecting a project that was conceived 2 years before I joined this world.

Essentially the goal with an ASCII encoder is to be able to press a key and have it generate a 7 or 8 bit code that corresponds to the letter, number or function assigned under the ASCII standard.  A code table is in the bottom left of this page from the article:

Your keyboard keys are arranged in a matrix.  When you press a given key, it causes certain logic gates on the encoder to operate and enables or disables certain bits, from 1 to 7.  If for example we press the P key, the encoder will cause bits 5 and 7 to go high (a logical 1) while all others remain low (a logical 0).  The resulting code – 101-0000 is passed from the encoder to whatever device you have connected, and based on the ASCII standard that device knows to generate a P.

In a modern keyboard, all of this work is typically done by a single IC.  But in 1973 such ICs weren’t widely available, so Don’s design was what he called ‘brute force’, using fairly basic logic and 3 Motorola hex inverter ICs to set the individual bits.  The encoder required a 10V, 25ma power supply but this could be modified to 12 or even 5 volts by changing one of the diodes.

You’ll recall I etched this board already as part of my first run of TVT boards.  To do this I simply lifted the artwork from a PDF of the article, flipped it, cleaned it up, printed it on magazine paper and then ironed it onto the board.  My vinegar/peroxide etchant made quick work of this little board.

ascii-encoder-refinedasciiencodermade

Apparently a few of these were available commercially, at least according to the article.  It doesn’t look like they had any silkscreening for parts placement, but I decided to keep it easy by printing off the parts placement and transferring it to the non-copper side of the board once it was etched.

asciiencodersilk

Assembling the required parts was not hard.  In fact, I just did a few ebay purchases and within a couple of weeks had all the resistors and bits I needed.  I even found NOS 1972 vintage Motorola MC9818P ICs!

20160902_102001

That said, once I had it all in front of me I realized I wasn’t too happy with the resistors and electrolytic capacitors on offer.  They look too modern!  And small!  The 100uf 10v caps on Don’s original were fairly big metal can type caps.  Today’s equivalents are about 1/2 to 1/3 the size.  I installed them anyway for now — they’ll work for testing purposes.   The old metal can style seem to be unavailable anywhere at the moment.  You can see in the upper right corner just how small it is compared to the footprint the ‘silkscreen’ expects it to be.

20160823_193701

I also used one of my modern, Chinese made, carbon film resistors.  I didn’t like it.  It looks too modern.  I think I’ll do some more research and see if I can hunt down some ‘correct’ vintage resistors.

Getting those first few parts installed though really changes things.  This is going from a dusty historical footnote to a living, breathing device!