59Views3Replies

Author Options:

How detect the speed changes of fan using a controller ic? Answered

i have a ceiling fan manual regulator, the voltage output that i got when
different speed is 80v,120v,180v,200v respectively

in my project i want to detect the fan speed changes.

that means if fan is running in 1st speed then user turn into second speed it should be detect(by using in Arduino) .

how can detect this?

I tried to use a current sensor(ACS712) at output of a regulator then detect the current for different speed..but the variation still small cannot be detectable.

Discussions

0
None
Yannick99

18 days ago

Helping you ?

for you.PNG
0
None
Yannick99

25 days ago

First, from fan voltage you need a diode and a low pass filter. On 200vAC you will have 282v DC. After, by tension divider. 2 Resistors, 1M and a 15k. 1M from fan voltage to a ADC pin. And 15k from the ADC pin to gnd. Now use the ADC to check the voltage. If between x and y = speed 3 etc...

0
None
wounderYannick99

Reply 19 days ago

Could you can provide circuit diagram with component values??

0
None
wounderYannick99

Reply 19 days ago

@yannick99
Is it single diode suitable for this purpose?
Could you please suggest the diode suitable for this purpose?

0
None
Downunder35m

26 days ago

Might be stupid question but why not make some additions to the switch for the fan?
For example a simple slotted disc and IR- gate sensors salvaged from an old ball type mouse.
Disc is on the shaft of the switch, the sensors positioned so the slots go through them correctly.
In the off position the coresponding slots are filled or covered.
Position one and the first gate has a free slot in it.
Position two has the second one activated.
Position three activates the first and second.
For all five position you would need sensors from another mouse but it continous in the same binary pattern.
Of course you can also use a small magnet on the knob and small reed switches to indicate the position.
Both solutions offer a total isolation from the mains voltage and the best safety for the user and electronics possible.
Just think about it and you might get the idea you need to create something that does the trick for you ;)

0
None
EmadtechL

27 days ago

you can use voltage divider on the output with one diode to rectify and just read the voltage ! you need a big ratio to give you 220v under 3 volte to micro controller

0
None
Downunder35m

4 weeks ago

Isn't that what the numbers on the knob are for already?
Make a 40:1 transformer or buy a ready to go one.
Have it parallel to the motor assuming the motor only has one winding (most have 4).
Rectify the output and map it to an input.
Makes 5 signals from off to 200V.