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 is an updated 2023 tutorial on how to make a temperature and humidity sensor using an Elegoo Uno R3 Arduino. To do this, we will need the following parts: - LCD display - Breadboard - ...
// 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 ...