How To Control LED Brightness or DC Fan Speed with Arduino, Transistor, and Potentiometer In this tutorial, I will show you how to control the brightness of an LED or the speed of a DC fan using an Arduino board, a BC547 transistor, and a …