PDA

View Full Version : How to interface PIC to Optrex 81852



misterPIC
- 15th February 2008, 09:13
Hello to everybody, i'm new in that forum !

i want to drive optrex 81852 with pic 18F but i'm not expert to interface and write
routines for graphic lcd, because I have ever used standard 20x4 LCD.
If someone have already done a similar project,
i would be very thankful with him if he could help me to do schematich and basic routine.

Have a nice day !

Demon
- 20th May 2008, 07:52
Do you have a datasheet that came with this LCD?

Google doesn't seem to like <optrex 81852>.

Have you looked at the examples I posted for graphic LCDs? Maybe one example might give you insight on how to use the commands if you ever find the datasheet.

misterPIC
- 24th May 2008, 15:37
sorry but it's OPTREX 51852... in attachment the datasheet.

thanks in advance !

skimask
- 25th May 2008, 01:04
sorry but it's OPTREX 51852... in attachment the datasheet.
thanks in advance !
Except for the pinout, that datasheet is almost as useless as a __________ (insert comment here, I use 'dry fart'). No command and control explanations at all...
But, because of the controller number and the pinout, it looks like it MAY be your standard-run-of-the-mill 128x64 LCD. There's a few examples here on these forums.

Demon
- 25th May 2008, 08:22
Check this:
http://www.optrex.com/SiteImages/PartList/APPNOTE/OAI-80018AA-7601-51852-SeriesAN20080104.pdf

Page 11, figure 7, I suggest the left schematic, unless you want to use the right schematic and deal with an external power supply.

Page 13, there's a nice wiring schematic.


And then this code for 51553 (similar, might work):
http://www.picbasic.co.uk/forum/showthread.php?t=3037

The 51553 uses a SED1565 controller and the 51852 uses a NJU6676 controller, but they are in the same family of Optrex graphic LCDs.

Good luck!


EDIT: It's important to know exactly which model of 51582 you have, not all of them have built-in power supply.