Microcontroller Based IR
Remote Control Signal Decoder
for Home Application



             JAHIR HUSSAIN.M-
             1611110027
             1st 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 detector
 Zero 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
Interfacing diagram
Microcontroller unit as
decoder
 Microcontroller’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
Load Driver
   Power 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 circuit
 Device 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

MICROCONTROLLER BASED IR FOR HOME APPLICATION

  • 1.
    Microcontroller Based IR RemoteControl Signal Decoder for Home Application JAHIR HUSSAIN.M- 1611110027 1st YEAR MTECH -PED
  • 2.
    ABSTRACT  Design andimplementation 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.
  • 3.
  • 4.
     The deviceconsist 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.
  • 5.
  • 6.
  • 8.
    Zero crossing detector Zero 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
  • 9.
  • 10.
    Microcontroller unit as decoder Microcontroller’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
  • 11.
    Load Driver  Power 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.
  • 12.
  • 13.
    The display circuit Device 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.
  • 14.
    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
  • 15.
    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
  • 16.
    CONCLUSION  IR remotecontrol 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.
  • 17.

Editor's Notes