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

intialisation of 16x4 lcd interfaced with 8051

hi.. i am working on 16x4 lcd display and trying to interface it with AT89c51... but m unable to initialise the four lines of it... \
i.e for 2 lines we write MOV A,#38H what do i write for initializing 4 lines display... please help me out in it ... Thanx in advance ...

Parents
  • The ability to read and understand text doesn't seem to be a primary attribute of quite a number of posters on this forum.

    Look at your display. Figure out what model and/or controller chip you have. Google for a datasheet for the relevant display model and/or controller chip. Read the datasheet. Follow the information in the datasheet.

    We don't even know if your display has a 4 or 8-bit interface, or if it communicates using UART, I2C, SPI, ... There are thousands of display models in existence Some are using standard controller chips. Some are using more-or-less unheard of inhouse-developed chips. Some controller chips have configuration pins, making them behave differently if the pins are grounded or held high, allowing them to support multiple interfaces or different LCD panels.

    You are basically saying: I have a car. I will not tell you what make and model. I will probably not bother to even figure that out myself, but I figure that it should be enough for me and you to know that it has four wheels and four cylinders and is running on gasoline. I want people on this list to fax me their user handbooks because I can't be bothered to figure out myself what information I need.

Reply
  • The ability to read and understand text doesn't seem to be a primary attribute of quite a number of posters on this forum.

    Look at your display. Figure out what model and/or controller chip you have. Google for a datasheet for the relevant display model and/or controller chip. Read the datasheet. Follow the information in the datasheet.

    We don't even know if your display has a 4 or 8-bit interface, or if it communicates using UART, I2C, SPI, ... There are thousands of display models in existence Some are using standard controller chips. Some are using more-or-less unheard of inhouse-developed chips. Some controller chips have configuration pins, making them behave differently if the pins are grounded or held high, allowing them to support multiple interfaces or different LCD panels.

    You are basically saying: I have a car. I will not tell you what make and model. I will probably not bother to even figure that out myself, but I figure that it should be enough for me and you to know that it has four wheels and four cylinders and is running on gasoline. I want people on this list to fax me their user handbooks because I can't be bothered to figure out myself what information I need.

Children
No data