You are on page 1of 4

PC-TO-PC COMMUNICATION USING IR

Beeresha R S, A M Khan. Department of Electronics, Mangalore University.

Abstract: This paper introduces the concept Explores one corner of the
of wireless communication using IR as computer applications. Computers that
media. It has been used to communicate are linked together to monitor and
between the two PCs, like PC1 and PC2. control the world outside themselves[3].
Both Trans-receiver circuits are designed on Each computer can exchange
a single board. Two such boards are placed information with the other and each can
parallel to each other at some distance also calculate, decide and take action on
(6meter to 10meter). At a given time the its own. This type of link requires three
circuit acts as a receiver or transmitter. This things computers to do the work,
can be selected through the software which is programming [4] that tell the computers
written in C. This helps to reduce the what to do and a link to connect them.
complex interconnection between one PC to The term link refers to a connection
another PC and its also a simple technique between two or more computers.
to understand too.
BASIC TECHNIQUE:

INTRODUCTION:
dialogue management, error control,
PC-TO-PC COMMUNICATION addressing, and sequencing. The
USING INFRARED / LASER [5 6] the transmitter converts the binary data into
purpose of any communication system a time varying signal having
is to exchange information between characteristics suitable for the
two media. The terms information transmission medium being used. The
and exchange in Data communication signal presented to the transmitted
particularly refers to meaningful medium is subjected to a number of
exchange of information between two impairments before it reaches the
entities [1 2] which can be human receiver. However it is ensured that the
operator on a computer terminal and a received signal has all characteristics of
computer program. the transmitted signal. The received
signal is converted back into binary data
The information to be transmitted which is processed to get the information.
is processed to ensure its reliability, The information is displayed on the
integrity and intelligibility during terminal, stored on the hard disk or
transfer. Some of required processing executed as a command. Assemble two
functions are representation of trans-receiver modules and connect
information in form of binary data [3] each of them, using RS 232 apart so that
the IR LEDs of each module face the
TSOP sensor (receiver) of the other.

BLOCK DIAGRAM:

Size of the file after it receives the


WORKING OPERATION: transmitted file in full. After the
successful transmission for a few cm
Power on both the circuits to distances, we can operate the hardware
operate at stabilized 5V DC. Run the units by increasing the distance. The
serial communication software that we tried limit for transmitting the files
have written in C language. Press letter between the computers using this
S to operate the hardware unit in send device is 5 meters.
mode of computer-1. Press letter R to
operate another hardware unit For the proper wireless infra red
connected to computer-2 in receive communication between two computers
mode. First, by operating in send mode we need two wireless trans-receiver
we need to align both the devices to units. Before we start our
communicate in chat mode. So press communication process between
letter A. Then in the receiver computer computers we need to load telix serial
(computer -2) we will observe the communication software to both the
received IR signals. As the aligning of computers (transmitting and receiving)
two hardware unit is over a message and set the port parameters to 9600
aligned properly is observed. So by baud rate, parity-none bit per character
this, both PCs and circuits are set to to 8 and stop bit to 1.
transfer files between them.
By using the designed device we
The file which is to be can transfer text, document, audio,
transmitted is put in the transfer file video files. The module is tested
mode by entering its path (e.g., between speeds of 1200 and 9600 bauds,
c:\tc\bin\file_name.extn) in computer- including file transfer between two PCs.
1. Computer-2 will receive the
transmitted file in file receive mode, it The required software for data
will indicate the received file and its communication between the two
path, by specifying the file name and computers is written in C language.
CIRCUIT DESIGN:

RECEIVER: levels (0/5V) its called level inter


change.
1) When the receiver IC senses the 3) After that S MAX 232 starts to send
sen
light rays from IR of the the signal to transistor (BC 548) its
transmitter board , indicated by LED 2 goes ON.ON If the
2) The receiver IC is TSOP ha has the transistor receives the signal it
signal and sends it through a indicated by LED 3 goes ON.
transistor (BC548) 4) After it will sends to the timer IC
3) Through the transistor it enters the 555.
R-MAX 232 IC , 5) When the output of the IC 555 the
4) Here R MAX 232 indicates IR 1 LED and IR 2 LEDs goes to
receiving of the signal, ON state it implies that the signal is
5) And then TTL signal (0/5V) is transmitted.
enter in to Level inter change (+9/
(+9/-
9V). TESTING:
6) After that it starts to send the Connect both PCs to the circuits and
signal to the receiver DB
DB-9 PIN. set the software to chat mode. We should
7) Later it will display what is the be able to transmit the data between the
content from the sender. PCs, as if a cable is connected.
connected Depending
on the sensitivity setting and power/angle
TRANSMITTER: of IR LEDs, increase the distance and try
again for longer distance.
1) Starts in DB-99 pin configuration
select the one of the pin ffor the ADVANTAGES:
transmitting the signal to the R
1) The serial cable has more swing
MAX 232 (R MAX means that it
voltage compare to the parallel port
receive the signal in this case).
transmission therefore cable loss is
2) After receiving the signal it starts to
not a problem for serial cable as they
convert in to TTL format voltage
are for parallel.
PC TO PC COMMUNICATION:

RECEIVER TRANSMITTER

Start Start DB- 9 PIN

R MAX 232
TSOP

Level interchange
BC 548(Transistor)

S MAX 232
R MAX 232
LED2 turns ON
BC 548 (Transistor)
Level inter Change
LED3 turns ON

IC 555
S MAX 232
LED1 turns ON IR LED1 IR LED2

Receiving DB- 9
PIN

REFERENCE:
2) Serial cable can be used to connect
the all terminal in one system, but in [1] Computer Networks by
parallel connection more number of Andrew.S tanen baum (4TH Edition,
cables required for the same system. 2007)
3) Parallel communication is more
complicated then serial [2] Wireless communication
communication. technologies by Struass(1997) )
4) Infra Red devices have proven to be
quite popular recently. We have seen [3] Serial port complete by Jan
many electronic diaries and palmtop Axelsons (2007)
computers which have infra red
capabilities build in. [4] Let us C by Yashwanth Kanetkar
5) It is convenient to use serial (2008)
transmission, where one bit is sent at
[5] Wireless Infrared Communication
a time.
System by T. Loftner ove , M. Huemer
CONCLUSION: ove, C. Kropal, fF. Hausner, R.
Hagelauer and R. Weigel Ove (Aug-
The designed circuit has been tested and 2003)
successful results were obtained using
this technique up to a 6 meter distance [6] Wireless Infrared communication
between the two PCs. by Joseph M. Kahn and John R. Barry
(Feb-1997)

You might also like