Shop OBEX P1 Docs P2 Docs Learn Events
24x3 LCD with KS0079 driver init code help — Parallax Forums

24x3 LCD with KS0079 driver init code help

ben_refurbben_refurb Posts: 3
edited 2012-09-21 05:29 in BASIC Stamp
I am trying to get this LCD working. It uses the KS0079 driver IC. I have the datasheet and have been trying to modify the code from BS2 examples that power the 44780 (4-bit mode)

I am able to get the LCD to power up but the text is all crazy. Every time I try to adjust the LCDinit code for what is described in the manual the LCD stops displaying anything altogether or the crazy output changes to some different form of random crazy. I have looked for code examples that refer to the KS0079 but have not had any luck. Not sure what I am doing wrong of if it's even possible to get this display working with PBASIC 2.5

Comments

  • Qwaszx72Qwaszx72 Posts: 30
    edited 2011-01-16 05:52
    Can you please give me a link to the data sheet, I should then be able to write up a PBASIC program that will allow you to test the display. Also, what BASIC Stamp Module do you have?
  • ben_refurbben_refurb Posts: 3
    edited 2011-01-17 05:39
    thanks for any help you can provide.

    I have attached the LCD datasheet (1 page)

    Here is the link to the datasheet for KS0079 LCD controller:
    http://www.digchip.com/datasheets/download_datasheet.php?id=482617&part-number=KS0079

    I'm currently using BS2 Rev J with PBASIC 2.5 but wouldn't mind trying a different stamp if it would help.
  • Qwaszx72Qwaszx72 Posts: 30
    edited 2011-01-17 08:24
    You will need a data sheet with the command lists, I recommend just picking up an LCD module that uses a Hitachi controller
  • ben_refurbben_refurb Posts: 3
    edited 2011-01-17 10:36
    The command list is in the datasheet for the LCD driver KS0079

    I'm trying to make a test routine for this specific LCD so I can't use a different display.
  • Clive WakehamClive Wakeham Posts: 152
    edited 2011-01-17 13:45
    81271_DS.pdf

    I have looked at the data sheet for the KS0079 and looked at the one for the Hitachi datasheet for which the LCDCmd, LCDIn, and LCDOut commands were written for.

    There doesn't seem to be any differences in command structure.....

    But because both use the DB7 pin to indicate BUSY, if your using 4 bit mode then DB7 is not checked for being busy so you need to give the driver time to execute the command etc.

    Also which type of "booster circuit" are you using to drive the LCD display? (Page 30/31 of datasheet)

    I have included the datasheet for the Hitachi display driver so you can check the commands and data sequences compared to the KS0079.
  • szmarvel88szmarvel88 Posts: 1
    edited 2012-09-21 05:29
    Dear all,

    Our company have stock of this KS0079 LCD, any interests please contact wtih me.
    sales@szmarvel88.com 0086-15989896561.

    TKS
Sign In or Register to comment.