home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / terminal / 1131 < prev    next >
Encoding:
Internet Message Format  |  1992-09-14  |  2.8 KB

  1. Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!mojo.eng.umd.edu!mimsy!afterlife!adm!smoke!gwyn
  2. From: gwyn@smoke.brl.mil (Doug Gwyn)
  3. Newsgroups: comp.terminals
  4. Subject: Re: Blast from the Past
  5. Message-ID: <19169@smoke.brl.mil>
  6. Date: 14 Sep 92 19:01:30 GMT
  7. References: <1992Sep13.040534.3754@newshub.ariel.yorku.ca>
  8. Distribution: all
  9. Organization: U.S. Army Ballistic Research Lab, APG MD.
  10. Lines: 42
  11.  
  12. In article <1992Sep13.040534.3754@newshub.ariel.yorku.ca> cs911461@ariel.yorku.ca (CHRISTIAN D. ARMOUR) writes:
  13. >This may seem a little weird, but I'm trying to connect an
  14. >old Teletype machine (one of those noisy things you see in
  15. >early seventies cop shows) to my Unix based PC.  The only
  16. >way I can imagine doing this is to get it connected via 
  17. >the RS-232 port.  The problem is, the connector cable on
  18. >the tty has a 6-pin male connection.  Can anyone of a 
  19. >technical nature please tell me how I can cut this thing
  20. >off and replace it with a RS-232 plug.  I'd appreciate any
  21. >kind of response, even if you're not sure.
  22.  
  23. Genuine Teletype electromechanical printers used "current loop"
  24. interfaces, initially something like 60mA and later 20mA in many
  25. computer applications (early 1970s).  The general idea of the
  26. current loop is that the transmitting (keyboard) and receiving
  27. (type selector) subunits are connected in series with a power
  28. supply and the remote transmitter/receiver, with a constant
  29. current flow in "idle" condition that holds solenoids shut.
  30. When a key is depressed it selects a bunch of levers that set
  31. up an encoding and triggers a clutch that then samples the
  32. encoding and transmits first, a "space" (absence of current),
  33. then a series of either "marks" (normal current flow) or "spaces"
  34. (no current) representing the encoding, then ends with a constant-
  35. "mark" idle current condition.  The receiver's solenoid lets go
  36. when the initial start "space" arrives, triggering a rotating
  37. selection mechanism that in effect periodically samples the
  38. encoding marks/spaces (a solenoid toggles as the current
  39. changes, moving attached levers etc.), setting up a set of type
  40. selector bars.  At the end of the rotation, the stop "marking"
  41. (idle) current relatches the trigger solenoid as the set-up type
  42. selector bars control which type element is positioned under the
  43. print hammer.  (There are also control functions such as carriage
  44. return, line feed, bell, etc. but they're just variations on the
  45. general theme.)
  46.  
  47. Anyway, "all you need to do" is convert RS-232-C transmit/receive
  48. voltages to 20 (or 60?) mA currents.  These current-loop converters
  49. used to be fairly easy to find, but any decent EE ought to be able
  50. to whip one together for you using spare parts from his junk box.
  51. One thing to watch out for is that the Teletype is a highly
  52. inductive load.  I think low RS-232-C voltages correspond to
  53. "mark" (current flowing) and high voltage to "space" (no current).
  54.