LCD stands for Liquid Crystal Display. It can be used to display anything (virtually anything!). They are of many types. The ones we commonly use for embedded systems, robotics, etc are of two types — character LCD and graphical LCD. We will discuss about character LCDs in this post whereas graphical LCDs will be discussed later. The most popular type of character LCD is the HD44780 Character LCD. In this post, we will be using the JHD 162A character LCD shown below. JHD 162A Character LCD The JHD 162A LCD is fully compatible with the HD44780 LCD. Hence, the same set of codes will work for both. It is a 16×2 LCD module ie it has 16 columns and 2 rows for display. It can operate in either 8 bit mode or 4 bit mode. In 8 bit mode, an 8 bit is data is sent to the LCD from the MCU whereas in 4 bit mode, 4 bits of data are sufficient to operate it. It has 16 pins, the details of which is given below: JHD 162A Pin Configuration Now, for the LCD to work in 8 bit mode, it requires the 8 data pins (DB0…DB7) and 3 control pins (RS, R/W, EN) whereas in 4 bit mode, it requires 4 data pins (DB4…DB7, only the upper nibble) and 3 control pins (RS, R/W, EN). Though the 8 bit mode is faster and more accurate, it consumes more pins of the MCU. However, the 4 bit mode is also fast and accurate enough to satisfy most of our need, plus it requires only 7 pins for interfacing. Hence, we will be working in the 4 bit mode. In the 4 bit mode, data pins DB0…DB3 are left open. Interfacing LCD Video Rating: 0 / 5

Related Posts:

Manual four-wheel Driver Wind Car Kit DIY Children Puzzle IQ Gadget Hobby Robot $6.50 (3 Bids)End Date: Sunday May-19-2013 10:00:38 PDTBid now | Add to watch list NEW VEX Robotics Design System Transmitter and Receiver Kit - with torn box. $39.99End Date: Sunday Jun-2-2013 5:38:52 PDTBuy It Now for only: $39.99Buy It Now | Add to watch list Lego Mindstorms V2.0 Robotics Invention System (3804) $125.50End Date: Sunday Jun-9-2013 22:44:54 PDTBuy It Now for only: $125.50Buy It Now | Add to watch list

Related Posts: