Liquid Crystal Display (LCD) with Arduino

 LCD is nothing but Liquid Crystal Display.

 Liquid crystal Display 16x2 (LCD) is a widely used electronic device to establish communication between the real world and the electronics-based machine world.

Liquid crystal display’s unique features are as follows:

  • Consists of two rows, with the capability to display 16 characters in each row.
  • Cable to display alphanumeric characters (means it can display numbers and alphabets).
  •  Low power consumption.
  • Works on the principle of blocking light instead of emitting light.
  • Require less operating voltage.
  •  Each character is built by a 5x8 pixel matrix.

Liquid crystal displays (LCDs) are a commonly used to display data in devices such as calculators, microwave ovens, and many other electronic devices.








Hardware required

Arduino UNO Board
LCD Screen
Pin headers to solder to the LCD display pins
10k ohm potentiometer
220 ohm resistor
Hook-up wires or Jumper wires
Breadboard

Here's the program👇

We use c language for coding. 
First we should include a library then in second step we defined each and every pin in LCD. Third step we created a setup. Fourth step we created a loop. You can change the delay (in microseconds). 



Connections:

To wire your LCD screen to your board, connect the following pins:

LCD RS pin to digital pin 12
LCD Enable pin to digital pin 11
LCD D4 pin to digital pin 5
LCD D5 pin to digital pin 4
LCD D6 pin to digital pin 3
LCD D7 pin to digital pin 2
LCD R/W pin to GND
LCD VSS pin to GND
LCD VCC pin to 5V
LCD LED+ to 5V through a 220 ohm resistor
LCD LED- to GND








Final output👇














Comments

Post a Comment

Popular posts from this blog

Touch sensor with LED and Buzzer