So - i often work with DC current for robotics and the like, but now i have the problem that i'm having a 230V AC fan which shall be operated at two different speeds for an exhibition installation. I don't have a dimmer, only two 230V relais that are controlled by my microcontroller and that are connected to regular 230V AC powersupply. At one setting, the fan should rotate at maximum speed, at the other setting it should turn only very slowly.
Now, I'm not experienced with AC current electrics. I think I have to put a capacitor in series with the fan, as a capacitor in an AC circuit is kind of the equivalent to a resistor in a DC circuit, right?
But what capacitor to chose and what to pay attention to so that the whole thing won't catch fire?
//edit: the fan uses a "Shaded-pole" type of motor
thanks!