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 LED has to be connected to PWM digital pin // since LED connected to PWD pin accepts value between 0-255 and potentiometer provides value between 0-1023 we have to divide the value coming from ...
There was an error while loading. Please reload this page. Interface 8 LEDs with Arduino UNO (digital 0 to digital 7). Develop an Arduino sketch for following: a ...