The AT89S52 is a low-power, high-performance CMOS 8-bit microcontroller with 8K bytes of in-system programmable Flash memory. The AT89S52 provides the. AT89S52 comes from the popular family of Atmel Microcontrollers. It is an 8- bit CMOS microcontroller with 8K as Flash memory and microcontroller is from Intel manufacturer and they’re the one who developed the basics version of microcontroller. So it’s like the first family of.
|Published (Last):||25 December 2004|
|PDF File Size:||3.60 Mb|
|ePub File Size:||6.2 Mb|
|Price:||Free* [*Free Regsitration Required]|
Although it may be time taking because you need to understand and connect 16 pins of LCD to the microcontroller.
So first let’s understand the 16 pins of LCD module. All the pins are clearly understandable by their name and functions, except the control pins, so they are explained below:. RS is the register select pin. And we will set it to 0 if we are sending some command instruction like clear the screen hex code And set it microconttoller 1, if we are reading from LCD module.
AT89S52 Microcontroller Pinout, Pin Configuration, Features & Datasheet
Generally this is set to 0, because we do not have need to read data from LCD. Microcontrooller pin is used to enable the module when a high to low pulse is given to it. A pulse of ns should be given. Some important command instructions are given below:. Circuit diagram for LCD interfacing with microcontroller is shown in the above figure.
I have used these Pins in above circuit. And control pins RS, RW and E to the pin 12,13,14 pin 2,3,4 of port 3 of microcontroller respectively. Pin 3 V0 is connected to voltage Vcc through a variable resistor of 10k to adjust the contrast of LCD.
AT89S52 – Microcontrollers and Processors – Microcontrollers and Processors
Middle leg of the variable resistor is connected mivrocontroller PIN 3 and other two legs are connected to voltage supply and Ground.
Function msdelay has been created to create delay in milliseconds and called frequently in the program, it is called so that LCD module can have sufficient time to execute the internal operation and commands. Quote and Order boards in minutes on https: Getting Started with Microcontroller. Check your circuit connections again.
89S52 Microcontrollers IC
Agree with you harish kumar If you got the solution kindly share with us. Thanku for ur explanation and code.
Can microcontdoller tell me how to store multiple strings into LCD? The above video shows lcd interface on bread board Can this project be shown on general purpose board???
Some important command instructions are given below: Code Explanation I have tried to explain the code through comments in code itself. Get Our Weekly Newsletter!
Can I use blue character display instead of green. Log in or register to post Comment. Contrast Setting, connected to Vcc thorough a variable resistor.
Enable, a high to low pulse need to enable the LCD.