Serial Data Communication
Serial Data Communication
Serial Data Communication
most merciful
Group Members
Types
of data transmission
o Parallel
Serial
& Serial
Communication
o Synchronous
& Asynchronous
Transmission Illustration
Serial
Parallel
Receiver
Receiver
Transmitter
Transmitter
1 bit
1 word
Serial Communication
Byte
b0 b1 b2
b3 b4 b5
b6 b7
Serial
Communication
b0
b1
b2
b3
b4
b5
b6
b7
Byte
b0 b1 b2
b3 b4 b5
b6 b7
B
Bit by bit transmission of information in series
Parallel Transmission
Multiple
links
Parallel Communication
b1
Byte
b2
b0
b1
b2
b3
b4
b5
b6
b7
b3
b4
b5
b6
b7
Data Transmission
Parallel
Serial
Cost
Cheap
Expensive
Speed
Slow
Fast
Transmission
Amount
Single bit
TransmissionLi
nes
TransmissionD
istance
Example
Modem
Synchronous
clock signal wire is used by both receiver and sender to sample data
Asynchronous
Differential Signal
Fun Fact: Longest ever deep sea Fiber-Optic cable will run
through thawing artic between UK and Japan (thats 9,693
miles of cable!)
18
Module
Newer Serial Communication Technologies:
Universal Serial Bus (USB)
Higher speed
Faster than the RS-232 port that operates in the region of 115+ K bps
Computer
Device 3
USB
Port
Device 2
In
Device 1
Out
Computer
USB
Port
In
Device 3
Device 2
Hub
Out
GUI of Project
Enter the
transmitted Words
Display Received
Words
om port
Button
ton
Enter Regular
Expression
Display Nbr# of
Total inputs
Flow Chart
Future Scope
Since the networking through serial port is bit slow, same idea can be implemented through the USB port which is
quite fast as compared to the serial port.Implementing networking by means of the USB port involves the writtng
of a USB driver. This USB driver is embedded with the network driver written for serialport.
Some Basic Concepts of USB Port
The Universal Serial bus was originally designed with following intentions:
Connection of the PC to the telephone
Ease-of-use
Port expansion.
The USB is strictly hierarchical and it is controlled by one host. The host uses a master / slave protocol to
communicate with attached USB devices. This means that every kind of communication is initiated by the host
and devices cannot establish any direct connection to other devices. This seems to be a drawback in comparison
to other bus architectures but it is not because the USB was designed as a compromise of costs and performance.
The master / slave protocol solves implicitly problems like collision avoidance or distributed bus arbitration. The
current implementation of the USB allows 127 devices to be connected at the same time and the total
communication bandwidth is limited to 12Mbit/s. Howewer use of low speed devices, management of USB
"interrupts" and other overheads mean that actual throughput cannot exceed about 8.5Mbit/s under near ideal
conditions, and typical performance may be around 2Mbit/s.
Conclusion:
This project can be used extensively inorder to establish adhoc networks between systems. It
provides a cheaper alternative for ethernet cards in situations where we are forced to establish a
network temporarily for some specific purpose.Even though the serial port network is slow as
compared to the ethernetcard, but provided the cost benefits it can be used very effectively.
Besides this, this project is also a good example for those who are interested in understanding the
complexities of the network interface. This project provides a study model for those interested in
networking. Since the serial ports are used for communication, the data transmission rate is low. But
the project demonstrate how powerful the network drivers are.