Quote Originally Posted by srspinho View Post
Hi Skimask,
well, the unique 18F i have at home right now is the 18F2520.
I have, also a lot of 16F877 and 876 (pretty small for this application isn´t it ?)
My first tests (long time ago) were done in a 877 when I just try to set pixels on / off
I think I did something really wrong in the LCD initialization.
Another doubt : The LCD´s datasheet says that it works with 3.3 v but, the pic and it´s ports works with 5 V is there any problem on hooking up the LCD´s data pins directly to the PIC running with 5Volts ?
I think it'll run just fine, even inside a 12Fxxx, once I modify the code to put the basic font in program memory. Sure, it would be limited in what you can see on the screen, but it should work.

3.3v vs. 5v. - I'm using the Sparkfun adapter board shown in the link in Post#1. I put a 100ohm series resistor inline with each of the control/data lines. Seems to work ok. The 3.3v line is getting an actual 3.3v thru a LDO regulator tapped off the PIC 5v. At first I was running it from 5v thru 3 diodes for a ~1.8v drop for the LCD power, giving about 3.2v on the output. It's still alive. And it's even still alive after literally thousands of improper power downs. The LCD controller datasheet says you should power it down in a specific sequence. I've just been killing power, again, seems to work.
And I'm connected to the 6 pin header at the one end, with a 100uF elec. cap across Vdisp and ground at the other end.