Lcd With Arduino
An LCD (Liquid Crystal Display) screen is an electronic display module and has a wide range of applications. A 16x2 LCD display is very basic module and is very commonly used in various devices and circuits. A 16x2 LCD means it can display 16 characters per line and there are 2 such lines. In this LCD each character is displayed in 5x7 pixel matrix. The 16 x 2 intelligent alphanumeric dot matrix display is capable of displaying 224 different characters and symbols. This LCD has two registers, namely, Command and Data.
Command register stores various commands given to the display. Data register stores data to be displayed. The process of controlling the display involves putting the data that form the image of what you want to display into the data registers, then putting instructions in the instruction register. In Arduino project Liquid Crystal Library simplifies this for you so you don't need to know the low-level instructions. Contrast of the display can be adjusted by adjusting the potentiometer to be connected across VEE pin.
Components Required
- Arduino - https://amzn.to/32jAMUA
- 16 X 2 LCD Display - https://amzn.to/35VXFQl
- Potentiometer 10K ohms - https://amzn.to/2ZuPNRN
- 220 ohms resistor(optional) - https://amzn.to/2ZuPNRN
- Jumper wires - https://amzn.to/3iqdBxM
Circuit Schematic
GND/VDD pin - - > GND of Arduino
VCC/VSS pin - - > 5V of Arduino
VEE pin - - > pin 2 of potentiometer
RS - - > pin 12 of arduino
RW - - > GND
E(enable) - - > pin 11
D7 - - > Pin 2 of arduino
D6 - - >Pin 3 of arduino
D5 - - >Pin 4 of arduino
D4 - - >Pin 5 of arduino
K(led cathode -) - - > Gnd
A(led Anode +) - - > 5V
Pin 1 of potentiometer - - > 5V
Pin 3 of potentiometer - - > GND