Remote Controlled Light Switch

Published  October 18, 2015   85
J Jayant
Remote Controlled Light Switch

IR LED emits infrared light, and used in TV remotes. This Infrared is received by the receiver TSOP17XX (TSOP 1738used in TV). TSOP17XX receives the modulated Infrared waves and changes its output. TSOP is available in many frequency ranges like TSOP1730, TSOP1738, TSOP1740 etc. Last two digits represent the frequency (in Khz) of modulated IR rays, on which TSOP responds. Like for example TSOP1738 reacts when it receives the IR radiation modulated at 38Khz. TSOP output is active low, means it becomes LOW when IR is detected. Here we will build a Infrared Light Switch with Remote Control which can be operated wirelessly using any IR Remote like TV remote, AC remote etc.

IR LED and TSOP1738

In this remote controlled switch circuit we are using TV remote to ON/OFF the AC light by pressing any button of remote, and using the TSOP1738 at receiver end. Receiver circuit is connected to AC appliance via Relay, so that we can control the light remotely. We have used IC 4017 to convert it into a push ON, push OFF switch. Go through this article to understand the IR Transmitter and Receiver. Here we have used TSOP1738 as IR reciever. 

[Also check: TV Remote Control Jammer Circuit]


Normally when we press any button of TV/DVD player remote, Light glows and as soon as we release Button, it becomes OFF. Now it can be converted into a PUSH ON and PUSH OFF toggle switch using IC CD4017. IC CD4017 is a CMOS decade counter IC. It can produce output at the 10 pins sequentially, i.e. it produces output one by one at the 10 output pins. Output is switched to one pin to another by applying a clock pulse at pin 14. Learn more about IC 4017 here.


When firstly, power is applied to IC 4017, output at PIN 3 (Q0) is HIGH, when we press the button of IR remote, then a LOW to HIGH clock pulse is applied to PIN 14 (first clock pulse) and output at Q0 becomes low and PIN 2(Q1) becomes HIGH. PIN 2 triggers the RELAY module, and the AC light becomes ON. Now this position will remain until the next clock pulse. If we press the Button of IR remote again (second clock pulse), output at Q1 becomes LOW and Q2 becomes HIGH. This will deactivate the Relay and switch off the light. And because Q2 is connected to the RESET pin 15 of 4017, it will reset the IC and again output at Q0 becomes HIGH and Q2 becomes LOW (initial state). So it works like a toggle switch.

Relay Module


IR Remote Control Switch Circuit Diagram

Remote Controlled Switch Circuit Diagram

In above IR Remote Control Light Switch, Output of TSOP1738 oscillates at the rate of 38KHz, which is applied to clock pulse of 4017. So we have connected a 1uF capacitor across the output of the TSOP so that this 38KHz pulse train is counted as one clock pulse to the IC 4017.


We can also use the IR transmitter circuit to ON/OFF the Bulb, this IR transmitter circuit produces modulated IR at 38KHz like a TV remote. Also we can replace Bulb with any AC appliance, which is to be controlled by remote control.


Have any question realated to this Article?

Ask Our Community Members


Submitted by Madox on Thu, 10/08/2015 - 01:13


Thank u very much.
The circuit worked with me well i applied it to 12v dc led back up system but the problem is the circuit disturbed by outer frequencies for example when i turn on a CFL light the circuit start on and of several time before it stabilized again .so ho i could make the sensitivity of the circuit less.

Thank you for your kind response,

Using Band pass filter either is hard or not cost effective, the passive band filter is hard to be constructed since its very difficult to find the predetermined values for capacitors for example in L-C circuit while using active filter such LM741 circuits need more space and need 2 IC's to construct the circuit - Those most of circuits i found on the Internet - one of the solution discussed is using LM567 IC with the CD 4017 so the circuit of IR remote switch will need little modification.
I will be very grateful if you kindly give me your opinion and if possible i need your help to re-modify the schematic withe LM567 solution if its appropriate.
Thnk u very much.

Hi Madox, If you look at the datasheet of TSOP17XX, it have all the circuitry to avoid the disturbance, like Bandpass filter, AGC etc. This circuit is working fine for me, you can also use a RC circuit at the clock PIN of 4017 to avoid the unexpected results, generated while pressing remote button. RC circuit at clock pin has been also used in this Circuit.

Submitted by PRASAD on Mon, 10/12/2015 - 17:09


circuit is very useful to me
any way to off automatically after 5 to 10 seconds

Submitted by prafful arora on Wed, 12/16/2015 - 21:46


sir i hv made the circuit till the led on pin 2 but i have not connected the relay,,,but the led is not stable,,it is on for the moment i press the switch and it goes off when i release the switch...what could be the problem?????

Submitted by Foobar on Wed, 01/20/2016 - 14:18


Hi Sir,

Could you please tell me what is the voltage of the 1 microfarad capacitor? Will there be no reverse voltage from the capacitor? That is, the capacitor's positive voltage cannot travel to the output pin of the TSOP receiver?


Submitted by Sayed on Sun, 02/07/2016 - 01:26



Thank you for this clear and easy explanation, I have a question. Is there anyway to translate signals come from many buttons in the remote control to switch multiple outputs ?

Submitted by natamolestr on Fri, 02/19/2016 - 04:12


Very well written!
I will right away seize your rss feed as I can not to find your
email subscription link or newsletter service.
Do you have any? Kindly allow me recognize in order that I may subscribe.

Submitted by RonaldSlep on Fri, 03/04/2016 - 16:53


Well written!
I’ll right away grab your rss as I can not find your
e-mail subscription link or e-newsletter service.
Do you’ve any? Please allow me understand in order that I may subscribe.

Submitted by Bajwa on Tue, 03/08/2016 - 16:00


Some suggestions needed... I have to make it cost effective hence the 2 things i am looking to forego
1. The 9v Battery - What possible other could be to forego the battery how can i give it a alternate source?
2. IC 4017 - can i use something else other than the IC 4017, the main reason to not use is the Space it uses! Can i use a 555 instead ?

Looking forward to hear from you !


Submitted by Julius on Fri, 03/11/2016 - 16:26


Thanks for this circuit. It was working but there is a little problem. After a few seconds after it is ON. It will automatically OFF and the bigger the load the quicker it turn off. . . What should I do? Thanks

Submitted by chinmay joshi on Sat, 06/18/2016 - 15:49


i tried using all the tv and ac remotes that i had but still not working
which remote works the best?

Submitted by Abhishek on Wed, 07/06/2016 - 17:14


Hey, description is really appreciable and I tried this but its not working . Maybe the remote is not working . Can I make transmitter for the above ckt if I do not use tv remote

Submitted by abhishek on Mon, 08/01/2016 - 07:37


i will connect the tsop ic with any pin of PIC ic and connect the relays to 10 any other i am not able to understand how it work ... what happend if we press 1 or 2....
if possible ...can you send me code for the same at my email id or post here too

Submitted by Srividya Dyaram on Tue, 09/06/2016 - 23:16


the cathode end of the diode is given +9v supply, that means the diode is reverse biased??
can anybody explain me this part?
can anybody tell me the sequence of the circuit.??

Submitted by pre freeda on Sat, 09/24/2016 - 21:30


Hi,the TSOP1738 output goes to the base of the pnp transistor,but why the collector is wired to the positive rail,it should be an npn transistor.

Submitted by MAQSOOD ali on Sun, 10/16/2016 - 06:16


My relay module is working perfecly, its light glows and off when I press the remote button
But bulb which is connected to the NO and COM pin of the module does not glows
I changed several buttons but not get the result
Kindly assost me

Submitted by mushaf on Tue, 01/10/2017 - 19:13


can i use tsop1838 insted of 1738...if i use 1838 then any changes required for the circuit???please help my project is not working

Submitted by NIYAS on Fri, 01/13/2017 - 19:40


i made above circuit but not working.......used hs0038 instead of tsop1738.......anybody help me?

Submitted by Nihar on Mon, 02/06/2017 - 20:57


Jayant - pls let me know what is the output voltage/amperage of this whole circuit. I am asking to know if we can control any AC/DC device (9V DC or 240V AC) and current ranging from 1A to 16A ??

Submitted by shady on Thu, 07/13/2017 - 15:01


i would like to share some info :

tsop is very sensitive sensor for any supply ripple so try to use very very stable power supply

another important info according to tsop datasheet you have to add resistance to tsop vss pin berfore connecting it to supply this helped me to stabilize tsop sensor very much in datasheet they recommend 100 ohm but i put 500 ohm and tsop stability improved very much

try to provide tsop circuit with independent supply the noise or ripple happen due to relay switch and load voltage drop can effect tsop supply causing unwanted output

try also to put tsop in box and cover its input by semitransparent sheet like tissue paper to reduce any interference for light sources although its mentioned that tsop manufacturer got this point covered

good luck

Submitted by Rehan on Fri, 08/11/2017 - 19:54


As we to built a project based on this so we r trying to make it using 230v 50 hz supply so shall we use a rectifier/filter and transformer before this circuit to make it work on 230 v 50 hz supply...???
Ans fast as it is an urgent need..??

Submitted by Zhuna on Thu, 08/17/2017 - 23:19


Can relay be activated with 4 volts?
How long can battery last in this circuit?

Submitted by IDRIS on Wed, 05/30/2018 - 16:25


thank you for your circuit it work but I find a small problem reciver infrared and IC 4017 it work with a power supply 5V but relay it works with a power supply 8v
what supply used?

Submitted by Gayan on Mon, 07/09/2018 - 10:33


very useful circuit, please anybody send me simple to hard all circuits diagrams control with radio or other signals, for drone circuit bord , control to 4 motors. please help me

Submitted by nandakumar on Tue, 07/24/2018 - 10:46



I am having a problem with the circuit. It stays switched ON for couple of seconds and switches OFF by its self. I have covered all the points discussed but still the problem exists. Can any one give me a tip to over come this problem and also to make a robust circuit which works without any hitch.


Submitted by Reddy on Fri, 08/31/2018 - 12:35


Can someone please list out all the components required with corresponding specifications other than asking me to look for them in the circuit

I have some old TV remote control devices, but I want to know what "TSOP" I need for working with my devices  frecuencies ¿TSOP1738?¿ TSOP1740? How I can know this data?