This is an easy tutorial showing how you can control the brightness of an LED or adjust the speed of a DC fan using Arduino Board, a small BC547 transistor and a potentiometer. In my example the whole ...
The project illustrates the control of a PC fan speed and using an Arduino microcontroller to read a LM35 temperature sensor. The use of an optocoupler is covered along with Pulse Width Modulation ...