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
More questions in this forum