its related to embedded.this mini project requires following things which is mentioned in the document.embedded c is used here as a programming language.
Potential of AI (Generative AI) in Business: Learnings and Insights
document on mini project-interfacing lcd with 8051 microcontroller
1. Interfacing LCD with 8051 microcontroller
Introduction:
Most commonly used lcds is HITACHI 44780 and are available in 1 line, 2 line or 4 line
which has 1 controller and support up to 80 characters.
Lcd having 1 controller contains 14 pins and those with 2 controllers contains 16 pins.
If lcd is used in 8 bit mode then there are 8 data lines and 3 control lines.
If lcd is used in 4 bit mode then there are 4 data lines and 3 control lines.
Normally 8 bit mode is preffered because it is faster in displaying than 4 bit mode.
There are 8 data pins namely from DB0 to DB7 and they can be used as both i/p and o/p.
There are 3 control lines namely Rs, R/W and E.
Rs and R/W are used as i/p whereas E is used as i/p and o/p both.
Hardware requirements:
Lcd.
Latches.
8051 controller.
Power supply.
Procedure of interfacing:
[Type text]
Page 1
2. Interfacing LCD with 8051 microcontroller
Lcd can be interfaced directly with 8051 because both work at same voltage levels
(i.e +5V).
Data pins of lcd are connected to the pins of Port1.
Control lines of lcd can be connected to P2 or P3.
VSS is ground.
VCC is +5V supply.
VEE is to control the contrast by using 10K pot.
Procedure for coding:
Before displaying something on lcd it must be initialized.
There are two methods for initializing i.e internal reset circuit method and by sending
instruction.
By using internal reset circuit method the lcd initializes automatically after it is powered
on.
In the second method we need to send commands to lcd and it is simple(e.g 0x38).
Also we should know following things:
When Rs=0 ; command reg is selected.
Rs=1; data reg is selected.
When R/W=0; write.
R/W=1; read.
E(enable) is raised/lowered before/after each instruction given to the lcd respectively.
For Sending commands to lcd steps are:
Move data to LCD port.
select command register.
select write operation.
send enable signal.
wait for LCD to process the command.
[Type text]
Page 2
3. Interfacing LCD with 8051 microcontroller
For sending data to lcd steps are:
Move data to LCD port.
select data register.
select write operation.
send enable signal.
wait for LCD to process the data.
For reading the busy flag steps are:
Select command register.
Select read operation.
Send enable signal.
Read the flag.
[Type text]
Page 3