Complete Micro-Project Report
Complete Micro-Project Report
Complete Micro-Project Report
MicroProject Report
On
“Chart on various types of LCD to display its features, pin
functions”
Submitted in partial fulfillment for ‘I’ Scheme Third Semester
2020-21
Diploma in
ELECTRICALENGINEERING
By
Prof. Y. U. Rathod
(Lecturer/HOD)
In Pursuit of Excellence
Certificate of Completion
This is to certify that Mr./Ms. Shaikh Abdul Muqsit Shaikh Abdul Ghani (1915010263),
Mohammad Arfat Mohammad Aslam (2015010109) has successfully completed their Micro-
Project entitled " Chart on various types of LCD to display its features, pin functions "in
the Course of Fourth semester during their tenure of completing the Diploma programme in
Electrical Engineering From MGM's Polytechnic institute with institute code 1501.
(Guide) (HOD)
Dr. B. M. Patil
(Principal)
INDEX
Micro-Project Proposal
1.0 (Annexure – I)
Aims/Benefits of the Micro-Project 01
Micro-Project Report
Micro-Project Proposal
Chart on various types of LCD to display its features, pin
functions
2. Course Outcomes
Interface the memory and I/O devices to microcontrollers
3. Proposed Methodology
the clarity and legibility of characters on numerical display devices of the luminous type
The brightness, luminance contrast, indication numerals, illuminance on the display device
faceplate surface, and angle of the inclination of the display device faceplate, affecting both
the clarity and legibility of the characters, to measured and to make the cross-correlation of
these parameters clear for both the clarity and legibility of the characters.
4. Resources Required
1 Supply voltage; 5V 1
2 LCD panel 1
3 Switch. 1
4 8-bit data pins
Page | 1
Micro-Project Report
Chart on various types of LCD to display its features, pin
functions
1. Aims/Benefits of the Micro-Project:
The objective in this project is to develop and compare in term of method or topology
of LCD displays and able to solve the problem with optimum way and understand the pin
functions and its features that will be used in this project.
3. Literature survey
This chapter presents a review on the various types of LCD display its features and pin
functions. Nowadays, we always use the devices which are made up of LCDs such as CD
players, DVD players, digital watches, computers, etc. These are commonly used in the
screen industries to replace the utilization of CRTs. Cathode Ray Tubes use huge power
when compared with LCDs, and CRTs heavier as well as bigger. These devices are thinner
as well power consumption is extremely less. The LCD 16×2 working principle is, it blocks
the light rather than dissipate. This article discusses an overview of LCD 16X2, pin
configuration and its working.
3.1. What is the LCD 16×2?
The term LCD stands for liquid crystal display. It is one kind of electronic display
module used in an extensive range of applications like various circuits & devices like mobile
phones, calculators, computers, TV sets, etc. These displays are mainly preferred for multi-
segment light-emitting diodes and seven segments. The main benefits of using this module are
inexpensive; simply programmable, animations, and there are no limitations for displaying
custom characters, special and even animations, etc.
16X2 LCD
Page | 2
• Pin1 (Ground/Source Pin): This is a GND pin of display, used to connect the GND terminal
of the microcontroller unit or power source.
• Pin2 (VCC/Source Pin): This is the voltage supply pin of the display, used to connect the
supply pin of the power source.
• Pin3 (V0/VEE/Control Pin): This pin regulates the difference of the display, used to connect
a changeable POT that can supply 0 to 5V.
• Pin4 (Register Select/Control Pin): This pin toggles among command or data register, used
to connect a microcontroller unit pin and obtains either 0 or 1(0 = data mode, and 1 =
command mode).
• Pin5 (Read/Write/Control Pin): This pin toggles the display among the read or writes
operation, and it is connected to a microcontroller unit pin to get either 0 or 1 (0 = Write
Operation, and 1 = Read Operation).
• Pin 6 (Enable/Control Pin): This pin should be held high to execute Read/Write process,
and it is connected to the microcontroller unit & constantly held high.
• Pins 7-14 (Data Pins): These pins are used to send data to the display. These pins are
connected in two-wire modes like 4-wire mode and 8-wire mode. In 4-wire mode, only four
pins are connected to the microcontroller unit like 0 to 3, whereas in 8-wire mode, 8-pins
are connected to microcontroller unit like 0 to 7.
• Pin15 (+ve pin of the LED): This pin is connected to +5V
• Pin 16 (-ve pin of the LED): This pin is connected to GND.
LCD-16×2-pin-diagram
Page | 3
Pin
Function Name
No.
RS
4 Selects command register when low, and data register when high (Register
Select )
5 Low to write to the register; High to read from the register Read/write
Sends data to data pins when a high to low pulse is given; Extra
voltage push is required to execute the instruction and EN(enable)
6 signal is used for this purpose. Usually, we set en=0, when we want Enable
to execute the instruction we make it high en=1 for some
milliseconds. After this we again make it ground that is, en=0.
7 DB0
8 DB1
9 DB2
10 DB3
8-bit data pins
11 DB4
12 DB5
13 DB6
14 DB7
15 Backlight VCC (5V) Led+
16 Backlight Ground (0V) Led-
Page | 5
A 16X2 LCD has two registers, namely, command and data. The register select is used to
switch from one register to other. RS=0 for command register, whereas RS=1 for data
register.
The command register stores the command instructions given to the LCD. A
command is an instruction given to LCD to do a predefined task. Examples like:
• initializing it
• clearing its screen
• setting the cursor position
• Controlling display etc.
Processing for commands happens in the command register.
The data register stores the data to be displayed on the LCD. The data is the ASCII
value of the character to be displayed on the LCD. When we send data to LCD it goes
to the data register and is processed there. When RS=1, data register is selected.
Page | 6
2 02 Return home
Page | 7
Generating custom characters on LCD is not very hard. It requires the knowledge
about custom generated random access memory (CG-RAM) of LCD and the
LCD chip controller. Most LCDs contain Hitachi HD4478 controller. CG-RAM is the
main component in making custom characters. It stores the custom characters once
declared in the code. CG-RAM size is 64 byte providing the option of creating eight
characters at a time. Each character is eight byte in size. CG-RAM address starts from
0x40 (Hexadecimal) or 64 in decimal. We can generate custom characters at these
addresses. Once we generate our characters at these addresses, we can print them by
just sending commands to the LCD. Character addresses and printing commands are
below.
Page | 8
In the table above you can see starting addresses for each character with their
printing commands. The first character is generated at address 0x40 to 0x47 and is
printed on LCD by just sending a command 0. The second character is generated at
address 0x48 to 0x55 and is printed by sending a command 1.
LCD modules form a very important in many Arduino based embedded system designs to
improve the user interface of the system. Interfacing with Arduino gives the programmer
more freedom to customise the code easily. Any Arduino board, a 16X2 LCD display,
jumper wires and a breadboard are sufficient enough to build the circuit. The interfacing of
Page | 9
5. Applications of LCD
LCDs are used in a wide range of applications, including LCD televisions, computer
monitors, instrument panels, aircraft cockpit displays, and indoor and outdoor signage.
Small LCD screens are common in LCD projectors and portable consumer devices such
as digital cameras, watches, digital clocks, calculators, and mobile telephones,
including smartphones. LCD screens are also used on consumer electronics products such
as DVD players, video game devices and clocks. LCD screens have replaced heavy,
bulky cathode ray tube (CRT) displays in nearly all applications. LCD screens are available
in a wider range of screen sizes than CRT and plasma displays, with LCD screens available
in sizes ranging from tiny digital watches to very large television receivers. LCDs are
slowly being replaced by OLEDs, which can be easily made into different shapes, and have
a lower response time, wider color gamut, virtually infinite color contrast and viewing
angles, lower weight for a given display size and a slimmer profile
Page | 10