We will now be looking at how to use analog inputs to our Arduino UNO controller. An analog input converts a voltage level into a digital value. This can then be used in our Arduino program or sketch. The analog input signal can represent many different items. Speed, levels, distance, brightness, density, humidity, etc. are a few items that this external input can represent.
We will be wiring a 10K potentiometer to the first analog input of the controller. The Arduino Uno R3 from our Super Starter Kit will be used. As the analog values changes via our potentiometer, we will use PWM to change the brightness of an LED. We will look at how this conversion from analog voltage to digital is done. Values will be displayed on the built-in serial monitor of our Arduino IDE software. Let’s get started.