Show Posts
Pages: [1]
1  Using Arduino / Displays / Re: GLCD library version 3 on: July 15, 2012, 03:23:52 pm
Update, NUM6 fixed the problem! Adding a 1kohm resistor seemed to fix all the problems. But I will still post a more detailed answer to the problem. Hopefully it will help others.

1) Yes. That is what happens. Here is a video of this occurring.

2) This is a 128x64 display
3) The part num is GDM12864HLCM from SparkFun
4) The library has not been altered for the Uno. However manual pins were set for the Mega as one of the ports on that controller was found to be bad.
5) The two green wires go to a 10k potentiometer. Which is read by A5.
7) The number of wires attached does not effect the display performance. The test in 1) was done using the setup from 7).

 --Thanks for helping me figure this out Bill!
2  Using Arduino / Displays / Re: GLCD library version 3 on: July 14, 2012, 09:54:54 pm
Yes, the diag sketch runs completely through on the serial port, everything passes, but the display usually crashes about at the "Full Vertical Page Test". I don't know if the diag sketch resets the board completely when it repeats, but whenever it does loop back to runs the tests again, the display works for a while again. Symtoms repeat.

The first photo shows what is happening on a partial failure. The sketch that is running is 'BigNums'. The right side is still running, but the left side has just gone blank.

The next two show the setup. Uno R3 is powered by usb and 12v dc through the outlet. Wires are directly from the uno to the breadboard and no data wires are greater than 6". All the power on the breadboard is powered by the 5v out on the uno. The power and ground on the GLCD pins were measured to be 4.99v. Improper connections? Maybe, but the problem persists across different controllers and with different wire combinations.

Last photo is of the headers soldered to the GLCD.
3  Using Arduino / Displays / Re: GLCD library version 3 on: July 14, 2012, 08:36:40 pm
I have a problem that I haven't seen solved anywhere. I'm using the standard ks0108 GLDC that goes with the library. I have had success in connecting all the wires properly and actively displaying information to 2 different microcontrollers (mega and uno). The problem is that a few seconds to a minute after the display loads, the left half or entire screen crashes/goes blank. As far I can tell, the GLCD is just not displaying data. The controller still functions as the debug works and it can still read and write data to other components, but the display just doesn't want to continue displaying data.

This happens on both controllers and to different degrees on all the example programs. Is this something in which the only solution is to buy another GLCD? As far as I can tell it's the only common thing, but maybe I'm missing something.
Pages: [1]