Report On PC To PC Laser Communication
Report On PC To PC Laser Communication
This paper illustrates the concept of free space optical communication in order
to fabricate physical connections between two systems which have a line of
sight arrangement, using serial communication for transfer of data. MAXIM
Corporation’s IC MAX 232 is used, it needs only a single power supply of 5V
(for TTL to RS-232 and vice-versa) level conversion and then an optical
transmitter circuit is used to transmit data via fiber optic cable. There is a
combination of laser and photodiode for transmitting and receiving the data
respectively. We point the laser beam of transmitting module to fall on the
photodiode of the receiving module connected to the other PC and vice-versa.
The whole set up is kept in a dark box preferably black in color to avoid any
reflection. The communication over the short distance of 2-3 m is possible using
IR diodes. The range could be increased up to few meters, using the laser diode
module in place of IR LEDs. The only need for fiber optic communication is felt
because it is cheaper and corresponds to fewer losses.
1
CHAPTER 1
INTRODUCTION
For several years the use of laser light has been merely for piping light around
the dark corners or inaccessible places to allow the hidden objects to be seen,
but now laser has evolved its use and its advantage in comparison to
conventional coaxial cable or twisted wire pairs is manifold. It has evolved its
use in field of telecommunication, by carrying information over larger
distances. The laser light has less transmission losses and is not susceptible to
electromagnetic interference. It is highly focused and due to its focusing nature
it has various applications in the field of surgery. Today, lasers have become one
of the world’s most efficient technologies and have found its use in industries
ranging from information technology to telecommunications, medicine,
consumer electronics, law enforcement, military equipment, entertainment and
manufacturing. Furthermore the free space optical communication involves use
of infrared laser light or LED. LED is used mainly for low data rate
communication over short distance. The Infrared Data Association (IrDA)
provides specifications for a complete set of protocols. Main feature of this type
of wireless optical communication is physically securing data transfer, line-of-
sight (LOS) and very low bit error rate (BER) that makes it very efficient.
CHAPTER 2
2
SYSTEM OVERVIEW
3
1) The arrangement is easy.
2) It is used to power a variety of devices.
3) It has long range of operation in contrast with the radio communication.
4) It has high bit rates and lower bit error rates.
5) It is immune to electromagnetic interference.
6) It has full duplex operation.
There are a few factors which limit its range, such as:
1) Beam dispersion.
2) Atmospheric absorption.
3) Rain.
4) Snow.
5) Interference from background light sources.
6) Pollution.
These factors lead to higher bit error rate because of an attenuated receiver
signal. These factors can be overcome by implementing multi beam or multi
path architectures involving more than on sender and receiver.
2.2. Laser
Laser is an acronym used for Light Amplification by stimulated emission of
radiation. It emits light by the process called optical amplification based on
stimulated emission. Lasers are devices that amplify light and produce coherent
light beams, ranging from infrared to ultraviolet. A light beam is coherent when
its waves, or photons, propagate in step with one another. Laser light, therefore,
can be made extremely intense, highly directional, and very pure in color
(frequency). Laser devices now extend into the X-ray frequency range. Masers
are similar devices for microwaves.
4
Figure 2.2.a): Laser Communication
5
Figure 2.2: Laser Mechanism
6
Figure 2.2.1. a): Three level Laser energy diagram
7
Figure 2.2.1.b): Cross section of a Ruby laser
8
1) D-TYPE 25 pin connector
2) D-TYPE 9 pin connector, which are male connectors on the back of the PC.
We need a female connector on our communication from Host to Guest.
The advantages of using serial data transfer rather than parallel:-
1) Serial cables are longer than Parallel cables. The serial port transmits a '1' as
-3 to -25 volts and a '0' as +3 to +25 volts whereas a parallel port transmits a '0'
as 0v and a '1' as 5v. Therefore the serial port can have a maximum swing of
50V whereas the parallel port has a maximum swing of 5 Volts. Therefore cable
loss is not going to be as much of a problem for serial cables then it is for
parallel cables.
2) Lesser wires are required in comparison to parallel transmission. If a device
needs to be mounted at a far distance from the computer then 3 core cables
(Null Modem Configuration) is going to be a lot cheaper that running 19 or 25
core cable. However the cost of the interfacing at each end must be taken into
account.
3) Microcontrollers have in built SCI (Serial communication interfaces). Serial
communication reduces the pin count of MPU.
9
Transistor-transistor logic (TTL) is a logic built from BJTs and resistors. It
performs the function of logical AND as well as amplification. 7401 IC series is
used. Schmitt trigger is a comparator circuit based on hysteresis implemented
by applying a positive feedback to the non-inverting input of a comparator or
differential amplifier. It is known as a trigger because the output holds the value
till the time input changes sufficiently to trigger a change.
CHAPTER 3
10
COMPONENT DESCRIPTION
3.1. LED
LED stands for light emitting diode, which is a semiconductor light source
having the properties intermediate to the incandescent light bulb and laser. LED
is incoherent source of light as well as divergent. Energy is released in the form
of the photons. The color of the corresponding LED is derived by the
corresponding energy of the photons. The power density of LED being low is
the major reason of not including that in the project. The other factors that
govern the use of LASER over LED are as follows:
1) LED is a non-coherent source of light and further diffraction is common in
LED as compared to the LASERS which are coherent sources.
2) In LEDs a lot of energy is wasted in random constructive and destructive
interference, while LASERS are perfect for targeting the specific areas which
governs the overall working of our project.
3.2. Photodiode
11
A photodiode is a simple semi-conductor device, with a p-n junction and an
intrinsic layer between p and n layers used to convert light into current or
voltage. Photo diode has two terminals: anode and cathode.
12
The covalent bonds present in the depletion region are very weak in nature.
When light is incident on the pn junction electron and hole start to form. The
flow of electron and holes create a current.
CHAPTER 4
13
OPERATION
In this project our main concern is to transmit data serially between two
PCs placed at a distance. This can be achieved easily by fabricating the
following parts-
1) Transformer.
2) Power supply
3) Rectifier
4) PCB
5) Schmitt trigger
6) MAX232
7) RS232
8) Laser
9) Photodiode
The transformer is used to regulate power from 220V supply to 5V or 12V.
Further the power supply circuit has voltage regulator, bridge or center tap
rectifier and capacitor to rectify the ripples. Since we can place the transmitter
and receiver side at a distance we use two transformer and two power supply
circuits. The MAX232 IC is used to convert the logic from RS232 serial port
and transmit it over the PC. The Schmitt trigger is used to smoothen the wave
pattern. The two PC’s can be installed with a software called Docklight which
specializes in handling the RS232 serial port. The baud rate is set to 2400 for
error free transmission and the setup of laser and photodiode always maintains
line of sight.
14
The power supply circuit consists of bridge rectifier along with shunt
capacitance filter and voltage regulator. The transformer is used to convert the
220V supply voltage to 12 V; this is done by using a step down transformer. The
diodes are so arranged to form a bridge rectifier or a center tap rectifier in order
to correct the waveform, further it has capacitor to remove the ripples and
voltage regulator to transform the voltage level to 5V or 12V as per the need.
4.2. Transformer
15
2) Step up Transformer: If there are more turns of wire on the secondary coil
than on the primary coil, the output voltage will be higher than the input
voltage.
The first step towards carrying out a particular experiment involves the
designing of a printed circuit board. The layout can be graphically
established by use of various applications such as Droid PCB, Every Circuit
etc. Once we have realized the desired layout it is essential to fabricate the
PCB.
For fabricating a PCB we require:
1) Copper Clad Sheet
2) Nail Polish or Paint
3) Ferric Chloride Powder(FeCl)
4) Plastic Tray
Once the PCB has been obtained soldering of elements is done to obtain desired
connections. Advantages of PCB over Bread-board are:
1) We get a much higher density board with PCB.
2) The PCB design is more reliable than the one made on a bread board. The
circuit looks neat without any wires popping up and does not fall apart.
3) There is precise control over the circuit component.
4) For production of large volume of circuit boards, the costs become less and
the soldering can be done with the help of fully automated machines.
For PCB fabrication, some basic steps are:
1) PCB Etching Process
2) PCB Drilling
3) Conductor Plating
4) Solder Resist
5) PCB Testing
6) PCB Assembling
16
CHAPTER 5
5.1. Applications
3) To cross a public road or other barriers which the sender and receiver do not
own.
5.2. Advantages
17
7) Protocol transparency
8) No interference
CHAPTER 6
18
CONCLUSION
CHAPTER 7
REFERENCES
19
[1] “RS232 Tutorial on Data Interface and cables” ARC Electronics 2010.
Retrieved2011-07-28.
[5] Mompart, J.; Corbalán, R. (2000). "Lasing without inversion" (PDF). J. Opt.
B: Quantum Semiclass.
20