First two rows of pixels missing on i2c LCD

Hi!

I am using a 1602 LCD Display with a i2c connection.
However, the first two lines of pixels on both rows seem to be missing and only displaying half of the first letter (picture).
So far I have tried resothering, using different code, adjusting contrast and rewiring.

This is the code I have been using:

#include <Wire.h>
#include <hd44780.h>               
#include <hd44780ioClass/hd44780_I2Cexp.h> 

hd44780_I2Cexp lcd; 

const int LCD_COLS = 16;
const int LCD_ROWS = 2;

void setup()
{
int status;
        status = lcd.begin(LCD_COLS, LCD_ROWS);
	if(status)
	{
		hd44780::fatalError(status);
	}

	lcd.print("Hello, World!");
}

void loop() {}

That's not normally a software-related problem, rather a manufacturing defect. If it's new, take or send it back, I'd say. Or, toss it because they're pretty cheap.

2 Likes

Agreed, likely a defective display.

Hello
Run this tutorial to make a cross check.

https://create.arduino.cc/projecthub/danaweiss17/lcd1602-scrolling-display-with-i2c-communication-93a4f9

That is a h/w issue on the LCD related to the LCD glass panel.
It could be the zebra strip between the LCD glass panel and the PCB.
Try pressing on the glass on that corner and see if the pixels light up or change.

--- bill

Pressing on the glass did not help, probably a defect of some sort :slight_smile:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.