Author Topic: Issue with driving the backlight of 2 LCD screens  (Read 865 times)

0 Members and 1 Guest are viewing this topic.

Offline nicco82Topic starter

  • Newbie
  • Posts: 4
  • Country: dk
Issue with driving the backlight of 2 LCD screens
« on: June 07, 2023, 01:09:50 pm »
Hey, I've just received a PCB I created with 2 LCD screens. Unfortunately the LCD were black and I think it's due to a wrong schematic for converting BL to LEDK. If I bridge LEDK and GND the screens work fine at what I guess it's full brightness.
Same code works with 2 lcds in the breadboard (each takes BL and converts it to LEDK).
My schematics is attached and also here is the inspiration schematic: https://www.waveshare.net/w/upload/f/f5/1.47inch_LCD_Module_SchDoc.pdf
and these are the LCDs I'm using:
https://vi.aliexpress.com/i/1005003771379232.html?gatewayAdapt=glo2vnm

Thanks for the help
Nicco


 

Offline cowana

  • Frequent Contributor
  • **
  • Posts: 324
  • Country: gb
Re: Issue with driving the backlight of 2 LCD screens
« Reply #1 on: June 07, 2023, 01:14:15 pm »
The issue is likely the driving voltage across the LED being less than the forward voltage.

If your supply is 3.3v, and the voltage drop over the NPN transistor is 0.6v; that just leaves 2.7v for the LED which might not be enough depending on the colour.

Bypassing the transistor avoids that 0.6v drop (providing the LED with a full 3.3v) allowing it to light.
 

Offline nicco82Topic starter

  • Newbie
  • Posts: 4
  • Country: dk
Re: Issue with driving the backlight of 2 LCD screens
« Reply #2 on: June 07, 2023, 02:10:03 pm »
Is it because it's 2 screens instead of one? My assumption was that running them in parallel the voltage would still be the same.... Would it be better if I split the LEDK instead of BG?

Thanks
 

Offline Buriedcode

  • Super Contributor
  • ***
  • Posts: 1611
  • Country: gb
Re: Issue with driving the backlight of 2 LCD screens
« Reply #3 on: June 07, 2023, 06:43:48 pm »
Is it because it's 2 screens instead of one? My assumption was that running them in parallel the voltage would still be the same.... Would it be better if I split the LEDK instead of BG?

Thanks

Unlikely. Simply having two backlights (with their own current limiting resistors/driving circuitry) in parallel will just draw twice the current.

I'll second what cowana said - the backlight for those displays is white.  If it was two LEDs in series they wouldn't light up at all, so it must just be one LED (or LEDs in parallel). White LED's generally require > 3.2V, usually about 3.4-3.6V to function, so 3.3V with the burden voltage across the NPN just isn't enough to light it.
 

Offline nicco82Topic starter

  • Newbie
  • Posts: 4
  • Country: dk
Re: Issue with driving the backlight of 2 LCD screens
« Reply #4 on: June 07, 2023, 07:13:49 pm »
Since the LCD backlight needs between 2.9 and 3.3 volts to operate could it be a solution to do LEDA connected to 3.3v and then instead connect LEDK directly to BL and code BL to have a voltage between 0v for full brightness and 0.4v for minimum brightness? Would LEDK have any load or the load would only be on LEDA?


Thanks!
 

Offline thm_w

  • Super Contributor
  • ***
  • Posts: 6359
  • Country: ca
  • Non-expert
Re: Issue with driving the backlight of 2 LCD screens
« Reply #5 on: June 07, 2023, 11:36:40 pm »
Are you using the bare LCD or the LCD module from that aliexpress listing?
If its the module, it already has a transistor on the backlight pin, its not clear if you are adding a second transistor for your own circuitry or not. But it would only need one.
Profile -> Modify profile -> Look and Layout ->  Don't show users' signatures
 

Offline nicco82Topic starter

  • Newbie
  • Posts: 4
  • Country: dk
Re: Issue with driving the backlight of 2 LCD screens
« Reply #6 on: June 08, 2023, 05:25:24 am »
In the breadboard, to test the system I use the board. Then in the manufactured PCB I connect directly to the 12 pins of the 2 LCDs hence cen need to drive LEDK with my own schematics.
 

Offline Buriedcode

  • Super Contributor
  • ***
  • Posts: 1611
  • Country: gb
Re: Issue with driving the backlight of 2 LCD screens
« Reply #7 on: June 08, 2023, 04:15:41 pm »
Since the LCD backlight needs between 2.9 and 3.3 volts to operate could it be a solution to do LEDA connected to 3.3v and then instead connect LEDK directly to BL and code BL to have a voltage between 0v for full brightness and 0.4v for minimum brightness? Would LEDK have any load or the load would only be on LEDA?


Thanks!

No LED will light with 0.4V, you vary the current in an LED to vary brightness - or more commonly pulse width modulation PWM.  The fact the backlight lights when LEDK is connected directly to ground indicates a problem with your NPN transistor.  Meaure the actual voltage of your 3.3V supply, and with LEDK connected to ground, the voltage across the backlight (or the voltage across the 10 ohm resistor).  That will tell you both the forward voltage of the LED used in the backlight, and the current (I = V/R = voltage across 10R / 10).
 

Offline Professzore

  • Contributor
  • Posts: 49
  • Country: hu
  • Measure twice, then check calibration.
Re: Issue with driving the backlight of 2 LCD screens
« Reply #8 on: June 08, 2023, 04:53:17 pm »
First is first,
If you don't have any, make a datasheet.
At the first step, I highly recommend making some measurements (best with a current limited bench power supply), to find out the exact characteristics of the led blacklight. By the Aliexpress link, it seems to be (presumably true), it works out with three white LEDs, all connected parallel. In this configuration, I suggest using an 8-10 mA current limit and a maximum voltage of 3.3 volts. Check the backlight (if there is nothing, it's also a good idea to make a simple code to make a full white screen (or use a screen testing firmware). Current limit may be up to 30 mA as an absolute maximum value. But do NOT go over this! Theoretically, near the Vf value, there is no resistor needed in series, but, due to manufacturing variance, it may be a good idea to have one in the final design (10 R may be fairly enough). For most white LEDs, Vf is around 3.1 V.
With measurements, you must fund out:
  • the minimum voltage where the LEDs lite up,
  • the optimal voltage where you find the LEDs bright enough for your needs,
  • the current in mA, where you find the LEDs bright enough for your needs.
These three numbers are all mandatory to follow in your design. I'm afraid, as many others mentioned before, this configuration is not capable to produce the minimum voltage value (Vf or forward voltage) to light up the LEDs.
Based on these numbers, and the capabilities of your logic (MCU), there are many solutions. But without the actual data, it's just a trial-and-error game (with a risk of burning your MCU) to go anywhere forward.
Of course, there are many more steps after the measurements.
 

Offline thm_w

  • Super Contributor
  • ***
  • Posts: 6359
  • Country: ca
  • Non-expert
Re: Issue with driving the backlight of 2 LCD screens
« Reply #9 on: June 08, 2023, 10:29:38 pm »
In the breadboard, to test the system I use the board. Then in the manufactured PCB I connect directly to the 12 pins of the 2 LCDs hence cen need to drive LEDK with my own schematics.

So it works on the breadboard with their module, but your PCB doesn't work.

I can't see any difference in the schematics, but there must be something you've missed.
« Last Edit: June 08, 2023, 10:31:50 pm by thm_w »
Profile -> Modify profile -> Look and Layout ->  Don't show users' signatures
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf