LCD trouble (20x4)

Hello,

I've just had two 20x4 LCD screens die in the same way. They were working at first, but then both lost cells or certain cells after a period of time

I have the alphabet from A-T displayed on each line for referencing.

In the red box below I get nothing, and in the green box I get white/partial white depending on the contrast potentiometer on the I2C board.

Considering two LCD's have gone this way I figured I was doing something wrong so I did some investigating.

Testing the voltages coming from the LLC all seem to be outputting at 3.3v. I do have it set to bi-directional but I dont feel like this an issue.

The only thing I found was the DC-DC buck converter I'm using to drop down to 5v is outputting at 5.3V so I think that might be the cause.

A photo of my breadboard is below.

A couple of questions.

  1. Do you think the 5.3V from the buck converter is the culprit, or could something else be to blame?
  2. Are the LCD's destroyed? It appears permanent from as it holds when I power it alone without input.
  3. If the 5.3V is the issue, what is the best things I should do to overcome it. Is there something simple I can do like a voltage divider or just get a better quality buck converter.

If you are wondering, the reasoning for the buck converter is this device will be powering a 12v solenoid and has a flow meter and a LCD running of 5v, so I found this to be the cleanest way, that made sense to me, to have sufficient power at 12v and 5v.

Was doing some more troubleshooting.

When testing continuity on pins I noticed 3v3 and GND were making a connection. So I think the Arduino has some problems or i've burnt out some pins.

@hamshi4 , your topic has been moved to a more suitable location on the forum. Installation and Troubleshooting is not for problems with (nor for advise on) your project :wink: See About the Installation & Troubleshooting category.

I'm probably not the one that can help.

There are some wires visible going to the right; what is connected? I suggest that you provide a schematic (photo of hand-drawn is fine) that shows all components and all power connections. It takes the guess work out.

Which exact Arduino are you using (I think it's a form of Nano). Which exact display are you using?

It looks like a h/w problem.
Which library are you using?
Can you post your test sketch?

I would be curious to see the results if you install the hd44780 library and run the included diagnostic to test the device.
You can the install the hd44780 from the IDE library manager.
And the sketch to run is the I2CexpDiag sketch from the hd44780_I2Cexp i/o class.

It will test the i2c signals, then the internal DDRAM of the display.
Test results are sent to the serial monitor.

--- bill

Here are the schematics for the final project, but I'm currently testing out the LLC and the LCD specifically.

Yeah i thought the same. The code was just the sample code reworked so here it is.

On the buck converter question, do you think 5.3V would do any damage to the display?

#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27,20,4);  // set the LCD address to 0x27 for a 16 chars and 2 line display

void setup() {
  lcd.init();                      // initialize the lcd 
  // Print a message to the LCD.
  lcd.backlight();
}

void loop() {
  lcd.setCursor(0,0);
  lcd.print("A:");
  lcd.setCursor(0,1);
  lcd.print("B:");
  lcd.setCursor(4,0);
  lcd.print("P:");
  lcd.setCursor(4,1);
  lcd.print("C:");
  delay(100);
}

I grabbed another LCD and I'm only running it off USB 5V and it's working fine right now of the same library above.

Definitely not. It is well within the specifications of the HD44780 or variant thereof.

The faulty blocks on he right hand side indicates a fault in, or connections to one of the HD44100 "slave" chips to the HD44780.


So sadly, you have - apparently two - dud modules from China. :worried:

Hi,
Have you got the LCD displays mounted in a panel?

That pattern looks like the zebra strip has failed or misaligned.

Tom.... :grinning: :coffee: :australia:

Possible, but the pattern in this photo indicates otherwise:

You are up late, Tom! Or are you in Queensland? :grin: Too much :coffee: ?

Hi, @hamshi4
Grasping at straws but have you tried the failed LCDs on a 5V logic controller, like a UNO or Nano?

Thanks.. Tom... :grinning: :coffee: :+1: :australia:
PS. Victoria

Definitely!

Hey! The thing is displaying. This means the interface is correct. And worked before, works now with a good display as noted in $7.

Hey, its 23C, its 12:43am and its Ballarat, very abnormal temperatures for 5 nights in a row.
Air Con is on fan only keeping the house cool with gentle fan.
We don't like having AC on cooling 24hrs, its evap type and even with a couple of windows open, I can still feel the humidity at times.

I'm going to try to sleep...
Tom.... :grinning: :+1: :sleeping: :australia:

What do you mean?

You cannot by definition use an evaporative cooler in a humid area. Don't know how humid Ballarat is, but I am greatly disturbed by Hardly Normal and such flogging evaporative coolers in coastal areas.

24.something° here, 70% humidity, less than 1 km from sea. Sitting with gentle fan and going (back) to bed shortly. :grin:

I'm still curious if I2CexpDiag detects any issues.
--- bill

Could be useful.

That sample code isn't the code that was used for the display shown in the photo.
--- bill