Home » Home Electrical Circuits » Remote Controlled Ceiling Fan Regulator Circuit
Remote Controlled Ceiling Fan Regulator Circuit

Remote Controlled Ceiling Fan Regulator Circuit

The article discusses a simple infrared controlled fan regulator or dimmer circuit using ordinary parts such as a 4017 IC and a 555 IC.

Circuit Operation

Referring to the shown remote controlled fan dimmer circuit, three main stages may be seen incorporated: the infrared signal sensor stage using the IC TSOP1738, the Johnson's decade counter, sequencer using the IC 4017 and a PWM processor stage using the IC 555.



The various operations involved within the circuit can be understood with the help of the following points:

When an infrared beam is focused at the sensor, the sensor produces a low logic in response to this which in turn causes the PNP BC557 to conduct.

Using Sensor TSOP1738

The sensor used here is a TSOP1738, you can learn more about it in this simple IR remote control article

The conduction of the BC557 transistor in response to the IR beam links the positive supply to pin14 of the IC 4017 which is accepted as a clock pulse by the IC.

This clock pulse is translated into a single sequential hop of a high logic from the existing pinout to the next subsequent pinout in the sequence across the shown outputs of the IC 4017.

This sequential transfer or shift of a high logic pulse from one pinout to the next across the entire outputs from pin#3 to pin#10 and back is carried out in response to every momentary beam focused on the IR sensor by the IR remote handset.

Using IC 4017 for Controlling Voltage Divider

We can see that the IC 4017 outputs have a set of precisely calculated resistors whose outer free ends are shorted and connected to ground via a 1K resistor.

The above configuration forms a resistive potential divider which generates a sequential incrementing or dropping potential levels at the node "A" in response to the shifting of the high logics across the outputs as discussed in the above explanation.

This varying potential is terminated at the base of an NPN transistor whose emitter can be seen connected to pin#5 of IC 555 which is configured as a high frequency astable.

Using IC 555 as PWM Generator

The 555 stage basically functions like a PWM generator which varies proportionately as its pin#5 potential is varied. The varying PWMs are created at its pin#3.

By default pin#5 is connected with a 1K resistor to ground which ensures that when there is no voltage or minimum voltage at pin#5 results in an extremely narrow PWMs at its pin#3 and as the potential or voltage at its pin#5 is increased the PWMs also gain width proportionately. The width is maximum when the potential at pin#5 reaches 2/3rd of the Vcc of its pin#4/8.

Now apparently, as the outputs from the IC 4017 shifts creating a varying voltage at the base of the NPN, a corresponding amount of varying voltage is transferred over pin#5 of the IC 555 which in turn is converted into an accordingly changing PWMs across pin#3 of the IC.

Since the pin#3 of the IC is connected to the gate of a triac, the conduction of the triac is proportionately influenced from high to low and vice versa in response to the changing PWMs over its gate.



This is effectively converted into a desired speed control or an appropriate regulation of the connected fan across the triac's MT1 and the AC mains input.

Thus the speed of the fan becomes adjustable from fast to slow and vice versa in response to the infrared IR beams toggled on the associated IR sensor of the circuit.

How to Set up the circuit.

It may be done with the help of the following steps:

Initially keep the emitter of the BC547 transistor disconnected with pin#5 of the IC555.

Now the two stages (IC 4017 and IC 555) can be assumed to be isolated from each other.

First check the IC 555 stage in the following manner:

Disconnecting the 1K resistor across pin#5 and ground should increase the speed of the fan to maximum, and connecting it back should decrease it to minimum.

The above will confirm the correct working of the IC 555 PWM stage. The 50k preset setting is not crucial and may be set to approximately center of the preset range.

Next, we need to check whether the IC 4017 output node at "A" creates a varying voltage from 1V to 10V in response to each pressing of the IR remote beam over the circuit's IR sensor.

If the above condition is met, we can assume the stage to be functioning correctly, and now the emitter of the BC547 can be integrated with pin#5 of the IC555 for the final testing of the fan speed regulation using a IR remote handset.

The remote handset could be any TV remote control which we normally use in our homes.

If the above design does not work smoothly with a connected fan, it may need to go through a slight modification for improving the results as shown below:

The circuit takes the help of a MOC3031 triac driver stage for enforcing a hassle free and clean fan control through the remote handset.

Test Analysis

On testing the above circuit, the results were not quite satisfactory, since the fan could not be controlled upto the lowest limit and it showed some vibration.

Analyzing the design revealed that the application of PWM on triac was causing the issue since triacs do not respond well to DC PWMs, rather show improved reactions to AC phase chopping as used in dimmer switches

Using Phase Control instead of PWM

The circuit discussed in this article eliminates the PWM idea for the fan dimming control, instead employs few low power triacs for sequentially implementing the dimming or speeding effect on the connected fan motor.

The complete design for the proposed remote controlled fan dimmer circuit can be witnessed below:

Circuit Diagram

Note: the 4 SCRs are incorrectly represented as SCR BT169, these must be replaced with triacs, such as BCR1AM-8P triacs, or any other similar triac will also do.

How it Works

Referring to the diagram above we can see two the circuit configured across a couple distinct stages.

The right side of the diagram is configured as a standard light dimmer or fan dimmer  circuit, except one change, which can be seen near its usual pot section, where it has been replaced with four triacs having four separate resistor at their MT2, arranged with an incrementing values.

The left side stage comprising the IC 4017 is wired as a 4 step sequential logic generator, triggered by an Infrared sensor unit which forms the IR receiver for receiving the switching triggers from a hand held IR remote control unit.

The alternate remote IR beams from IR transmitter causes the IRS to generate a toggling pulse at pin#14 of the IC 4017, which in turn converts the pulse into a sequentially shifting logic high pulse across its pin#3 to pin#10 after which it's reset back to pin#3 via pin#1/15 interaction.

The above pinouts which are responsible of generating a sequentially traveling logic high pulse are serially connected with the gates A, B, C, D of the indicated triacs.

Since the resistors connected with the anodes of the triacs become the determining components for the fan speed limit, implies that by sequentially switching the triacs to and fro, the speed of the fan can be increased or decreased proportionately, in 4 discrete steps, depending on the values of  R4----R8.

Therefore when the remote handset button is pressed, the IC 4017 pinouts trigger the corresponding triac which in turn connects its anode resistor with the dimmer triac/diac configuration, executing the relevant amount of fan speed.

In the proposed remote controlled fan dimmer circuit, 4 triacs are shown for producing a 4-step speed control, however 10 such triacs could be implemented with all the 10 pinouts of the IC 4017 for acquiring a good 10 step discretely controlled fan speed regulation.

Parts List

R1, R3 = 100 ohms,R2 = 100K,R4 = 4K7,R5 = 10K,
C2 = 47uF/25VC1, C4= 22uF/25V,C6 = 4.7uF/25V,

C3 = 0.1, CERAMIC
C5 = 100uF/50V
C10 = 0.22uF/400V
T1 = BC557
IRS = TSOP IR sensor
IC1 = 4017 IC
D1 = 1N4007
D2 = 12V 1watt zener
R9 = 15K
R10 = 330K
R4---R8 = 50K, 100K. 150K, 220K
R11 = 33K
R12 = 100 ohms
Diac = DB-3
TR1 = BT136
L1 = 500 turns of 28SWG over any iron bolt.
C7 = 0.1uF/600V

WARNING: THE ENTIRE CIRCUIT IS DIRECTLY LINKED WITH THE MAINS AC, OBSERVE EXTREME CAUTION WHILE TESTING THE CIRCUIT IN POWERED POSITION

SHARING IS CARING!

About the Author

I am an electronic engineer (dipIETE ), hobbyist, inventor, schematic/PCB designer, manufacturer. I am also the founder of the website: https://www.homemade-circuits.com/, where I love sharing my innovative circuit ideas and tutorials. If you have any circuit related query, you may interact through comments, I'll be most happy to help!



63 thoughts on “Remote Controlled Ceiling Fan Regulator Circuit”



  1. Hello Mr.Swagatham,

    I was working with above IR remote control Fan circuit with bit small modification near resistor values of IC CD4017 outputs,

    The circuit flow as mentioned,, TSOP1738–>CD4017–>555–>MOC3041–>BT136–>Triac–>Snubber–>FAN..

    1.The fan control with duty cycle variation is working fine,
    2.The fan is working fine at 0% duty cycle and 100 % duty cycle,
    3.If the duty cycle is >10 % and <90 % the fan is wobbling /Arcing,i.e the fan is trying to rotate in opposite direction during the PWM OFF time, Since the fan is rotating in forward direction initially, during the PWM OFF time it will try to rotate in opposite direction,that means there was flickering or jurrking kind of rotation was foreseen,
    4.So kindly suggest us the possible solution to overcome this kind of problem,

    Thanks and Regards
    Bl Gowda

    • Hello Mr. Gowda, as updated at the beginning of the article, the concept has some flaws which needs to be corrected, because triacs don't respond to PWMs in the way transistors do.

      For controlling a triac with PWM we may have to employ a special technique called time proportional phase control, which I have elaborately explained in the following article:

      https://homemade-circuits.com/2016/10/triac-phase-control-using-pwm-time.html

      In order to apply the above concept in our present circuit you may have to employ an astable 555 stage after the PWM stage so that the MOC inpu can be fed with a train of pulses instead of a constant long PWM for driving the triacs. This process will hopefully execute a proper speed control of the fan and also stop the stuttering effect.

      Or alternatively you can employ the following concept which simply gets rid of this complex process and works with additional triacs for the intended speed control of the fan very smoothly.

      https://homemade-circuits.com/2016/09/remote-controlled-fan-dimmer-circuit.html

    • Hello Mr.Swagatham,

      Thanks for your inputs,
      Sorry for asking the same question again,

      Basically i have tried using the TSOP1738–>CD4017–>555–>MOC3041–>BT136–>Triac–>Snubber–>FAN..method,

      Since i had tried using the above method to drive the FAN, i am trying get some solution for the stuttering effect,
      Now i have used MOC3063, the stuttering effect is reduced(but still observed very less),is there any other possible option to to reduce or drive the fan smoothly,

      Thank and Regards
      BL Gowda

    • sorry BL, there's no easy method to solve it, the only way to correct it is by applying a time proportional PWM as explained in my previous comment.

  2. Mr. Swagatam, i got a friend to build the circuit and its not responding to remote control. i used a bulb in place of the load. the bulb turns on as expected but there is no dimming effect. i read though the comments and i saw what you told Orrie. i tried that one too and also put in the MOC3031 but still no dimming effect. i even got some other friends to look at it, but they couldnt get it to work. what do i do now?

    • Hi Papin, you must confirm the working of the various stages first separately.

      first check whether your IR sensor stage is working or not…if it is working correctly then check whether or not the IC 4017 is responding to the toggling from the sensor at its pin#14.

      once these are confirmed then you may proceed to check the IC 555 PWM stage.

      this is the way how all circuits must be verified.

  3. Mr. Swagatam, i was looking at your circuit diagram and i couldnt recognise the type of capacitor you used connected to the 1n4007 diode. am referring to the 1000uF capacitor.

  4. Hai, Could u make a circuit for a ceiling fan speed controller with a 7 segment diaplay(to show the speed 1-9 stages of the fan) and two push-to-on switchs for up-down speed control?

  5. Mr. Majumdar,

    Would you please mention the following as early as possible?

    a) All the resistors' – Watt ( 1/4 or 1/2 or 1)
    b) Capacitor – 47 Micro-farad and 0.1 Micro-farad – is polarized ? Vol ?

    Regards,

  6. Mr. Majumdar,

    Thank you for your comments. However, I have seen in the room of my friend a single remote switch which is used for controlling both a fan ( Speed) and a light ( ON/OFF) by a single remote control.

    The remote switch has four connecting points. One for AC input , one for AC negative, one for fan, one for light. Remote is same.

    Could you please post/e-mail a circuit diagram showing the above arrangement.

    Also, let me know where can I get the PCB.

    Regards,

    DK Ghosh
    E-mail: dkghosh5555@gmail.com

    • Hi Vijay,

      yes LM567 with photo diode can be tried.

      diac is not required for a DC based triggering…it's applicable for AC based triggering.

    • Hi Swagatam,

      I tried the circuit in a breadboard but fan did not run. Now I tried another circuit and that didn't work too. In the end I found that we must use an optocoupler without zero-cross detection. I first tried with an MOC3061 which I already had but it didn't work. I bought an MOC3021 which is a random-phase optocoupler and it works as expected. We need to play around with the resistor values to get the desired speed though.

      Regards,
      Vijay

    • Hi Vijay,

      I appreciate your efforts, however, It's important to identify why a particular concept is giving problems, without identifying the fault it can be meaningless to say it doesn't work or didn't work.

      So you should first find out the exact technical reason why it's working with MOC3021 and not with MOC3061?? MOC3061 has a zero crossing detector and looks more advanced than MOC3021 so it should work with this IC too…unless there's a specific reason which needs to be identified.

    • Hi Swagatam,

      As far as I have read, optocouplers with zero-crossing wait for zero crossing which never happens in this circuit. Or at least that's what is my understanding. I'm not an engineer so I may be wrong but that's what I came across. If I ever get the opportunity to fully test your circuit again, I'll try again with a zero-crossing optocoupler.

      Thanks,
      Vijay

    • Hi Vijay,

      the fan is supposed to work with an AC, so zero crossing effect will be present for the fan. If AC was not used then the zero crossing protection would become irrelevant. in any case both optos work with PWMs so the overall response should be the same from both the devices..

  7. Sir.mane circuit try kiya lekin rc network par 0.01mfd ciramic cap burn ho ja raha he.konsa cap use kar na he? Plz suggest.

  8. dear sir how the full speed and slow speed can be achieved? when the remote is keep pressing it will speed up? then how getting slow speed?

    • the sequence will go cycling from 0 to max, then back to zero…so in order to come back from the middle to some lower point, the sequence will need to be taken to max so it can revert to zero and then to the desired speed level.

  9. sir i change 1nf to 1uf.the out put lamp was flashing.dimming effect was not change.then i try 103,104,271.but result was same.i thing this is the problame in sine wave.becaus i connect a led in pin 3 of 555.led dimming effect was perfect when i trigger ir its change high to low.but this thing was not happend in ac lode.

    • orrie, I think in that case we may have to integrate an opto isolator triac driver between pin3 of IC 555 and the triac

      optoisolator such as a MOC3031

      I'll try to upadte the diagram soon.

  10. sir.
    i am useing 12v smps adapter.how can i solve the problem? when i check this with a led or lamp the result is ok but when i connect with a motor it's not proper work..plz suggest me..

  11. sir,
    mane circuit ko fan se connect kiye.speed varying accurate nahi hay.minimum speed per motor jerk horaha he.plz help…….

    • try a 1K/10 watt resistor, in place of the 0.47uF capacitor, but it will become quite hot…if still it doesn't work then try a 105/400V in it's place.

  12. thanks sir,
    circuit is working proper with 12v smpa.But when i connect with cap power it is not working.is proper carent is not their?

    • orrie, replace the single 1N4007 diode with a bridge rectifier and put the zener diode across the positive negative of the bridge, check the response with this improvement

  13. sir
    thanks for your valuable suggestion.as soon as possible i will check this.unfortunatei am just depart for election duty.after this i must be build this.with your blessing and you and your famaly blessed with a large fortune and good health.

  14. sir,
    i am try to make this.Tsop1738 working fine but 4017 output volt was not vary when i trigger the ic.and pwm also not working.testing with 100w lamp.plz help

    • you'll need to test it step wise,

      initially do not use an AC input or bulb. feed a 12V DC from an ac/DC adapter to the circuit.

      connect a red LED in series with the BC557 between its collector 10k resistor and ground.

      this LED must light up and shut off in response to the input IR beams from the TV remote.

      If the above happens the 4017 output will surely shift from one pin to the other, you can confirm this using a meter set in DC volts.

      the above operation will create a varying voltage at the node marked as"A" confirm this also.

      next confirm the same at the emitter of the BC547.

      finally confirm whether the output of the 555 IC is generating the varying average voltage from 1 to 10V in response to these operations or not.

      once all these are confirmed you can restore the circuit with the AC mains and the bulb for the intended results



Leave a Comment

Do NOT follow this link or you will be banned from the site!