lab6_s12_LCD_A-to-D - University of Florida Electrical and...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
University of Florida EEL 4744 – Spring 2012 Dr. Eric M. Schwartz Electrical and Computer Engineering Dept. Revision 3 Michael Carroll, TA Page 1/4 Lab 6: LCD and A/D: Digital Voltmeter 27 March 2012 Option 1 Option 2 OBJECTIVES In this lab you will learn how to control an LCD panel and to interface it to a microprocessor. You will also become familiar with an analog-to-digital conversion (ADC) system on a microcontroller and exercise this knowledge by using the F28335 DSC’s onboard ADC to build a simple voltage meter using an LCD to display the values. REQUIRED MATERIALS 1 – Female Header (16-pins) for LCD mounting o The Digi-Key part # 643648-3-ND ($1.27 each, or similar) will be provided 2 – Male Header (16-pins) for LCD mounting 1 – LCD with 8-bit data (16-pins) 2 – Potentiometers (pots) You WILL need the following documentation: o LCD Panel Notes (8-bit data) o TMS320x2833x, 2823x Analog-to-Digital Converter (ADC) Reference Guide (SPRU812A) o TMS320F28335 Data Manual (SPRS439H): ADC Module chapter PRELAB REQUIREMENTS It is required that you make a flowchart or write pseudo- code before writing any program in this course. This will help you formulate a plan of attack for the code. Submit these flowcharts/pseudo-code as part of your prelab requirements. Comments in your programs are also required. The Pre- lab Report Guidelines state that “All code should be commented to a level that someone how can readily understand the purpose of each section if not each line of code.” Part A: LCD Display In this section you will add an LCD display to your board. The suggested placement of the LCD panel will be discussed below, but you may place it as desired. Place the pins of the female header through the bottom of your LCD PCB holes and solder them on the top (the side with the LCD panel). (You will insert a 16-pin male header somewhere [discussed below] on the 4744 PCB from the top; you will solder these pins on the bottom of the board and then wirewrap to these pins. This technique is almost the same as described in the Appendix of Lab 4.) Since the LCD pins should be at the top for this semester’s LCD panel (in order to read the text in the proper orientation), there are really two good for locations for LCD panel placement. Since in both techniques, the LCD panel extends beyond the edge of the 4744 PCB, If you should remove the LCD panel before placing it in your tool box. 1. Place the LCD on the far left of the board so that the bottom of the LCD panel lines pins line up directly to the right of the bottom pin on the middle 3.3V header as shown in the figure. 2. Place the LCD header pins on the bottom row of pins on the board. The LCD panel, when mounted on the female header, will extend below the board. I suggest the pin 1 on the LCD is placed above the fourth pin from the left on the bottom row of the 4744 board. Insert a 16-pin male
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This document was uploaded on 03/27/2012.

Page1 / 4

lab6_s12_LCD_A-to-D - University of Florida Electrical and...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online