LCD I2C Bus with keyboard – PCF8574 version. The PCF version differs, compared to the 4-bit version, by the smaller number of control signals (SCL, SDA). As a result you will have a greater number of signals available for the I/O channels.

This solution is to be preferred because it uses PCF I2C bus, already occupied by (and shared with) RTC and external EEprom. The card also has 4 buttons (whose status is acquired via analog signal). The circuit has been designed to be able to acquire, through the software library of Seletronica, the status of multiple keys pressed simultaneously. On the card there’s a LED used to signal the working status of the module.

The LCD I2C Bus board is designed to be inserted in a modular DIN rail mounting (6 modules). The container allows you to move from the development phase of the software (on the bench) to end use in the field with a simplicity and speed not found in other programmable platforms.


CPU Connections

The LCD I2C Bus board has two modes of operation determined on the basis of components on the board and the configuration jumpers. The first is the mode with communication interface I2Cbus (with driver PCF8574). This solution lets you use the LCD board without taking up additional resources of the microcontroller as the bus I2Cbus is already used for the clock and EEPROM. The second mode of operation is the parallel 4-bit (please see related section).

The display used for both solutions is always of the type with parallel control (HT44780 compatible). The CPU and the LCD I2C Bus boards are provided by default with the jumpers configured to control the display with I2C bus.

LCD DISPLAY managed in serial mode I2CBus (default)

  • Jumpers from JP1 to JP7: not bridged (not connected)
  • Connector CN4: connected 1-2 and 3-4
LCD DISPLAY jumpers - back view

LCD DISPLAY jumpers – keyboard side


LCD DISPLAY jumpers - front view

LCD DISPLAY jumpers – CPU connector side

NOTE: jumpers JP1-JP7 are placed under the physical LCD, therefore they aren’t accessible when LCD is soldered in its place. This is a good reason to choose the right configuration (PCF8574 or parallel 4-bit) before purchase one of them.

Technical specifications

  • LCD type: 16×2 HT44780 compatible
  • Communication bus: I2C
  • Backlight: yes, managed by PCF8574
  • Keyboard: 4 keys
  • Led: 1

Code example



LCD Board Schematic
Title: UPC_LCD1_V1_Schematic (240 clicks)
Caption: LCD Board Schematic
Filename: upc_lcd1_v1_schematic.pdf
Size: 194 KB