Introduction: How to Interface 16X2 LCD With 8051 Microcontroller?

This is a circuit diagram of Interfacing 16X2 LCD with AT89C51 which is a 8051 microcontroller family. We use LCD displays for displaying the error messages, etc. Here, we are providing the information of LCD and also provide the code in C language which is working fine without any errors.

Working of Circuit:

The crystal oscillator is connected to XTAL1 and XTAL2 which will provide the system clock to the microcontroller the data pins and remaining pins are connected to the microcontroller as shown in the circuit.  The potentiometer is used to adjust the contrast of the LCD. You can connect data pins to any port. If you are connecting to port0 then you have to use pull up registers. The enable, R/W and RS pins are should be connected to the 10, 11 and 16 (P3.3, P3.4 and P3.5).

For programming code and the other detailed information about this circuit, read the post - 16X2 LCD Interfacing with 8051 Microcontroller.

Comments

author
ervisshal.kapur (author)2014-07-28

Nice article but briefly explained.Read interfacing LCD with 8051 with C language code and Proteus video.

About This Instructable

13,935views

3favorites

License:

Bio: Welcome to ElectronicsHub.Org. We provide various free project circuits, project ideas on electronics, electrical, robotics, solar, sensor based, communication, etc. and latest technology information ... More »
More by Electronics Hub:Celsius Scale Thermometer using 80518051 Microcontroller based Bidirectional Visitor Counter9V Battery Charger Circuit using LM311
Add instructable to: