Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] How to use GLCD in MPLAB PIC ASM

Status
Not open for further replies.

vishy71

Full Member level 2
Full Member level 2
Joined
Dec 16, 2010
Messages
126
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,298
Location
Iran
Activity points
2,296
Hi
is there any one to help me that I can use the GLCD in MPLAB PIC assembly?
I know it's too hard but please help me!I will try it and learn it!
thanks
 

check this out
 

Attachments

  • -glcds-pic-18f-assembler-glcd.zip
    788.7 KB · Views: 179
Hi,

Those examples are good but be aware that most glcds are different and need different code for each type.

1 . display size 128x64 is popular and cheap.

2. display make and more importantly the controller chip used . the K0108 unit is common but very old and used a twin controller set up which adds to the coding difficulty.

What display do you have ..?
 
Hi to all my friends
I take out the codes from datasheet that I need to use them for using GLCD!
here is some quetions for me!I will happy if you answer to them!

frist what's the address Y? and what's the page?
and then is I/D pin same as EN pin on LCD?
what I must to do for using GLCD?I mean what steps I must follow to run GLCD!

thanks
and thanks
 

I would also like to know how to program a GLCD with ASM as I have not "moved" to C yet and have been programming in ASM since 1992 ! Everyone I speak to say it can't be done but then most, if not all, of them can't program in ASM :)
 
  • Like
Reactions: vishy71

    vishy71

    Points: 2
    Helpful Answer Positive Rating
I would also like to know how to program a GLCD with ASM as I have not "moved" to C yet and have been programming in ASM since 1992 ! Everyone I speak to say it can't be done but then most, if not all, of them can't program in ASM :)

Hi,

As those examples in Ckshivarams reply show it can be done.

However you do not say what chip family you are using and what GLCD you have got and what controller chip / driver it uses ?

One of the commonest in diy is the 128x64 pixel unit , but there are many types withing that size/
 
  • Like
Reactions: vishy71

    vishy71

    Points: 2
    Helpful Answer Positive Rating
Hi to all my friends
I take out the codes from datasheet that I need to use them for using GLCD!
here is some quetions for me!I will happy if you answer to them!

frist what's the address Y? and what's the page?
and then is I/D pin same as EN pin on LCD?
what I must to do for using GLCD?I mean what steps I must follow to run GLCD!

thanks
and thanks


Hi
See entry #4 here for some ks0108 graphic code examples for the 16F
https://www.edaboard.com/threads/156461/
This is the matching pfd for those examples which should answer your questions.

Again have to repeat, if you thought the LCD code was complicated, then the GLCD code is about 20 times harder and certainly not something I would recommend a beginner to try.



Note to Moderator - not aware of this pdf being currently available on any other link, so had to attach in full.
 

Attachments

  • beckglcd.pdf
    1.7 MB · Views: 1,659
  • Like
Reactions: vishy71

    vishy71

    Points: 2
    Helpful Answer Positive Rating
Hi,

As those examples in Ckshivarams reply show it can be done.

However you do not say what chip family you are using and what GLCD you have got and what controller chip / driver it uses ?

One of the commonest in diy is the 128x64 pixel unit , but there are many types withing that size/


I typically use PIC18F2620 or PIC18F4620 for most of my designs as I purchased 20 of each of them at a good price.

The GLCD I have been given are 128x64.
 
Last edited:
  • Like
Reactions: vishy71

    vishy71

    Points: 2
    Helpful Answer Positive Rating
Hi
I said it!again I say! it uses ks0108 driver and is 128*64! your informations are really good.thanks and thanks and....

I will check them and report what I do then!
thanks
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top