Professional Documents
Culture Documents
DCN-PPT by Vinod Kumar
DCN-PPT by Vinod Kumar
CSL-424
Compiled By:
Vinod Kumar
Assistant Professor
School of Computer Applications
CONTENTS
Introduction to data communication.
Components of data communication
Data flow:- Simplex, Half duplex, Full deplex
Signals:- Analog and Digital signals.
Transmission media:- Guided and Unguided media
Data Transmission Types: Parallel and Serial
Synchronous and Asynchronous Transmission
www.cpur.in
What is Data Communications?
• Exchange of data between two devices via some forms
of transmission medium(such as wire cable) is Data
Communications.
• For data communications to occur, the communicating
devices must be part of a communication system
made of a combination of hardware and software.
• The effectiveness of a data communication system
depends on four fundamental characteristics:-
delivery, accuracy, timeliness and jitter.
www.cpur.in
Components of Data Communication:
www.cpur.in
The five components of data communication are:
www.cpur.in
Data flow can occur in three ways:
1. Simplex: In simplex mode, the communication is
unidirectional. Only one of the devices on a link can
transmit, the other can only receive. e.g. keyboards,
monitors, etc.
2. Half-duplex: In this mode, each station can both
transmit and receive, but not at the same time. When
one device is sending, the other can only receive, and
vice-versa. e.g. walkie-talkies, CB(citizens band) etc.
www.cpur.in
• 3.Full Duplex : In full duplex mode, both stations can
transmit and receive simultaneously. One common
example of full duplex is the Telephone network.
• When two people are communicating by a telephone
line, both can talk and listen at the same time. The
full-duplex mode is used when communication in both
directions is required all the time.
www.cpur.in
Signals
Signals
www.cpur.in
Analog Signals
• An analog signal are continuous and passes through or
includes an infinite number of continuous values along
its path. The curve representing the analog signal
passes through an infinite number of points.
www.cpur.in
Digital Signals:
• A digital signal can have only a limited number of
defined values. Although each value can be any
number, it is as simple as 1 and 0.
www.cpur.in
Transmission Media
• The means through which data is transformed from
one place to another is called transmission or
communication media.
• There are two categories of transmission media used
in computer communications.
www.cpur.in
Types of Transmission Media
Transmission Media
www.cpur.in
DATA TRANSMISSION:
• Data transmission refers to the
movement of data in form of
bits
www.cpur.in
DATA TRANSMISSION TYPES:
.
www.cpur.in
PARALLEL TRANSMISSION:
• All the bits of a byte are transmitted simultaneously
on separate wires.
www.cpur.in
PARALLEL TRANSMISSION: CONT‟D:
www.cpur.in
Serial Transmission
All the bits of a byte are transmitted serially one after
the other on same wire.
9
This diagram shows that 1 Wire is used to transfer
8-bit digital data.
Serial Transmission
E.g. Data transmission between computer and computer.
15
www.cpur.in
SYNCHRONOUS DATA TRANSFER :
In synchronous transmission, data transmission is
carried out under the control of a common master
clock.
Bytes are transmitted as a block in a continuous
stream of bits.
Transmitter and Receiver operate at synchronised
clock frequencies.
No „start‟ and „stop‟ bits are used.
16
No need of ideal time between data bytes.
In synchronous transmission timing of signal is
important.
www.cpur.in
DIAGRAMMATIC REPRESENTATION :
17
www.cpur.in
ASYNCHRONOUS DATA
Asynchronous means “at a regular interval”.In this
method data transfer is not based on
predetermined timing pattern in this technique the
status of the IO device is checked by the
microprocessor before the data is transferred.
It is used in between the devices that are not
match in speed.
19
www.cpur.in
ASYNCHRONOUS DATA TRANSFER :
known as gaps.
In asynchronous transmission timing of signal is not
important.
www.cpur.in
DIAGRAMMATIC REPRESENTATION :
26 www.cpur.in
METHODS USED IN ASYNCHRONOUS DATA TRANSFER:
1. Strobe Control
2. Handshaking
27 www.cpur.in
STROBE CONTROL:
Strobe control method of data transfer uses a single
control signal for each transfer.
28 www.cpur.in
SOURCE INITIATED STROBE:
The Data Bus carries the binary information from source unit to
the destination unit.
Data bus
Source Destination
Unit Strobe
Unit
Block diagram
The Strobe Pulse informs the destination unit when a valid
data word is available in the bus.
Typically, the bus has multiple lines to transfer an entire byte
30 or
word.
www.cpur.in
REAL LIFE EXAMPLE:
30 www.cpur.in
DESTINATION INITIATED STROBE:
The strobe initiated by destination.
Data bus
Source Destination
Unit Strobe
Unit
The Data Bus carries the binary information from source unit
to the destination unit.
31 www.cpur.in
DISADVANTAGE OF STROBE SIGNAL
• In SOURCE INITIATED DATA TRANSFER the source
unit has no way of knowing whether destination
unit has received the data or not.
32 www.cpur.in
HANDSHAKING
Handshaking mechanism solves the problem of strobe
method by introducing a second control signal that
provides a reply to the unit that initiate the transfer.
33 www.cpur.in
.
www.cpur.in