I have a circuit already built. A 3-wire fan which a wire is connected to 12V, a wire is ground, and a wire is connected to a pin of an AVR microcontroller. How can I drive this fan and control its speed?
On the fan is written Brushless DC fan and it is like PC fan.