Beruflich Dokumente
Kultur Dokumente
Submitted by
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.
BLOCK DIAGRAM
HARDWARE REQUIREMENTS
POWER SUPPLY
MICROCONTROLLER (AT89S52/AT89C51)
TSOP1738
MAX232
DB9 CONNECTOR
LED
1N4007
RESISTORS
CAPACITORS
230 V AC
50 Hz
Bridge rectifier
5v Regulator
5V
DC
12V step down
transformer
Filter(470f)
It is a smaller computer
CPU
RAM ROM
A single chip
I/O
Port
Serial
Timer COM
Port
Microcontroller
External interrupts
Interrupt
Control
On-chip
ROM for
program
code
Timer/Counter
On-chip
RAM
Timer 1
Timer 0
CPU
OSC
Bus
Control
4 I/O Ports
P0 P1 P2 P3
Address/Data
Serial
Port
TxD RxD
Counter
Inputs
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
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).
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
and
emulators
for
ARM7/ARM9/Cortex-M3,
object code. Desktop compilers produce an output object code for the
underlying microprocessor, but not for other microprocessors.
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).
Education.
ATMEL 89S52 Data Sheets.
www.atmel.com
www.beyondlogic.org
www.wikipedia.org
www.howstuffworks.com
www.alldatasheets.com