Transmission of Digital Data: Interface and Modems

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 40

Transmission of Digital Data :

Interface and Modems

1
Transmission of Digital Data :
Interface and Modems
 Background
 Digital Data Transmission
– Parallel
– Serial
 DTE-DCE Interface
 Modems

2
Background

Information Data Encoding Encoded


Information

Transmission Process

Signal
+
Communication Link
3
Digital Data Transmission

 Primary concern in data transmission


– Wiring
– Data stream
 Send one bit

 Send a group of bits

 Two modes of sending bit streams


– Parallel mode
– Serial mode

4
Digital Data Transmission

Data Transmission

Parallel Serial

Synchronous Asynchronous

5
Parallel Transmission

 Groups of n bits
 Send one group at one time
 Use n wires to send n bits
 Advantage
– Speed
 Disadvantage
– Cost (n wires to transmit n bits)
– Limited to short distances

6
Parallel Transmission

7
Serial Transmission

 One bit at one time


 Requires only one wire
 Requires conversion devices at the interface
between
– The sender and the line (parallel to serial)
– The line and the receiver (serial to parallel)
 Advantage
– Low cost

8
Serial Transmission

9
Serial Transmission
(Asynchronous)
 Asynchronous
– The timing of signal is unimportant
– Information is retrieved and translated upon
pattern
– Patterns : grouping bit streams into bytes
 Each group (usually 8) is sent as a unit

– The sending device sends each group without


regard to a timer

10
Serial Transmission
(Asynchronous)

11
Serial Transmission
(Asynchronous) (cont.)
 Method
– To alert the receiver :
 An extra bit (start bit -- 0) is added to the beginning of
each byte
 One or more extra bits are added to the end of the
byte
– Stop bits -- 1
 A gap (idle channel/streams of stop bits) is added at
the end of each byte
 Thus, start bit + stop bit + gap  alert the receiver
the begin and end of each byte

12
Serial Transmission
(Asynchronous) (cont.)
 Advantage
– Cheap
– Effective
 Example:
– Low speed communication
 Terminal  computer

13
Serial Transmission
(Synchronous)

14
Serial Transmission
(Synchronous)
 Synchronous Transmission
– Bit streams is combined into longer “frame”
– A frame may consist of multiple bytes
– No gap between each byte is added into a transmission
link
– The receiver has to separate the bit stream into bytes for
decoding purpose
– Timing is important in synchronous transmission
– Byte synchronization is performed at the data link layer
 Advantage
– Speed
  useful for high speed applications
15
DTE-DCE Interface

 DTE : Data Terminal Equipment


 DCE : Data Circuit-terminating Equipment

network

DTE DCE DCE DTE

16
DTE-DCE Interface

 Sending End
 The DTE
– generates the data and passes them to a DCE
 The DCE
– converts the signal to a format appropriate to a
transmission medium
– Sends it onto the network
 Receiving End
– This process is reversed

17
DTE

 Includes any unit that functions as a source


or a destination for binary data
 At the physical layer, it can be
– A terminal
– A computer
– A printer
– A fax machine, etc.
 DTEs do not communicate with other DTE
directly

18
DCE

 Includes any functional units that transmits


or receives analog/digital signal through a
network
 At the physical layer, ex. Modems
 Sending and receiving DCEs must use the
modulating method (e.g. FSK)

19
DTE-DCE Interface Standards

DTE-DCE standards try to define the mechanical,


electrical, and functional characteristics of the
connection between the DTE and the DCE

network

DTE DCE DCE DTE 20


EIA-232 Interface

 Previously called RS-232


 Defines the mechanical, electrical, and
functional characteristics of the interface
between a DTE and a DCE

21
EIA-232

 Mechanical Specification
– Interface
 25-wire cable

 Male and female DB-25 pin connector


attached to either end
 The cable length not > 15 meters (50 feet)

 Electrical Specification
– Defines the voltage levels and the type of signal
to be transmitted between DTE & DCE
22
EIA-232

 Sending the Data

23
EIA-232

 Control and Timing


– 4 wires are used for data functions
– 21 wires are reserved for functions like,
 Control

 Timing

 Grounding

 Testing

 etc.

24
EIA-232

A function is considered ON if it
Control and Timing transmits a voltage of at least +3 and
OFF if it transmits a voltage with a
value < -3 volts

25
EIA-232

 Functional Specification
– DB-25
– DB-9

26
EIA-232 : DB-25 (male)

27
EIA-232 : DB-25

28
EIA-232 : DB-25 (Control Pins)

29
EIA-232 : DB-25 (Timing Pins)

30
EIA-232 : DB-25 (Other Pins)

31
EIA-232 : DB-9

 Many of the pins in DB-25 implementation


are not necessary
 A 9-pin version of EIA-232 (called DB-9)
was developed

32
Syn
chr EIA-232 Functioning Example
ono
us
Full-
Dupl
ex

Tran
smis
sion

33
EIA-232 Functioning Example

34
Null Modem

 Modems are not needed to connect two computers


in the same room
 Need : an interface to handle the exchange
– Readiness establishment
– Data transfer
– Data receipt
– etc.
 A standard provided by the EIA to perform these
tasks, called NULL MODEM

35
Null Modem

36
Crossing Connections

37
Other Interface Standards

 IEA-449
– DB-37/DB-9
 RS-423/422
 EIA-530
 Etc.

38
Modems

 Modulator/demodulator
 Modulator
– Converts a digital signal into an analog signal
using ASK, FSK, PSK or QAM
 Demodulator
– Converts an analog signal into a digital signal

39
Modems

40

You might also like