Figures 1 and 2 shows a test PCB for verifying that microcontroller was programmed correctly. Figure 4 shows the schematic diagram of the prototype. In figure 5 is an image of the IR remote control I used for testing. Figure 6 shows the program I used to identify the codes of the remote control. You must know that every IR remote control have a set of standard codes, but also there are specific codes that belongs to that IR RC. The program was made for my development system . The codes are sent on serial communication and displayed on PC by monitor program. Figure 7 shows the codes identified by me. After you establish what keys and codes you will use from IR remote control, you can add to the program the correspondence between codes and physical outputs. Then you can burn the program to 89C microcontroller.
Warning: SFH-5110-36 is not a simple IR sensor. It contains all is necessary to decode RC-5 IR information. If you use another remote control is possible to not have RC-5 communication protocol, so you must use another IR receiver.
Disclaimer: The information on this web site is provided "AS IS", without warranty of any kind.
The author has made the best efforts to ensure the design and the information provided are reliable.
Under no circumstances shall the author be liable for any direct, indirect, incidental, special
or consequential loss, damage, expense or injury incurred or suffered which is claimed
to resulted from use of this site, even if expressly advised of the possibility of
such loss, damage, expense or injury,
including, without limitation, any fault, error, omission, interruption or delay with respect thereto.
8051 development system
 - AT89C2051 datasheet
 - Atmel microcontrollers programmer