This preview shows pages 1–3. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: ENGRD 2300: Introduction to Digital Logic Design Fall 2009 Lab 6: LCD Display Lab 6. LCD Display The prelab for this lab is to be turned in no later than 11:59pm, Sunday, Nov 8, 2009. The Lab portion is to be completed during your lab section the week of Nov 9-11, 2009. Your final lab report is due one week following the day your lab section meets, at 1:25pm, in the drop-box for your section. Part I: Prelab For this lab, you may choose a lab partner from your section and submit a single pre-lab as a team. This is a more involved pre-lab than you worked on in previous labs, so it is highly recommended that you work with a partner on the pre-lab. Be careful to choose a partner with whom you can work well and have similar work habits and make sure that the pre-lab work is split evenly between partners. Don’t forget that each partner is responsible for understanding the entire design and that you will submit individual final reports. For your convenience, a set of template files for this lab has been placed on Blackboard for you to download. The top-level design file is called lab6.bdf and contains all the inputs and outputs that you will need for this lab. This template file defines only the required inputs and outputs; you will have to provide the remaining design elements. The template files also contain a timer, timer.v, that will be used to time the real-time delays required for this lab. As in earlier labs, this timer is adjustable for use in both simulations and the lab. Introduction In previous labs you used the seven-segment displays on the DE2 boards as outputs. These displays have a very simple interface; to light a segment, simply assert a low signal on the pin connected to that segment. However, these devices are very limited in the alphanumeric characters that they can display. The DE2 boards also have a 2 line by 16 character LCD module that is capable of displaying a wide range of alphanumeric characters (see Figure 1). Figure 1 1 ENGRD 2300: Introduction to Digital Logic Design Fall 2009 Lab 6: LCD Display The LCD module generates characters by turning on and off individual dots in a 5 by 8 or 5 by 11 dot-matrix (see Figure 6). This greatly increases the set of characters that can be displayed, but not without some additional complexity. Unlike the seven-segment displays, the LCD module is controlled by sending a sequence of commands and data to an internal display controller that then executes them to turn off and on the bits of the display. Careful coordination is required so that the LCD module has time to read its inputs and then to execute the command or display a character before you try to send another command or character to the display....
View Full Document
This note was uploaded on 12/25/2009 for the course ECE 2300 at Cornell University (Engineering School).