Docsity

Local Asynchronous Communication - Computer Network - Lecture Slides, Slides of Computer Networks

Partial preview of the text

Download Local Asynchronous Communication - Computer Network - Lecture Slides and more Slides Computer Networks in PDF only on Docsity!

CHAPTER No. 5

LOCAL ASYNCHRONOUS

COMMUNICATION

(RS-232)

Introduction

 Computers use binary digits (0s and 1s) (bits) to represent data

 Computers communicate by sending bits through a transmission medium (i.e. cable, air).

 This chapter describes how electric current is used to send digital information across Short Distances

Using Electric Current to

Send Bits

 A small electric current is used to encode data

 Example: Negative voltage to represent a 0

bit, positive voltage to represent a 1 bit.

Standards For Communication

 Standard specifies both the timing of the signals and the electrical details of voltage and current

RS232-C (by EIA) is one of the most widely used standard to transfer characters between a computer and a device such as modem, keyboard etc.

 RS-232 defines a serial (bits are sent one after another) asynchronous communicationDocsity.com

Baud Rate, Framing, And Errors

Baud rate :

  • The number of changes in the signal per second

 For simple RS-232, Baud rate = Number of bits/sec

 If the voltage measurements do not all agree or if the stop bit does not occur exactly at the same time expected, framing errors occur

Full-Duplex Asynchronous Comm

 Electrical circuits require at least two wires, one of them to carry the data signal, the other is used as the return path, called ground

 Simultaneous transfers in two directions are known as full-duplex transmission