I want to control 130watt - 220Vac fan with Arduino as well as ordinary dimmer. A selector switch will operate a relay to select output from Arduino or dimmer. First idea was to use zero cross detection and thyristor to control fan speed. But this technique works with pure sine wave however our utility power supply is highly unreliable and we have to use fan from a step sine wave UPS. I know, if not impossible it will be quite difficult to design a proper circuit that will work for both sine-wave and step-sine wave to control fan speed.
Ordinary dimmer (100k variable resistor + add-on electronics) works fine with both pure sine and step sine wave inputs.
Another idea is to use a motorized rotary potentiometer that looks like this one:
Motor operates at 12 volts. I have to swap 12V and 0V terminals to change motor direction. Since I am noob in electronics world, here are a few problems that I am facing now where I need assistance:
- How can I drive 12V motor with 5V Arduino output? I believe transistor can help.
- How will I swap Arduino outputs when I have to change direction of rotation.
- This is not a big issue but it would be nice to know how to detect full rotation (end position) of potentiometer in order to block further output from Arduino.
I
