Writing text on LCD Module using 89C51

Posted on Feb 4, 2014

In the circuit shown below i have configured the LCD module Command Register at address 00H and Data Register at 01H, so when ever we will write the data at address 00H, it will be considered as command for LCD, and when ever at 01H, it will be considered as ASCII character to be write. the following table shows addresses for different read write operations.

Writing text on LCD Module using 89C51
Click here to download the full size of the above Circuit.

To use the LCD module as memory mapped i/o as explained above we will have to do the following connections with micro controller, since the address and data both will transfer through Port "0", therefore we will have to use an Octal Latch 74573. the PCB layout is also available to download. an example program is also available to download, Here i have given different subroutines, by combining which we can make a complete program, first of all i will show you the subroutine for initialization of LCD module. I have also written a library in C Language, by which we can write any type of data on LCD using C language, there are many built in functions which can be called from any "KEIL C" program, and all necessary files including that library can be download from the link given below.

Leave Comment

characters left:

Related Circuits

  • New Circuits



    Popular Circuits

    Voltage-Level Indicator
    cto frequency converter
    sound Circuits
    dsp sstc
    metal detector using beat frequency
    Implementing A Sewing Machine Controller With An Mc9rs08ka2 Microcontroller
    Light Activated Relay with 555 Circuit
    EE-8 Field Telephone
    DECUS Documentation
    Binary counter circuit diagram
    1.8kHz signal generator circuit