Thursday, June 26, 2014

INTERFACING OF PIC18F4550 TO LCD IN 4-BIT MODE

INTERFACING OF PIC18F4550 TO LCD IN 4-BIT MODE

LCD Description:

LCD display has 3 control pin:
       
       1.)  Register Select Pin (rs)
       2.) Read/Write Pin (rw)
       3.) Enable Pin (en)

Register Select Pin used for selecting the Register of LCD i.e.
Command Register or Data Register.
rs = 0; Command Register.
rs = 1; Data Register.

Read /Write Pin used for selecting Read from or Write to LCD i.e.
rw = 0; Write mode.
rw = 1; Read mode.

Enable Pin used for Latching Data into LCD data Register.
When Write Data to LCD en must go High to Low.
And to Read Data from LCD en must go Low to High.




LCD has 8-bit Data Pin:

We are using 4-bit Mode, so we are using only high 4-bit.
i.e. (D7-D4).



Thank You.
Plz Do Share and Subscribe the Video.
Code: Click For Code
For Video on Above Program: Click For Video

1 comment:

  1. hi, how to display the integer we set and how to set the port be the input?

    ReplyDelete