INTERRUPTS LCD INTERFACING LCD LIQUID CRYSTAL DISPLAY Liquid

  • Slides: 70
Download presentation
INTERRUPTS

INTERRUPTS

LCD INTERFACING

LCD INTERFACING

LCD (LIQUID CRYSTAL DISPLAY) • Liquid Crystal Display also called as LCD is very

LCD (LIQUID CRYSTAL DISPLAY) • Liquid Crystal Display also called as LCD is very helpful in providing user interface as well as for debugging purpose. The most common type of LCD controller is HITACHI 44780 which provides a simple interface between the controller/processor & an LCD. • These LCD's are very simple to interface with the controller/processors as well as are cost effective. The most commonly used ALPHANUMERIC displays are • 1 x 16 (Single Line & 16 characters) • 2 x 16 (Double Line & 16 character per line) • 2 x 20 (two lines & Twenty characters per line) • 4 x 20 (four lines & Twenty characters per line). 03 -03 -2021 Navjot Rathour

Set Cursor Move Direction: ID - Increment the Cursor After Each Byte Written to

Set Cursor Move Direction: ID - Increment the Cursor After Each Byte Written to Display if Set S - Shift Display when Byte Written to Display Enable Display/Cursor D - Turn Display On(1)/Off(0) C - Turn Cursor On(1)/Off(0) B - Cursor Blink On(1)/Off(0) Move Cursor/Shift Display SC - Display Shift On(1)/Off(0) RL - Direction of Shift Right(1)/Left(0) Set Interface Length DL - Set Data Interface Length 8(1)/4(0) N - Number of Display Lines 1(0)/2(1) F - Character Font 5 x 10(1)/5 x 7(0) Poll the "Busy Flag" BF - This bit is set while the LCD is processing 03 -03 -2021 Navjot Rathour