Professional Documents
Culture Documents
DATA COMMUNICATION
Prepared by
P SAJID AKRAM
Lecturer/ ECE
CAHCET
Introduction
Terminologies of Data communication
Data- Information that has been processed, organized
and stored.
Data communication-transmission, reception &
processing of digital information.
Network/ nodes/ stations- set of devices interconnected
by media links
Simple- two computers or a computer with a printer
Complex- one or more main frame computers with a
thousand remote terminals.
Telecommunication Sector(ITU-T)
American National Standard Institute(ANSI)
Institute of Electrical and Electronics Engineers(IEEE)
Electronics Industry Association(EIA)
Data Transmission
Data Transmission means movement of the bits over a
transmission medium connecting two devices
Two types of Data Transmission are:
Parallel Transmission
Serial Transmission
Parallel Transmission
In this all the bits of a byte are transmitted simultaneously on
separate wires.
Practically, if two devices are close to each other e.g. Computer to
Printer, Communication within the Computer
Serial Transmission
Bits are transmitted one after the other
Usually the Least Significant Bit (LSB) is transmitted first
Suitable for Transmission over Long distance
Less speed but simple circuit
Multipoint configuration
Transmission Modes
Simplex
signals transmitted in one direction
eg. Television
Half duplex
both stations transmit, but only one at a time
eg. police radio
Full duplex
simultaneous transmissions
eg. telephone
Network topologies
It describes the layout or appearance of a network
A multi point topology connects 3 or more stations through
Bus topology-
Coaxial
cable
BNC T-Connector
Star topology-
Ring topology
Every computer serves as a repeater to boost signals
Disadvantages
If one computer fails, whole network fails
Mesh topology
Each and every node of the network is interconnected
Hybrid topology
Combination of two or more topologies
2)
Graphic control:
Presentation of data at the receivers
3)
Alpha/numeric characters:
Various alphabets, numbers, etc.
CHARACTER CODES
Various character codes have been used in data
communication including:
Morse, Baudot
EBCDIC, ASCII
Unicode
Bar code
MORSE CODE
BAUDOT CODE
One of first codes developed for machine to machine
communication
Uses 1s and 0s instead of dots and dashes
For transmitting telex messages (punch tape)
Fixed character length (5-bits)
32 different codes
increased capacity by using two codes for shifting
11111 (32)
Shift to Lower (letters)
11011 (27) Shift to Upper (digits, punctuation)
4 special codes for SP, CR, LF & blank
Total = 26 + 26 + 4 = 56 different characters
BAUDOT CODE
EBCDIC
Extended Binary Coded Decimal Interchange Code
8-bit character code developed by IBM
used for data communication, processing and storage
extended earlier proprietary 6-bit BCD code
designed for backward compatibility or marketing?
still in use today on some mainframes and legacy systems.
EBCDIC CODE
ASCII CODE
American Standard Code for Information Interchange
7-bit code developed by the American National Standards Institute
(ANSI)
most popular data communication character code today
Error control
What is error?
Types of error:
Single bit error
Burst error
Error detection:
i.
ii.
iii.
iv.
v.
redundancy
parity
checksum
longitudinal and horizontal redundancy check
Cyclic redundancy check(CRC)
Error Correction
1. Retransmission
Hamming code
Number of redundancy bits needed
Let data bits = m
Redundancy bits = n
Total message sent = m+r
The value of n must satisfy the following relation:
2n m+n+1
??????
Host
Secondary or remote
called as UART/USRT
UART- Universal asynchronous receiver/transmitter
USRT- Universal synchronous receiver/transmitter
INTELs USART 8251
Motorolas UART asynchronous communication interface
adapter(ACIA)
UART TRANSMITTER
Control word
To indicate no of bits, nature of parity, and the no of stop
bits
Receiver of UART
reset
UART)
Transceiver of USRT
Interfaces
Serial Interface
Serial communication is the most
length).
Defines a 25 wire cable with a DB 25S/9S connector.
Data rate of up-to 20kbps for a distance of 50ft
driver, terminator, noise margin
Control pins
Timing pins
Miscellaneous
Parallel interface
Transfers data between two devices eight or more bits at
a time.
Also referred to as serial by word transmission
advantage: faster transmission
Disadvantage: higher cost for transmission
Eg: Centronics parallel interface, IEEE 488 bus
to computer
ACK: acknowledge, active low, response to STB line
Busy: active high, and goes high anytime printer is busy
Data Modems
Need for modem
To interface computers, computer networks, and other digital
terminal equipment with analog communication lines and radio
channel
What is modem
modulator and demodulator
Modem @ transmitter:
Digital signals modulate an analog carrier
Modem @ receiver:
Analog signals are demodulated and converted to digital signals
Types of modems
Broad classification can be made as:
Synchronous modems:
Clocking information is recovered at the receiver
Use PSK or QAM modulation technique
Used for mostly medium and high speed applications(up to
57.6kbps)
Asynchronous modems:
No clocking information is sent
Mostly use ASK/ FSK
Restricted to use for low speed applications(< 2.4 kbps)
Asynchronous modems
Example of asynchronous modems are
Synchronous modems
Used for medium and high speed modems
For medium speed:
QPSK for 2.4Kbps(eg: Bell Systems 201C)
8-PSK for 4.8 Kbps(eg: Bell Systems208A)
Both are full duplex, 4 wire systems
For high speed:
16-QAM for a 9.6Kbps(eg: Bell Systems 209A)
Full duplex, four wire transmission
Modem control
Initial modems- dumb modems
Basic function include only modulation and demodulation
Intelligent modems- smart modems
Consists of mostly microprocessor which performs routine function
commands.
Most widely used are AT command set or Hayes
command set
Has two modes of operation:
AT command mode
AT on-line mode
AT command mode
When a modem is not communicating with any other
online mode
In this, modem accepts information and allows them to
modulate its carrier before transmission
To switch from online to command mode, DTE transmits
consecutive three plus sign(+++). This sequence is called
as escape code.
Any doubts????????????