====== lamaPLC: LCD 1602/2004 ====== The HD44780 chip-based 1602/2004 LCD module is bright and high-contrast, thanks to its LCD technology, which features a blue-green background. This display is especially suitable for your projects if you need a screen with a wide viewing angle, compact design, and low power consumption. The LCD 1602 can display 16 characters in two rows, while the LCD 2004 can display 20 characters in four rows. Additionally, 1602/2004 displays can be easily connected using an [[com:basic_i2c|I²C]] adapter. |{{ :sensor:lcd_1.png?200|LCD 1602}}|{{ :sensor:lcd_2.png?200|LCD 1602}}|{{ :sensor:lcd_4.png?200|LCD 2004}}|{{ :sensor:lcd_5.png?200|LCD 2004}}| |LCD 1602 Front Side \\ 16 charachers \\ 2 rows|LCD 1602 Back Side \\ 16 charachers \\ 2 rows|LCD 2004 Front Side \\ 20 charachers \\ 4 rows|LCD 2004 Back Side \\ 20 charachers \\ 4 rows| ===== Features ===== * Display Mode: STN, BLUB * Display Format: 16 Characters x 2 Lines * Viewing Direction: 6 O'clock * Input Data: 4-Bit or 8-Bit interface available * Display Font: 5 x 8 Dots * Power Supply: Single Power Supply (**5V±10%**) * Driving Scheme: 1/16 Duty, 1/5 Bias * Backlight (side): white LED ===== interfaces ===== ^Pin^symbol^description^function| |1|Vss|GROUND|0V (GND)| |2|Vcc|POWER SUPPLY FOR LOGIC CIRCUIT|+5V| |3|VEE|LCD CONTRAST ADJUSTMENT|| |4|RS|INSTRUCTION/DATA REGISTER SELECTION|RS = 0 : INSTRUCTION REGISTER \\ RS = 1 : DATA REGISTER| |5|R/W|READ/WRITE SELECTION|R/W = 0 : REGISTER WRITE \\ R/W = 1 : REGISTER READ| |6|E|ENABLE SIGNAL|| |7|DB0|DATA INPUT/OUTPUT LINES|8 BIT: DB0-DB7| |8|DB1|DATA INPUT/OUTPUT LINES|8 BIT: DB0-DB7| |9|DB2|DATA INPUT/OUTPUT LINES|8 BIT: DB0-DB7| |10|DB3|DATA INPUT/OUTPUT LINES|8 BIT: DB0-DB7| |11|DB4|DATA INPUT/OUTPUT LINES|8 BIT: DB0-DB7| |12|DB5|DATA INPUT/OUTPUT LINES|8 BIT: DB0-DB7| |13|DB6|DATA INPUT/OUTPUT LINES|8 BIT: DB0-DB7| |14|DB7|DATA INPUT/OUTPUT LINES|8 BIT: DB0-DB7| |15|LED+|SUPPLY VOLTAGE FOR LED+|+5V| |16|LED-|SUPPLY VOLTAGE FOR LED-|0V| ===== Font set ===== The LCD1602 employs the Hitachi HD44780 LCD controller chip. This chip features a built-in font and supports the definition of up to 8 custom characters. There are two variants of the chip's ROM, each with different fonts: HD44780UA00, which contains Japanese katakana characters, and HD44780UA02, featuring Western European characters. {{:sensor:lcd_1602_font.png?400 |LCD 1602 font set}} ===== I²C adapter ===== {{ :sensor:lcd_3.png?200|LCD 1602/2004 I²C adapter}} Reduction of the pin requirement for controlling an LCD from 12 pins to 2 pins: This practical module enables quick data transfer and can convert the serial data output of an LCD into an [[com:basic_i2c|I²C]] signal. It uses only four pins instead of 16 and provides six selectable I²C addresses, allowing the simultaneous operation of up to 6 displays. Arduino supports both communication solutions, but obviously, the I²C solution requires many fewer pins from the already limited number of pins. ===== display topics on lamaPLC ===== {{topic>display}} \\ \\ {{tag>communication I2C display LCD 1602 2004 HD44780 }} \\ This page has been accessed for: Today: {{counter|today}}, Until now: {{counter|total}}