Pages: [1] 2   Go Down
Author Topic: Graphical LCD (ST7920 Driver) - a warning and a question  (Read 2080 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Full Member
***
Karma: 1
Posts: 134
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I just got a shipment of the generic "12864 128x64 Graphic Matrix LCD Module ST9720" screens from China.

The PSB pin is hardwired to Vdd, which means that if you attempt to put it into serial mode by taking PSB to ground, you short your powersupply to ground.  Gah.

Now for the question:

Is it possible to adjust contrast without a pot?  Can I run a PWM signal into V0?
Logged

Western New York, USA
Offline Offline
Faraday Member
**
Karma: 40
Posts: 4409
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
The PSB pin is hardwired to Vdd, which means that if you attempt to put it into serial mode by taking PSB to ground, you short your powersupply to ground.  Gah.
Are you sure it is hardwired (connected directly) to Vdd and not 'pulled-up' via a resistor?

Quote
Is it possible to adjust contrast without a pot?  Can I run a PWM signal into V0?
That may be a problem since most GLCDs require a negative voltage for the contrast pin.

I just found this --> http://forum.arduino.cc/index.php?topic=22588.0 which may or may not be of some help.

Here's another one -->  http://www.bajdi.com/cheap-128x64-graphic-lcd-12864zw/ try a Google search for glcd psb pin.


Don
« Last Edit: August 03, 2013, 11:28:58 am by floresta » Logged

Offline Offline
Full Member
***
Karma: 1
Posts: 134
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
The PSB pin is hardwired to Vdd, which means that if you attempt to put it into serial mode by taking PSB to ground, you short your powersupply to ground.  Gah.
Are you sure it is hardwired (connected directly) to Vdd and not 'pulled-up' via a resistor?


Well, if I ground PSB and I power the screen up from a USB port, the port shuts down from current overload.  My fluke DVM says there's 0.2 ohms between Vcc and PSB.

And the screens I got last time work just fine.  So it's a defective run...  Fortunately I did not fry anything, just a few $ and some hours tracking it down.

Quote
Is it possible to adjust contrast without a pot?  Can I run a PWM signal into V0?
That may be a problem since most GLCDs require a negative voltage for the contrast pin.

I just found this --> http://forum.arduino.cc/index.php?topic=22588.0 which may or may not be of some help.

Here's another one -->  http://www.bajdi.com/cheap-128x64-graphic-lcd-12864zw/ try a Google search for glcd psb pin.


Don


Thanks, I'll look at those.  I'm not familiar with these LCDs.
Logged

Israel
Offline Offline
Sr. Member
****
Karma: 5
Posts: 291
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

cptdondo:

0.2ohm would suggest that PSB is indeed shorted to VCC. I would suggest simply finding the trace and cutting it with a xaco knife, be careful not to cut the other traces. But then you will be able to either ground or apply vcc to the pin when needed.
Logged


Offline Offline
Full Member
***
Karma: 1
Posts: 134
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Great minds think alike. Turns out that there was a jumper disguised as a resistor, shorting Vdd to PSB.  I removed it and now all the screens work.  smiley

Just a "beware" on these cheap Chinese units; sometimes they do strange things.  All in all I'm quite happy with the quality and response of the direct-ship vendors but once in a while they do make life interesting.
Logged

Western New York, USA
Offline Offline
Faraday Member
**
Karma: 40
Posts: 4409
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Great minds think alike. Turns out that there was a jumper disguised as a resistor, shorting Vdd to PSB.
I suspect that the original intention was for a pull-up resistor to be installed but they put in a 0-ohm resistor instead.

Don
Logged

United Kingdom
Offline Offline
Tesla Member
***
Karma: 227
Posts: 6637
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I've seen several of these units, all using the same PCB but populated differently. I have one with a tiny SMD contrast pot soldered on the back (the silk screen label is VR1) and positions R6 and R7 are open. Others have fixed resistors, and some have the contrast pin of the chip brought out to the connector.
Logged

Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

Offline Offline
Jr. Member
**
Karma: 3
Posts: 62
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i have the same problem with such a display...do you remeber, which resistor caused to problem ?
Logged

United Kingdom
Offline Offline
Tesla Member
***
Karma: 227
Posts: 6637
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

i have the same problem with such a display...do you remeber, which resistor caused to problem ?

Please describe what problem you have, and post a photo of the back of the display.
Logged

Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

Offline Offline
Jr. Member
**
Karma: 3
Posts: 62
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Please describe what problem you have, and post a photo of the back of the display.

if i connect the PSB pin to GND, the backlight led goes of and the display gets warm/hot. I measured 5v from PSB to GND.

Here is a link to the backside of the PCB. On the front is nothing except the display, therefore i didnt take a picture
http://i1224.photobucket.com/albums/ee372/cider101/Misc/47c1839a-e114-4b78-b2c8-8eef0633b8ee.jpg~original

I tried to trace the PSB lead. I seems, it ends on the spot marked with the black arrow...
Thx for your help in advance!
« Last Edit: February 02, 2014, 02:35:55 pm by cider101 » Logged

United Kingdom
Offline Offline
Tesla Member
***
Karma: 227
Posts: 6637
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Looking at the photo, it appears possible that PSB is connected to one side of R9, and R9 may be a 0 ohm resistor (with the other end presumably connected to +5V). Can you check this by visual inspection and with a multimeter? The ST7920 board I have is unfortunately different in that area and so not directly comparable.
Logged

Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

Offline Offline
Jr. Member
**
Karma: 3
Posts: 62
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thx for your answer

i tried to mark some leads/traces near the PSB. But some connections/traces are just guesses since the white labeling covers them.
http://i1224.photobucket.com/albums/ee372/cider101/Misc/photo1.jpg~original

and here is the original pic.
http://i1224.photobucket.com/albums/ee372/cider101/Misc/photo.jpg~original

I'll try to take a high res picture with my camera tonight....

Logged

United Kingdom
Offline Offline
Tesla Member
***
Karma: 227
Posts: 6637
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You may need to use a multimeter to check whether PSB is connected to R9. My guess is that PSB is connected to both R9 and R10, that the other side of R9 goes to +5V, and the other side of R10 goes to ground. So the display can be fixed in serial or parallel mode depending on which one is fitted, or can be selected via the PSB pin if neither is fitted. So if you want to use it in serial mode, you will have to unsolder R9.
Logged

Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

Offline Offline
Jr. Member
**
Karma: 3
Posts: 62
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thanks a lot for your help!
I'll check it this evening  and post the results...
Logged

Offline Offline
Jr. Member
**
Karma: 3
Posts: 62
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You may need to use a multimeter to check whether PSB is connected to R9. My guess is that PSB is connected to both R9 and R10, that the other side of R9 goes to +5V, and the other side of R10 goes to ground. So the display can be fixed in serial or parallel mode depending on which one is fitted, or can be selected via the PSB pin if neither is fitted. So if you want to use it in serial mode, you will have to unsolder R9.

thanks mate...i owe you a big pint smiley I desolderer R9 and it's working now. Thanks again !
Logged

Pages: [1] 2   Go Up
Jump to: