Saturday, December 10, 2011

LCD interfacing with 8051



For general Purpose most commonly used Character based LCDs are based on Hitachi's HD44780 controller or other which are compatible with HD44580. LCD module have 8-bit data interface and control pins. One can send data as 8-bit or in pair of two 4-bit nibbles.
Character LCD type HD44580 Pin Diagram
To display any character on LCD micro controller has to send its ASCII value to the data bus of LCD.For e.g. to display 'AB' microcontroller has to send two hex bytes 41h and 42h respectively.LCD display used here is having 16x2 size. It means 2 lines each with 16 character.