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 ...
Wrote a program that increases and decreases the PWM (pulse width modulation), essentially fading the LED off and on. Wrote a program that uses a potentiometer to either turn a red/green led on ...
// 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 ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results