Newhaven Display Forum

Newhaven Products => Character LCDs => Topic started by: samuelproulx on November 14, 2015, 03:39:49 PM

Title: NHD-0 420D 3Z- FL-GBW Backlight brightness won't change .
Post by: samuelproulx on November 14, 2015, 03:39:49 PM
Hello

In the light of a recent project, I was trying to adjust the backlight brightness of a NHD-0420D3Z-FL-GBW display through coding , but even with the commands specified in the datasheet, I am unable to change the brightness.  Here is the section that adjusts it in my code :

delay_ms(200);
putc(0xFE);
putc(0x53);
putc(0x08);

. . .

Anyone have any idea's as to why it won't change? I am stumped. I did manage to make it change before, and when that happened I was not able to change it back again.

Thanks
Title: Re: NHD-0 420D 3Z- FL-GBW Backlight brightness won't change .
Post by: Saurabh_B on November 17, 2015, 11:27:24 AM
Hi,

That does seem like the proper method to change the backlight, do you have any commands you call before that that would cause the command to not work.

Also what interface are you using with the display, and at what speed?
Title: Re: NHD-0 420D 3Z- FL-GBW Backlight brightness won't change .
Post by: engsvcsgrp on November 24, 2015, 12:01:26 PM
I too am having the same problem with a similar display (NHD-0420D3Z-NSW-BBW-V3).  Of the 8 displays I ordered, I can only change the black light on 3 of them.  On another 3, I can only change the backlight if the display powers up with the backlight already on.  I set the back light intensity every 500ms as part of a housekeeping loop.  Is there a way to hardwire the back light on continuously?  7 of the 8 will light the backlight in self test mode.  I am using I2C at 50khz.  All other commands seem to work fine. 
Title: Re: NHD-0 420D 3Z- FL-GBW Backlight brightness won't change .
Post by: samuelproulx on November 27, 2016, 08:49:59 AM
Hello,

Alright I know it is a little late to reply, as this is over a year ago, I totally forgot about the post.

But I did manage to figure out the problem.

After issuing a command to change the contrast, I believe the problem was that it requires that you leave a certain delay AFTER issuing the command and not before, to give it time to do the change and all.

IF I remember correctly...
Title: Re: NHD-0 420D 3Z- FL-GBW Backlight brightness won't change .
Post by: Paul_B on November 29, 2016, 07:59:51 AM
Glad to hear you got your display up and running!

Thanks for sharing your solution, it will definitely help others  :D