https://bitbucket.org/fmalpartida/new-liquidcrystal/downloads
but with a little change in the init lines:
LiquidCrystal_I2C lcd(0x20, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE); // Addr, En, Rw, Rs, d4, d5, d6, d7, backlighpin, polarity
This is IIC Serial 20X4 LCD module . With this I2C interface LCD module, you will be able to realize data display via only 2 wires. If you already has I2C devices in your project, this LCD module actually cost no more resources at all. It is fantastic for Arduino based project.
Download material
See detail
Interface: I2C
I2C Address: 0x27(address can't be changed )
Sofware version :0022
SDA (DATA) -> analog input pin 4
SCL (CLOCK) -> analog input pin 5
Pin Definition : GND、VCC、SDA、SCL
Back lit (Yellow with black char color)
Supply voltage: 5V
Pcb Size : 60mm×99mm
Contrast Adjust : Potentiometer
Backlight Adjust : Jumper
2004 LiquidCrystal_I2C
Arduino Test Code:
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27,16,2); //set the LCD address to 0x27 for a 16 chars and 2 line display
void setup()
{
lcd.init();
lcd.backlight();
lcd.setCursor(0, 0);
lcd.print("b2cqshop");
lcd.setCursor(0, 1);
lcd.print("Voltage: ");
lcd.setCursor(13, 1);
lcd.print("V");
}
void loop()
{
int val;
float temp;
val=analogRead(0);
temp=val/4.092;
val=(int)temp;//
lcd.setCursor(9, 1);
lcd.print(0x30+val/100,BYTE);
lcd.print(0x30+(val%100)/10,BYTE);
lcd.print('.');
lcd.print(0x30+val%10,BYTE);
delay(100);
}
Package includes:
1PCS IIC/I2C/TWI/SPI Serial Interface2004 20X4 Character LCD Module Display Yellow
|
- Before you bid item, please clear you have noticed below details:
- 7-25 working days: United States
- 10-25 working days: Canada, United Kingdom, Australia, Japan, New Zealand
- 2-5 working weeks: Countries in Western Europe, Southeast Asia, Israel, Korea
- 3-6 working weeks: Russia, Eastern Europe, Mid-East
- 4-7 working weeks: Mexico, South America
Because of some post and custom reason, we ship item to worldwide but exclude the following countries and area:
AFRICA: All countries in Africa;
ASIA: Afghanistan, Bangladesh, Bhutan, Brunei, Cambodia, China, India, Iraq, Kazakhstan, Kyrgyzstan, Laos, Maldives, Mongolia, Nepal, Philippines, Singapore, Tajikistan, Turkey, Turkmenistan, Uzbekistan, Vietnam;
Central America and Caribbean;
South America: Colombia, Ecuador, Peru;
EUROPE: Italy, Moldova, Romania.
We are unable to take any responsibility for any custom delay or tax. Reason is because transit time is highly depended and provided by Postal Service (except weekends and holidays).
|