Elektroniklager





Google
 

Sprache
Language



  Home
  PCI-Bus
  Floppy & IDE
  SCSI
  Serial
  Parallel
  Graphic
  Mouse & Keyboard
  Power Supply
  Telephone
  ISDN & DSL
  Tables
  Diagnose & Repair
  Technical Info
  Magazines & News
  Downloads

Keyboard (DIN Connector)

Simplified drawing, view upon:

      Socket                    Plug
      
     3       1                1       3
      5     4                  4     5
         2                        2
Pin Function
1 Keyboard Clock
2 Keyboard Data
3 N.C.
4 GND
5 +5 Vcc

PS/2 Keyboard

Simplified drawing, view upon:

  Socket           Plug
  6 o 5            5 o 6
 4     3          3     4
   2 1              1 2

Please note, that the counting of these connector pins may be different in some cases!

Pin Function
1 Keyboard Data
2 N.C.
3 GND
4 +5 Vcc
5 Keyboard Clock
6 N.C.

Mouse

The theme "mouse at the PC" is very complicated. First you have to observe that there are many different types of mice available. There is the serial mouse (with 9pin or 25pin D-Sub connector, which by now is hard to find anymore), there is the PS/2 mouse and combined mice, which can be differentiated by the expression "PS/2 - Serial Mouse" and the fact that an adapter is supplied (Mini-DIN to 9pin D-Sub). Finally there are USB mice and combined USB/PS2 mice which again have a supplied adapter USB to PS2. The transmission protocols of the serial, PS/2 and USB mice and the electrical features of there interfaces are very different! For combined mice the interface and protocol is internally switched to the appropriate version after detecting the interface. Older mice may have a little switch for this! But pay attention, there are mice which have a switch to select between the "Microsoft" and "Mouse Systems" serial protocol. It is important to use the supplied mouse driver of the manufacturer to achieve the correct functionality. If you are lucky the operating system will automatically detect the mouse correctly and use a suitable standard driver.

Make sure that you know what kind of mouse you have or need. Mismatches can even damage your mouse or PC. Any any case use the adapter and driver which was supplied by the manufacturer.

In spite of the complexity of the issue some pin assignments of important mouse types will be given here. Here is also a good description of how mice work.

Serial Mouse with 9 pin D-Sub Female Connector

The 9pin D-SUB mouse connector has the female socket on the mouse cable. At the PC you have to use the normal male connector of the serial RS232 interface. For mice with a 25pin connector the 9pin to 25pin adtaptor of the RS232 interface can be used. Since this version is not sold any more the pin assignment is not mentioned here.

Simplified drawing, view upon:

 plug (male connector at PC)        socket (female connector at mouse cable)
 +-------------+                    +-------------+
  \ 1 2 3 4 5 /                      \ 5 4 3 2 1 /
   \ 6 7 8 9 /                        \ 9 8 7 6 /   
    +-------+                          +-------+
Pin Function
2 Mouse Data
3 Clock
5 GND
7 VCC +5V

PS/2 Mouse

Simplified drawing, view upon:

    Socket          Plug
    6 o 5           5 o 6
   4     3         3     4
     2 1             1 2

Please note, that the counting of these connector pins may be different in some cases!

Pin Function
1 Mouse Data
2 N.C.
3 GND
4 +5V
5 Clock
6 N.C.

PS/2 to 9pin D-Sub Mouse Adapter

Please observe that obviously every mouse manufacturer uses an own pin assignment and therefore suppies an own adapter. Usually the assignment is different than what would be expected for the serial RS232 interface, as e.g. the RX input for the mouse data, like it is usual for a normal serial mouse. Just some random signal pins may be used. The evaluation of the signals s done by the driver. Therefore the assignment is not standardized, but depends on the manufacturer. With other words, it only works if the mouse, the adapter and the driver are matching. In spite of this some widely used assignments are given here. Because of the already explained reasons it is even not possible to give signal names to the pins.

Adapter which should be working for A4tech mice:

PS2 Plug D-Sub 9pin
1 1
3 3 + 9
4 5 + 2
5 6

The counting of the pins is ike shown above!

Adapter which should be working for Logitech mice:

PS2 Plug D-Sub 9pin
1 4
2 2
3 5 + 6
4 8
5 7
6 3

The counting of the pins is ike shown above!

USB Plug

Pin Signal
A1 Vcc
A2 Port0 data-
A3 Port0 data+
A4 Gnd
B1 Vcc
B2 Port1 data-
B3 Port1 data+
B4 Gnd

Network Cables 10MBit/100MBit

Crossover cable for the direct connection from network card to network card without hub, e.g. for a peer to peer network of 2 PCs.

Signal RJ45 Pin   Signal RJ45 Pin
TD+ 1 <----> 3 RD+
TD- 2 <----> 6 RD-
RD+ 3 <----> 1 TD+
RD- 6 <----> 2 TD-

You have to observe, that the wires of the wire pairs TD+ / TD- and RD+ / RD- are twisted with each other. jeweils verdrillt sind. It is recommended to use a proper CAT. 5 cable.

For a 100MBit full duplex connection without hub you can use the following cable. Here also the wires of the wire pairs have to be twisted, or a CAT 5 cable has to be used.

Signal RJ45 Pin   Signal RJ45 Pin
TX_D1+ 1 <----> RX_D2+ 3
TX_D1- 2 <----> RX_D2- 6
RX_D2+ 3 <----> TX_D1+ 1
BI_D3+ 4 <----> BI_D4+ 7
BI_D3- 5 <----> BI_D4- 8
RX_D2- 6 <----> TX_D1- 2
BI_D4+ 7 <----> BI_D3+ 4
BI_D4- 8 <----> BI_D3- 5




Safety Software
Design Training

Web-based training:
Safety Software
Design for
Microcontroller











Imprint