Automation with 36 kHz IR remote control

Infrared remote controls can be used for home automation projects. I started such a project in 2001, using a microcontroller from Atmel 89C series ( either 89C2051 or 89C51). The IR remote control I used (RC2543/01) was a 36 kHz one from a Philips TV set (very popular at that time, it was easy to find one if needed). With this automation, you can control from distance some functions like: light dimming, door locked/open, interphone command, heat control etc.

The program was edited and tested using my own development system [1] and was introduced in microcontrollers with the programmer built by me [3]. The IR protocol used was RC-5, developed by Philips in the late 1980s as a semi-proprietary consumer IR (infrared) remote control communication protocol for consumer electronics.

Figure 1
Figure 2
Figure 3
Figure 4

Specification:
- power supply from 230VAC socket
- supported microcontrollers: AT89C2051, AT89C51
- one START/STOP output with relay 230VCA
- eight digital outputs open collector
- IR receptor: SFH-5110-36 (carrier frequency 36 kHz)
- Remote control Philips RC2543/01
- optional serial interface RS232 (not included in prototype)
- optional serial EEPROM for various settings (not included in prototype)

Figure 5
Schematic (PDF)
Figure 6
RC2543/01
Figure 7
Test prog.
Figure 8
RC codes

Figures 1 and 2 shows a test PCB for verifying that microcontroller was programmed correctly. Figure 4 shows the IR receiver. The schematic diagram of the prototype is in figure 5. In figure 6 is an image of the IR remote control I have used for testing (Philips RC2543/01). Figure 7 shows the program I have 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 [1]. The codes are sent on serial communication and displayed on PC by monitor program. Figure 8 shows the codes identified by me for that specific remote control. 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 series microcontroller.

Warning: SFH-5110-36 [4] is not a simple IR sensor. It contains all is necessary to decode IR remote control pulses: photodiode, preamplifier, automatic gain control, bandpass filter and demodulator for 36 kHz. If you use another type of remote control unit, it is possible to not have the same 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.

Links:
[1] - 8051 development system
[2] - AT89C2051 datasheet
[3] - Atmel microcontrollers programmer
[4] - SFH5110 datasheet