lcd problem

Discussion in 'Embedded Systems and Microcontrollers' started by kppp, Feb 9, 2009.

  1. kppp

    Thread Starter Member

    Apr 23, 2008
    hello everyone,
    my lcd is 16x2.
    matrix is 5x8
    i am using ddram only to display
    my initialisation code is:
    this is according to the manual i refered
    and then i display some characters on the lcd
    but some times, dots in the matrix are not displayed properly
    eg: if 2 is to be displayed then some times it will be proper but some times some pixels are missing
    so i changed my hardware as well as lcd but the problem remains same
    can you suggest settings for 5x8 pixel because in the manual 0x38 is mentioned for 5x7 and 0x3c for 5x10 matrix
    pls help me out. any other information if required then pls let me know
    thank you all
    take care
  2. hgmjr


    Jan 28, 2005
    Can you provide us with a schematic of your circuit and the source code you are using to initialize and write to the LCD?

  3. silvrstring

    Active Member

    Mar 27, 2008
    It sounds like you need to add a delay somewhere in your code. You should post what you have. You probably need a delay() for your enable signal, or a delay() after writing data so it has time to latch.