Display Potentiometer Readings on LCD Display

0
39

In this tutorial, we learn how to display the potentiometer readings on LCD Display using Arduino. With the help of this tutorial, you can be displaying sensor values on LCD. We use an LCD 16x2 Display. We required two potentiometers, one for adjusting LCD brightness and one for getting readings. We use an analog pin to reading the sensor values.

Read:- How to connect LCD Display with Arduino.

Components List

Pin Connections of LCD 16x2 with Arduino and Potentiometer

Pin Connection Of Arduino and LCD

Pin No. LCD Pins Arduino Pins
1 VSS/GND GND
2 VDD/VCC 5v
3 V0 Potentiometer Vout/Wiper
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 Potentiometer Vin and GND with Arduino 5v and GND respectively.

Pin Connection Of Arduino and Second Potentiometer

Pin No. Potentiometer Pins Arduino Pins
1 5V / Vin 5V
2 GND GND
3 Wiper / Vout A0

 

potentiometer-pinout
Potentiometer Pinout

Circuit Diagram of LCD Display Arduino with Potentiometer

CIRCUIT DIAGRAM OF DISPLAY POTENTIOMETER READINGS ON LCD DISPLAY

Code for Displaying Potentiometer Readings on LCD Display

Output of LCD Display Arduino with Potentiometer

OUTPUT OF DISPLAY POTENTIOMETER READINGS ON LCD DISPLAY

Our Youtube Channel