Arduino IIC/I2C LCD2004 character liquid crystal display screen provides a library file
Arduino controller of the number of ports is really limited, connect a few sensors, communications equipment, you will find that the port is not enough, but also want to etend a liquid crystal display, how to do? Directly using our LCD I2C series display bar! With a comprehensive tutorial and code library, you can quickly get started with this powerful LCD display tool.
LCD2004 I2C/TWI module comes from a very cool I2C LCD interface DFRobot display, using I2C communication interface driver. LCD2004 can you save the digital MCU controller for a large number of pins, Arduino display controller system you save development software development costs a lot of time, as long as 2 signals can get all links. The blue backlight LCD display with 420 byte STN character display and cool white. Flat design allows it to quickly integrate into your project, both beautiful and powerful.
We provide a full set of Arduino platform using the tutorial and code library. Of course, the LCD is also compatible with other microcontroller platform, wiring is also very simple. Unlike the LCD2004 on the market, the DFRobot of this product can also be connected with other LCD I2C screen in series, and through the board back to the cap selection address. Another big benefit of this module is the interface with two Gadgeteer Windows. The only DFRobot a LCD series of products with this epansion, to solve the Gadgeteer platform development as pressing danger for the majority of users.
- Working voltage: 5V
- I2C device address: 027
- Communication interface: I2C / TWI
- LCD parameters: 4 lines, 20 characters per line
- With blue backlight, white character
- Power indicator light
- Potentiometer to adjust the contrast of the display control
- Dot size: 0.550.55mm
- Character size: 2.964.75mm
- Wide view angle
- Size: 986024mm
- Weight: 75g
- TWI, LCD2004 I2C module 1
- Arduino sample display code
- dfrobot.com/image/data/DFR0154/I2C_LCD2004_Sample.rar
- LCD I2C library file
- dfrobot.com/image/data/DFR0154/LiquidCrystal_I2Cv1-1.rar
- LCD data manual
- dfrobot.com/image/data/DFR0154/LCD2004%20hd44780%20Datasheet.pdf
- PCA8574 data manual
- dfrobot.com/image/data/DFR0154/PCA8574%20Datasheet.pdf
- Product design principle diagram
- dfrobot.com/image/data/DFR0175/I2C%20LCD%20Backpack%20schematic.pdf
Ardino routine:
#include
#include
LiquidCrystal_I2C LCD (027,20,4); / / set the LCD address to 027 for a 20 chars and 4 line display
Setup void ()
{
Delay (500);
(lcd.init); / / initialize the LCD
A message to the LCD. / / Print
Lcd.backlight ();
Lcd.setCursor (0, 0);
Delay (100);
Lcd.setCursor (4, 0);
Lcd.print ("Hello, world!");
Lcd.setCursor (5, 1);
Lcd.print ("to Welcome");
Lcd.setCursor (2, 2);
Lcd.print ("DFRobot.com");
Lcd.setCursor (1, 3);
Lcd.print ("DFRobot.com.cn");
}
Loop void ()
{
}
LCD IIC/I2C/TWI display module dedicated connection line
item.taobao.com/item.htm?id=5952179375
Interface shield Arduino multi function interface epansion board
item.taobao.com/item.htm?id=6047540697
LCD Module SPI series parallel 12864 LCD module
item.taobao.com/item.htm?id=6296506583
Arduino sensor epansion board V5
item.taobao.com/item.htm?id=6804680647
Duemilanove Arduino 2009 ATmega328P-PU
item.taobao.com/item.htm?id=3136612323
Duemilanove Arduino 2009 ATmega168P-PU
item.taobao.com/item.htm?id=3374349991
Mega AVR mega1280 Arduino
item.taobao.com/item.htm?id=3081192389