Store Custom Characters for LCD in EEPROM?


Closed Thread
Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Dec 2012
    Location
    Tennessee
    Posts
    262


    Did you find this post helpful? Yes | No

    Default Re: Store Custom Characters for LCD in EEPROM?

    henrik, I was reading an article about someone that uses about 20 characters, he loads the character to lcd memory then send the display command, Im not looking to load more than 8 at a time or display more than that, just to have the choice of what to load. So if I want to load images for batteries with levels 1-8, reload new image batch, and then refresh screen with images for 8 temprature pics, etc... I figured I could do a 8 Character groups, Batteries, Temp Guages, Smileys, Misc symbols, Etc... if I did them 8 char x 4 groups that gives me 32 characters to call from. and it should be easier to handle memory addresses.
    Chris


    Any man who has accomplished anything in electronics at one time or another has said... " STOP! WAIT! NOOO! Dangit.... Oh Well, Time to start over..."

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default Re: Store Custom Characters for LCD in EEPROM?

    Hi Chris,
    Sure, that should work.
    Yes, looking at the block diagram in the HD44780 datasheet it does seem like you COULD actually load 8 chars to CGRAM, display them (which writes them to DDRAM) and then overwrite the CGRAM with 8 new ones, display those and so on.
    Anyway, if there's no need for more than 8 at a time then you're all set.

    Keep us posted!
    /Henrik.

  3. #3
    Join Date
    Apr 2007
    Location
    Pennsylvania, USA
    Posts
    158


    Did you find this post helpful? Yes | No

    Default Re: Store Custom Characters for LCD in EEPROM?

    Quote Originally Posted by HenrikOlsson View Post
    Hi Chris,
    Sure, that should work.
    Yes, looking at the block diagram in the HD44780 datasheet it does seem like you COULD actually load 8 chars to CGRAM, display them (which writes them to DDRAM) and then overwrite the CGRAM with 8 new ones, display those and so on.
    Anyway, if there's no need for more than 8 at a time then you're all set.

    Keep us posted!
    /Henrik.
    My experience with this is when you try to load new characters into the CGRAM it overwrites the ones currently being displayed. I have not been successful displaying more than 8 characters, or even displaying 8 and loading more into CGRAM. Some displays do have slightly different features so it may be possible on the right display.
    Shawn

Similar Threads

  1. Displaying Custom Characters on LCD.
    By wdmagic in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 20th March 2013, 18:21
  2. newbe wants to store in 16f887 eeprom help
    By lecoind in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 23rd June 2012, 00:52
  3. Writing custom characters to LCD display
    By badrad in forum mel PIC BASIC Pro
    Replies: 59
    Last Post: - 21st April 2012, 22:05
  4. eeprom how many data can store
    By DragonBall_6 in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 5th December 2006, 11:39
  5. Using EEPROM to store variables...
    By Tom Gonser in forum mel PIC BASIC Pro
    Replies: 21
    Last Post: - 6th April 2005, 15:51

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