Upload
jahir-hussain
View
13.485
Download
0
Embed Size (px)
Citation preview
Microcontroller Based IR Remote Control Signal Decoder for Home Application
JAHIR HUSSAIN.M- 16111100271st YEAR MTECH -PED
ABSTRACT
Design and implementation of an infrared (IR) remote control signal decoder used to various home control applications.
Designed remote controlled fan regulator and ON-OFF power supply switch.
Enables the user to control a fan regulator and operate the mains power switch from about 10 meters away.
DEVICE HARDWARE DESIGN
The device consist of blocks namely IR transmitter, IR receiver, microcontroller as decoder, driver circuit.
IR pulses convert into electric pulses using IR sensor and given to microcontroller.
Electric pulses change into data byte using zero crossing detector and on chip timer and interrupt.
Data bytes are used to take control decisions.
Pin Configurations
IR remote transmitter
Zero crossing detectorZero crossing detector generates
pulses for every zero crossing of the input AC signal.
Pulses are fed to the microcontroller interrupt pin through the opto-coupler.
The opto-coupler is used for the isolation of the high voltage AC to the low voltage DC supply at the microcontroller side.
Microcontroller was interrupted for every zero crossing which triggers the TRIAC.
Interfacing diagram
Microcontroller unit as decoderMicrocontroller’s on-chip peripherals
like programmable I/O port, Timer and External Rest, RC-oscillator, EEPROM, Power On Reset (POR).
TSOP-1740 receiver module is used to receive the IR signal form transmitter
Present system to increase or decries output AC voltage the function keys used are ‘Volume +’ and ‘Volume -’ on IR remote transmitter and to ON-OFF AC mains switch ‘Power’ function key is used.
Load DriverPower control device used triac BT136
being least expensive power switch to operate directly on the 110/240V mains.
It withstand a maximum load current 5A.output power is controlled by the phase
delay of the TRIAC drive.delay is referred to the zero crossing of
the Line voltage detected by Zero crossing
detector circuit. The control output from microcontroller
port pin is given to opto-coupler MOC3031M to trigger the triac.
Flow chart
The display circuitDevice provides 10 steep speed
controls from 0 to 9.Current speed is displayed on a
LCD module. The LCD module has on-board display controller.
The display unit is composed of 16 x 2 lines.
The LCD is configured in 4-bit mode with read-write control (WR) pin grounded.
PROGRAM
ORG 0000H
CLR A
HERE JNB P3.0 ; HERE
MOV TMOD, #20H
MOV TH1, #FDH
MOV SCON, #50h
MOV P3, #FFh
MOV A, SBUF
MOV R0, A
CJNE R0, #10h ; HERE1
MOV R0, 255h
GO MOV TMOD, #10h
MOV TL1, #00h
MOV TH1, #DCh
SETB TR1
AGAIN JNB TF1, AGAIN
DJNZ R0 , GO
HERE1 CJNE R0, #20h ; HERE2
MOV R0, 255h
GO1 MOV TMOD ,#20h
MOV TL1, #00h
MOV TH1, #EEh
SETB TR1
AGAIN 1 JNB TF1, AGAIN 1
DJNZ R0 , GO1
HERE2 CJNE R0, #30h ;
MOV R0, 255h
GO2 MOV TMOD ,#30h
MOV TL1, #00h
MOV TH1, #F7h
SETB TR1
AGAIN 2 JNB TF1, AGAIN 2
DJNZ R0 , GO2
CONCLUSION
IR remote control signal decoder is implemented using microcontroller and its application is successfully demonstrated for home applications.
The system is quite cheap, reliable and easy to operate.
THANK YOU