In this tutorial, we will learn how to display the potentiometer readings on LCD Display using Arduino. With the help of this tutorial, you can also display sensor values on the LCD.
We will use an LCD 16×2 display in this tutorial and we will need two potentiometers, one to adjust the LCD brightness and one to get readings.
The Arduino uses an analog pin to read the sensor values. So the potentiometer we want to read will connect it to the analog pin of the Arduino.
- Also, Read:- How to use an LCD Display with Arduino.
Components List
- LCD 16 x 2 Display
- Arduino Uno
- 2 x Potentiometer 10kOhms
- Jumper Wires
- Breadboard
- Resistors
Pin Connections
Connection of Arduino and LCD
Pin No. | LCD Pins | Arduino Pins |
---|---|---|
1 | VSS/GND | GND |
2 | VDD/VCC | 5v |
3 | V0 | Potentiometer Vout |
4 | RS | 12 |
5 | RW | GND |
6 | E | 11 |
7-10 | D0-D3 | No connection |
11 | D4 | 5 |
12 | D5 | 4 |
13 | D6 | 3 |
14 | D7 | 2 |
15 | A/LED+ | 5v |
16 | K/LED- | GND |
Connect the LCD Potentiometer Vin and GND with Arduino 5v and GND respectively.

Connection Of Arduino and Second Potentiometer
Pin No. | Potentiometer Pins | Arduino Pins |
---|---|---|
1 | 5V / Vin | 5V |
2 | GND | GND |
3 | Wiper / Vout | A0 |
Circuit Diagram
Connect Arduino and other components with the help of the below circuit diagram to display the potentiometer readings on an LCD 16×2 display.

Code
Upload the below code in Arduino and get the adjust the potentiometer to see different readings.
Output
