As it is known, Arduino UNO has 6 analog input pins. These are pins A0, A1, A2, A3, A4 and A5. Analog signals between 0 (zero) and 5 (five) volts can be input to these analog inputs. Analog signals can be the sound level, the value from the temperature sensor, or the value from the humidity sensor. We will input with the help of potentiometer in this application.
We will connect the middle pin of the potentiometer to the A0 analog input pin of the Arduino UNO. We will change the input voltage. We will see the change with the help of the leds we connect to the digital pins.