This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

lcd interface

has anyone interfaced a powertip lcd to 167/ST10?
If yes, Pls let me know the ports used and the initialisation sequence
regards
rajesh

Parents
  • Hi,

    If it can please you, I've written a LCD driver for the Sheiko M4032 (quite an old 2x20 character LCD), but as already told, the mechanism to control the LCD is still valid.
    Send me your email to gjgvancompernolle at yahoo dot com and I'll send you my C-file.
    To control the LCD, I'm using one 8051 port for the 8 data bits and 3 pins of another port for the control bits (R/W, Reg. select and Enable).
    I'm rebuilding the driver now to access it via an I2c controlled PCF8574 I/O expander, just to gain back my precious 8051 ports.
    As already mentioned in previous reactions, timing is a very important issue, especially during initialization. I also struggled with this, but could finally find an optimum timing schedule.
    The driver can still be improved by checking a busy flag of the LCD, so that you don't wait unnecessary, but this is really if you want to finetune it to the extreme to gain every microsecond that otherwise would be lost. But I've chosen for secure operation and don't use this check (yet??).

    Rgds,

    Geert

Reply
  • Hi,

    If it can please you, I've written a LCD driver for the Sheiko M4032 (quite an old 2x20 character LCD), but as already told, the mechanism to control the LCD is still valid.
    Send me your email to gjgvancompernolle at yahoo dot com and I'll send you my C-file.
    To control the LCD, I'm using one 8051 port for the 8 data bits and 3 pins of another port for the control bits (R/W, Reg. select and Enable).
    I'm rebuilding the driver now to access it via an I2c controlled PCF8574 I/O expander, just to gain back my precious 8051 ports.
    As already mentioned in previous reactions, timing is a very important issue, especially during initialization. I also struggled with this, but could finally find an optimum timing schedule.
    The driver can still be improved by checking a busy flag of the LCD, so that you don't wait unnecessary, but this is really if you want to finetune it to the extreme to gain every microsecond that otherwise would be lost. But I've chosen for secure operation and don't use this check (yet??).

    Rgds,

    Geert

Children