Wednesday, 17 February 2010

Typewriter Hacking

There's been some recent interest in typewriter hacking. Some guys figured out how to hack a Brother SX-4000 electronic typewriter so that you can turn it into a printer. They do it by simulating key presses on the keyboard matrix using a microcontroller.

I think I can go one better with the Smith Corona SL470. The SL470 was an early 90s electronic typewriter with some facilities for tabs, word wrap and word correction. It's based on a daisywheel printhead which made me think that it might be possible to turn it into a simple printer. SL470s can often be found on ebay.

But why? Well, the major reason is because of my interest in retro-hardware. Libby8 for example will be a computer with only 26Kb of usable RAM so hooking up a printer (if I ever did) would mean hooking up a simple printer, because I wouldn't be able to fit in a driver for a modern USB printer.


I opened up the typewriter. The hardware is amazingly simple and the circuit is fairly minimal. Basically it's all controlled via an Intel 80C52 Microcontroller (the big chip on the left) and a few buffers. The cables at the top control the various LEDs; carriage and daisywheel print mechanism.

The keyboard ribbon is on the right and I spent a bit of time trying to map it. It looks like it'll be a normal matrix keyboard, but it's not. After 30+ mins of work I only managed to figure out the left-hand side. The other side (which certainly works) isn't so straight-forward it seems.



The 80C5x series were very popular MCUs from the 1980s and 1990s. Like many MCUs they have terribly awkward architectures, but hey - you can get them to do some work. This one has 8Kb of ROM and an internal 256b of RAM - which is why its word-processing features weren't that great (no RAM to store more than one line of text in).

I had a hunch that if I'd built the typewriter I'd use the same circuit for both a simple typewriter and a typewriter/printer. In fact when you open the case it looks like there's a gap on the left for a suitable expansion circuit. The 80C52 has a built-in serial port, so when I downloaded the 80C52 manual I took a look at its serial pins; which are pins 10 (RXD) and 11 (TXD). I found out that these lines had special tracks on the PCB that lead to pins marked H5 and H6 which aren't connected to anything.

It looks to me like my hunch might be correct to some degree. The SL470's serial port might be used for something... :-)

9 comments:

Anonymous said...

Did you ever progress this? Im looking to do something sumilar

Anonymous said...

Very interesting. I am attempting to do the same thing with this model typewriter. I didn't realize there was a serial port. Do you think that the serial port will actually accept commands in lieu of physical key pressing?

Roku-comlink said...

We get to know that all Roku Device. us understand how to activate Roku account. So, all your device details as well as your channel-related information is in the Roku.com/link Enter Code. if you perform any changes related to your channels or in the details regarding your payment, all of that would be visible and reflected in the Roku device.

Aiden Jangra said...

You learn to connect your HP Deskjet 3639 printer to Wi-Fi, first connect your HP Deskjet 3639 printer to a local Wi-Fi network. Before you can wirelessly print any document, you must ensure that your printer, computer or mobile device are on the same wireless network.

Nancy Angel said...

You might face technical errors while you register amazon primevideo.com/mytv, visit the given link and activate amazon prime video in your device and enjoy watching your favorite web series.

Garmincom.express said...

Garmin Express is a free application. In order to do a Garmin Express with the Garmin Express download web page, click on the download for windows and then run gamin.exe file. Garmin Express offers features like updating maps and software, registering your drive etc.

Fubo.tv/Activate said...

Once you are done with the full set up at fubo.tv/Connect, you can easily watch live news, sports, and many more shows of some of the popular TV networks. when peoples are done with fubo.tv/activate you get access to watch Live channels. You will receive a pack of 80+ channels, and every channel you can watch live. The programming available in this channel is the same as on cable TV.
fubo.tv/Connect

Nyra Cuper said...

order tramadol usa Buy tramadol online directed by doctors, this medicine is used for moderate to severe pain.


silversingles login silver singles login uses an algorithm that matches you with people based on your personality, location, age, and desired relationship outcomes.

Will said...

Hello!

This is a genuine comment!

I've just acquired an SL470 myself, and, even though you have probably abandoned the project a long time ago, I'm curious to see if you got anywhere, and if you did, if you could give me a bit more information about what you managed to accomplish.

1. Did you manage to hook into the serial lines of the uC?
2. Would you be able to share the keyboard matrix (even a partial one?)

Thank you!