0% found this document useful (0 votes)
34 views3 pages

DCT 03 - Exp 08

The document discusses the parallel port, including its pin configuration, grouping of pins into data, status and control ports, addressing, and logic levels. The parallel port uses a 25-pin female connector to connect to printers. It has 8 data pins to transmit bytes of data, as well as status and control pins to manage printing tasks. Common parallel port addresses are 378h, 278h, and 3BCh. Logic high and low levels are defined as 5V and 0V respectively, except for inverted pins.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views3 pages

DCT 03 - Exp 08

The document discusses the parallel port, including its pin configuration, grouping of pins into data, status and control ports, addressing, and logic levels. The parallel port uses a 25-pin female connector to connect to printers. It has 8 data pins to transmit bytes of data, as well as status and control pins to manage printing tasks. Common parallel port addresses are 378h, 278h, and 3BCh. Logic high and low levels are defined as 5V and 0V respectively, except for inverted pins.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

STUDY OF PARALLEL PORT

OBJECTIVE:

Study of parallel port

THEORY:

Parallel:
Parallel communication requires as much wires as the no. of bits in a word for its
Transmission word may be a combination of 4, 8, 16, 32 or 64 bits etc.

Pin configuration of parallel port:


Usually ports are found on the rear of computer and are of the following two
types:
• Male ports: Having pins coming out of port
• Female ports: Having holes for pins
Parallel port is generally a 25 pin female connector with which a printer is
connected.

Strobe 1 14 Auto Linefeed


Data 0 2 15 Error
Data 1 3 16 Iniitialise
Data 2 4 17 Select Printer
Data 3 5 18 GND
Data 4 6 19 GND
Data 5 7 20 GND
Data 6 8 21 GND
Data 7 9 22 GND
Ack 10 23 GND
Busy 11 24 GND
Paper out 12 25 GND
Select 13

Pin Configuration Parallel Port


Grouping Of Parallel Port Pins:
• Data port
• Status port
• Control port

Data port:
It is a read/write bi-directional data port. It includes pin 2 to pin 9 with pin names
Data0 to Data9. It is usually used for data output according to old “standard
parallel port” standard.

BIT PIN PIN


ADDRESS
NUMBER NAME NUMBER
Base +0 7 DATA 7 Pin 9
(e.g. 0 x
6 DATA 6 Pin 8
378
5 DATA 5 Pin 7
4 DATA 4 Pin 6
3 DATA 3 Pin 5
2 DATA 2 Pin 4
1 DATA 1 Pin 3
0 DATA 0 Pin 2

Status Port:
Status port is an input only port i.e. Data can’t be output on this port but it can
only be read.
Control port:
For printer purposes, it is write only port.

BIT PIN PIN


ADDRESS
NUMBER NAME NUMBER
Base +2 7 Unused
(e.g. 0 x
6 Unused
37A or
5 Enable
37AH Bidirectional
4 Enable IRQ
via Ack line
Select
3 Printer Pin 17 (Hardaware Inverted)
Initialise Pin 16
2 Printer
Auto Line
1 Feed Pin 14 (Hardaware Inverted)
0 Strobe Pin 1 (Hardaware Inverted)
Control Port

Parallel Port Addressing:


Parallel port is assigned a unique I/O address, which is generally among the
following:

Port
Name Address

LPT1 378h (Mostly the case)

LPT2 278h (Normally found when there are more than 1 parallel ports)

LPT3 3BCh (Rare case)

Logic high and logic low levels of parallel port:


In parallel port
• Logic high means a voltage of +5V w.r.t. ground.
• Logic low means a voltage of 0V w.r.t. ground.

Deviation from above ‘bit-logic level’ relation:


In case of hardware-inverted pins, the above described relation of bit and logic
level is reversed i.e. ‘1’ corresponds to 0V on port pin. Examples are pin no. 11
Busy and pin no. 1 Strobe.

You might also like