rushi53
Member level 2

Hi,
I am working on "Temperature controlled Fan using 89s51". Requirement is: Fan speed should vary depending upon temperature variations.
I am using Triac BT136 for controlling fan speed, I am varying the firing angle for triac.
Zero crossing detector (ZCD) is used here.
I am working on 230vAC/50Hz power supply, which means ZCD should give 50pulses per second.
My problem is that ZCD is not giving 50 pulses. (It gives approx 35,000 pulses per second)
I am uploading the circuit diagram of ZCD. Output terminal A goes to interrupt0 of microcontroller (89s51)
Please help me to correct the ZCD diagram. Or please suggest me any replacement for this.

I am working on "Temperature controlled Fan using 89s51". Requirement is: Fan speed should vary depending upon temperature variations.
I am using Triac BT136 for controlling fan speed, I am varying the firing angle for triac.
Zero crossing detector (ZCD) is used here.
I am working on 230vAC/50Hz power supply, which means ZCD should give 50pulses per second.
My problem is that ZCD is not giving 50 pulses. (It gives approx 35,000 pulses per second)
I am uploading the circuit diagram of ZCD. Output terminal A goes to interrupt0 of microcontroller (89s51)
Please help me to correct the ZCD diagram. Or please suggest me any replacement for this.
