Hello Everybody,
this is my first post here. I hope I fulfill the quality standards with my post and don´t receive harsh critique like others before me.
I have tried to find answers for my little problem in this forum and all over the web for no good. So, this is my last attempt on this and hopefully some knowledgeable folks can help me.
I have salvaged a 1x16 10PIN LCD display from a cricut digital cutting machine.
It appears to be a generic unit with "UM1601 A1" printed on the back and some other numbers, none of them good to find a manufacturer / data sheet. Here is a picture front and back:
I am trying to use this display with an Arduino UNO.
My assumptions:
It has a Hitachi HD44780 compatible controller,
It is not an I2C display,
Its R/W is pulled to GND as default, otherwise I would not get along with just 10 pins.
The reduced number of pins does not allow me to connect it the "standard" way like a 16pin or 14 pin unit.
Regarding the Pin assignment I am 100% sure on these pins: (the colors refer to the wires, that I am using in my prototype setup as seen on the fotos below.)
PIN1 GND black
PIN2 VCC +5V red
PIN3 VO BIAS (or commonly known as "contrast") 10K Potentiometer between GND and +5V
PIN10 Background light appx. 4.2V 100 Ohm resistor connected to yellow / +5V
Just with above pins connected to the UNO board I have the background light working and see squares on the left half of the display.
I am 50% sure on:
PIN4 RS Blue, connected to Ardu Pin 12
PIN5 Clock (E) White, connected to Ardu Pin 11
PIN6-9 DATA Orange LCD pin 6 to Ardu Pin 5, LCD7 to 4, 8 to 3 and the LCD Pin 9 to Ardu Pin2. (kind of cross wired, I have tried the other way around with identical result)
All wires are checked good for continuity, by the way. All breadboard connections are fine, have used different slots, used the original wire harness, all with same result.
With this Setup I can set a cursor to any position, have it blinking, turn the display on/off, but I don´t get any characters displayed with the "print" or "write" commands.
Here is, how I have it connected to the Arduino:
Here is the code that I worked with when I took the screenshot:
This code kind of "grew" out of the basic "Hello World" sketch when I was adding different LCD related commands to see what the action is. Basic result: all commands in that sketch work except "print" and "write".
I am using liquidChrystal 1.4, but have tried older versions (1.0).
Here are my questions:
Has anybody dealt with a 10pin LCD of this kind before?
Am I correct with above assumptions regarding HD44780, I2C and R/W?
Am I doing anything wrong with the wiring or the code?
Is it possible that I shot the LCD´s character ROM and the RAM during my initial PIN testing with +5V or GND?
Might a different library do the job?
Are there any other tricks that I might try like delay timings between commands or library tweaks (might need some help with that though)
Am I a fool wasting X hours of my life just to get a used 5$ device back to use??
Here are some observations, which might be useful:
1)After I pull and re-connect the +5V to the LCD it weakly shows the 8 dark squares on the left side of the display, with a cursor blinking and scrolling slowly from left to right, blinking for 5 sec on each slot, then disappear for good. The squares remain dimmed until I re-load the code to the Arduino. Then the squares disappear and the blinking cursor has its full contrast again and it is doing its sketched blinking.
2)The cursor continues to blink, when the "print" commands should be executed. So, basically there is a 10sec blinking cursor instead of 5sec blinkiblinki and a 5sec "HALLO".
3) When I pull any of the orange "Data" wires during sketch execution, the cursor continues to blink until the current delay time is up, then the display goes blank. The cursor comes back when I plug the wire back in. It appears, that the pulling of the wire kind of "pauses" the execution of the sketch.
4) During the initial PIN identification phase, I had situations, where all kinds of different characters were displayed. That looked pretty promising and tells me that the character ROM worked then. I cannot recall, which PIN combinations caused these indications. At that time I had not figured out yet, that there is no R/W pin.
Any idea is welcome,
Thanks in advance