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 ...
This voltage controlled switch circuit operates when a voltage level which is previously adjusted is applied to the input. Circuit is designed for 24V supply but can be used in a range of 18V-36V.