home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / amiga / hardware / 13357 < prev    next >
Encoding:
Text File  |  1992-07-28  |  4.5 KB  |  101 lines

  1. Newsgroups: comp.sys.amiga.hardware
  2. Path: sparky!uunet!usc!sol.ctr.columbia.edu!usenet.ucs.indiana.edu!bronze!venus.iucf.indiana.edu!graham
  3. From: graham@venus.iucf.indiana.edu (JIM GRAHAM)
  4. Subject: Re: Serial mouse on an amiga
  5. Message-ID: <1992Jul28.140606.3636@bronze.ucs.indiana.edu>
  6. Followup-To: comp.sys.amiga.hardware
  7. News-Software: VAX/VMS VNEWS 1.3-4   
  8. Sender: news@bronze.ucs.indiana.edu (USENET News System)
  9. Nntp-Posting-Host: venus.iucf.indiana.edu
  10. Reply-To: graham@venus.iucf.indiana.edu
  11. Organization: Somewhere in Bloomington, Indiana
  12. References: <4095@winnie.fit.edu>
  13. Distribution:  world
  14. Date: 28 JUL 92 08:57:12    
  15. Lines: 84
  16.  
  17. In article <4095@winnie.fit.edu>, ree88132@zach.fit.edu (Keith Ledig) writes...
  18. >I am trying to interface an IBM serial mouse to an amiga computer
  19. >and I need a little info.  I know the pinouts of the Serial port
  20. >(DB9) and the amiga mouse port(quadrature signal type), but I need
  21. >to know what the data looks like coming out of the serial mouse.
  22. >Is the send data and signal groung all I am concerned with, or
  23. >do I need to concern myself with the signals like request to send, 
  24. >data set ready, etc.  Also, what type of circuit do I need?
  25. >I hooked up the mouse to my serial port while running a terminal
  26. >prg and I say some characters with regularity at 2400 baud
  27. >(i.e. left button click I got a certain ascii character every time)
  28. >I am guessing here but I think I need to build a circuit that will
  29. >take the 8 bits off the send data and (demultiplex???) it out to
  30. >8 controll lines.  What I think is that maybe the first bit is a 1
  31. >if the mouse is traveling upward, second bit downward, etc.  Maybe the
  32. >5th bit is left mouse button.  Do I need flip-flops to hold the signal?
  33. >My above theory would make sense since it allows for you to hold
  34. >the mouse button and drag in any direction.  Am I close?  :-)
  35. >The amiga needs the raw quadrature signals. xa, xb, ya, yb, left button,
  36. >right button, signal ground.  The IBM mouse is a 2 button type.
  37. >(and amiga can make use of 3 button types as well)  I know about the
  38. >fact that IBM serial mice require 12V (RS232) and amiga mouse port
  39. >provides only 5V (and at a low 50 mA to boot!).  I will probably
  40. >provide an external power supply initially.
  41. >This is for my own satisfaction.  I enjoy hardware hacking.  I know
  42. >I can get an Amiga mouse for almost the same price.  Did the inventors
  43. >of the DKB talker say that too?  :-)
  44.  
  45. I'm not sure if this'll answer your question, but here goes.
  46.  
  47. I am presently using a Mouse Systems trackball on my A500.
  48.  
  49. It too is basically the same, operationally as a serial mouse.
  50.  
  51. What I did was the following....
  52.  
  53. 1.) Trace the circuit, making a schematic diagram (reverse engineering
  54.     at its best :-).
  55.  
  56. 2.) There is usually an IC that converts the mouse mechanisms
  57.     quadrature signals to a serial rs232 bit stream.
  58.  
  59. 3.) Disconnect the serial output from this IC.
  60. 4.) Find the actual quadrature inputs to the IC, and connect them
  61.     to the appropriate connector pins for your amiga mouse port.
  62.  
  63. It is also probably necessary (at least it was in my case) to find
  64. the trace on the pc board that supplies the dc voltage (12 volts
  65. or so) to the quadrature transistors.
  66.  
  67. You'll have to disconnect both the positive and negative voltages from
  68. these transistors (there will be 4, 2 of which are NPN, and 2 PNP).
  69.  
  70. Then you'll have to connect the +/- connections to +5V and GND.
  71.  
  72. If you're familiar with properly biasing a simple switching transistor,
  73. then this should be a piece of cake for you.
  74.  
  75. It may help you immensely (it did in my case) to use an oscilloscope
  76. to find the actual quadrature signals.  You may be lucky enough to
  77. get a serial mouse whose quadrature signals are already at TTL levels,
  78. but I doubt it.
  79.  
  80. If not, it's easier and just as cheap (at least now) to go out and
  81. purchase a regular _Amiga_ mouse. :-)
  82.  
  83. At the time that I did this hack, it was cheaper to purchase an
  84. IBM compatible serial trackball.  That is no longer the case.
  85.  
  86. Jim Graham 
  87.  
  88.         -> ->Disclaimer: I do not speak for my company. <- <-
  89.                           Neither do they speak for me.
  90.  ______________________________________________________________________
  91. | Internet: graham@venus.iucf.indiana.edu                              |
  92. |           dolmen!jgraham@iuvax.cs.indiana.edu                        |
  93. | BBS:      The PORTAL DOLMEN BBS/ParaNet ALPHA-GAMMA (sm) (9:1012/13) |
  94. |            (812) 334-0418, 24hrs.                                    |
  95. |______________________________________________________________________|
  96.