Pages: [1]   Go Down
Author Topic: 128 x 64 LCD Help!!!!  (Read 766 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 20
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello, after successfully interfacing 128 x 64 lcd screen with arduino and uploaded a sketch with no compiling errors usina Arduino 0021, and GLCD library V3, the screen is displaying the code correctly, but in doubles... instead of one display it is like i have 2 LCDs in one. The display is copied and displayed next to the initial one  smiley 2 displays next to each other on one display.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 20
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi, i tried swapping the chip select pins and the display was actually swapped naturally,but when swapped back same problem reoccurs  smiley-confuse

Logged

Central MN, USA
Offline Offline
Tesla Member
***
Karma: 72
Posts: 7171
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Spec sheet? I hope there is a jumper described on its spec sheet that you can remove to decouple the two halves.
Logged


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

Quote
2 displays next to each other on one display

This is precisely the setup on many (all ??) GLCDs.  It is the selective enabling of the two chip select lines that determines which part of the display is used at any given time.  You would get the result you describe if the two chip select lines were tied together physically or if they were enabled simultaneously by your software.  I guess we need to see your sketch and a photo of the connections to determine the cause of your problem.

Don
Logged

Dallas, TX USA
Offline Offline
Faraday Member
**
Karma: 63
Posts: 2639
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

the screen is displaying the code correctly, but in doubles... instead of one display it is like i have 2 LCDs in one. The display is copied and displayed next to the initial one  smiley 2 displays next to each other on one display.

I'm not understanding what you mean.
Are you saying half of the display is correct and the other half is the same as the first?
Does the diags sketch pass successfully?
Also, what do you see during the drawing of the initial drawing of the "triangle" during
the diagnostic sketch?

If I understand you correctly in that what you are seeing is half of the display
duplicated on both halves, this is a chip select issue. It can be caused by several
things. Among them,
a broken chip select wire, or by using a display that needs slightly different
chip select control than what is shipped with the library configuration files.
(not all glcds use chip selects the same way)

A few more things would really help diagnose the issue
as it could be several things causing the issue from a simple wiring error
or broken wire, to a slightly different type of glcd module that needs modification
to the panel configuration file.


- which version of gcd v3 are you using? (RC2 ?)
- a datasheet for your specific glcd module
    if you don't have it, a photo of the back of board might help locate one.
- a few photos (or a video of the initialization)
- the serial output from the diagnostic sketch


--- bill
Logged

Pages: [1]   Go Up
Jump to: