• I2C Interface for LCD

I2C Interface for LCD

This LCD2004 is a great I2C interface for 2x16 and 4x20 LCD displays. With the limited pin resources, your project may be out of resources using normal LCD shield. With this I2C interface LCD module, you only need 2 lines (I2C) to display the information. If you already has I2C devices in your project, this LCD module actually cost no more resources at all. Fantastic for Arduino based projects. 

Quick Spec

  • Compatible with 16x2 and 20x4 LCD's
  • Default I2C Address: 0x3F
  • Address selectable - Range 0x20 to 0x27

Board Layout

i2c lcd display

I2C Address Setup

Arduino I2C Display

The LCD2004 board utilized the PCF8574 I/O expander. This nifty little chip provides eight bits of parallel I/O addressable by a I2C bus address – 0x00 to 0x27. SainSmart tied all address leads to Vcc, so the LCD2004 board’s I2C address is permanently fixed at hex 27. This is rather limiting since no additional LCD2004s can be added to the bus. Anyway, you simply address the board and write an eight bit value which is then presented on the output pins of the PCF8574, which, in this case, are connected to the HD44780 based LCD screen.

lcd2004 Address Selection

Controlling your I2C Display with Arduino

i2c display arduino

Arduino Code 



#include <wire.h> 

#include <liquidcrystal_i2c.h>

// Set the LCD address to 0x3F for a 16 chars and 2 line display

LiquidCrystal_I2C lcd(0x3F, 16, 2);

void setup()

{

	// initialize the LCD

	lcd.begin();



	// Turn on the blacklight and print a message.

	lcd.backlight();

	lcd.print("Hello, world!");

}

void loop()

{

	// Do nothing here...

}


Resources

Shipping List

  • 1 x I2C Interface for LCD


I2C Interface for LCD

  • Brand: Generic
  • Product Code: LCD2004
  • Stock

    Warehouse Stock Status Location
    Centurion In Stock BX0-01
    Stellenbosch In Stock C0201
  • R60.00 (Inc Tax: R69.00)


Related Products

LCD 20x4 Display 5V White on Blue

LCD 20x4 Display 5V White on Blue

LCD 20x4 Display 5V White on Blue This is a basic 20 by 4 line display. White text on Blue background. Utilizes the extremely common HD44780 parallel interface chipset. 5V Logic Level Quick Spec..

R144.00 (Inc Tax: R165.60)

LCD 16X2 Display - Black on Yellow/Green 5V

LCD 16X2 Display - Black on Yellow/Green 5V

LCD 16X2 Display - Black on Yellow/Green 5V This is a 16 character by 2 line display with black text on green/yellow background. The screen utilizes the standard HD44780 LCD interface. This display r..

R90.00 (Inc Tax: R103.50)

Tags: I2C interface i2c, for, lcd, list, all, products