Stepper motors are increasingly taking its position in the world of the electronics. Starting from a normal Surveillance camera to a complicated CNC machines/Robot these Stepper Motors are used ...
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 Arduino sketch monitors the voltage output from a potentiometer connected to analog pin A0. It displays the voltage reading on the serial monitor and controls two LEDs based on the voltage level.
This example code is in the public domain. https://www.arduino.cc/en/Tutorial/BuiltInExamples/AnalogInput int sensorPin = A0; // select the input pin for the ...