data transmission - lsrsssgroup.files.wordpress.com · serial data transmission..... (ii) parallel...

15
Data Transmission Serial and Parallel Transmission

Upload: others

Post on 23-Jul-2020

25 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Data Transmission - lsrsssgroup.files.wordpress.com · Serial data transmission..... (ii) Parallel data transmission..... (b) A computer in a factory is connected to a printer. The

Data Transmission

Serial and ParallelTransmission

Page 2: Data Transmission - lsrsssgroup.files.wordpress.com · Serial data transmission..... (ii) Parallel data transmission..... (b) A computer in a factory is connected to a printer. The

What is meant by transmission of data?• The movement of data in the form of bits between two devices

▪ From one computer to another

▪ From keyboard to CPU

▪ From CPU to printer

•Bits are sent as electric signals▪Presence of electricity = ON = 1

▪Absence of electricity = OFF = 0

•Data travels through a transmission media - usually cables or wires.

2

Page 3: Data Transmission - lsrsssgroup.files.wordpress.com · Serial data transmission..... (ii) Parallel data transmission..... (b) A computer in a factory is connected to a printer. The

Data Transmission Methods

Two methods :

1. Serial data transmission

2. Parallel data transmission.

3

Page 4: Data Transmission - lsrsssgroup.files.wordpress.com · Serial data transmission..... (ii) Parallel data transmission..... (b) A computer in a factory is connected to a printer. The

Serial data transmission Data is transmitted

•One bit at a time

•Along a single wire.

5

Page 5: Data Transmission - lsrsssgroup.files.wordpress.com · Serial data transmission..... (ii) Parallel data transmission..... (b) A computer in a factory is connected to a printer. The

Serial data transmission Benefits

• Single wire means there is less chance of interference or data

corruption

• Single wire means it is less expensive

• More reliable for sending data over long distances

• No problem of data synchronization at destination (Bits are in order)

Drawback

• Data is transmitted at a slower rate than parallel data transmission.

6

Page 6: Data Transmission - lsrsssgroup.files.wordpress.com · Serial data transmission..... (ii) Parallel data transmission..... (b) A computer in a factory is connected to a printer. The

Uses of serial data transmission

▪Connecting a device to the computer using a

USB port

▪Connecting the computer to a modem

7

Page 7: Data Transmission - lsrsssgroup.files.wordpress.com · Serial data transmission..... (ii) Parallel data transmission..... (b) A computer in a factory is connected to a printer. The

USB• USB means Universal Serial Bus

• Uses serial data transmission method

• It has become the standard method for

transferring data between a computer and a

number of devices.

8

Page 8: Data Transmission - lsrsssgroup.files.wordpress.com · Serial data transmission..... (ii) Parallel data transmission..... (b) A computer in a factory is connected to a printer. The

Benefits of using USB connections betweena computer and a device

• Devices are automatically detected when connected for the first time

• The connector only fits one way so impossible to connect a device

incorrectly

• Has become the industry standard – nearly all devices use USB

• Supported by many operating systems – Windows, Apple, Android …

• Faster transmission speed compared to wireless.

9

Page 9: Data Transmission - lsrsssgroup.files.wordpress.com · Serial data transmission..... (ii) Parallel data transmission..... (b) A computer in a factory is connected to a printer. The

Textbook -USB Benefits and drawbacks▪From text book – read page 16

10

Page 10: Data Transmission - lsrsssgroup.files.wordpress.com · Serial data transmission..... (ii) Parallel data transmission..... (b) A computer in a factory is connected to a printer. The

Parallel data transmissionData is transmitted:

•Multiple bits at a time •On separate lines

To transmit 1 byte (8 bits) , we will need 8 wires

To transmit n bits, we will need n wires.

11

Page 11: Data Transmission - lsrsssgroup.files.wordpress.com · Serial data transmission..... (ii) Parallel data transmission..... (b) A computer in a factory is connected to a printer. The

Parallel data transmissionBenefits:

• Faster than serial transmission

• Suitable for transmission over short distances

Drawback:

•Uses more wires, hence more costly than serial transmission

• Over longer distances, the bits may no longer be synchronized

(bits are received in the wrong order).

12

Page 12: Data Transmission - lsrsssgroup.files.wordpress.com · Serial data transmission..... (ii) Parallel data transmission..... (b) A computer in a factory is connected to a printer. The

Uses of parallel data transmission• Sending data from a computer to a printer

• Internal data transfer

▪Between the CPU and memory

▪Data transfer inside Integrated circuits, buses and other internal

components

▪ Because:

▪Data travels very small distances

▪High transmission speed is achieved.

13

Page 13: Data Transmission - lsrsssgroup.files.wordpress.com · Serial data transmission..... (ii) Parallel data transmission..... (b) A computer in a factory is connected to a printer. The

Choosing between serial or parallel transmissionWe need to consider the following:

1. Distance from sender to receiver

• Which one to choose when distance is short/long?

2. Transmission speed

▪ Which one offers higher transmission speed?

3. Cost

▪ Which type of transmission costs less?

4. Reliability

▪ Which transmission type is more reliable (less errors)?

14

Page 14: Data Transmission - lsrsssgroup.files.wordpress.com · Serial data transmission..... (ii) Parallel data transmission..... (b) A computer in a factory is connected to a printer. The

Homework 1

1. Computer Science Workbook

• Page 13 Q 2

• Page 14 Q 3 (a) , (b) , (c)

15

Page 15: Data Transmission - lsrsssgroup.files.wordpress.com · Serial data transmission..... (ii) Parallel data transmission..... (b) A computer in a factory is connected to a printer. The

Homework 12. (a) Explain what is meant by:

(i) Serial data transmission

...........................................................................................................................................

(ii) Parallel data transmission

...........................................................................................................................................

(b) A computer in a factory is connected to a printer. The printer is located in an office 1 km away from the factory.

Identify which data transmission method would be most suitable for this connection.

...................................................................................................................................................

Give two reasons for your choice.

1 ................................................................................................................................................

2 ................................................................................................................................................

16