How to modify a LCD character set?


Closed Thread
Results 1 to 11 of 11
  1. #1
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    938

    Default How to modify a LCD character set?

    Hello,

    I'm using a HD44780 compatible LCD display.

    I can't find any example about how to modify the existing character set.

    Does anyone have a simple example how to do this?

    Thank you
    Roger

  2. #2
    Join Date
    May 2006
    Location
    Del Rio, TX, USA
    Posts
    343


    Did you find this post helpful? Yes | No

    Default

    In most HD44780 compatible LCD displays, you can only create 8 user-defined characters. They normally are the first eight character addresses (00h-07h). It's been a while since I have played with this, so if I can dig up an example, I'll post it.


    Found something to get you started, but not an "example":
    Have a look at Everday Practical Electronics articles on "How to use Intelligent LCDs". The first article, in experiment 6, explains how to use the 8 custom characters.

    Will post more if I find it.

    HTH,
    Steve
    Last edited by SteveB; - 1st October 2006 at 21:05.

  3. #3
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    Hi flotulopex,

    How did you miss this post?

    Custom Character Generator
    http://www.picbasic.co.uk/forum/showthread.php?t=2598

    Don't forget to send your special thanks to Darrel Taylor!
    -----------------------
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  4. #4
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    938


    Did you find this post helpful? Yes | No

    Default

    Well,

    Thank you (again) Darrel.



    ...I don't understand why I couldn't find this thread in my search...
    Last edited by flotulopex; - 2nd October 2006 at 10:54.
    Roger

  5. #5
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    If you are familiar with using Read/Write feature of LCD, then may be you could store your set in the LCD memory. But, I do not have experince on doing it.


    ---------------
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  6. #6
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Hi flotul,

    Hope it does what you need.

    The normal character set is stored in ROM on the HD44780, so there's no way to change those. You're limited to just the 8 chars of CGRAM.

    If you really need a whole different charset, then a Graphic LCD (GLCD) is the only way to go. But man those things are expensive. Not to mention it'll suck up a lot of program space in the PIC.

    And, there's still stuff on the forum I've never even seen before. I sit in the "Who's On-Line" page alot and watch the search bot's roaming around. Almost everytime I'll see something that looks interesting that I've never noticed before. Having been here since the very beginning, it's amazing.

    When you're looking for things in the forum, sometimes it's better to use the google "Site" search. Just enter site:picbasic.co.uk and then the keywords.

    site:picbasic.co.uk lcd character

    It also allows 3 letter words, wereas searching for "LCD" with the forums search, won't work.
    <br>
    DT

  7. #7
    Join Date
    May 2006
    Location
    Del Rio, TX, USA
    Posts
    343


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Darrel Taylor
    When you're looking for things in the forum, sometimes it's better to use the google "Site" search. Just enter site:picbasic.co.uk and then the keywords.

    site:picbasic.co.uk lcd character

    It also allows 3 letter words, wereas searching for "LCD" with the forums search, won't work.
    <br>
    Darrel,
    This info is well worth a sticky post in the FAQ section!

    Steve

  8. #8
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Probably a good idea. And I think I can do even better than that.

    I'll see what I can come up with.

    Thanks Steve,
    DT

  9. #9
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    938


    Did you find this post helpful? Yes | No

    Default

    Thank you for your advise.

    Next time, I'll find it by myself, for sure ;-)
    Roger

  10. #10
    Join Date
    Apr 2005
    Posts
    12


    Did you find this post helpful? Yes | No

    Default

    Hello flotul
    You could also try searching these forums by typing something like lcd* character, or lcd*, or whatever you are looking for and that will turn out some results for you, always worked for me when the word was 3 letters or shorter.

    Greg

  11. #11
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Cool Or you could use this...

    A better Search tool for the Forum
    http://www.picbasic.co.uk/forum/showthread.php?t=4751
    <br>

Similar Threads

  1. Play with LCD on PICDEM
    By The IceMan in forum mel PIC BASIC
    Replies: 5
    Last Post: - 22nd August 2008, 16:56
  2. LCD Problem
    By karenhornby in forum General
    Replies: 3
    Last Post: - 19th June 2008, 11:43
  3. PIC16F684 + LCD to use the 256bytes of EEPROM - HELP
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 7th March 2008, 14:19
  4. Need help with LCD number display.
    By Steve Matson in forum mel PIC BASIC
    Replies: 8
    Last Post: - 26th June 2007, 23:07
  5. error on compiling
    By parker in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 16th June 2005, 14:31

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts