This project describes a technique of adding the remote control feature to an electrical appliance. The goal is to construct a black box where you can plug-in your 120V AC appliance (it can be easily modified for 220 V mains supply too) and control the ON and OFF operations with a TV or DVD remote that uses modulated infra-red (IR) pulse train of 38 KHz frequency. I did this project for my wife who studies late at night on her bed and later feels tired to stand up and turns the light off. Now she does it from bed with the TV remote. The good thing about this project is that it does not use any microcontroller and is only based on the CD4017 decade counter IC.
Circuit diagram
The original circuit diagram for this project was published in the May 2005 issue of the Electronics For You magazine. The circuit diagram below is mostly the same. It uses a TSOP1738 IR receiver module at the input side to receive the 38 KHz frequency IR pulses from the remote control. Under normal condition, the output pin of the IR module is at logic High, which means the transistor T1 (BC557 PNP) is cut-off and its collector terminal is at logic Low. The collector of T1 drives the clock line of the CD4017 decade counter.
Now lets see what happens when somebody faces a TV or DVD remote towards the TSOP1738 and presses any key on it. The TSOP 1738 module receives the train of 38 KHz IR pulses from the remote, that makes its output to oscillate too. These pulses are inverted at the collector of T1, which finally go to the clock input of the decade counter. The arriving pulses could increment the CD4017 counter at the same rate (38 KHz), but because of the presence of the RC filter circuit (R1 = 100K, C1 = 10 uF) between the collector and the ground, the train of pulses appear as a single pulse to the counter. Thus, on each key pressing, the CD4017 counter advances only by a single count. When the user releases the key, the C1 capacitor discharges through the R1 resistor, and the clock line is back to zero. So every time the user presses and releases a key on the remote, the CD4017 counter receives a single pulse at its clock input.
Initially, when the circuit is just powered on, the Q0 output of the CD4017 decade counter goes high. The counter increments for each low-to-high going pulse arriving at its CLK pin (14). When the first pulse arrives, Q0 goes Low and Q1 is turned High. This activates the relay and the AC appliance connected to it is turned on. The status LED connected to Q1 also glows to indicate the appliance is switched on. When the user presses a key again, the second pulse arriving at the CLK line increments the counter by 1. This makes Q1 back to Low (which means the relay is deactivated and the appliance is turned off) and Q2 is pulled High. Since Q2 is wired to the Reset input, the second key press actually brings the CD4017 IC back to the power-on-reset conditions with Q0 High. Thus, it basically operates as an ON/OFF toggle switch controlled with any key of an infrared remote.
The power supply for the circuit can be derived from the mains AC itself using a step down transformer and a bridge-rectifier circuit. For +5V power supply, the LM7805 regulator IC can be used as shown below.
I have enclosed the circuit board with the power supply inside a wooden box as shown in the pictures below. The electrical appliance to be controlled can be powered from the AC outlet at the front side.
This was a very simple and fun project to do. If you are thinking about making this device for yourself, be careful with the direct 120 V AC lines used in the project.
Random Posts | |














[...] la Lab Embedded trimis într-un ghid excelent despre cum să de control, cu un control de la distanţă folosind o punere în aplicare într-adevăr inteligent a unui contor deceniu şi un receptor [...]
[...] at Embedded Lab sent in a great guide on how to control appliances with a remote control using a really clever implementation of a decade counter and IR [...]
[...] at Embedded Lab sent in a great guide on how to control appliances with a remote control using a really clever implementation of a decade counter and IR [...]
Great idea!
It seems like you should be able to implement this using a hex inverter package configured as a flip-flop.
Simple Infra Red Remote Switch…
The original scheme of this project was published in May of 2005 of the electronic magazine for you. The diagram down is practically the same. A module of infrared receiver is used TSOP1738 in the side of the entrance to receive the 38 KHz of freque……
This is a cool project, I want to make one for my home!
I am glad you liked it.
This is a cool project, I want to make micro controller based sw board{at least 6 or 8 chanell} + 2 fan regulator .can u guide me ?
I am engineering student i want to do this project . Give me some guidlines about project. I want to use microcontroller and timer in this project plz guide me.
can i use this “A very simple IR remote control switch for an electrical appliance” circuit without any programming,i am trying to make a remote system which can control fan & lamp.So i need the programming,can u help me about this..
my id is jainaman8@gmail.com
Hello,
I have constructed this circuit but sometimes it’s turning ON and OFF automatically.
Need help.
The circuit could be false triggered in noisy environment. Connect a 1 uF capacitor between pin 3 of TSOP1738 and ground, and see if that helps.
i Did it but its always on any ideas abt whats wrong?
hi
i try to made this circuit but i want to ask you about the ir receiver piece & its remote control how i use any ir receiver piece & any remote control
With all my thanks and appreciations
can i connect 5 bulb using the circuit diagram.how? explain.thank
Sir, the relay turns on, but doesn’t turns off… please assist me..
It should. Check the circuit again and make sure you make every connection right.
Sir, when I remove the relay the circuit works fine, the problem occurs only when I connect the relay.
Sir, is there any problem with the power source, I have used 9volt 250mA transformer and 5 volt voltage regulator. Should I go for 500mA transformer.
sir, the circuit works fine when relay is removed. It happens only when the relay is connected…
Dear sir, please let me know how can I replace TSOP1738. Is it possible to replace TSOP1738 with IR LED? Any reply shall be highly appreciated. Thanx in advance!
@Chetan,
What kind of load are you connecting to the relay? And what is the power rating of it?
You can replace TSOP1738 with any other 38 KHz IR receiver. No, you can’t replace it with a normal IR LED, which is sensitive to any kind of light..
Sir, i’ve used TSOP 1838, is that the problem for the relay
Chetan,
I asked you a question earlier. Did you answer to that?
I’ve connected to the Tube light.
Chetan,
Did you try it with a normal filament lamp? For fluorescent tube light, I would suggest to connect a RC snubber circuit across the relay contacts.
No sir, I didn’t tried with normal filament bulb.
Sir, what is Snubber circuit? what is the purpose of the snubber circuit?
Excellent guide
Working precisely
Chetan,
Google it and you will find it.
Sir, what is the value of the capacitor and the resistor I’ve to use.
Sir, I’ve made the another Circuit and it is working fine….
But, I’ve to press the button 2 to 3 times in the remote to turn off the relay…
Chetan,
There should be 3 to 5 second delay between any two successive key presses so that the capacitor C1 gets enough time to discharge.
Sir, is there any solution for it..
Chetan,
You can try replacing R1 (100K) with a lower value, say 47 K, but why would you need to turn any device ON and OFF within 5 second?
Sir, what is the value of resistor (R1) you have used in your circuit..
Sir, the sensor is not working even at 1 meter,
Sir, please give me a solution…
Chetan,
The technique used in this project is pretty standard and it should work. I can’t tell you more than this without looking at your project.
i have made this for my product its good one. but problem occurs when u have more than one remote appliance in that room.
sir pls im not seeing your circuit and i long 2 design this circuit
bobby,
What do you mean by you are not seeing the circuit. It is in the article.
Sir, plz give a remote circuit for this IR switch. Sir plz soon. It is ques of my and ur pride
Use any TV or DVD player remote.
Sir, plz give remote circuit. I have to make a complete project for exam. I am a diploma final year student. Sir plz research on it
Can i use 6v relay because here 5v relay is nt available. This ir switch circuit can be use on 240volt ac supply’ if not then how can it be changed for 240v supply?
i want to operate this circuit on 220 volt ac. what changes should be done in this circuit diagram “ir remote switch”. 6volt relay can be use in the place of 5 volt relay. reply very soooon
Check this : http://electronics-diy.com/schematics/579/CI-01_May05.pdf
You can try 6V relay too, it should work.
How can it be changed into 220v ac supply
what sodification should be done in this ir remote sw. circuit to operate on 220v ac 50hz.
what modification should be done in this ir remote sw. circuit to operate on 220v ac 50hz.
The link u have sent for 220v ac supply, in that circuit no resistance is connected between pin3 of tsop and base of transistor of bc557. Is it right? Any prob due to this?
Arslan,
It should work, just follow the circuit.
Switch is working. because led is on and off when remoting. But load (100w bulb) is remain always on. I have used 6v relay. Where should mistake
If operate ur circuit on 220v ac 50hz then wht would problem
Arslan,
This means the relay is not de-energized when the base of the transistor is cut-off. Did you connect the BC547 transistor correctly. Try replacing it with another.
Sir can i supply 9v dc in the place of 5v dc. What changes should be done for it. Plz tell me
What is the voltage rating of capacitor of 10uf. What is current of 5 v dc supply. When relay is connecting in circuit, is not working. When relay without connecting in circuit is working. Led is turning on and off when remoting. Sir plz reply son
Sir pls help me, i am making this project for my practical exam which is held in next week. I am diploma final year student. Sir plz help me for GOD. i have changed bc547 but there was same condition
Sir pls help me, i am making this project for my practical exam which is held in next week. I am diploma final year student. Sir plz help me for GOD. i have changed bc547 but there was same condition. HELP ME FOR GOD
hi arslan, try use ssr relay. its work for me. Thanks R-B
Sir,
Please describe Snubber Circuit clearly, as Tube Lights switching is not functioning well with this circuit, others are quiet O.K
Dear Sirs,
The above IR Circuit has been tested by me. It is nicely switching Filament bulbs, energy saving lights and even ceiling fan, but when it is being connected to Tube lights, the circuit does not responds as required. What kind of “Snubber” will be a solution. Please detail. Thanks. Ashraf Yousuf, Chittagong,Bangladesh.
Hello! Very interesting project… you can use it using normal remote control from TV?
thank you!
marC:)
Dear sir,
Please I need a guideline over the above project
dear can u give an idea how do to this project on microprocessor
I built this from parts salvaged from an old DVD player…it worked perfectly.
Please describe the value of the 10uf capacitor used in this circuit (is it ceramic or electrolytic) and the watts or sizes of the resistor used as well. Thanks. GREAT ATA
10uF is electrolytic, 50V and all resistors are 1/4 Watt rated.
Very interesting project, but what kind of remote control, and what key do you press to turn on/off the device?
thank you so much!
marC:)
You can use it with a regular TV or DVD remote control unit.
sir,
please send me it in pdf format on my email.
thank you.
hello sir, can i replace TSOP 1738 with a SPS-422-1 IR receiver module? send to my email sir. I dun find any TSOP 1738 at here. tq.
I would suggest to compare the datasheets of the two.
not working………………………………………………………………………………………………………………………………………………………….if any sujjestion then tell me
sir I’m student of University Of Engineering & Technology Lahore Pakistan, sir I have searched all over the electronics market here in lahore hall road but i didn’t foud the TSOP1738 remote receiver please inform me about the shop where I get this receiver plz plz plz, I shall be thankfull to you
Hi! i tried it, but the relay don’t won’t to activate, but the led with the remote control is okay.. i don’t know what i did wrong? please help me!
thanks!
marC:)
i have made the efy circuit and it is working properly. i have used 9v relay and its working fine.
@Adeel Qaiser you can order it from internet if u r not getting it there.
this is much better
http://electronics-diy.com/schematics/579/CI-01_May05.pdf
if u r building the above circuit then u have to put one extra capacitor of 1uf between pin 3 of tsop 1738 and ground to avoid false triggering.
hi sir,
this circuit is working properly.
thanks…
is the button on remote controller is specific or..any button works..!
and how to connect more than one appliances.??
i am toally unknown to these kinds of wonders of science!!
plzz do help me !!send me the steps of circuit making, thanks in advance
Sir,
In the above power supply circuit, instead 120/9v transformer, bridge rectifier and 1000Up capacity, before 0.1up capacitor can I use 9V dc battery.
Please advise me.
Thanks in advance.
You can use external DC power for the circuit but you will still need AC for the load.
How can i use a 12v relay in this circuit.what can i do for that?…
Thnxx in advnce/…
I need some project ,e.g moving message for pic control by press swtich to write a word 7 by 245
What is the replacement for CD4017 ..please help me because i cant find it this ic in my place
great………what modification should have been done if we have 240VAC appliances to run through this………
i did the circut and when i on the circut the relay is on and i use a remote and off it and after that it doesnot work then i have to off the main 5v supply and then on it to work
once i off the circut using the ir remote the circut doesnot get on
to make it more interesting you can connect a green led in the place of the red one(pin 2) and a red led between pin 3 and ground. When powered, the red led is on and the green led off but when u press remote button to power the relay, green led goes on and red led off. Red led behaves like stand by and green led like on indicator
in my circuit pin 2 goes high initially and led glow bt after pressing switch it start working properly. so why pin 2 is high initially instead of pin 3. if any change require pls tell me soon…its urgent..
how can we modify it for 220v ac
Hey the circuit is great and working but there is a small problem, the circuit automatically turns off when the remote is released. i.e its only on when the remote is pressed… any idea why??
ok the problem where the circuit was automatically turning off got solved by adding a 10uf capacitor from pin 3 to gnd. 1uf didnt work. but this caused another problem, now when i want to turn of the circuit i have to press the remote 2 times and the circuit turns off after 2 secs any ideas?
is tsop 1838 incompatible for this project?
good day sir., how can i make this project using a PIC microcontroller?
(your response is highly appreciated)
Sir , it is problem if i replace the resistor near with LED a 330k ohm resistor . Thnxs
A switch is temperory or permanemtaly on/off devices plz reply.
Sir.,
My comment is 100th comment….well I am Going to do this Circuit…I will take help if i dont get the exact result what I want
Hi sir.,
TSOP 1738 is False triggered …This is the problem
I want a filter circuit Which allows the signal if the signal ranges between -4v to -5v
Please Reply my above comment please send as fast as u can sir….any help would be Thankful
sir my circuit control with rimot, But my relay not active,i used 6v relay & 6v power supply,led green & red control with rimot, please train me what can i do now,
sir, i want make this type circuit that to operate the more than one equipment. pls help me…
what of that of 220 volt AC
plece send me remot control switch drawings
hello
sir i am a student and have tried to build the circuit and am supplying it with a 6V regulator and once i supply it, it comes ON but does not respond to the remote please help me
cost of ir remote control 2 tube lights project
Hello Sir,
How to i connect +5V Battery and ground in the circuit.
And 120v AC
Hello Sir,
How to i connect +5V Battery and ground in the circuit.
And 120v AC
Please help
email- manishsingh1820@gmail.com
Cost of the ir remote control 3 tube lights project
hi sir
i want make this type circuit that to operate the more than one equipment. pls help me… i want 3 relay on off with remort
Sir,
I want to control 5 lights individually, but here we are using a common remote that will switch ON all the 5 lights at a time. so How can i make the frequencies specific to each light. also please tell me how to make the remotes that generate these specific frequencies.
i made this project but circuit is not working i want to know testing points like output of ir detector transistor pin voltage readings and output of ic voltage reading when active or not
please reply on my email or here only so that i can make it complete
thanks
I am doing the same project but am stuck at the basic level. i am using a tv remote and just trying to check the led [with d ckt given] without using relay switch or appliance. when i press the tv remote many times there is no change in the led, which i suppose shud glow. plz tell me where i am wrong and for checking this ckt do i need to connect a relay and appliance nd check d same.is there any problem in the ir receiver??- tsop1738