MC68HC11A8-LCD Interfacing
This project is based on Motorola HC11 controller. This circuit is built to interface LCD to the Motorola 68HC11 microcontroller. The character corresponding to the ASCII code given by the controller will be displayed on the LCD. To simulate this circuit, initially activate Mixed Mode simulator from the Schematic Editor window. Simulation can be performed by selecting Transient analysis from Simulation menu.
This project includes microcontroller M68HC11A8 and a LCD unit (controller and display).
The controller will initialize the LCD controller and output the ASCII of the character to be displayed to the LCD controller IC.
HD44780U is an LCD controller, which converts ASCII codes to corresponding segment display information. Cursor movement, cursor blink, display on, display off, scrolling display etc. can be done by passing instructions to HD44780U.
The source code written either in C or Assembly language can be viewed from the
code editor window.
The algorithm is as shown:
Step1: Start
Step2: Initialize LCD.
Step3: Output ASCII code
Step4: Check busy flag
Step5: Go to step 3 if clear
Step6: Go to step 4 if set.
Step7: Stop
The source code in the
code editor window
has to be
compiled
after making any modifications
(editing).
Also the code can be
debugged
during
simulation.