Pages: [1]   Go Down
Author Topic: LCD1602 & HD44780 is this the same thing?  (Read 700 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 1
Posts: 39
...noob...
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm looking at interfacing my HD44780 LCD 20x4 to the Arduino mega 2560 by I2C,
All im finding is like this one http://www.ebay.com/itm/IIC-I2C-TWI-SPI-Serial-Interface-Board-Module-For-Arduino-1602-LCD-/370726408887?pt=LH_DefaultDomain_0&hash=item56510412b7

but as per this info http://www.wvshare.com/product/LCD1602-yellow.htm
Driver IC   KS0066 (compatible with HD44780).

Can I safely assume that interface linked above will work with my LCD?
Or should i use different one for my LCD?
Logged

--
HE3r0
d(R)ive safe

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 178
Posts: 8060
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The 20x4 LCD should be compatible.  Just use:
Code:
LiquidCrystal_I2C LCD();
const int LCDNumberOfColumns = 20;
const int LCDNumberOfRows = 4;
  LCD.begin(LCDNumberOfColumns, LCDNumberOfRows); // 20 Columns and 4 rows
instead of:
Code:
LiquidCrystal_I2C LCD();
const int LCDNumberOfColumns = 16;
const int LCDNumberOfRows = 2;
  LCD.begin(LCDNumberOfColumns, LCDNumberOfRows); // 20 Columns and 4 rows
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Offline Offline
Newbie
*
Karma: 1
Posts: 39
...noob...
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The 20x4 LCD should be compatible.  Just use:
Code:
LiquidCrystal_I2C LCD();
const int LCDNumberOfColumns = 20;
const int LCDNumberOfRows = 4;
  LCD.begin(LCDNumberOfColumns, LCDNumberOfRows); // 20 Columns and 4 rows
instead of:
Code:
LiquidCrystal_I2C LCD();
const int LCDNumberOfColumns = 16;
const int LCDNumberOfRows = 2;
  LCD.begin(LCDNumberOfColumns, LCDNumberOfRows); // 20 Columns and 4 rows

Awesome, Thank you.
Logged

--
HE3r0
d(R)ive safe

Pages: [1]   Go Up
Jump to: