I want to control a 230 V, 100 mA ventilation fan with a regulator. It has to be a digital regulator though that I can control through a MySQL database in the long end..... I obviously don't want a relay because that's on and off. So would I need some type of transistor?? FET maybe?
well, ac fans are kinda tricky. if its an induction motor you would need a VFD (variable frequency drive) which is expensive and overkill. does the fan need to stay stock? can you replace it with a DC muffin fan? any more information would help.
Circuit Description
The MC3032 is an optoisolator TRIAC driver. The 180-ohm resistor sets the current for the LED emitter in the optoisolator. Change the value of this resistor - if necessary - to get reasonable current (e.g., 15 mA).
Note that you cannot test this circuit without a load. The TRIAC will not switch unless connected to an AC voltage source, so you can't test it for simple switching w/o applying AC and a load. Note the 500V rating on the .01 cap.
So when you change the current to the LED in the optoisolator it changes the current to the fan? Otherwise it kind of looks like a normal relay which would achieve the speed "regulation" I want.
Remember it's a 230 V fan which doesn't really matter but whatever...
i think what that circuit was for was for sort of a "dimming" circuit. by triggering the triac at different parts of the waveform you can get different average power outputs, which would control the speed (mostly). i think its a dirty way to control motors but it could work.