Presentation is loading. Please wait.

Presentation is loading. Please wait.

USING TV REMOTE AS A CORDLESS MOUSE FOR THE COMPUTER

Similar presentations


Presentation on theme: "USING TV REMOTE AS A CORDLESS MOUSE FOR THE COMPUTER"— Presentation transcript:

1 USING TV REMOTE AS A CORDLESS MOUSE FOR THE COMPUTER
Project Title USING TV REMOTE AS A CORDLESS MOUSE FOR THE COMPUTER Under the Guidance of Submitted by

2 ABSTRACT A typical TV remote sends coded infrared data that is read by an IR sensor duly interfaced to a microcontroller and then to the com port of a PC. This IR code is traditionally RC5 code as followed by remotes from PHILIPS. The same data is then burnt to a microcontroller the output of which shall drive desired operation through serial port connection as conventionally performed by the PC Mouse. Up - down, right - left buttons of the TV remote can be used for as similar operation to that of a mouse and remotely thus achieving the same function.

3 BLOCK DIAGRAM

4 HARDWARE REQUIREMENTS
POWER SUPPLY MICROCONTROLLER (AT89S52/AT89C51) TSOP1738 MAX232 DB9 CONNECTOR LED 1N4007 RESISTORS CAPACITORS

5 POWER SUPPLY Bridge rectifier 5v Regulator 230 V AC 50 Hz 5V DC
Filter(470µf) 12V step down transformer

6 It is a smaller computer Has on-chip RAM, ROM, I/O ports...
MICROCONTROLLER It is a smaller computer Has on-chip RAM, ROM, I/O ports... RAM ROM I/O Port Timer Serial COM Port Microcontroller CPU A single chip

7 INTERNAL STRUCTURE OF A MICRO CONTROLLER-AT89S52/51
CPU On-chip RAM On-chip ROM for program code 4 I/O Ports Timer 0 Serial Port OSC Interrupt Control External interrupts Timer 1 Timer/Counter Bus Control TxD RxD P0 P1 P2 P3 Address/Data Counter Inputs

8 Features of AT89S51/52 Compatible with MCS®-51 Products
8K Bytes of In-System Programmable (ISP) Flash Memory Endurance: 10,000 Write/Erase Cycles 4.0V to 5.5V Operating Range Fully Static Operation: 0 Hz to 33 MHz 256 x 8-bit Internal RAM 32 Programmable I/O Lines Three 16-bit Timer/Counters Eight Interrupt Sources Full Duplex UART Serial Channel Interrupt Recovery from Power-down Mode Watchdog Timer Dual Data Pointer

9 Pin Description

10 MAX 232 The MAX232 is an integrated circuit that converts signals from an RS-232serial port to signals suitable for use in TTL compatible digital logic circuits. The MAX232 is a dual driver/receiver and typically converts the RX, TX, CTS and RTS signals . When a MAX232 IC receives a TTL level to convert, it changes a TTL Logic 0 to between +3 and +15V, and changes TTL Logic 1 to between -3 to -15V, and vice versa for converting from RS232 to TTL.

11 DB9 CONNECTOR The DB9 (originally DE-9) connector is an analog 9-pin plug of the D-Sub miniature connector family (D-Sub or Sub-D).

12 TSOP 1738 RECEIVER PIN DIAGRAM
It’s a standard IR remote control receiver supporting all major transmission codes Pin1 – Connected to Ground Pin2 – Connected to Vcc Pin3 – Output Pin In Between 1st Pin and 2nd Pin we have to connect one Capacitor TSOP 1738 Receives 14—bit of data

13 TSOP 1738 FEATURES Photo detector and preamplifier in one package
Internal filter for PCM frequency TTL and CMOS compatibility Output active low Low power consumption High immunity against ambient light Continuous data transmission possible (up to 2400 bps) Suitable burst length .10 cycles/burst

14 Working of project The project uses an IR receiver such as TSOP1738 that responds to only specific frequency of 38 kHz A standard TV remote that delivers infrared codes at 38 kHz is thus received by the TSOP receiver feeding a 14 bit data so emitted from the remote to the controller through receiver. The program is so returned that it recognizes the 14 bit data relating to a particular number being pressed at the remote. Here the channel ON & OFF buttons and volume low to volume high buttons of the TV remote buttons are used for sending specific 14 bit data to pin – 13 of port 3.3. Software used at the PC receives these commands the serial port being connected to the MC through MAX232, RS232 interface. Thus the TV remote works like a mouse from a distance

15 Soft ware Requirements
Keil an ARM Company makes C compilers, macro assemblers, real-time kernels, debuggers, simulators, integrated environments, evaluation boards, and emulators for ARM7/ARM9/Cortex-M3, XC16x/C16x/ST10, 251, and 8051 MCU families. Compilers are programs used to convert a High Level Language to object code. Desktop compilers produce an output object code for the underlying microprocessor, but not for other microprocessors.

16 i.e the programs written in one of the HLL like ‘C’ will compile the code to run on the system for a particular processor like x86 (underlying microprocessor in the computer). For example compilers for Dos platform is different from the Compilers for Unix platform  So if one wants to define a compiler then compiler is a program that translates source code into object code.

17 BIBILOGRAPHY “The Microcontroller and Embedded systems” by Muhammad Ali Mazidi and Janice Gillispie Mazidi , Pearson Education. ATMEL 89S52 Data Sheets.

18 THANKYOU


Download ppt "USING TV REMOTE AS A CORDLESS MOUSE FOR THE COMPUTER"

Similar presentations


Ads by Google