Using the 4x20 NewHaven driver with a 2x20 NewHaven
Sariel
Posts: 182
Hey folks!
I have a couple NewHaven 2x20 displays sitting around, and being very sucessfull with the 4x20 using the file in the obex, I wanted to use them up in other projects. I looked at the data sheets, and cannot see much of a difference, other than the 2 lines not being there. I try a simple init, then display baud, and I can't get the 2x20 to do anything. When I short the 2 jumpers, it does the self-test without a problem. And yes, I have tried monkeying with the Display, contrast, all that.
Like the 4x20, I have Vcc connected to the 5v line, Vss to GND, and the serial line to a prop pin. According to the data sheet, the minimum voltage requirement for the serial data line is low enough that it should fire up without any level-shifting.
Here is the pile of stuff that will help anyone ambitious enough to help diagnose this one with me.
4x20:
NHD-0420D3Z-FL-GBW.pdf
2x20
NHD-0220D3Z-FL-GBW.pdf
Obex File (for 4x20):
http://obex.parallax.com/objects/704/
Oh.. and I did the change to the Obex file that anon (cough, cough, was me, not logged in that day) said to do. The LCD.cls works Just fine with the 4x20.
I have a couple NewHaven 2x20 displays sitting around, and being very sucessfull with the 4x20 using the file in the obex, I wanted to use them up in other projects. I looked at the data sheets, and cannot see much of a difference, other than the 2 lines not being there. I try a simple init, then display baud, and I can't get the 2x20 to do anything. When I short the 2 jumpers, it does the self-test without a problem. And yes, I have tried monkeying with the Display, contrast, all that.
Like the 4x20, I have Vcc connected to the 5v line, Vss to GND, and the serial line to a prop pin. According to the data sheet, the minimum voltage requirement for the serial data line is low enough that it should fire up without any level-shifting.
Here is the pile of stuff that will help anyone ambitious enough to help diagnose this one with me.
CON '' Clock settings _CLKMODE = XTAL1 +PLL16X _XINFREQ = 5_000_000 LCDPin = 0 ' LCD Seiral Data LCDBaud = 9600 ' LCD Baud Rate VAR OBJ LCD : "Lcd_NHD-0420D3Z-FL-GBW.spin" PUB Main LCD.init(LCDPin, LCDBaud) LCD.setContrast(50) LCD.setBright(8) LCD.dispOn LCD.cls LCD.showbaud
4x20:
NHD-0420D3Z-FL-GBW.pdf
2x20
NHD-0220D3Z-FL-GBW.pdf
Obex File (for 4x20):
http://obex.parallax.com/objects/704/
Oh.. and I did the change to the Obex file that anon (cough, cough, was me, not logged in that day) said to do. The LCD.cls works Just fine with the 4x20.