Problem with 1x16 LCD...only 8 chars coming in display...

Discussion in 'Embedded Systems and Microcontrollers' started by seemanta, Jan 10, 2008.

  1. seemanta

    Thread Starter New Member

    Jun 29, 2006

    I am trying to use a 1x16 LCD display with my 8051 micro.
    The particular variant happens to be Agena AA16102. This is compatible
    with the Hitachi HD47780.

    However, I am only able to make it show the first 8 characters.
    I have searched a lot on the net, and they all say that the display is physically
    1x16 but it is in reality 2 1x8 display put side by side.

    So I started the initialization in 2 line mode and I tried to move the cursor to the next line but even that did not work.

    If that was not enough, I looked up the agena website and as per their data sheet, I also gave the same sequence of initialization commands. Even that did not work Sad

    Can anyone please provide any pointer for this weird problem?
    By the way, I am based in India.

    Thanks in advance!
  2. hgmjr

    Retired Moderator

    Jan 28, 2005
    See if the information contained at this website can help you find a solution.

    One thing you could try as an experiment is to write to every possible row/column address and see if the second set of characters are mapped to some unusual address.

  3. seemanta

    Thread Starter New Member

    Jun 29, 2006
    Oh and by the way, I forgot to mention, I am only seeing 8 rectangles with maximum contrast :-(

    So even the remaining 8 blank spaces are not active ! :-(
    Hope this extra info means something!

  4. felis

    New Member

    Jan 13, 2008
    If it's 2x8 then the ninth symbol is at address 40. You'll need to set your cursor address manually to this location after writing the eights symbol.

    Hope this helps,