tailieunhanh - LCD AND KEYBOARD INTERFACING

The 8051 Microcontroller and Embedded Systems: Using Assembly and C Mazidi, Mazidi and McKinlay LCD is finding widespread use replacing LEDs The declining prices of LCD The ability to display numbers, characters, and graphics | LCD AND KEYBOARD INTERFACING The 8051 Microcontroller and Embedded Systems Using Assembly and C Mazidi Mazidi and McKinlay Chung-Ping Young sró Home Automation Networking and Entertainment Lab Dept. of Computer Science and Information Engineering National Cheng Kung University TAIWAN LCD INTERFACING LCD Operation LCD is finding widespread use replacing LEDs The declining prices of LCD The ability to display numbers characters and graphics Incorporation of a refreshing controller into the LCD thereby relieving the CPU of the task of refreshing the LCD Ease of programming for characters and graphics HANEL Department of Computer Science and Information Engineering National Cheng Kung University TAIWAN 2 LCD INTERFACING LCD Pin Descriptions Pin Descriptions for LCD Pin Symbol I O Descriptions 1 VSS -- Ground 2 VCC -- 5V power supply 3 VEE -- Power supply to control contrast 4 RS I RS 0 to select command register RS 1 to select data register - Send displayed information or instruction command codes to the LCD - Read the contents of the LCD s internal registers 5 R W I R W 0 for write R W 1 for read used by the LCD to latch 6 E I O Enable- 7 DB0 I O The 8-bit data bus information 8 DB1 I O The 8-bit data bus presented to 9 DB2 I O The 8-bit data bus its data bus 10 DB3 I O The 8-bit data bus 11 DB4 I O The 8-bit data bus 12 DB5 I O The 8-bit data bus 13 DB6 I O The 8-bit data bus 14 DB7 I O The 8-bit data bus HANEL Department of Computer Science and Information Engineering National Cheng Kung University TAIWAN