Skip to content

Library to support the HD44780 LCD , (I2C PCF8574 "backpack" interface) for the Arduino eco system

License

Notifications You must be signed in to change notification settings

gavinlyonsrepo/HD44780_LCD_PCF8574

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Website Rss Donate

 lcd image

Hd44780_LCD_PCF8574

Table of contents

Overview

  • Name : HD44780_LCD_PCF8574
  • Description :
  1. Library to support the HD44780 LCD , (I2C PCF8574 "backpack" interface) for the Arduino Eco system
  2. C++ library.
  3. Backlight, scroll, cursor and entry-mode control.
  4. Custom character support + print class for numerical data.
  5. Hardware I2C
  6. Tested on size 16x02 + 20x04 (but may work on other sizes eg 16X4 but not tested).
  7. Can support both I2C ports on the STM32 see tested section.
  • Author: Gavin Lyons

Installation

The library is included in the official Arduino library manger and the optimum way to install it is using the library manager in the Arduino IDE.

Software

API

The API (application programming interface) html documentation is at link. Hosted on github pages and generated by Doxygen software. Here the user will find lots of information on files, functions & data types.

Software API Url Link

Output

Output of custom character test in testrun example file on 16x02 display.

 pic

20x04 display.

 pic2

Tested on

Tested on following MCUs. The example files are setup for an UNO/NANO rev 3.0 for the pin connections used by for other MCU testing see extras/doc folder GPIO_MCU_used.txt file.

  1. Arduino UNO & NANO v3
  2. ESP8266
  3. ESP32
  4. STM32 "blue pill", Can support both I2C ports , Use STM32 example file.
  5. Arduino UNO R4 minima

Notes

  1. "stm32duino" board manager core used in testing STM32 "blue pill"
  2. For description of entry modes , cursor types, custom characters etc See
  3. 16X04 board not tested as not available but should work!
  4. I2C Debugging can be turned on by commenting in a define in header file.