Hi everyone,
I've a quite puzzling problem with a HD44780 2004 LCD Display, connected to an Arduino Mega 2560 via an I2C "backpack". The code uses the LiquidCrystal_I2C.h library. I use a PWM signal on the backpack's "LED" pin to control the backlight intensity.
The components are part of a home flight simulator setup and most of the Mega's pins are used.
When I power the Arduino up, the display's blacklight turns on as intended but the moment the first characters are send to the display the display goes dark. (When you power the display up, first you get row #0 and #2 filled up with fully "filled out" characters, lines #1 and #3 stay empty. After the first content has been sent to the screen, those characters are shown correcty, but the backight stays dark.) Swapping the display/I2C backpack-unit doesn't change anything, so those components seem to be ok.
At minimum backlight intensity, the voltage measured at the supply to the I2C backpack is 4,90V
At full backlight intensity, the voltage measured at the supply to the I2C backpack is 4,82V
After the backlights goes dark unintentionally, the voltage goes back to 4,90V
You can see that the voltage drops once the backlight is turned on indicating that the overall amperage is on the high side. However, the HD44780 datasheet gives the minimum operating voltage for the itself LCD as 4,5V and for the LEDs as 4,05V, so there is plenty of margin for the backlight LEDs. Also, there is no backlight setting that brings the backlight back on.
I remember that when I was assembling all the componentes (input and output) piece by piece, the display worked fine.
Does anyone have an idea what to do to solve the problem or where to look? I've run out of ideas.
Many thanks in advance,
Frank