Lab Activity 7 LCD
Lab Activity 7 LCD
Experiment Number 7
LCD Interfacing
Objectives:
To learn how to interface a 2x16 LCD in 4-bit mode to
the Arduino board.
Theory:
The LCDs have a parallel interface, meaning that the
microcontroller has to manipulate several interface pins
at once to control the display.
Equipment:
Arduino Board
LCD Screen (compatible with Hitachi HD44780 driver)
10k Potentiometer
breadboard
Procedure:
1. Connect the circuit of Fig.1 with the following details:
To wire your LCD screen to your
Arduino, connect the following pins:
LCD RS pin to digital pin 12
Page 1 of 3
Prepared by: Jonel R Macalisang
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
Additionally, wire a 10K pot to +5V and GND, with it's
wiper (output) to LCD screens VO pin (pin3).
LCD LED+ to +5V and LCD LED- to GND.
Discussion:
Results and Discussion of Method of Exercises (Individual)
(Screenshot, Code and Discussion, follow the guidelines below.)
Page 2 of 3
Prepared by: Jonel R Macalisang
If an image is taken from another literature or intellectual property, please cite
them accordingly in the caption. Always keep in mind the Honor Code [1] of our course
to prevent failure due to academic dishonesty.
Page 3 of 3
Prepared by: Jonel R Macalisang