Papers > Technology > LCD interfacing with PIC16F877
|
Featured Papers from Direct Essays
|
|
|
|
|
|
This is a preview of a paper to view the full text you need to signup and login.
|
LCD interfacing with PIC16F877
|
|
|
Objective:
The object of this lab is to assemble the hardware to interface a 20x4 LCD to the PIC via a 4-bit interface and to design a driver for the PIC in C language.
Individual Contribution:
Both my partner and I contributed to the team by researching the PIC and the LCD, assembling the hardware, and writing the code for the driver.
Detailed Description of Tasks:
Pin # Symbol Function
1 Vss Ground
2 Vcc +5V
3 Vee LCD contrast adjust
4 RS Register Select
5 R/W Read/Write
6 E Enable signal
7 DB0
Data Bus Line
8 DB1
9 DB2
10 DB3
11 DB4
12 DB5
13 DB6
14 DB7
After assembling the hardware for the lab, a driver had to written to interface the PIC and the LCD. The lcd_write_nibble function was used to write 4 bits at a time to the LCD. ... The lcd_init function initiated the LCD bye making all control line zero and by writing three to it to warm it up.
|
|
|
To link to this page, copy the following code to your site:
|
|
Paper Information
|
|
|
Title: LCD interfacing with PIC16F877
Words: 808 Rating: None Pages: 3.2 submitted by: chobby
If you think this paper shouldn't be here then
|
|
|
|
|
Signup & Login
|
|
|
If you don't currently have a login then Signup here
|
|
|
|
|
Pre-Written Papers
|
|
|
|
|
|
|
|
Custom Papers
|
|
|
|
|
|
|
|