Article View: comp.sys.amiga.tech
Article #10260Mouse circuit correction.
From: Greg M. Garner
Date: Fri, 11 Nov 1988 19:01
Date: Fri, 11 Nov 1988 19:01
37 lines
1929 bytes
1929 bytes
I just noticed I made an error in the circuit I had to change
mouse quadrature signals to a binary count. Here is the
correct way to do it:
T flip flop +5 T flip flop.
_________ Q0 out | _________
| | | _______ | | |
LEFT* ----------| Clock Q |----| \ \ \ |--| T Q |--- Q1 out
| | |----| | \_____| |
| | |---| | / | CLOCK |
+5--------| T | | / /______/ | |
|_________| | |_________|
|
RIGHT*
These are edge triggered T flip flops. This circuit acts like a counter
which will keep track of the position of the mouse at all times. This
particular circuit is only able to count up to 3, then it rolls over to
0 again, (outputs at Q0 and Q1), but it will count up when the mouse
is rolling left, and count down when it is rolling right (I may have
these reversed). If you want to add more resolution, just repeat the part
of the circuit on the right, extending it out to as many bits as
you might need. You may also be able to use a binary counter that has
a up/down input (like the 74ls193 I think), and implement the circuit
in fewer gates. Just repeat this same circuit for the forward/back
part of the mouse, and presto chango, you have a mouse driven
position sensing device.
Greg Garner
gmg@hcx.uucp path: ...!uunet!harris.cis.ksu.edu!hcx!gmg
501-442-4847
/* Sorry about the errors, but I am only Human! Good thing I'm not a computer
, then this would have been a real mess! */
Technical Details
Message-ID:
<1151@cseg.uucp>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!husc6!rutgers!deimos!cseg!hcx!gmgShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!husc6!rutgers!deimos!cseg!hcx!gmg From: gmg@hcx.uucp (Greg M. Garner) Newsgroups: comp.sys.amiga.tech Subject: Mouse circuit correction. Message-ID: <1151@cseg.uucp> Date: 11 Nov 88 19:01:46 GMT Sender: netnews@cseg.uucp Organization: College of Engineering, University of Arkansas, Fayetteville Lines: 37