The following information is provided as a reference for people looking to connect electronics projects to their PC.

DB25 Parallel Port (Printer)

PIN NO. FUNCTION TYPE
1

STROBE

CONTROL
2

DATA BIT 0

OUTPUT
3

DATA BIT 1

OUTPUT
4

DATA BIT 2

OUTPUT
5

DATA BIT 3

OUTPUT
6

DATA BIT 4

OUTPUT
7

DATA BIT 5

OUTPUT
8

DATA BIT 6

OUTPUT
9

DATA BIT 7

OUTPUT
10

ACKNOWLEDGE

STATUS
11

BUSY

STATUS
12

PE: PAPER TRAY EMPTY

STATUS
13

PRINTER ON-LINE

STATUS
14

AUTO LINEFEED AFTER (CR)

CARRIAGE RETURN CONTROL
15

PRINTER ERROR

STATUS
16

INITIALIZE PRINTER

CONTROL
17

SELECT/DESELECT PRINTER

CONTROL
18-25

UNUSED/GROUND

 

RS232 25 Pin Parallel

DB9 (9 Pin Serial)

PIN NO. FUNCTION TYPE
1 DCD Data Carrier Detect
2 RD Receive Data (a.k.a RxD, Rx)
3 TD Transmit Data (a.k.a TxD, Tx)
4 DTR Data Terminal Ready
5 SGND Ground
6 DSR Data Set Ready
7 RTS Request To Send
8 CTS Clear To Send
9 RI Ring Indicator

+-----------------------------+
         DTE       DCE
+-----------------------------+
         TD  ---->  TD
         RD  <----  RD
         RTS ----> RTS
         CTS <---- CTS
         DSR <---- DSR
         SG  -----  SG
         DCD <---- DCD
         DTR ----> DTR

RS232 9 Pin Serial

DB15 (15 Pin Game Port)

PIN NO. FUNCTION
1 XY1 (+5v)
2 Switch 1
3 X1
4 Ground (for switch 1)
5 Ground (for switch 2)
6 Y1
7 Switch 2
8 N.C.
9 XY2 (+5v)
10 Switch 3
11 X2
12 Ground (for switch 3&4) *
13 Y2
14 Switch 4
15 N.C. *

More coming soon…

Share

0 Comments

Leave a Reply