Initialising LCD
vincent
Posts: 11
Hi, i have already successfully power up a 2x16 LCD with the 2p24/40 demo board. But we tried to input some initialising programs but it dosen't seems to respond. Any suggestion?
Some things·observed: One line of the LCD have a rather darker tone.
Vincent
Some things·observed: One line of the LCD have a rather darker tone.
Vincent
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
But can you give us some suggestions on how to go about doing. We are really novice to this and need guidance. Thanks
Vincent
·· What programs are you using now?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Tm202a LCD
BS2p40 IC
Windows version BS2p.exe
Vincent
·· What I mean is, what PBASIC Code are you running to initialize the LCD?· Please attach your code.· There might be a minor error in it which can be resolved.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Dave
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dave Andreae
Tech Support
dandreae@parallax.com
Http://www.parallax.com
Basically i reffered to the basic stamp manual version 2.0 and copy out the following codes below.
Pg161:
Init CD:
PAUSE 1000
LCDCMD 1,48
PAUSE 10
LCDCMD 1,48
PAUSE 1
LCDCMD 1,48
PAUSE 1
LCDCMD 1,32
LCDCMD 1,40
LCDCMD 1,8
LCDCMD 1,12
LCDCMD 1,6
LCDCMD 1,1
And also the demo program on page 165.
To[noparse]:D[/noparse]ave
What about the LCD(TM202A) that i have mention? Is it compatible with the basic stamp as well? Can you also attached a drawing of the connections, don't quite get what you are getting here.
Sorry guys for all the trouble
Vincent
Dave
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dave Andreae
Tech Support
dandreae@parallax.com
Http://www.parallax.com
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·1+1=10
Dave
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dave Andreae
Tech Support
dandreae@parallax.com
Http://www.parallax.com
·
I have had trouble with the hookup on these, when in a hurry.
·
Dave
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dave Andreae
Tech Support
dandreae@parallax.com
Http://www.parallax.com
Vincent
There is no specific issue or restriction on using such an LCD with a PBASIC Stamp, but both the initialization and use of such an LCD may be different from the (more usual) 2 x 16 model LCDs. Also, any advice or comments made prior to this discovery may need to be reviewed in light of your latest finding. Lastly, most sample/example programs utilize the concepts inherent in a 2 x 16 LCD such as the positional data (DDRAM address), and such programs may well need to be modified to operate properly with a 2 x 20 units.
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax