
1995 Microchip Technology Inc.
DS40101C-page 17
MTA41300
8.0
APPLICATION EXAMPLES
Three distinct types of mice or trackball systems can be
created using the MTA41300 controller. These sys-
tems are distinguished on the type of host interface
they use. The three types are:
RS-232 serial
IBM PS/2
or a “combo” interface that can operate in either
RS-232 or PS/2.
Also, three example types of motion encoders are
shown
in
the
schematics
(document
number
41XXXEN). Two types of optical encoders and a
mechanical type are shown.
All system types use momentary contact type switches
for the button inputs including the drag lock input.
8.1
RS-232 Serial Interface Mouse or
Trackball
To operate the MTA41300 controller in the RS-232
Serial Mode only, the MODE pin is simply connected to
VSS. The example schematic (document number
41300RSa), shows the MTA41300 configured as an
RS-232 serial mouse or trackball.
Trackball
systems
require
the
addition
of
the
components
labeled
as
trackball
only.
These
components allow support of a drag lock switch and
indicator. A pull-up resistor for the drag lock switch
must be included for trackball systems. For a mouse
the DBTN input is simply connected to VDD.
Since the MTA41300 operates from a single supply, a
discrete transistor is used as a level shifter to insure
that a low output on the RS-232 data line is below the
RS-232, -3V threshold.
8.2
PS/2 Interface Mouse or Trackball
To operate the MTA41300 controller in the PS/2 Mode
only, the MODE pin is simply connected to VDD. The
example schematic, document number 41300PSa,
shows the MTA41300 configured as a PS/2 mouse or
trackball.
8.3
RS-232 and PS/2 “Combo” Mouse or
Trackball
The “combo” mouse system is designed to change its
host interface to the desired protocol depending on the
type of host system it is connected to. The schematic
(document
number
41300SPa)
shows
a
typical
“combo” mouse or trackball. In this system, the MODE
select is wired to the host connector and is not
connected directly to either VDD or VSS.
For RS-232 operation, the RTS line is driven by the
host to -12V. A protection diode limits the maximum
negative voltage applied to the MODE pin to -.6V. This
logical low on power-up places the MTA41300 in the
RS-232 Serial Interface Mode.
For PS/2 operation, a special adapter plug (document
number 41300SPa, page 2) can be used to change the
RS-232 DB-9 connector to the mini-DIN type used by
PS/2 systems. The adapter plug also connects the
MODE pin to +5V thus automatically configuring the
MTA41300 for the PS/2 interface.
8.4
Host System Device Drivers
The MTA41300 is compatible with standard IBM PS/2
drivers and Microsoft device drivers. Additionally, host
system device drivers for use with the MTA41300 are
available from third party vendors. Contact your local
Microchip Technology Inc. sales office for a list of
vendors currently offering device drivers for use with
the MTA41300.