You are on page 1of 6

http://multyremotes.com/multi-channel-remote.

htm

Home | IR Remotes | RF Remotes | Industrial Automation | Embedded Systems | Robotics | Project Kits

1 of 6 10/15/2010 6:23 PM
http://multyremotes.com/multi-channel-remote.htm

IR Remote Switch
~: Multichannel IR Remote using 89C51 :~
IR Remote for Toycar
Abstract:- It's multi channel IR remote control so you can perform not just single but so many function
multichannel IR
Micro-controller 89C51 is used in receiver part so its programmable remote control. You can program it
Remote
for specific application. Some applications that I have developed are "Remote control for home
IRRCS
operated DC Motor controller", "Remotely operated Stepper motor controller".
4 channel IR remote
___________________________________________________
8 Channel IR Remote

If you are not satisfied with single channel remote control then this project will p
channel IR remote control so you can perform not just single but so many functions w
receiving unit. This is multi channel system but here I have utilize only 4 channels but you
(and also more functions) up to 8 or even more then that. First we will see some of the featu

Features:-

Now let us see some of it's applications. Because it's programmable and multifunctio
of it's different application but here I am telling you about the applications that I have suc
with this system.

In homes/offices:- It can be used

# To ON/OFF any 230V AC device remotely

# As a remote fan/air cooler regulator. Means you can ON/OFF

fan/air cooler and even increase/decrease it's speed remotely

In industries:- it can be used as a

# Remote control for AC/DC drives. You can control all the

functions of AC/DC drive from a safe remote place.

# Remote operated DC-Motor controller

# Remote operated Stepper-Motor controller

After going through all these features and applications you should be very much excited to b

2 of 6 10/15/2010 6:23 PM
http://multyremotes.com/multi-channel-remote.htm

there are two parts one is transmitter and other is receiver.

1) IR Remote control (Transmitter)

2) Micro-controller(89C51) based receiver unit

The circuit for multi channel IR remote control is as shown below

The main components of the circuit are IC 556(dual IC 555) and IC 74LS00 (4 2inputs
connected in astable mode. First one U1A is used to generate low frequency signal around 70-
generates high frequency of 38KHz.

First 555 IC generates 4 different signals of different frequencies depending upon the switc
S2, S3 or S4). All the frequencies are between 70Hz to 500Hz and it depends upon the
o/p is given to reset i/p of second 555 IC through nand gate. One i/p to nand gate i
inverter for second i/p. Initially when all keys are open the o/p of U1A is high so because
reset pin of U1B will be held low and thus o/p of U1B is also low.

Whenever you press any switch it completes the path for astable operation of U1A and
frequency signal. This signal is inverted and given to reset input of U1B. U1B will generate 3
it's reset pin is high. So o/p of U1A will frequently switch the o/p of U1B ON or OFF. This is
waveforms given below.

3 of 6 10/15/2010 6:23 PM
http://multyremotes.com/multi-channel-remote.htm

First waveform is the signal given to reset i/p of U1B. Second waveform is o/p of U1
high. Because the first waveform will switch the o/p ON or OFF we will get o/p like
(Amplitude Shift Keying) modulated output. Here signals generated by U1A will be mod
work as carrier (38KHz) generator.

This modulated output is given to 2 IR LEDs (and also one red LED) through transisto
generate IR light beam of 38KHz.

Now the main thing. You have to generate specific frequency every time when any swit
generate range of frequencies from 70 to 500 Hz as you vary 10K pot from min to max
particular values that are 250Hz, 225Hz, 200Hz and 175Hz.

To generate these specific frequencies you need to take help of CRO. Connect the o/p
switch S1. You will get square pulses on CRO. Now start varying pot R8. The freque
Continuously measure it and stop varying pot when frequency is near about 250Hz (sho
245-255Hz). Do the same procedure for getting other frequencies. The table given bel
about this.

Potentiometer Frequency
Sr.No Switch
Resistor Value (K?) (Hz)
1 S1 R8 2.63 250
2 S2 R5 2.9 225
3 S3 R6 3.3 200
4 S4 R7 3.8 175

If you want to increases number of channels you need to have more switches and more
can just go on same way and choose frequencies like 150Hz, 125Hz, 100Hz and so on. P
things

4 of 6 10/15/2010 6:23 PM
http://multyremotes.com/multi-channel-remote.htm

1) Don't choose any odd number frequency like 136Hz, 166Hz etc.

2) Don't choose frequencies which are very closer to each other. At least leave

gap of 20Hz between two frequencies.

(Note:- All the switches are of push button type used in telephone. Trimmers are used as
are very small tiny variable resistors can be varied only by a screw driver. 9V stan
supply.)

The block diagram of unit is as shown below

You need only two main components one is IR sensor TSOP 1738 and another is 89C51 m
features of this microcontroller please refer it's datasheet. The characteristic of IR sensor is
light of 38KHz it will give low o/p otherwise it will give high o/p. So the modulate
control will be demodulated by this sensor and the pulses will be given to micro-controller.

The o/p of sensor is connected with two i/p pins of micro-controller. One is intrupt1 (pin no
timer0 (pin no.14(P3.4)). So when ever pulses detected by sensor and given to microc
and it will start counting external pulses. Micro-controller will count pulses for 1 second. Afte
the count of timer. Because of 1 second time period this count would be exactly same
This will be better understood by an example.

Example:- Suppose you press switch S1. So the frequency transmitted will be 250Hz.
second. Micro-controller will start counting when it gets interrupted and will count for exac
the count in timer will be 250 or around 250.

Now you have to start comparing this count with stored data in micro-controller. Max
every count that is +5 and -5. Means range for count 250 is from 245 to 250 (This is why I ha
every frequency in remote control). so if the count falls between this range then mi
LED (red) on port P0 (corresponding to first switch S1).

5 of 6 10/15/2010 6:23 PM
http://multyremotes.com/multi-channel-remote.htm

Guess what happens when you press switch S2 (or S3, S4). Now the count doesn't falls
it will be 225). So the program jumps to next range between 220 to 230. Because the
program will lit second LED (green). Same process will repeat when you press switch S3 or S4.

Thus depending upon a switch you press from remote control the corresponding LED wil
micro-controller will work as frequency counter as well as band pass filter to detect incomin
by remote control. And also it will perform a specific task depending upon the specific applic
using it.

Stay tuned more interesting part is coming now!!!!!!!!!

Let us see some of interesting applications of this system

Remote control for home appliances

Remotely operated DC Motor controller

Remotely operated Stepper motor controller

All the projects are designed and developed by sight owner and they are thoroughly tested by him. ©Copyrights Ashutosh Bhatt 2010

6 of 6 10/15/2010 6:23 PM

You might also like