Beta
×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

A USB Typewriter?

Cliff posted more than 9 years ago | from the reinventing-the-printer dept.

Hardware Hacking 79

jashmenn asks: "In my search for a furthering of the arts combined with technology I recently had the idea of hooking up an electronic typewriter to my USB port. The idea is to eventually write a script that would automatically send the text of emails to be typed on the typewriter. Does Slashdot have know of resources I can use for combining new and old school technologies such as these?"

cancel ×

79 comments

Sorry! There are no comments related to the filter you selected.

impact printer? (1)

reynhout (89071) | more than 9 years ago | (#11150064)

depending on your ultimate goals (journey v. destination, etc), an impact printer might serve your needs.

Printer? (1)

WhatAmIDoingHere (742870) | more than 9 years ago | (#11150065)

Do you own a printer?

What purpose would this USB-Enabled Electronic Typewriter serve? Other than the "Just because I can, damnit!" I mean.

Re:Printer? (1)

fm6 (162816) | more than 9 years ago | (#11150204)

Obviously, he intends to use the typewriter keyboard for input. A step backwards from sending email via computer, but perhaps he has a computer-phobic relative.

Re:Printer? (5, Funny)

rednip (186217) | more than 9 years ago | (#11150226)

What purpose would this USB-Enabled Electronic Typewriter serve?
I've got an idea... spooky typewriter from hell. Can you imagine having a old fashioned typewriter knock off a note like...
I'm watching you.
It would be perfect during a seance.

Re:Printer? (4, Funny)

Rude Turnip (49495) | more than 9 years ago | (#11151219)

That would be pretty bitchin' if you hooked it up to a tiny wireless print server, cleverly hidden and attached underneath a table!

I'd like my $1 million in Ben Franklins, Mr. Randi, thank you :)

All work and no play makes jack a dull boy. (n/t) (0)

Anonymous Coward | more than 8 years ago | (#11158653)

All work and no play makes jack a dull boy.

Re:Printer? (2, Insightful)

Nos. (179609) | more than 9 years ago | (#11150657)

Sometimes its just fun, or for learning purposes. I'm currently trying to make a home security system that is run by the computer. I've wanted to learn electronics for a while so I went and spent about $15 on some basic parts (door sensor,DB15 to RJ45, wire) and have a linux box now recognizing if a door is open or closed. For some people that may not mean much, but this is the first time I've made a computer interact with the real world. I'm having a blast doing it, and I'm not spending $100s on an alarm that I don't really need, or buying off the shelf equipment that wouldn't help me learn anything.

Re:Printer? (2, Funny)

AndroidCat (229562) | more than 9 years ago | (#11151453)

For your next project: Connect a thermistor or other temperature sensor to a port (a joystick port is good). Then when the door is open, check the temp outside. If it's less than n, have a text-to-speech program shout "Hey! Close the door! Do you think we're made of money or something?"

Re:Printer? (2)

Nos. (179609) | more than 9 years ago | (#11151745)

I like that idea :). First I'm more interested in motion sensors or IR beams after I'm satisfied with the way the door sensors are working. A couple of other things I'd like to add are smoke detectors and water sensors (especially in the water softner which decided to overflow a few weeks ago). I'm currently using the gameport (took longer to get Linux to recgonize the gameport than it did to get the door sensor wired to the gameport). I'm currently using the analog driver which gives me only 4 buttons and up to 4 axis to play with. Depending how exact I can get with the axis, it allows for quite a few inputs, but I think eventually I'll look to going to a USB driven setup.

Re:Printer? (1)

Nos. (179609) | more than 9 years ago | (#11151766)

Ack, forgot to mention that the really nice thing is that my cell phone provider allows free incoming text messages which can be sent via email, so remote notification is REALLY simple. The question becomes will my insurance company consider this a "monitored alarm".

Re:Printer? (3, Interesting)

Anonymous Coward | more than 9 years ago | (#11151949)

True story - when I applied for renter's insurance, my insurance company told me that a 'bunch of cans on a string' counts as an alarm system, and that if it is loud enough to be heard by the neighbors, it can be considered 'monitored'.

I suppose it depends on your insurer, but I would think that level of sophistication you have would be a pretty safe bet to meet the criteria.

Re:Printer? (1)

Wog (58146) | more than 9 years ago | (#11166273)

I love little tricks like this, but what happens when your house is broken into, and your insurance company refuses to cover it because you cheated on the application?

Re:Printer? (0)

Anonymous Coward | more than 9 years ago | (#11186076)

Quickly put your DIY alarm in someone else' bin.. and then tell the claims assessor..

"Those bastards! They even stole my alarm!"

Re:Printer? (3, Informative)

harrkev (623093) | more than 9 years ago | (#11152521)

You should get a microcontroller. Those suckers are tiny microprocessors with boatload of I/O. Most have some sort of A/D, too.

You can program the microcontroller to read off all of its input port, and dump the data to a serial port. Then, you just have to make Linux open up a serial port and watch the data pour in.

You could also use the microcontroller to drive things, too. Have the PC send serial data, and the microcontroller acts on it.

Microchip makes some ones that are good for beginners, just add assembly or C. Parallax makes some that are programmed in BASIC. Fun stuff!

Re:Printer? (2, Informative)

AndroidCat (229562) | more than 9 years ago | (#11154782)

Circuit Cellar [cellar.com] magazine is probably a good place to start for projects and ideas. Over the years, they've had quite a number of projects in that area ranging from the simple to the complex, and they probably have archive CDs fairly cheap.

Daisy Wheel (4, Insightful)

m0rph3us0 (549631) | more than 9 years ago | (#11150067)

Why not just get a daisy wheel printer from the 80s and hook it up to a usb to parallel/serial adapter? IBM also made some printers with ball type print heads.

Re:Daisy Wheel (1)

vasqzr (619165) | more than 9 years ago | (#11150369)


Even better, score an old electric typewriter with a parallel port. They 'doubled' as printers.

Re:Daisy Wheel (2, Interesting)

AndroidCat (229562) | more than 9 years ago | (#11151151)

I rescued an old daisy wheel Smith Corona (15ish CPS) from the trash at my apartment building. Sweet! One of the last typewriters with a small LCD edit window, spell checker, large buffer, etc, etc. I would have killed for this for doing school papers back then.

However it only had a 9 pin connector on the back. I think it was serial, but non-standard and no documentation. I didn't have time to fiddle with it at the time, and it either got lost during a move or buried under a whole pile of stuff. ("Some of our top men are working on it" buried.)

I guess I own Schrodinger's typewriter.

Re:Daisy Wheel (1)

sydres (656690) | more than 9 years ago | (#11174428)

actualy it was probably to hook up to a display monitor, I have seen hundreds of these types of word processors. though i could very well be wrong

Re:Daisy Wheel (1)

AndroidCat (229562) | more than 9 years ago | (#11174486)

Possibly, although some were also printers. The outputs looked like RS232, but I didn't spend much time on it. I also couldn't find anything on it when I searched. Someday its lost/buried state will collapse. If it was buried, I'll take another look--maybe follow the lines back to the PC board and see what they connect to.

Re:Daisy Wheel (1)

sydres (656690) | more than 9 years ago | (#11174549)

some word processors could be hooked to modems if my memory serves me correctly.you could try hooking it to an old word processor monitor if you can find one, which should not be too hard almost all the ones I have seen used a standard db-9 connector I once found an IBM PS/2 based wordprocessor that could be converted to a standard PS/2 with a minor upgrade, now there was an interesting piece of hardware had a CGA monitor

combining (-1, Offtopic)

BinLadenMyHero (688544) | more than 9 years ago | (#11150080)

I have a HD based mp3 walkman (Treo10, from e.Ditigal), and now purchased a Sony DSC-W1. Both devices uses USB, so it may be possible to hack them (maybe only the Treo10) to transfer the photos from the camera to the walkman. That way I could have 10GB to store photos when I'm on a trip away from any computer of even eletricity. Once I downloaded a SDK from e.Digital to program the Treo firmware, but I couldn't find it on their website anymore.

Re:combining (1)

wed128 (722152) | more than 9 years ago | (#11150429)

unless your mp3 player has something called usb otg (on the go), you are SOL...usb is a server-host protocal, and i'm sure that both the camera and mp3 player are configured as hosts...

Re:combining (1)

BinLadenMyHero (688544) | more than 9 years ago | (#11151158)

That's why I talked about hacking one of them.

You want to use your parallel port (3, Informative)

CAPSLOCK2000 (27149) | more than 9 years ago | (#11150121)

I've got an old electric typewriter that has a parallel port. It works just like a regular printer (text only). Seems like that's what you need. But if you're just doing this for fun, be my guest and hack up an USB connection yourself.

Re:You want to use your parallel port (3, Informative)

bhtooefr (649901) | more than 9 years ago | (#11151675)

Or, go the ridiculously easy route [google.com] and get a USB to parallel adaptor.

If that fails ... (4, Funny)

Glog (303500) | more than 9 years ago | (#11150134)

... you can use a printer - I hear they work quite well for hard-copy output of emails.

Re:If that fails ... (1)

humuhumunukunukuapu' (678704) | more than 9 years ago | (#11150474)

or a secretary

IBM selectric (1)

bhima (46039) | more than 9 years ago | (#11150154)

When I was in college I read an article on hooking up an IBM selectric to an IBM PC's (8086 I think) parallel port. Been a while, I don't remember much. Your idea sounds fun, and ideal for a pic.

Have fun!

Re:IBM selectric (1)

unitron (5733) | more than 9 years ago | (#11176905)

There was an article in Radio-Electronics about 20 to 25 years ago about hacking a Selectric, basically just adding a tap onto the wires connecting the keyswitches to the part that controlled the printball, but I don't remember if it was supposed to be an input or output or both. At the time my mom had a fairly new Selectric but if I'd tried to mod it I wouldn't be alive to be typing this today.

Why not use an old RS232 Teletype (3, Informative)

Marxist Hacker 42 (638312) | more than 9 years ago | (#11150156)

connected to a serial->USB converter?

Re:Why not use an old RS232 Teletype (1)

wed128 (722152) | more than 9 years ago | (#11150469)

then use the unix lpd to print with scripts.

Existing market (2, Funny)

Otter (3800) | more than 9 years ago | (#11150215)

I suppose Dan Rather might be interested in one of these...

well (-1, Troll)

seann (307009) | more than 9 years ago | (#11150237)

get a life.

Brother daisy-wheel printer/typewriter (1)

John Harrison (223649) | more than 9 years ago | (#11150308)

We had a Brother daisy-wheel printer for our C=64 that had a keyboard attachment, allowing it to be used as a typewriter. You could probably hack something up with such a beast to do what you want since it was already half printer/half typewriter.

congratulations (0)

Anonymous Coward | more than 9 years ago | (#11150324)

you've invented the "printer".

miracle of the modern age.

housewives can't live without it.

seriously, it will be a lot more impressive if you electrified one of those OLD manual typewriters. I have no idea how you might do that though.

Re:congratulations (2, Funny)

pfraser (651313) | more than 9 years ago | (#11151917)

seriously, it will be a lot more impressive if you electrified one of those OLD manual typewriters. I have no idea how you might do that though.

First, attach your household power source to the chassis...

Late model typewriters did this (4, Informative)

Naikrovek (667) | more than 9 years ago | (#11150452)

I remember in High School (1991) using typewriters that had a serial (maybe parallel) port on the back. you could hook them up to a PC and use it as an output device.

Try looking for typewriters like this [ebay.com] , the work is already done for you.

If you're wanting an OLD 100% mechanical typewriter, ebay has those too. You'll need to create some USB trickery that accepts serial data and decodes it into individual characters. then sends a signal down a wire associated with the appropriate character, which you amplify and activate solonoids with. solonoids are about the only thing strong enough to fully stroke a mechanical typewriter key with any speed.

Disclaimer: I have no idea how you'd do this.

Re:Late model typewriters did this (1)

FLEB (312391) | more than 9 years ago | (#11151943)

...or if you can wait, you can probably find a whole lot better of a deal on a typewriter at a garage sale or flea market. I imagine the shipping alone on a typewriter would be a fair percent of the cost.

Low IQ today (5, Insightful)

Anonymous Coward | more than 9 years ago | (#11150494)

Geez, the collective Slashdot IQ is particularly low today. Let's see, so far I've seen people asking why bother, use a daisy-wheel printer, use a teletype, and plenty more of "why".

For pete's sake, people, he said he was doing this for "art". I think he's probably already considered other printer options (daisy-wheel, teletype, etc.) and wants to have a typewriter, for the look of it.

At one point, I had an IBM Selectric typewriter that could also be driven by a parallel port (though the encoding was odd -- it might have been EBCDIC, come to think of it). That might fit the bill, though I've no idea where to find one. It'd certainly look cool. Be sure to send us a follow-up when you get this working. :)

What do you need us for, just hack away (1)

bluGill (862) | more than 9 years ago | (#11150502)

Serious, either you have the ability to do this or you don't.

If you do have the ability to do this, then you will buy some USB interface chips, there are several on the market, choose one with a good development kit. (You might even be able to get a free sample). Google can help you choose too. Then you disassemble your typewriter and toss some glue electronics between the output of your USB chips and the keyboard. The rest is just software. Dig in and do it! Be prepared to fry some chips in the early process of course.

Of course if you don't have the ability, they you don't. Leave hacking to those interested in learning.

Re:What do you need us for, just hack away (1)

macz (797860) | more than 9 years ago | (#11150846)

I am not sure that this is entirely fair. It is a legitimate "hack" to learn from the "l33t" how something is done so that you can get farther, faster. You might as well say "Why go to college? Just go to Google and search for 'knowledge'."

That being said, I agree with you it would be nice to have seen a little more effort. Lousy newb's.

Re:What do you need us for, just hack away (1)

mmaddox (155681) | more than 9 years ago | (#11153857)

Serious, either you have the ability to do this or you don't.

Of course, it's much more productive to ask Slashdot to do it for you.

Isn't the goal obvious? (0)

Anonymous Coward | more than 9 years ago | (#11150746)

He/She wants to be able to create document forgeries and submit them to CBS via Outlook.

Silicon Labs (1)

raider_red (156642) | more than 9 years ago | (#11150836)

You might try the previously mentioned suggestions of using a Daisy wheel typewriter with a USB-Parallel adapter.

If you're looking for a more creative outlet, Si Labs sells a USB development board based on they're 8051 products. Either way, post the results here. There're a lot of people (like me) who like seeing old technologies adapted to the modern world.

Re:Silicon Labs (0)

Anonymous Coward | more than 8 years ago | (#11157013)

based on they're 8051 products

"their".

Microcontroller + USB UART + hacking (1)

n1ywb (555767) | more than 9 years ago | (#11151049)

Hack the typewriter, figure out how the signals work, wire them into a microcontroller (I recommend Microchip Inc's PIC line), connect the microcontroller to the USB port either using a USB UART or a USB->serial converter if you're lazy. Write some software. Done.

Some of the PICs have a builtin USB UART. The downside to this approach is you have to write a device driver on the computer end of things. On Linux you can hack up one of the drivers that comes with the kernel, on windows you'd have to use the MS driver development kit, there may be another way that I am not aware of. If you use a PIC or other microcontroller with an external USB->serial chip, it will appear as a USB serial port when you plug it in and normal serial port programing techniques will suffice.

If you really want to get fancy you should use the USB UART method and write a printer driver for it so you can print to it from any normal app. I have no idea how Linux printer drivers work though, in my experience they don't. work.

:-----) Heh. (1)

Refrozen (833543) | more than 9 years ago | (#11151087)

Heh. That's actually a really good idea, I looked it appears it hasn't been done. Granted, it is sorta silly, because why do you need USB (means you currently have a computer beside you) for a typewriter. But, that's a good idea n-t-l.

Re::-----) Heh. (1)

bhtooefr (649901) | more than 9 years ago | (#11154969)

RTFP. It's not for a keyboard - it's to use it as a printer (so that he can print e-mails to it, as if they were typed from the keyboard). I agree that the simplest solution is to use a printing typewriter (heck, I had one, and it even had a serial-to-parallel box for those whose systems only had serial ports), and use a USB-to-parallel adaptor (unless he THOUGHT USB was required, but has a parallel port on the PC he's using, in which case he can just use that). He'll want to add the printer as a "Generic" brand "Generic / Text Only" if he's on Windows (I've also got choices for a 9pin and 24pin generic dot matrix, and a "color printer" and an imagesetter (the last two are from MS Publisher)). On Linux, he can probably get away with just routing text to the port (Linux box isn't running right now, so I can't play with it).

Allow me to glom..... (3, Interesting)

Sean Johnson (66456) | more than 9 years ago | (#11151780)

I hate glomming onto another submitted story, but I have a similar need. I have a Brother word processor circa 1991 that I would love to be able to hook up to my serial port or something. I have a lot of text data that would be convenient to transfer over to my PC.
I understand there might be some difficulty interpreting the word processor code and file structures. It might even be nigh IMPOSSIBLE. Has anyone ever heard of any sort of interpreter for communication with a Brother word processor, or is that info stritclty porprietary and FORBIDDEN?

Even easier would be to somehow allow my PC to read the file structure for the floppies. Is there any info on the fundamentals of the Brother word processor's file structure floating around out there? Aren't there other people who have data on these things and would like it transferred to another format? I can't imagine this sort of thing has not been looked into yet.

Re:Allow me to glom..... (2, Interesting)

MattEmmerton (842484) | more than 9 years ago | (#11152287)

This link [demon.co.uk] seems to cover what you are asking. Google Answers [google.com] has some ideas as well.

Re:Allow me to glom..... (1)

harrkev (623093) | more than 9 years ago | (#11152613)

If it isn't too much, you could always print -> scan -> OCR.

Cheesy and crude, but for 20 pages or so, probably the easiest option.

Re:Allow me to glom..... (1)

Sean Johnson (66456) | more than 9 years ago | (#11153467)

Yeah, I had thought of the print -> scan -> OCR method before. This takes time of course. But I agree it might in the long run be easier since I really don't have a significant amount of text to convert over.
Plus I prob need to go find a ink cartridge for it. Does anybody sell those anymore. I saw them a few years ago at WAL-MART, but I don't know anymore.

Re:Allow me to glom..... (1)

HoneyBunchesOfGoats (619017) | more than 9 years ago | (#11155071)

Even if you can't read the contents of the disks, I'd at least make backup images of them, since floppies don't last forever. You could use the linux command dd to back it up, or if you use windows, something like undisker [undisker.com] . My sister was keeping her resume and other old papers on a floppy disk that windows wouldn't read, but I was able to use undisker to get her data back.

Re:Allow me to glom..... (1)

dasunt (249686) | more than 8 years ago | (#11156293)

I hate glomming onto another submitted story, but I have a similar need. I have a Brother word processor circa 1991 that I would love to be able to hook up to my serial port or something. I have a lot of text data that would be convenient to transfer over to my PC.

I understand there might be some difficulty interpreting the word processor code and file structures. It might even be nigh IMPOSSIBLE. Has anyone ever heard of any sort of interpreter for communication with a Brother word processor, or is that info stritclty porprietary and FORBIDDEN?

Have you tried copying the disk image over (dd) and then manually digging through it? Might be FAT12, for all you know.

In that case, perhaps you could reverse engineer the codes themselves.

Try a teletype! (1)

Jim Buzbee (517) | more than 9 years ago | (#11151900)


http://www.buzbee.net/heavymetal/

usb - parallel - daisy wheel (1)

nurb432 (527695) | more than 9 years ago | (#11152127)

Would do the job.. but unless you really NEED to use multipart carbon type forms.. why bother??

Sure ' just because i can' is Ok, but why not do something cool instead?

Re:usb - parallel - daisy wheel (1)

SillyNickName4me (760022) | more than 8 years ago | (#11156974)

I'm just wondering, did you read the question completely?

The person asking says (s)he wants to do this for the sake of art, and the point is to connect old technology (the typewriter) to new technology (the computer).

Getting hardcopy output in the most practical way was really not the point of the question I think..

So, the 'because I can' argument plays a big role here, and the 'coolness factor' is pretty personal anyway (I find the idea way more cool then doing this with a device that was sortof intended for this use already, but that is just my personal opinion)

Way to go Bill! (0)

Anonymous Coward | more than 9 years ago | (#11152333)

There would finally be a purpose for that extra end of line character
<LF>
You can thank microsoft for keeping that one around just for you!

ideas and problems (5, Interesting)

dutky (20510) | more than 9 years ago | (#11152439)

If you want to convert an old electric typewriter into a USB input/output device you will face a few challenges.

First, traditional electric typewriters were mostly mechanical beasts (electric, not electronic) actauted by springs and levers with the user's finger motion enhanced by a flywheel. Only the flywheel was driven electrically, all the rest was mechanical. This means that there are no electical siganls generated when the user presses a key, just a series of levers and catches that connect the flywheel with a typearm and some mechanism to advance the carriage. Even the carriage return and platen advance was mechanical: as the carriage advanced a spring was stretched. The carriage return released the carriage, which was pulled rapidly to the right by the carriage return spring. When the carriage slams into the stop at the rightmost end of travel, a pin or wedge caused the platen to advance to the next line. The driving force for the platen advance was the momentum of the returning carriage.

In theory, you could instrument the typewriters mechanics with sensors to detect key presses and carriage return events using optical or electronic sensors. The sensor states would be fed into a microcontroller which would format them for communication over the USB port. This would allow you to use the typewriter as an input device.

Using the typewriter as an ouput device, however, is more complicated. You would actually have to add a bunch of actuators (solenoids, for example) to the typewriter's mechanism. I can think of a few ways to do this, but they are all labor intensive (I'd mount the solenoids vertically beneath the typewriter and connect each solenoid to the actual key it drives by a wire or shaft. When the soleniod is activated, the key is physically pulled down, just as if the key had been pressed normally.) and power hungry. Again, a microcontroller would be used to accept data from the USB port and translate it into signals to actuate the solenoids. The MCU would need to keep track of, or be able to sense, carriage position and put suitable delays between keystrokes to prevent jamming the device.

It all sound quite fascinating, but of very little practical value. It is likely to be a bit costly as well, but that shouldn't stop the dedicated hobbyist. Of course, for a lot less effort and money you may still be able to find an old ASR-33 [pdp8.net] teletype [columbia.edu] with an optional RS232 interface (most ASR-33's used current-loop [made-it.com] interfaces, which are not directly compatible with RS232). These old teletypes are pretty much what you are looking for, ready-made. You may freely substitute a DECwriter [columbia.edu] for the ASR-33 and I think there may be some versions of the IBM selectric [wikipedia.org] that also fit the bill.

Re:ideas and problems (0)

Anonymous Coward | more than 9 years ago | (#11171858)

Bravo! That was an excellent response /. needs more quality like this!

Useful (1)

White Roses (211207) | more than 9 years ago | (#11152471)

This would be great! I'd be able to print out all my old newsgroup ASCII pr0n.

Seriously though, wouldn't this be kinda cool for any old ASCII art someone might have? Old sigs on e-mails? Funky. Wish I had even an inkling of how to answer this question.

Re:Useful (1)

bhtooefr (649901) | more than 9 years ago | (#11155021)

If you want to print out your old pr0n, just print it on any printer. As it's ASCII, any text editor should be able to take it, and LPT1: should take it straight on DOS or Windows ("copy newsgrouppr0n.txt lpt1" - this assumes your printer plugs into a parallel port, it'll be com1-com4 if it's serial, and usb001-usb??? if it's USB (don't know if the USB one will work)). On Linux, use a2ps, and send the result to the printer.

I had one of these!!! (1)

Muad'Dave (255648) | more than 9 years ago | (#11152717)

I scrounged a reservation system from Holiday Inn back in the 80's. It was in part an IBM Selectric typewriter with little solenoids that pushed on (five or six, I don't remember) little bars in different combinations that controlled what characters were printed. This would be pretty easy to (re-)implement. Try All Electronics or some other surplus store for solenoids, etc.

Re:I had one of these!!! (2, Informative)

Muad'Dave (255648) | more than 9 years ago | (#11152821)

Not to reply to myself 8-), but check out this article [classiccmp.org] . An excerpt:
The more clever (IMHO) mod was to attach seven solenoids to the Selectric between the keyboard encoding mechanism and the print mechanism, to directly control the tilt and rotate. And two more for the carriage return and paper advance. This has the advantage that you can still use it as a typewriter without having to attach and remove the solenoid box, and it's potentially less expensive since it takes nowhere near as many solenoids. I seem to recall that Don Lancaster wrote a do-it-yourself article about this approach.

We did this in the '80s (5, Interesting)

RobertB-DC (622190) | more than 9 years ago | (#11152727)

I say we, but it was really my dad (an electronics technician) and my stepmom (a computer programmer) who did it. They took the TRS-80 parallel port output, which was a slow, simple 8 data lines and a clock, and connected it to an IBM Selectric.

The Selectric was already wired to accept electronic input, but not in ASCII. It expected tilt-and-rotate codes, which were directly transmitted to the golf ball shaped typing element [ibm.com] . To translate the TRS-80's ASCII to tilt/rotate codes, my parents drew up a table of equivalents. Then, my dad came up with a way to logically combine the TRS-80's output with values stored in an EPROM to get the tilt/rotate codes.

I ended up using the computer for my typing class homework. Fortunately, the teacher didn't mind that I was writing BASIC programs like this:

10 A$ = "THE QUICK BROWN DOG ATE THE LAZY FOX"
20 FOR I% = 1 TO LEN(A$)
30 POKE addr, ASC(MID$(A$, I%, 1))
35 some sort of delay for the ball to get repositioned
40 NEXT

I thought I was getting away with something... but my teacher wisely realized that I was actually doing more typing by hacking around than I would have been if I'd used the actual typewriter.

Re:We did this in the '80s (1)

Ed Avis (5917) | more than 8 years ago | (#11156927)

Is it possible to connect them the other way round and use the Selectric as the keyboard for your computer? I haven't used IBM's electric typewriters (only seen them) but I imagine the feel of the keys is a lot better than most spongy modern-day keyboards. The lack of Ctrl and Alt could bite though.

Re:We did this in the '80s (1)

RobertB-DC (622190) | more than 9 years ago | (#11225181)

Is it possible to connect them the other way round and use the Selectric as the keyboard for your computer?

As I recall, there was no feedback at all from the Selectric back to the driver. We couldn't even tell whether the character had been received -- hence the delay loop. Or we may have built the delay into the hardware, I'm not sure. But I'm pretty sure there wasn't a way to use the Selectric as a keyboard -- at least, not our model.

I did this (3, Interesting)

spitzak (4019) | more than 9 years ago | (#11152938)

Well, with a lot of help from my dad. Long time ago.

The machine was an IBM Selectric editing machine, designed to read paper tape and punch it. My dad wired amps to the paper tape reader so that the parallel port of a CP/M machine could drive it. I wrote the CP/M printer driver to convert ASCII to the codes the typewriter used. I think it was 5-bit, and there was a code for shift-up and another for shift-down, so the driver had to keep track of this state.

It printed quite beautifully, exactly like a typewriter. At the time everybody only had dot matrix, so reports and letters typed by this thing looked vastly superior.

It could also print proportional space (excellent for writing reviews of Bush's service records) but we did not have the printhead, which apparently turned this on.

Go Selectric or equivalent (Remington made one) (1)

Roadkills-R-Us (122219) | more than 9 years ago | (#11153022)

Even if you don't find one with an adapter already installed, it'll still be easier to adapt, if only because:

1) You need far less solenoids since keystrokes get encoded for the ball mechanism, and
2) The solenoids can be weaker than they would need to be for most other types.

You'll have a hard time rigging solenoids to anything else, esp. a manual, which would require a more matched pull/push from each solenoid onto each lever or key, nevermind the room required.

The other thing to watch out for is the delay between keystrokes. I forget what the max. speed is on a Selectric, but the required pause between strokes wlill be higher on many typewiters, esp. manuals.

The inverse problem (3, Interesting)

mfago (514801) | more than 9 years ago | (#11153262)

i.e. using a typewriter as a computer keyboard (which some responses discuss) has been done before [ahleman.com] , and discussed here. [slashdot.org]
The ElectriClerk is quite a sight BTW, and well worth looking at for inspiration with the current topic.

Done that, not fun (2, Interesting)

wom (240411) | more than 9 years ago | (#11153603)

Way back, myself and an electronics engineer did this for a variety of _electronic_ typewriters, including IBM selectrics, olympia daisy wheel, etc. Each was different, all had gotcha's. We put a microcontroller (8751) between the keyboard connector, and the electronic board that drove the machine. That gave us control over what to print, and we could see what was typed. The machines being fairly mechanical meant that timing everything was complex, and exception ridden. Good luck!

Question (1)

rlp (11898) | more than 9 years ago | (#11153922)

Is that you Dan Rather?

Here's a website of someone who's already done it (1)

deemzzzz_k (826129) | more than 9 years ago | (#11154770)

I was considering doing this with a vintage mechanical typewriter... woulda looked cool but it's a lot of work. Here's a website of a guy that's already done something like this with PS/2. It's pretty easy to convert ps/2 keyboards to usb. the typewriter-keyboard conversion [multipledigression.com] [http://www.multipledigression.com/type/]

Teletype (1)

Halvard (102061) | more than 9 years ago | (#11155773)

I'm reminded of Yogi Berra saying "it's like deja vu all over again."

Find an old teletype the does 8 bits and has a DB9 serial port.

Use a USB-Serial coverter.

Insert paper.

Type.

You must be young.

I must be old.

I had an Anderson-Jacobson hooked up up to a serial card in an Apple ][+ in the early '80's. Type on the AJ and it would come out on the printer and on the monitor (or just the paper, depending on how a switch was set). And depending on how another was set, type on the computer keyboard and it could come out on one or the other or both(screen, keyboard or both).

Look for old books... (1)

jackb_guppy (204733) | more than 8 years ago | (#11156335)

"Build your own TV Typewriter" paper back from Radio Shack 1978 vintage.

Or the better one was a magizine called Kilobaud, then became Microcomputer. They had plans for convertions.

There was a set of chips from National Semi that had ascii to row/column of selectic type writer.

Lastly the best I saw from late 70's early 80's was a device that had a push leaver over each key, and the output from the parallel port was used to translate which key(s) was(were) pressed. Typed very nicely.

After that build a USB/Parallel interface. Or even get USB/Motor Control interface so you use the CPU power to do the translation and punch the keys.

robot arm (2, Interesting)

corprew (24232) | more than 8 years ago | (#11156936)

All in all, it will probably be much easier to get a robot arm with a USB interface and use that to drive the typewriter than it will be to actually convert the typewriter, unless you use one of the typewriters that already have this functionality (as mentioned in other posts.)

Not quite the original question, but I'm guessing you're looking for cool more than utility.

--Corprew

uh-huh (1)

OM1136 (843495) | more than 9 years ago | (#11182095)

About a hundred years ago, using a TRS-80 and a model 28 teletype, I did this very thing. Well, I didn't know any better at the time. 5 level baudot code made a very interesting software project, in assembler at the time, for a Z-80. Was fun!
Check for New Comments
Slashdot Login

Need an Account?

Forgot your password?