Remote Controlled Light Switch


ByJayant 85

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.


Get Our Weekly Newsletter!

Subscribe below to receive most popular news, articles and DIY projects from Circuit Digest


  • 4Ever Youngs.71's picture
    4Ever Youngs.71
    Aug 21, 2015

    Thanks very much for your simple description,it was usefully for me very much

  • Madox's picture
    Oct 08, 2015

    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.

  • Jayant's picture
    Oct 13, 2015

    Try to use bandpass filter with the Receiver part.

  • Madox's picture
    Oct 13, 2015

    Thank you for your replay...
    Should the bandpass filter connected to the output of TSOP1738 then the rest of the circuit is the same and what range of frequencies you suggest to work with .

  • Jayant's picture
    Oct 22, 2015

    Yes, rest of the circuit will be same. Band pass filter should work well and TSOP output shouldn't get disturbed by other frequencies other than 38KHz.

  • Madox's picture
    Nov 05, 2015

    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.

  • Maddy's picture
    Nov 14, 2015

    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.

  • Faddy's picture
    May 21, 2016

    Hi Maddy, can you send me the Simulation of this circuit ???

  • Shala's picture
    Jul 21, 2017

    Can i use 2138 sensor? Because it could not work. Please help on this issue.
    Thank you.

  • PRASAD's picture
    Oct 12, 2015

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

  • Faddy's picture
    May 21, 2016

    Hi Jayant can you send me the Software Simulation of the above circuit ???

  • john's picture
    Nov 27, 2016

    is the transistor bc557 is connected in right position or it is in revers bias

  • sameer's picture
    Nov 04, 2015

    Can you please specify what is the min-max operating distance range for this circuit?
    In case i need to place the receiver circuit on the wall, can I be able to operate from a distance of 10 feet etc?


  • Madox's picture
    Nov 05, 2015

    I test the circuit and it worked on 8M which is about 26 feet , and i think it will work on more distance .
    the distance the receiver can operate with is based on the signal strength of your transmitter device.


  • vikram's picture
    Dec 05, 2015

    Reley Circiut for 5;8channel?

  • prafful  arora's picture
    prafful arora
    Dec 16, 2015

    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?????

  • Himu's picture
    Nov 01, 2018

    Sir .i had connected rc ckr (o.1microf capacitor &220k resistor )but it still not working and red light continue blinking on off unexpectively ..please sir give me any solution

  • Himu's picture
    Nov 01, 2018

    Is it working after connecting rc ckt

  • Foobar's picture
    Jan 20, 2016

    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?


  • Sayed's picture
    Feb 07, 2016


    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 ?

  • natamolestr's picture
    Feb 19, 2016

    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.

  • Jayant's picture
    Feb 24, 2016

    Thanks natamolestr!
    Subscription box is given at the bottom of every page, just enter your Email address and hit Subscribe button.

  • RonaldSlep's picture
    Mar 04, 2016

    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.

  • Bajwa's picture
    Mar 08, 2016

    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 !


  • Maddy's picture
    Mar 12, 2016

    Try using 3v Button cells.
    You can use 555 as a Switch instead of 4017.

  • Julius's picture
    Mar 11, 2016

    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

  • Maddy's picture
    Mar 12, 2016

    Switching ON time is not related to the AC load in any way, whether you connect TV or a Zero wall bulb. Check that your components are not faulty, also check your connections again.

  • Pedro's picture
    Apr 21, 2016

    Can I use IC 7408 with this?

  • Taha 's picture
    Jun 12, 2016

    It s called kHz

  • chinmay joshi's picture
    chinmay joshi
    Jun 18, 2016

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

  • Maddy's picture
    Jul 09, 2016

    Any TV or DVD remote will work, I think problem is in your circuit. Please check your circuit again and try to debug it. Or try to use IR LED as a transmitter like here :IR Transmitter and Receiver

  • Abhishek's picture
    Jul 06, 2016

    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

  • abhishek's picture
    Aug 01, 2016

    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

  • naomi's picture
    Aug 12, 2016

    am designing project but once am applying power the lamp turns oN directly help please

  • Abhishek's picture
    Aug 22, 2016

    You have probably reversed the connection for NO and NC in Relay, means you have connected NC in place of NO and vice versa.

  • Tansingh's picture
    Aug 28, 2016

    thanks sir very very thanks

  • Srividya Dyaram's picture
    Srividya Dyaram
    Sep 06, 2016

    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.??

  • Maddy's picture
    Sep 21, 2016

    Every Inductor coil produces equal and opposite EMF when switched OFF suddenly, this may cause permanent damage to components, so Diode must be used to prevent reverse current.

  • pre freeda's picture
    pre freeda
    Sep 24, 2016

    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.

  • MAQSOOD ali's picture
    MAQSOOD ali
    Oct 16, 2016

    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

  • damoop's picture
    Oct 17, 2016

    The transistor should be of pnp type as the emitter is connected to negative

  • John's picture
    Nov 25, 2016

    Which capacitor used in this circuit and how many volt...

  • manohar's picture
    Dec 16, 2016

    Please mail me circuit how to control fan and light seperately using same IR receiver

  • fredricks's picture
    Dec 17, 2016

    Sir i dont understan the 4th pin of the ic 4017 goes to 15 MR where is the 15th pin and what is MR?please explain me sir iam new to this field thank u sir.

  • mushaf's picture
    Jan 10, 2017

    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

  • Rachin's picture
    Jan 12, 2017

    I'm facing unstable output of tsop 1738.
    It is not stable. What should i do.

  • NIYAS 's picture
    Jan 13, 2017

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

  • Soumendu Ghosh's picture
    Soumendu Ghosh
    Jan 18, 2017

    I want to control two numbers of electrical devices. Please tell me the procedure as soon as possible.

  • Nihar's picture
    Feb 06, 2017

    You can connect both the devices in parallel to this circuit. Both will turn on on first button-click and then turn-off on second click.

  • Nihar's picture
    Feb 06, 2017

    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 ??

  • Abhishek's picture
    Jul 12, 2017

    Yes we can control any device, just we need to choose Relay of proper rating.

  • Gumede Mthokozisi's picture
    Gumede Mthokozisi
    Feb 10, 2017

    Hi to Everyone, can somebody help me with the explanation about how can I use IR Remote to control lights?

  • john's picture
    Mar 25, 2017

    pls I can't get the TSOP1738 all I can see is TFM5300 and I can't simulate it to work, need help its very urgent thanks

  • Aftab Khan's picture
    Aftab Khan
    May 07, 2017

    Can we connect more than 1 bulb ? If yes then how?

  • shady's picture
    Jun 22, 2017

    when i used 9v supply it didnt work and tsop seems to be damaged but when i used 5v every thing is ok

  • shady's picture
    Jul 13, 2017

    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

  • Rehan's picture
    Aug 11, 2017

    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..??

  • hamed's picture
    Aug 13, 2017

    Hello im from iran thank you ican that to make a remote control .thank you very much .in our sites not find things

  • Zhuna's picture
    Aug 17, 2017

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

  • Ahmad tariq's picture
    Ahmad tariq
    Sep 25, 2017

    You can use 6v relay avilable in markeets

  • SAR's picture
    Sep 15, 2017

    Can i use triac instead of relay, the what shud be ckt, pl responce

  • SAR's picture
    Sep 15, 2017

    what is the function of BC547, CAN I USE TRIAC IN pin2, PLEASE THEN CKT DIA

  • Mani's picture
    Oct 24, 2017

    I want to use both mechanical switch and remote switch(by remote) together, can you suggest me circuit for that ?

  • sri harsha's picture
    sri harsha
    Dec 15, 2017

    i am just a beginner. can anybody suggest me a stimulation software...

  • AISHA's picture
    Dec 19, 2017

    ISIS proteus is a good choice for beginners 

    Jan 22, 2018

    The Tsop 1738 output is unstable its keeps coming on and off by itself

  • AISHA's picture
    Jan 23, 2018

    Sounds odd... Is your circuit correct?

    If yes, try changing the TSOP, yours might be a faulty one. 

  • IDRIS's picture
    May 30, 2018

    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?

  • Hiro_Hamada's picture
    Jun 01, 2018

    9V battery is used for powering the project, the 4017 IC can also work on 9V

  • Gayan's picture
    Jul 09, 2018

    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

  • nandakumar's picture
    Jul 24, 2018


    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.


  • Reddy's picture
    Aug 31, 2018

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

  • serg10's picture
    Aug 07, 2019

    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?

Log in or register to post Comment