Hello everyone,
first of all I apologize for cross-posting (I also posted in the Italian section)
Today I bought a LCD panel (Displaytech 64128Q) and I loaded a sketch of the of example but I have a problem(incorrect characters)
Here an example:
I checked several times the connections but are correct.
Where am I doing wrong?
This is the sketch that I found in the GLCD library.
I've an arduino Mega1280
// include the library header
#include <glcd.h>
// include the Fonts
#include <fonts/allFonts.h>
void setup() {
// Initialize the GLCD
GLCD.Init();
// Select the font for the default text area
GLCD.SelectFont(System5x7);
GLCD.print("hello, world!");
}
void loop() {
// set the cursor to column 0, line 1
// (note: line 1 is the second row, since counting begins with 0):
GLCD.CursorTo(0, 1);
// print the number of seconds since reset:
GLCD.print(millis()/1000);
}
I've seen stuff like that happen when there is a loose wire.
Notice that the missing pixels seem to be on the right half of the display.
My guess is a loose/missing/broken/mis-wired control signal.
Check the chip select lines, r/w and DI signals very closely.
bperrybap:
I've seen stuff like that happen when there is a loose wire.
Notice that the missing pixels seem to be on the right half of the display.
My guess is a loose/missing/broken/mis-wired control signal.
Check the chip select lines, r/w and DI signals very closely.
So what do you see on the display when the diags runs?
What do the initial images look like?
Especially during the initial animation of the triangle being drawn
from the top left to the bottom right of the display.
Do the images on the display look like the images in the documentation?
Are all the control wires hooked up as indicated in the diag output?
Did any of the wires look loose, in particular the chip select lines?
Can you post some clear closeup photos of your wiring as well as a wide
shot that shows all the wiring.
Thank you for your help,
I even tried to make all the connections but the result is always the same.
In the first screen I see the triangle column yes and no, I see something the following screens, but there are several bright pixels randomly
Are you sure about this?
Usually when there is an issue like this it is not exactly the
same. There will be slight differences between each iteration.
In %99.9 percent of the cases, it is a wiring issue.
The other portion being a bad glcd, but the bad glcds
are usually do to previous incorrect wiring.
Usually it is something simple, like mis connecting wires.
Post some clear closeup photos of your wiring as well as a wide
shot that shows all the wiring.
I will need to be able to see where all 13 wires are connected
to the GLCD and to which arduino pins.
Also, a video of the display during the diags might be helpful.
It looks like some sort of wiring error.
Take some close up clear macro photos of the wiring and a wide shot of the wiring
and post them here so we can see the wiring.
Also verify all the wires in your wiring according to the diag output.
csel 1, pin 33
csel 2, pin 34
rw, pin 34
etc..
d7, pin 29
Make sure that all wires are properly soldered to the glcd module
and that each wire is properly connected to the correct mega pin.
Do not twist wires together. Use a single wire or solder wires together when
using more than a single wire for a connection.
On the mega it is easy to accidentally connect the wires by one pin off,
get the even/odd pins backwards, or accidentally count the +5v along the top as pin 22