Go Down

Topic: LCD1602 & HD44780 is this the same thing? (Read 1 time) previous topic - next topic

he3r0

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?
--
HE3r0
d(R)ive safe

johnwasser

The 20x4 LCD should be compatible.  Just use:
Code: [Select]

LiquidCrystal_I2C LCD();
const int LCDNumberOfColumns = 20;
const int LCDNumberOfRows = 4;
  LCD.begin(LCDNumberOfColumns, LCDNumberOfRows); // 20 Columns and 4 rows

instead of:
Code: [Select]

LiquidCrystal_I2C LCD();
const int LCDNumberOfColumns = 16;
const int LCDNumberOfRows = 2;
  LCD.begin(LCDNumberOfColumns, LCDNumberOfRows); // 20 Columns and 4 rows
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

he3r0


The 20x4 LCD should be compatible.  Just use:
Code: [Select]

LiquidCrystal_I2C LCD();
const int LCDNumberOfColumns = 20;
const int LCDNumberOfRows = 4;
  LCD.begin(LCDNumberOfColumns, LCDNumberOfRows); // 20 Columns and 4 rows

instead of:
Code: [Select]

LiquidCrystal_I2C LCD();
const int LCDNumberOfColumns = 16;
const int LCDNumberOfRows = 2;
  LCD.begin(LCDNumberOfColumns, LCDNumberOfRows); // 20 Columns and 4 rows



Awesome, Thank you.
--
HE3r0
d(R)ive safe

Go Up
 

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.
Name:
Email:

shortcuts: alt+s submit/post or alt+p preview