EC 603 (A) - Data Comm Lab Manual
EC 603 (A) - Data Comm Lab Manual
EC 603 (A) - Data Comm Lab Manual
ELECTRONICS
AND
COMMUNICATION
LAB MANNUAL
VLSI DESIGN/EC8001
1
EXPER. CONTECT OF EXPERIMENT PAGE NO.
NO.
3
Constellation diagram for QPSK with Gray coding. Each adjacent symbol
only differs by one bit.
Sometimes known as quaternary or quadriphase PSK or 4-PSK, QPSK uses
four points on the constellation diagram, equispaced around a circle. With
four phases, QPSK can encode two bits per symbol, shown in the diagram
with Gray coding to minimize the BER — twice the rate of BPSK. Analysis
shows that this may be used either to double the data rate compared to a
BPSK system while maintaining the bandwidth of the signal or to maintain
the data-rate of BPSK but halve the bandwidth needed.
Although QPSK can be viewed as a quaternary modulation, it is easier to see
it as two independently modulated quadrature carriers. With this
interpretation, the even (or odd) bits are used to modulate the in-phase
component of the carrier, while the odd (or even) bits are used to modulate
the quadrature-phase component of the carrier. BPSK is used on both
carriers and they can be independently demodulated
BLOCK DIAGRAM:-
Carrier
Generator
5
Carrier
Modulation
CRO
Circuit
Data Unipolar to
Generator Bipolar
Carrier
Modulation
Circuit
Data Unipolar to
Generator Bipolar
Converter Summing
amplifier
CRO
Qudrature
Carrier
Generator Carrier
Modulation
Circuit
Data Unipolar to
Generator Bipolar
Converter
PROCEDURE:-
1. Make the connection according to the circuit diagram.
2. Connect the modulator output to CRO.
3. Observe output on CRO.
WAVE FORM:-
RESULT:-
PSK and QPSK output is obtained on CRO.
EXPERIMENT NO – 2
THEORY: -
A parallel port sends and receives data eight bits at a time over 8 separate
wires. This allows data to be transferred very quickly; however, the cable
required is more bulky because of the number of individual wires it must
contain. Parallel ports are typically used to connect a PC to a printer and are
rarely used for much else. A serial port sends and receives data one bit at a
time over one wire. While it takes eight times as long to transfer each byte
of data this way, only a few wires are required. In fact, two-way (full duplex)
communications is possible with only three separate wires - one to send, one
to receive, and a common signal ground wire.
RS-232 stands for Recommend Standard number 232 and C is the latest
revision of the standard. The serial ports on most computers use a subset of
the RS-232C standard. The full RS-232C standard specifies a 25-pin "D"
connector of which 22 pins are used. Most of these pins are not needed for
normal PC communications, and indeed, most new PCs are equipped with
male D type connectors having only 9 pins.
The RS-232 standard states that DTE devices use a 25-pin male connector,
and DCE devices use a 25-pin female connector. You can therefore connect a
DTE device to a DCE using a straight pin-for-pin connection. However, to
connect two like devices, you must instead use a null modem cable. Null
modem cables cross the transmit and receive lines in the cable, and are
discussed later in this chapter. The listing below shows the connections and
signal directions for both 25 and 9-pin connectors.
The TD (transmit data) wire is the one through which data from a DTE
device is transmitted to a DCE device. This name can be deceiving, because
this wire is used by a DCE device to receive its data. The TD line is kept in a
mark condition by the DTE device when it is idle. The RD (receive data) wire
is the one on which data is received by a DTE device, and the DCE device
keeps this line in a mark condition when idle.
RTS stands for Request To Send. This line and the CTS line are used when
"hardware flow control" is enabled in both the DTE and DCE devices. The
DTE device puts this line in a mark condition to tell the remote device that it
is ready and able to receive data. If the DTE device is not able to receive
data (typically because its receive buffer is almost full), it will put this line in
the space condition as a signal to the DCE to stop sending data. When the
DTE device is ready to receive more data (i.e. after data has been removed
from its receive buffer), it will place this line back in the mark condition. The
complement of the RTS wire is CTS, which stands for Clear To Send. The
DCE device puts this line in a mark condition to tell the DTE device that it is
ready to receive the data.
DTR stands for Data Terminal Ready. Its intended function is very similar
to the RTS line. DSR (Data Set Ready) is the companion to DTR in the same
way that CTS is to RTS. Some serial devices use DTR and DSR as signals to
simply confirm that a device is connected and is turned on.
The RS-232C standard imposes a cable length limit of 50 feet. You can
usually ignore this "standard", since a cable can be as long as 10000 feet at
baud rates up to 19200 if you use a high quality, well shielded cable. The
external environment has a large effect on lengths for unshielded cables. In
electrically noisy environments, even very short cables can pick up stray
signals
Diagram :
25 Pin Connector on a DTE device (PC connection)
Pin Number
9 Pin Connector on a DTE device (PC connection)
The physical topology of a network refers to the configuration of cables, computers, and other peripherals. Physical
topology should not be confused with logical topology which is the method used to pass information between
workstations.
• Star Topology
• Ring Topology
• Bus Topology
• Tree Topology
• Mesh Topology
• Hybrid Topology
More complex networks can be built as hybrids of two or more of the above basic topologies.
Star Topology
Many home networks use the star topology. A star network features a central connection point called a "hub" that
may be a hub, switch or router. Devices typically connect to the hub with Unshielded Twisted Pair (UTP) Ethernet.
Compared to the bus topology, a star network generally requires more cable, but a failure in any star network
cable will only take down one computer's network access and not the entire LAN. (If the hub fails, however, the
entire network also fails.)
Bus Topology
l
Ethernet bus topologies are relatively easy to install and don't require much cabling compared to the alternatives.
10Base-2 ("ThinNet") and 10Base-5 ("ThickNet") both were popular Ethernet cabling options many years ago for
bus topologies. However, bus networks work best with a limited number of devices. If more than a few dozen
computers are added to a network.l
• More expensive than linear bus topologies because of the cost of the concentrators.
The protocols used with star configurations are usually Ethernet or LocalTalk. Token Ring uses a similar topology,
called the star-wired ring.
The physical topology of a network refers to the configuration of cables, computers, and other peripherals. Physical
topology should not be confused with logical topology which is the method used to pass information between
workstations.
In networking, the term "topology" refers to the layout of connected devices on a network.
• Star Topology
• Ring Topology
• Bus Topology
• Tree Topology
• Mesh Topology
• Hybrid Topology
Tree Topology
Tree topologies integrate multiple star topologies together onto a bus. In its simplest form, only hub devices
connect directly to the tree bus, and each hub functions as the "root" of a tree of devices. This bus/star hybrid
approach supports future expandability of the network much better than a bus (limited in the number of devices
due to the broadcast traffic it generates) or a star (limited by the number of hub connection points) alone.
Advantages of a Tree Topology
• Point-to-point wiring for individual segments.
THEORY: -
The word "modem" is a contraction of the words modulator-demodulator. A modem is typically used to send
digital data over a phone line.
The sending modem modulates the data into a signal that is compatible with the phone line, and the receiving
modem demodulates the signal back into digital data. Wireless modems convert digital data into radio signals
and back.
Modems came into existence in the 1960s as a way to allow terminals to connect to computers over the phone
lines. A typical arrangement is shown below:
Types of Modem
Internal
Internal modems are Compact, Inexpensive but difficult to set-up (if not pre-installed with computer package).
External
External modems are - Simple to set up, allow flexible usage but are more expensive than internal modems.
In a configuration like this, a dumb terminal at an off-site office or store could "dial in" to a large, central
computer. The 1960s were the age of time-shared computers, so a business would often buy computer time from
a time-share facility and connect to it via a 300-bit-per-second (bps) modem.
A dumb terminal is simply a keyboard and a screen. A very common dumb terminal at the time was called the
DEC VT-100, and it became a standard of the day (now memorialized in terminal emulators worldwide). The VT-
100 could display 25 lines of 80 characters each. When the user typed a character on the terminal, the modem sent
the ASCII code for the character to the computer. The computer then sent the character back to the computer
so it would appear on the screen.
People got along at 300 bps for quite a while. The reason this speed was tolerable was because 300 bps represents
about 30 characters per second, which is a lot more characters per second than a person can type or read. Once
people started transferring large programs and images to and from bulletin board systems, however, 300 bps
became intolerable.
• 2400 bps
• 28.8 Kbps
• 33.6 Kbps
• ADSL, with theoretical maximum of up to 8 megabits per second (Mbps) - Gained popularity in 1999
DIAGRAM: -
-
RESULT: - Different types of modems are studied.
EXPERIMENT NO – 6
THEORY: -
Ethernet Cables
Comparison between CAT5, CAT5e, CAT6, CAT7 Cables
In the context of the 100-ohm UTP (Unshielded Twisted Pair) type of cable used for Ethernet wiring the only
categories of interest are Cat3, Cat4, Cat5, Cat5e, Cat6, and Cat7. CATx is an abbreviation for the category
number that defines the performance of building telecommunications cabling as outlined by the Electronic
Industries Association (EIA) standards. Some specifications for these categories are shown further down.
Up until the late 1980s thick or thin coaxial cable was typically used for 10-Mbps Ethernet networks, but around
that time, UTP cabling became more commonly used because it was easier to install and less expensive. UTP CAT3
and CAT4 were used for a quite limited time since the emergence of 100Base-TX networks meant a quick shift to
CAT5. By the year 2000, moves to gigabit (1000Base-TX) Ethernet LANs created a need for another specification,
CAT5e. CAT5e is now being superseded by CAT6 cable and there is a developing standard for CAT7.
Specifications for Cat3, Cat4, Cat5, Cat5e, Cat6, and Cat7 Cables
Cat3 UTP 16 MHz 100m 10Base-T, 4Mbps Now mainly for telephone cables
Cat5 UTP 100MHz 100m 100Base-Tx,ATM, CDDI Common for current LANs
It might seem that CAT5 and CAT5e are the same. Pretty much they are, the CAT5e specification simply included
some additional limits over the CAT5 specification. The reality is that most CAT5 cable is in fact CAT5e cable just
not certified as such. Here is a comparison of those extra specifications.
CAT5, CAT5e, and CAT6 UTP Solid Cable Specifications Comparison
Characteristic Impedance 100 ohms ± 15% 100 ohms ± 15% 100 ohms ± 15%
Some modern hubs don't care if you use crossover cables or straight through cables, they work out what you're
using and configure themselves accordingly.
As stated at the outset, the actual difference is in the wiring. Inside the UTP patch cable there are 8 physical wires
although the network only uses 4 of them (the other 4 are simply wasted). The 8 wires are arranged in what's
known as pairs and one pair is used to send information whilst the other pair is used to receive information.
On a PC, the pair on pins 1 and 2 of the connector send information, whilst the pair on pins 3 and 6 receive the
information. To make PCs talk to each we therefore need to connect the send pair of one PC to the receive pair of
the other PC (and vice-a-versa). That means we need a crossover cable. If we used a straight through cable the
both be listening on the one pair - and hearing nothing, and sending on the one pair - achieving nothing.
The most common cable is the straight through cable. In a home or small office network you might only have one
crossover cable used - perhaps from the cable or DSL modem to the distribution hub.
Color Codes
If a cable has 568A color wiring on both ends then it's a straight through cable.
If a cable has 568B color wiring on both ends then it's also a straight through cable.
If a cable has 568A color wiring on one end and 568B color coded wiring on the other end, then it's a
crossover cable.
In fact, while the colors are standardized and usually followed, that's not the important part. What's more
important is that one "pair" (wires that are twisted together inside the cable sheath) is used for the transmit side
and another pair for the receive side. If pairs aren't used then it's likely your cable will not work. Pairs are
identified by the colors. The orange wire and the orange with white stripe (or sometimes white with orange stripe)
wire are a pair. The brown wire and the brown with white stripe wire are a pair. Etc.
DIAGRAM: -