DATA EXCHANGE BETWEEN TWO PCs USING IR COMMUNICATION
SUBMITTED BY KANUMURI SANDEEP INDURI PAVANI JETTI SRIKANTH MARRISETT VENUGOPAL (07471A0447) (07471A0436) (07471A0441) (07471A0471)

‡ Embedded systems are designed to do some specific task, rather
than be a general-purpose computer for multiple tasks. ‡An Embedded system is a combination of both software and hard ware. ‡The software written for embedded systems is often called firmware, and is stored in read-only memory or flash convector chips rather than a disk drive.

portable.Wireless communication has become an important feature for commercial products and a popular research topic within the last ten years. infrared. and generally wireless radio. less size. ‡ The communication mediums were twisted pair. . optical fiber. ‡ ‡ There are now more mobile phone subscriptions than wired-line subscriptions. ‡The main reason is it is of less cost.

‡ The module1 is connected to the PC1 and the module2 is connected to the PC2. Both the modules act as the transceivers. module1 and module2. . ‡ Both the modules consists of IR transmitter and IR receivers.OBJECTIVE OF THE PROJECT ‡ The main aim of the project is to transfer the data between the two PC¶s using the IR wireless communication without paying any charges. ‡ The system consists of two modules.

‡ It operate in synchronous mode that means. when one unit sends the data the other unit will be in ready mode to receive the transferred data in short half duplex serial communication is possible between the two controllers.‡ The two micro controller units are connected to the two computers using RS232 cable. IR communication consumes low power . ‡ With the help of this system we can transfer data between from one PC (PC1) to another PC (PC2) using IR communication.

Components Used For Hardware Design: ‡ MICROCONTROLLER ‡ IR TRANSMITTER ‡ IR RECEIVER ‡ ENCODER ‡ DECODER ‡ POWER SUPPLY .

parallel port. timer or counter. integrated on to a single silicon chip. data acquisition interfaces-Analog to Digital converter. interrupt controller. Digital to Analog converter. .INTRODUCTION TO MICROCONTROLLER  A Micro controller consists of a powerful CPU tightly coupled with 1)Memory 2) various I/O interfaces such as serial port.

WHY WE GO FOR MICROCONTROLLER ?  If a system is developed with a microprocessor.  One of the major differences between a Microprocessor and a Micro controller is that a controller often deals with bits not bytes as in the real world application.Development of a Micro controller reduces PCB size and cost of design. . the designer has to go for external memory such as RAM.  But controller is provided all these facilities on a single chip. ROM. EPROM and peripherals.

.

y Although this is slower than parallel communication. which allows the transmission of an entire byte at once. . y Most computers include two RS-232 based serial ports.SERIAL COMMUNICATION y In order to connect micro controller to a modem or a pc to modem a serial port is used. y Serial is a very common protocol for device communication that is standard on almost every PC. it is simpler and can be used over longer distances. y The serial port sends and receives bytes of information one bit at a time.

.

Hence the 5V D.SCHEMATIC EXPLANATION: ‡Firstly. ‡ This regulated 5V is generated by first stepping down the 230V to 9V by the step down transformer. voltage is being rectified by the Bridge Rectifier. power supply is needed by the same. the required operating voltage for Microcontroller 89C51 is 5V.C. .c. ‡In the Power supply the step downed a.

Current Flow in the Bridge Rectifier Current in Bridge Rectifier for +ve half cycle Current in Bridge Rectifier for -ve half cycle .

.BLOCK DIAGRAM: Now the output from the first section is fed to 40th pin of microcontroller to supply operating voltage and from other power supply to circuitry.

Encoder:  We are using IC HT12E Encoder which is an 18 pin IC. . This encoder circuit will encode the data send by the microcontroller and then transmits the data serially to the IR transmitter module. Instead of directly giving to IR transmitter we encode the data with an additional carrier signal of 20-30khz to make signal differentiate from noise.

which includes radio waves. non-contact IR can focus on nearly any portion or portions of the0. and ultraviolet light.7-14 micron band. visible light. with the lR spectrum extending from 0.IR MODULE: ‡ Infrared (IR) radiation is part of the electromagnetic spectrum. ‡ The IR range falls between the visible portion of the spectrum and radio waves. as well as gamma rays and X-rays. microwaves. .7 to 1000 microns. IR wavelengths are usually expressed in microns. ‡ Using advanced optic systems and detectors.

The antenna here we use is LED.IR Transmitter:  The encoded signal is given to the IR transmitters data pin. . Then the signal is ASK modulated by the IR transmitter module and transmitted through the antenna.

So.LIGHT EMITTING DIODE(LED): Example: Circuit symbol: Function LEDs emit light when an electric current passes through them. . here LED is the antenna which converts electical signal to invisible IR optical signal .

GaAs LED produces infra-red light .MERITS OF LED: The following are the merits of LEDs over conventional incandescent and other types of lamps ‡Low working voltages and currents ‡Less power consumption ‡Very fast action ‡Emission of monochromatic light ‡small size and weight ‡No effect of mechanical vibrations ‡Extremely long life Typical LED uses a forward voltage of about 2V and current of 5 to 10mA.

The received data is transmitted to the decoder to decode the data as we encoded the data while transmitting.   The receiver we use is optical detector. We use photo diode which receives light energy and converts it to electical signal voltages. .IR RECIEVER: The transmitted signal is received by this receiver module.

DECODER: We are using IC HT12D Decoder which is an 18 pin IC. . This Decoder circuit will decode the data from the receiver and then send the decoded data to the microcontroller.

BLOCK DIAGRAM: TRANSEIVER 1: E N C O D E R IR Tx. OWER SU LY MICRO CONTROLLER UNIT D E C O D E R IR Rx.. D B 9 MAX 232 C-1 .

TRANSCEVER-2: D E C O D E R IR Rx. D B 9 MAX 232 PC-2 . POWER SUPPLY MICRO CONTROLLER UNIT E N C O D E R IR Tx.

Micro controller .

2 BLOCK DIAGRAM EXPLANATION  The brief description of the block diagram of our project is discussed in this section. Microcontroller:  In this project the microcontroller plays a major role in transmitting and receiving the data. .2.  The UART in Microcontroller is main in this project which enables the communication.

 The data received from the IR receiver module is decoded by the decoder and is given to the microcontroller. . The data is transmitted to the controller from PC using the HYPER TERMINAL or any serial communication terminal.  Then the data enters in to the MAX232 voltage converter via the RS232 cable.  The data which we are entering in to the hyper terminal editor is available at the COM1 port.

. The microcontroller transmits the same to the PC-1 through the MAX232 and the RS232.  The microcontroller plays the same role in the case of the PC-2 also. The above all microcontroller. functions are monitored by the The communication is half duplex.

Applications: ‡Burglar alarm system ‡Smoke and fire alarm system ‡Garage door controllers ‡Car door controllers ‡Car alarm system ‡Security system ‡Cordless telephones ‡Other remote control systems .

using highly advanced IC¶s and with the help of growing technology the project has been successfully implemented and it can be extended to global data transmission by future advancements. Secondly. It has been developed by integrating features of all the hardware components used. Presence of every module has been reasoned out and placed carefully thus contributing to the best working of the unit. .CONCLUSION The project ³WIRELESS DATA TRANSFER BETWEEN TWO PCs´ has been successfully designed and tested.

RESULTS: .

.

.

Micro processor Architecture. Interfacing and system design.REFERENCES: 1. -Raj kamal 3.2005. Programming & Applications. The 8051 Micro controller and Embedded Systems. Pearson Education. PHI 2000 -Muhammad Ali Mazidi Janice Gillispie Mazidi 2. 5th edition -Ramesh S.Gaonkar . The 8051 Micro controllers Architecture Programming.

com www.com www.atmel.microsoftsearch.com www.com . Keil.References on the Web: www.national.

Sign up to vote on this title
UsefulNot useful