|
|

This is only a preview of the paper Click here to register and get the full text. Existing members click here to login
|
|
|
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.
Approximate Word count = 808 Approximate Pages = 3.2 (250 words per page double spaced)
|
|
|
|
|
|