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 4BIT Interface

Hello There,
Anybody help me to locate an example programe in C51 for hitachi LCD panel with 4 bit interface
Thanks

Parents
  • Hi Roy,

    I was wondering if you managed to locate a program in C51 for the 4 bit LCD interface?

    I am currently trying to interface an LCD to the ADuc831 microcontroller (12Mhz external clock, divided down internally to run at 1Mhz, thereby one instruction takes 1us), but with no real luck. I am only writing to the display and not reading from it, therefore i use delays while the controller is busy performing the instruction. In fact I have exaggerated these delays in an effort to get it to work!

    I've tied the VDD pin to the DVDD pin on my eval board, and the V0 pin to DGND pin on the eval board also, and use port 2 for the other pins.

    I'd be grateful if you could provide me with any help, I can send you on the current version of my code if u need it?

    Thanking you in advance
    Dave
    Ireland

Reply
  • Hi Roy,

    I was wondering if you managed to locate a program in C51 for the 4 bit LCD interface?

    I am currently trying to interface an LCD to the ADuc831 microcontroller (12Mhz external clock, divided down internally to run at 1Mhz, thereby one instruction takes 1us), but with no real luck. I am only writing to the display and not reading from it, therefore i use delays while the controller is busy performing the instruction. In fact I have exaggerated these delays in an effort to get it to work!

    I've tied the VDD pin to the DVDD pin on my eval board, and the V0 pin to DGND pin on the eval board also, and use port 2 for the other pins.

    I'd be grateful if you could provide me with any help, I can send you on the current version of my code if u need it?

    Thanking you in advance
    Dave
    Ireland

Children
  • Hai
    I have completed the programe myself. LCD 4 bit interface with busy. It uses only one port ie port0 .Lower nibble as data lines and the upper bits for controll.One pin is free. it is working alright.
    If any help reqd contact roythomaskcc@hotmail.com
    i have tested it on 89S52 and cygnal 020.
    Ok there.
    Regards