PIC16C84 microcontroller 2-Wire LCD Interface

Often the biggest stumbling block to using alphanumeric LCD displays is the number of pins required to control them. For the Hitachi 44780, twelve pins are required from the microcontroller to interface to the display for it to work in eight bit mode. For many smaller microcontrollers, twelve pins are not available or will be better served in the application. To be fair, this can be reduced to six by using the 44780′s “Four Bit” mode, but this can still be more than acceptable for most applications.

In this case, different approaches have to be made. The most popular one is to use synchronous serial data (requiring a “clock” and “data”) pin to load a serial-in/parallel-out shift register with the data bits and “R/S” pin information. The “E” Strobe Pin is driven directly by the microcontroller to latch in the data from the LCD. This is shown in the diagram below:

PIC16C84 microcontroller 2-Wire LCD Interface

PIC16C84 microcontroller 2-Wire LCD Interface
S:electronicsuite.com


EmoticonEmoticon

Advertisement