Display Potentiometer Readings on LCD Display

1691

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.


Components List


Pin Connections

Connection of Arduino and LCD

Pin No.LCD PinsArduino Pins
1VSS/GNDGND
2VDD/VCC5v
3V0Potentiometer Vout
4RS12
5RWGND
6E11
7-10D0-D3No connection
11D45
12D54
13D63
14D72
15A/LED+5v
16K/LED-GND

Connect the LCD Potentiometer Vin and GND with Arduino 5v and GND respectively.


Connection Of Arduino and Second Potentiometer

Pin No.Potentiometer PinsArduino Pins
15V / Vin5V
2GNDGND
3Wiper / VoutA0

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.

CIRCUIT DIAGRAM OF DISPLAY POTENTIOMETER READINGS ON LCD DISPLAY

Code

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


Output 

OUTPUT OF DISPLAY POTENTIOMETER READINGS ON LCD DISPLAY

Here some more tutorials for you:

Our Youtube Channel

LEAVE A REPLY

Please enter your comment!
Please enter your name here