2004A LCD Blue Display 20X4 Character 5V with HD44780
Contents:
- The 2004A LCD
- Specification
- I2C Addressing
- Library Functions
- Schematic
- IIC/I2C/TWI/SPI Serial Interface
- References
[Top][Home]
This is a 20x4 Arduino compatible LCD display module with high speed I2C
interface. It is able to display 20x4 characters on two lines, white characters
on a blue background.
The 2004A LCD
The above LCD come with out the I2C adapter soldered on the rear. It is best to
order LCD with the adater solderin. Do not get caught as I did and have to
source then afterwards and spent time soldering them in place. Most implementations
of LCD screens call fo rthe I2C connections as the alternative is six precious
pin to run th LCD.
This is the unit you should buy (NOTE the I2C adaptor on the rear):
[Top][Home]
Specification
Specification:
- The module is a low-power consumption character LCD Module
- Built-in controller.
- The 2004A character LCD module is designed to display letters, numbers, symbols, dot matrix.
- Support 4-bit and 8-bit data transfer mode.
- Display contents: 20 characters x 4 lines
- Operating voltage: + 5V
- Display screen: Blue Screen (White Text, Blue backlight)
- Operating temperature: -10°C - +60°C
- Controller: SPLC780
- Module size(W x H x T): 98.0 x 60.0 x 14.0mm
- Viewing area(W x H): 76.0 x 26.0mm
- Character size(W x H): 2.95 x 4.75mm
- Dot size:(W x H): 0.55 x 0.55mm
[Top][Home]
I2C Addressing
A2 A1 A0 Address
0 0 0 0x20
0 0 1 0x21
0 1 0 0x22
0 1 1 0x23
1 0 0 0x24
1 0 1 0x25
1 1 1 0x26
1 1 1 0x27
[Top][Home]
Library Functions
Library Support Functions:
- LiquidCrystal_I2C() //set the LCD address for a 16 chars and 2 line display
- init() //Initialization for the LCD
- clear() //clear display, set cursor position to zero
- home() //set cursor position to zero
- createChar() //Fill the first 8 CGRAM locations with custom characters
- setCursor() //set the position of the cursor
- cursor() //Turns the underline cursor on
- noCursor() //Turns the underline cursor off
- blink() //Turn on the blinking cursor
- noBlink() //Turn off the blinking cursor
- display() //Turn the display on(quickly)
- noDisplay() //Turn the display 0ff(quickly)
- backlight() //Turn the backlight on
- noBacklight() //Turn the backlight off
- scrollDisplayLeft() //Make the display scroll left without changing the RAM
- scrollDisplayRight() //Make the display scroll right without changing the RAM
- autoscroll() //This will 'right justify' text from the cursor
- noAutoscroll() //This will 'left justify' text from the cursor
- leftToRight() //This is for text that flows Left to Right
- rightToLeft() //This is for text that flows Right to Left
[Top][Home]
Schematic
I2C_LCD_Schematic.pdf
The HD44780U dot-matrix liquid crystal display controller and driver.
http://image.dfrobot.com/image/data/DFR0154/LCD2004%20hd44780%20Datasheet.pdf
The PCA8574/74A provide general purpose remote I/O expansion for most
microcontroller families via the two-line bidirectional I2C-bus
(serial clock (SCL), serial data (SDA)).
http://image.dfrobot.com/image/data/DFR0154/PCA8574%20Datasheet.pdf
[Top][Home]
IIC/I2C/TWI/SPI Serial Interface
This is a IIC/I2C/TWI/SPI Serial Interface. As the pin resources of Arduino
controller is limited, with the I2C interface module, you will be able to
realize data display via only 2 wires. If you already has I2C devices in the
project, this LCD module uses the same pin resources.
- I2C Address selectable: 0X20~0X27 (default address is 0X20)
- Supply voltage: 5V
- Backlight and contrast is adjusted by potentiometer
- Supplied with two I2C interface,
I2C intefrace can be connected by Dupont Line or I2C dedicated cable
- Compatible with the 1602 LCD and the 2004 LCD
Dupont Wire:
I2C (Inter-Integrated Circuit), pronounced I-squared-C, is a synchronous,
multi-master, multi-slave, packet switched, single-ended, serial computer bus
invented in 1982 by Philips Semiconductor (now NXP Semiconductors). It is
widely used for attaching lower-speed peripheral ICs to processors and
microcontrollers in short-distance, intra-board communication. Alternatively
I2C is spelled I2C (pronounced I-two-C) or IIC (pronounced I-I-C).
http://image.dfrobot.com/image/data/DFR0154/PCA8574%20Datasheet.pdf
[Top][Home]
References
Specification For LCD Module2004A Vers 1.0 by SHENZHEN EONT ELECTRONICS CO.,LTD
https://www.beta-estore.com/download/rk/RK-10290_410.pdf
[Top][Home]
Glenn Lyons VK4PK
glenn@LyonsComputer.com.au
Ver:gnl20190218 - pre published v0.9