Skip to content

ioClass: hd44780_I2Clcd

bperrybap edited this page Feb 19, 2022 · 4 revisions

hd44780_I2Clcd

The hd44780_I2Clcd i/o class implements all the hd44780 library i/o methods to control an LCD based on the Hitachi HD44780 and compatible chipsets which have a native I2C interface provided by such chips as:

  • AIP31068/AIP31068L
  • PCF2119x
  • PCF2116.

This i/o class is NOT for use on devices that use a backpack with a simple I2C i/o expander chip such as a PCF8574 or MCP23008

NOTE: These devices usually need external pullups as they typically are not on the module.

WARNING: Use caution when using 3v only processors like arm and ESP8266 processors when interfacing with 5v modules as not doing proper level shifting or incorrectly hooking things up can damage the processor.

Initialization

See the included HelloWorld sketch for a minimal example of how to declare the lcd constructor and initialize the LCD.

Examples

Using the Arduino IDE, hd44780_I2Clcd examples can be found here: [File]->Examples->hd44780->ioClass->hd44780_I2Cexp

Technical Information

AIP31068/AIP31068L datasheet:

Arduino Board pinouts:

Clone this wiki locally