How to connect display...
I thought I would order that one but the other Canadian distributor I found don't have any in stock and couldn't tell me when he'll receive some more... too bad.
I found a place near who'll have the following in stock next week, I'll pick it directly at their shop.
http://www.inexglobal.com/downloads/glcd5110.pdf
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Steve,
is the same. i like it more in blue.
The pinout are the same.
on the one i have as you see there is no Vop pin. This pin as from the code i see that is connected to ground through a 4.7uf capacitor and controls the Contrast.
The point is that on the LCd i have there is no Vop pin. So how can i control the Contrast.
If anyone have the display 5110 nokia from sparkfun, could make it easier if he can upload the schematic and a simple code.
Vop is a register in extended instruction set (see page 14, Set Vop)
http://www.nxp.com/acrobat_download2.../PCD8544_1.pdf
"8.9 Set VOP value" (on page 16) describes how to calculate setting value.
Contrast is set in "Lcd_Init" section in LCD_3310 -file.
Here it seems to be $c8, with some older I have to use $d1 and other newer might need $bf. Try to change the value and check which is best with your display.Code:Lcd_Data= $c8: GOSUB Lcd_SendByte ' SET LCD Vop (CONTRAST)
BR,
-Gusse-
i have fixed the circuit from that page and work fine.
http://www.radiolocman.com/shem/sche....html?di=44132
he is using the following
LcdReg = %00100001 'LCD Extended Commands.
call PrintCtrlLcd
LcdReg = %10101001 'Set LCD Vop (Contrast).
call PrintCtrlLcd
LcdReg = %00000110 'Set Temp coefficent.
call PrintCtrlLcd
LcdReg = %00010011 'LCD bias mode 1:48.
call PrintCtrlLcd
LcdReg = %00100000 'LCD Standard Commands, Horizontal addressing mode.
call PrintCtrlLcd
that means that the HEX of the Vop is $A9.
He is also says:
If by any chance the contrast isn't to your liking, it can be changed during the programming of Pic12F629, in the program location D2h. the current value A9h is the one I use with my LCD and don't know it will be for other LCDs. The value can be set to anything between 80 h and FFh, 80 h being minimum contrast and FFh maximum.
OK, I've finished the new Include/driver/wrapper thing here. I'll post it in the next days. Still have some improvement to do. No big changes, but probably easier to use, a tad more flexible too.
You guys should love it
Stay tunned!
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks