Steve,
is the same. i like it more in blue.
The pinout are the same.
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.
hi mister_e
i'm looking forward to see it. Thanks.
Hi all,
i've been looking at this topic for some time now.
I managed to get an original 3310 display and made some tests.
First i tried the INC solution but i got the "Truncated to code size" errors ( using 16F88 or 16F628A ).
Tried some examples posted here ( always changing ports to my configuration ) with a blank screen.
Tried the test file with big numbers and it worked.
Then moved to a 18F2550 micro-controller and once again the INC solution did not worked ( just had some ! simbols all over the place ).
The only solution i got was to use the INC file together with Gusse's sugestion on using "Gosub Lcd_SendChar" instead of "@ PrintStr" format.
This way works like a charm!
Do you guys know of an 18 pin chip that would work ( since it doesnt work with the 16Fs ) ?
Or Steve ( Mister-e ) will have a fresh new solution that will work on more chips ?
Regards
Bookmarks