Gameboypi / SPW

Gameboy SP Raspberry pi board
434 stars 41 forks source link

Backlight flickering (when resistor is used) #25

Open ghost opened 5 years ago

ghost commented 5 years ago

Hellooo! So I had an issue for a while with the backlight flickering on my SPW - I wired everything according to the instructions, however on two separate (new) 3.2" LCD displays the backlight would flicker quite a lot, especially during startup and it would come and go during usage. These displays were the ones linked in the wiki. Interestingly it never happened on a third lcd (w/ touch panel). Also of note is that the displays would not flicker "out of the box", only after 5-10 minutes of initial usage would they begin to flicker (enough time to close the casing and sit on the couch..).

So after many agonizing hours of troubleshooting, I was able to stop the flickering by simply bypassing the 3.9R resistor for the backlight power.. I had tried various other resistor values - it took a while to brave skipping the resistor altogether! I know it's not ideal to skip this resistor, but could anyone shed light on why this is happening? And I'm thinking it's reasonably safe to continue without a resistor, it has been fine so far, but maybe I'm wrong? I wonder if there's a resistor built into the display..

I have been theorizing that it could be:

I'd appreciate any input!

N.B. Avoid connecting GND and battery GND in any manner of troubleshooting, it will fry your LCD.

Gameboypi commented 5 years ago

Umm that’s weird Are using right resistor value? Does the battery have enough power? Because that’s happened when battery runs out. There’s no problem if you bypass this resistor it’s just for dimming the backlight.

ghost commented 5 years ago

Hi @Gameboypi Thanks for your great work on this project!

If this has not happened to anyone else, then I can only assume it's a tolerance issue in one of my components..

Do you think GPIO PWM -> transistor would be a good way to control the backlight brightness, with view to eventually having on-screen controls?